/* reset */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
}

/* navbar */

ul{
    display: flex;
    justify-content: space-evenly;
}

ul li{
    height: 50px;
    list-style: none;
}

ul a{
    text-decoration: none;
    text-transform: uppercase;
    color: #8f8f8f;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}



/* layout 1 */

.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px 8px;

}

.row{
    display: flex;
    flex-direction: column;
    gap: 8px 8px; 

}
.box{
    width: 100%;
    height: 200px;
    background-color: #cf9c9c;

}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .flex-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 8px 8px;
    
    }
    
    .row{
        display: flex;
        flex-direction: row;
        flex: 1 1 0;
        gap: 8px 8px; 
    
    }
    .box{
        width: 100%;
        height: 200px;
        background-color: #cf9c9c;
    
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}