@import url(reset.css);

/*==================================*/
/*========== PHONE STYLES ==========*/
/*==================================*/
@media screen and (min-width: 200px) {

body {
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    align-items: center;
    width: 100%;
}

header {
    width: 100%; height: 150px;
    padding: 10px;
    background-color: blue;
}

header div {
    width: 98%; height: 130px;
    margin: 0 auto;
    background-color: skyblue;
}

nav {
    width: 100%; height: 100px;
    padding: 10px;
    background-color: sienna;
}

nav ul {
    display: flex;
    justify-content: space-between;

}

nav ul li {
    display: block;
    width: 30%; height: 80px;
    background-color: burlywood;    
}

section {
    flex-grow: 1;
    height: 50px;
    margin: 5px;
    background-color: green;
}

.image {
    flex-grow: 1;
    height: 200px;
    margin: 0 5px;
    background-color: goldenrod;
    background-image: url(https://images.unsplash.com/photo-1668094497457-29f4bd775c95?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1770&q=80);
    background-size: cover;
    background-position: center;
}

main p {
    font: 1.6rem Verdana;
    text-align: justify;
    line-height: 2.3rem;
    margin: 5px;
}

}/* End of Phone */

/*==================================*/
/*========= COMPUTER STYLES ========*/
/*==================================*/
@media screen and (min-width: 1000px) {

header div {
    width: 400px;
    margin: 0;
}

nav {
    position: absolute;
    top: 0; left: 0;
    width: 200px; height: 100%;
    padding-top: 150px;
    z-index: -1;
}

nav ul {
    flex-direction: column;
    padding: 10px;
}

nav ul li {
    flex-grow: 1;
    width: auto; height: 40px;
    margin: 5px;
}

main {
    margin-left: 200px;
}

section {
    margin: 0;
    margin-bottom: 10px;
}

.image {
    float: left;
    width: 200px; height: 200px;
    margin: 0 10px;
}

main p {
    margin: 0 10px;
}

}/* End of Computer */