html {
    font-size: 10px;
    scroll-behavior: smooth;
    font-family: "DM Sans", sans-serif;
}

header {
    padding:2rem 2rem;
    border-bottom: 1px solid #555;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

nav ul {
    display: flex;
    justify-content: space-around;
    font-size: 1.7rem;
    /*gap:1rem;*/
}

li {
    padding: 1rem 0;
}

li a {
    color: #FFF;
    padding: 1rem 1rem;
    text-decoration: none;
    background: #555;
    border-radius: 10px;
}

li a:hover, li a:focus {
    text-decoration: underline;
}

li a:active {
    text-decoration: underline;
}

li a:visited {
    color: #FFF;
    background: #555;
    border-radius: 10px;
    border: 2px #555 solid;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

picture {
    margin: 0 2rem;
}

img {
    width: 100%;
    height: auto;
}

.canvas {
    border: solid 5px #000;
    display: block;
    margin: 0 auto;
    object-fit: fill;
}

.drawing {
    margin: 0 auto;
    padding: 4rem 0;
}

#drawing3 {
    padding-bottom: 6rem;
}

.contain {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    position: fixed;
    bottom:0;
    width: 100%;
    padding: 1rem;
    background-color: #FFF;
    border-top: 1px solid #555;
}

footer p {
    font-size: 1.5rem;
    text-align: center;
}

@media screen and (min-width:768px) {
    body {
        margin-top: 7rem;
    }
    
    header {
        padding: 2rem 3rem;
        position: fixed;
        top:0;
        left:0;
        width:100%;
        background-color: #FFF;
        display:flex;
        justify-content: space-between;
        align-items: center;
    }
    
    h1 {
        margin-bottom: 0;
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
}

@media screen and (min-width: 1100px) {
    body {
        margin-top:0;
    }
    
    .drawing {
        padding: 12rem 0;
    }
    
    #drawing1, #drawing3 {
        display: grid;
        grid-template-columns: 20rem 1fr;
        margin: 0 4rem;
        justify-content: center;
        align-items: center;
    }
    
    picture {
        margin: 0;
    }
    
    #drawing2 {
        display: grid;
        grid-template-columns: 20rem 1fr 1fr;
        margin: 0 4rem;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }
}