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

nav{
    background-color: #51787d;
}

.menu{
    display: flex;
    list-style: none;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
}

.menu a{
    text-decoration: none;
    font-weight: 700;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #E4DCCF;
}

main{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

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


    .col-xs-1 {
        width: 8.33%;
    }
    .col-xs-2 {
        width: 16.66%;
    }
    .col-xs-3 {
        width: 25%;
    }
    .col-xs-4 {
        width: 33.33%;
    }
    .col-xs-5 {
        width: 41.66%;
    }
    .col-xs-6 {
        width: 50%;
    }
    .col-xs-7 {
        width: 58.33%;
    }
    .col-xs-8 {
        width: 66.66%;
    }
    .col-xs-9 {
        width: 75%;
    }
    .col-xs-10 {
        width: 83.33%;
    }
    .col-xs-11 {
        width: 91.66%;
    }
    .col-xs-12 {
        width: 100%;
    }


/* page 1 starts here */
    .box1page1, .box2page1, .box3page1 {
        height: 250px;
        background-color: #F0EBE3;
        margin: 15px;
    }


/* page 3 starts here */
    .mainpage3{
        width: 100%;
    }

    .mainpage3 div{
        height: 150px;
        background-color: #E4DCCF;
        margin: 15px;
        display: flex;
        flex-wrap: wrap;
    }

/* page 2 starts here */
.mainpage2{
    width: 100%;
}

.mainpage2 div{
    height: 150px;
    background-color: #E4DCCF;
    margin: 15px;
}


/* page 4 starts here */
    .box1page4, .boxespage4 div, .page4secondrow div{
        width: 100%;
        border: .75px solid black;
        box-sizing: border-box;
        background-color: #E4DCCF;
        height: 150px;
    }

}

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

    .col-sm-1 {
        width: 8.33%;
    }
    .col-sm-2 {
        width: 16.66%;
    }
    .col-sm-3 {
        width: 25%;
    }
    .col-sm-4 {
        width: 33.33%;
    }
    .col-sm-5 {
        width: 41.66%;
    }
    .col-sm-6 {
        width: 50%;
    }
    .col-sm-7 {
        width: 58.33%;
    }
    .col-sm-8 {
        width: 66.66%;
    }
    .col-sm-9 {
        width: 75%;
    }
    .col-sm-10 {
        width: 83.33%;
    }
    .col-sm-11 {
        width: 91.66%;
    }
    .col-sm-12 {
        width: 100%;
    }


/* page 1 starts here */
    .box1page1, .box2page1, .box3page1 {
        height: 250px;
        background-color: #F0EBE3;
        margin: 15px;
    }


/* page 3 starts here */
    .mainpage3{
        width: 100%;
    }

    .mainpage3 div{
        height: 150px;
        background-color: #E4DCCF;
        margin: 15px;
        display: flex;
        flex-wrap: wrap;
    }

    
    /* page 4 starts here */
    .box1page4, .boxespage4 div, .page4secondrow div{
        width: 100%;
        border: .75px solid black;
        box-sizing: border-box;
        background-color: #E4DCCF;
        height: 150px;
    }

    /* page 2 starts here */
.mainpage2{
    width: 100%;
}

.mainpage2 div{
    height: 150px;
    background-color: #E4DCCF;
    margin: 15px;
}

}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .col-lg-1 {
        width: 8.33%;
    }
    .col-lg-2 {
        width: 16.66%;
    }
    .col-lg-3 {
        width: 25%;
    }
    .col-lg-4 {
        width: 33.33%;
    }
    .col-lg-5 {
        width: 41.66%;
    }
    .col-lg-6 {
        width: 50%;
    }
    .col-lg-7 {
        width: 58.33%;
    }
    .col-lg-8 {
        width: 66.66%;
    }
    .col-lg-9 {
        width: 75%;
    }
    .col-lg-10 {
        width: 83.33%;
    }
    .col-lg-11 {
        width: 91.66%;
    }
    .col-lg-12 {
        width: 100%;
    }


/* page 1 starts here */
    .box1page1, .box2page1, .box3page1 {
        height: 400px;
        background-color: #F0EBE3;
        margin: 15px;
    }
/* page 3 starts here */
    .mainpage3{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mainpage3 div{
        height: 150px;
        background-color: #E4DCCF;
        display: flex;
        width: 20%;
    }

/* page 4 starts here */
    .box1page4{
        width: 50%;
        border: .75px solid black;
        background-color: #E4DCCF;
        height: 400px;
        float: left;
    }

    .boxespage4{
        display: flex;
        flex-wrap: wrap;
        border: .75px solid black;
    }

    .boxespage4 div{
        border: .75px solid black;
        height: 200px;
    }

    .page4secondrow{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        border: .75px solid black;
        background-color: #E4DCCF;
        height: 200px;
    }

    .page4secondrow{
        border: .75px solid black;
    }

    .page4secondrow div{
        width: 33%;
    }
    

/* page 2 starts here */
.mainpage2{
    width: 100%;
}

.mainpage2 div{
    height: 150px;
    background-color: #E4DCCF;
    margin: 15px;
}


}