@import url(reset.css);

html {
    font-family: verdana;
}

@media screen {
    
header {
    width: 100%; height: 100px;
    background-color: skyblue;
}

nav {
    width: 100%; height: 50px;
    background-color: sandybrown;
}

nav ul {
    display: flex;
    flex-flow: row nowrap;
    width: 100%; height: 100%;
    overflow: auto;
}

nav ul li {
    display: block;
    height: 50px;
    background-color: bisque;
    border-right: 1px solid sandybrown;
}

nav ul li a {
    display: block;
    line-height: 30px;
    font-size: 1.6rem;
    text-align: center;
    padding: 10px 15px;
}

main {
    width: 100%; height: fit-content;
    padding: 10px;
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
}

main div {
    background-color: tomato;
    flex-grow: 1;
    height: 200px;
}

main p {
    flex-grow: 1;
    height: fit-content;
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-align: justify;
    background-color: lightgray;
    padding: 10px;
}

}


/* Computer */
@media screen and (min-width: 1000px) {

header {
    height: 150px;
}

main {
    display: block;
    gap: unset;
}

main div {
    float: left;
    width: 250px; height: 250px;
    margin-right: 10px;
}


}