*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: rgb(197, 175, 146);
    font-size: 20px;
    font-family: 'Open Sans'. sans-serif;
    font-weight: 400;s
}

header, footer{
    background: rgb(194, 144, 102);
    color: rgb(59, 57, 57);
    height: 60px;
}

nav{
    width: 60vw;
    height: 100%;
    background: wheat;
    margin:0 auto;
}

nav > ul{
    display:flex;
    list-style: none;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

nav > ul > li{
    height: 100%;
    width: 100%;
    background: whitesmoke;
}

nav > ul > li > a{
    height: 100%;
    width: 100%;
    display: block;
    text-align: center;
    line-height: 60px;
    text-decoration: none;
}

h1{
    font-size: 250%;
    margin-bottom: 20px;
    border-bottom: 1px solid black;
    font-weight: 500;
}

article{
    width: 60vw;
    background: wheat;
    margin: 0 auto;
    padding: 40px;
}

figure{
    margin-bottom: 40px;
}

img{
    width: 100%;
    border-radius: 5px;
    transition: 0.2s transform;
}

img:hover{
    transform: scale(1.01);
}

p{
    margin-bottom: 40px;
}

p:last-of-type{
    margin-bottom: 0;
}

figcaption{
    font-size: 80%;
    font-style: italic;
    font-weight: 400;
}

audio{
    display:block
}

video{
    width: 100%;
    margin-bottom: 40px;
    border-radius: 5px;
}

.top{
    width: 80px;
    height: 80px;
    background: black;
    border: none;
    color: white;
    font-size: 150%;
    font-family: 'Open Sans'. sans-serif;
    border-radius:5px;
    position:fixed;
    bottom: 120px;
    right:120px;
    text-decoration:none;
    display:flex;
    justify-content: center;
    align-items: center;
}

footer{
    height: 60px;
    display:flex;
    align-items: center;
}

footer > p{
    width: 60vw;
    margin: 0 auto;
    padding-left: 60px;
}

@media screen and (max width:100px) {
    
    article{
        width: 80vw;
    }
    
    footer > p{
        width: 80vw;
    }
   
    img:hover{
        transform: none;
    }
    .top{
        width: 60px;
        height: 60px;
        bottom: 60px;
        right:60px;
    }
}

@media screen and (max-width: 600px) {
    body{
        font-size: 16px;
    }
    article{
        width: 100vw;
        padding: 20px;
    }
    h1{
        font-size: 180%;
    }
    footer > p{
        width: 100vw;
        padding-left: 20px;
    }
}