* {
    margin: 0; padding: 0; border: 0;
    box-sizing: border-box;
}

/* ========== MOBILE STYLES AND BIGGER ======== */

body {
    background-color: rgb(177, 193, 177);
    color: #345;
    font-family: verdana;
}

.container {
    margin: 4px 8px;
    
}

.nav-primary {
    background-color: rgb(165, 68, 84);
    min-height: 70px;
    flex-grow: 1;
    flex-basis: 26px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 35px;
    padding: 10px 8px;
}

.nav-primary a {
    padding: 15px 36px;
    background-color: lightcyan;
    color: darkblue;
    text-decoration: none;
}

.boxes {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); /* Creates 2 equal-width columns */
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 10px; 
    width: 400px;
    height: 400px;
    float: none;
    margin: 40px 100px;
}

.box {
    background-color: lightblue;
    border: 1px solid blue;
    display: flex; /* Centers content within the box */
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
} 

.box1 {
    background-color: black;
    float: none;
    width: 400px;
    height: 400px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 40px 100px;
}


/* ========== LANDSCAPE TABLET AND BIGGER ======== */

@media screen and (min-width: 1020px) {
    
    .nav-primary {
        flex-grow: 0;
    }

    .boxes {
        float: right;
    }

    .box1 {
        float: left;
    }

}

