* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}

.active {
    color: Orange
}
.navigation {
    font-size: large;
    margin-bottom: 5px;
    margin-left: 5px;
}

#box1 {
    background-color: purple;
}
#box2 {
    background-color: blue;
}
#box3 {
    background-color: lightblue;
}
#box4 {
    background-color: green;
}
#box5 {
    background-color: lightgreen;
}
#box6 {
    background-color: olive;
}
#box7 {
    background-color: yellow;
}
#box8 {
    background-color: orange;
}
#box9 {
    background-color: red;
}
#box10 {
    background-color: pink;
}
.inbox {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    main {
        width: 95%;
        margin: 0 auto;
    }

    .box {
        height: 50px;
        margin-bottom: 5px;
        /* border: 1px solid black; */
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    main {
        width: 95%;
        margin: 0 auto;
    }

    .box {
        height: 50px;
        margin-bottom: 5px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    section {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .tox1, .tox10 {
        width: 100%;
        height: 200px;
    }
    .tox2, .tox3, .tox4 {
        width: 33.33%;
        height: 100px;
    }
    .tox5 {
        width: 66.66%;
        height: 200px;
    }
    /* Created a parent div to contain box 6 and 7 */
    .temp67 {
        width: 32%;
        height: 100px;
        
    }
    .tox6, .tox7 {
        height: 100%;
        width: 100%;
    }
    .tox8, .tox9 {
        height: 100px;
        width: 50%;
    }
     .inbox {
        margin: 5px;
        height: 100%; 
     }
    .box51 {
        width: 100%;
        height: 100px;
    }
    .box52, .box53, .box54, .box55 {
        height: 100px;
        width: 50%;
    }
    .box56 {
        height: 100px;
        width: 100%;
    }
    .box57, .box58, .box59 {
        width: 33.33%;
        height: 100px;
    }
    .box510 {
        height: 100px;
        width: 100%;
    }
    .temp267 {
        width: 100%;
    }
    .container1 {
        display: contents /* disable wrapper layout so box6 and box7 follow grid rules */
    }
    .container2 {
        display: contents; 
    }
     .m1, .m2, .m3 {
         display: contents;
    }
    .meow {
        display: contents;
    }
    .dog {
        display: contents;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
   .temp17 {
    width: 70%;
   }
   .temp810 {
    width: 30%;
   }
   .tox1 {
    width: 100%;
    height: 100px;
   }
    .tox2, .tox3 {
        width: 50%;
        height: 100px;
    }
    .tox4 {
        height: 200px;
        width: 100%;
    }
    .tox5, .tox6, .tox7 {
        width: 33%;
        height: 100px;
    }
    .container1 {
        width: 68%;
        display: block;
    }
    .container2 {
        width: 28%;
        display: block;
    }
    .temp67 {
        display: contents;
    }
    .tox8, .tox9 {
        width: 100%;
    }
        .tox8 {
        height: 100px;
    }
    .tox9 {
        height: 300px;
    }
    .tox10 {
        height: 100px;
    }
    .m1, .m2, .m3 {
        width: 32%;
        display: block;
    }   
    .box55, .box56, .box57 {
        width: 100%;
        height: 33.33%;
    }
    .box51, .box52, .box53, .box54 {
        height: 25%;
        width: 100%;
    }
    .box58, .box510 {
        width: 100%;
        height: 25%;
    }
    .box59 {
        width: 100%;
        height: 50%;
    }
    section {
        height: 600px;
    }
    .meow {
        display: flex;
    }
    .dog {
        display: flex;
    }
}

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

}