/* selectores de elemento */

@import url('https://fonts.googleapis.com/css2?family=Amaranth:ital,wght@0,400;0,700;1,400;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body{
    background-color: rgb(216, 186, 151);
    font-family: "Amaranth", sans-serif;
}

main{
    background-color: beige;
    width: 800px;
    max-width: 95%;
    margin: 0 auto 0 auto;
}

header, footer, h2{
    background-color: bisque;
    padding: 20px;
    color:rgb(85, 66, 45) ;
    text-align: center;
}

footer{
    font-family: "lato", sans-serif;
}

nav{
    border-bottom: 5px solid rgb(216, 187, 153);
}

nav ul{
    list-style: none;
}

nav li{
    display: inline;
}

nav a {
    text-decoration: none;
    font-family: "lato", sans-serif;
    color: rgb(85, 66, 45);
    padding: 10px;
    background-color: bisque;
}

nav a:hover {
    color: bisque;
    background-color: rgb(85, 66, 45);
}

h3{
    background-color: rgb(255, 216, 166);
    padding: 20px;
    color: rgb(85, 66, 45);
    text-align: center;
}

h4{
  background-color: bisque;
    padding: 20px;
    color:rgb(85, 66, 45) ;
    text-align: center;
}

p {
    font-family: "lato", sans-serif;
    padding: 10px;
    color: rgb(129, 112, 64);
}

section{
    display: flex;
    padding: 20px;
}

@media screen and (max-width: 600px){
    header, footer {
        padding: 20px;
    }

    section {
        display: block;
    }
    
    nav li {
      display: list-item;
      padding: 15px;
      }
      
}