@media (width <= 768px)
{
    * {
        font-size: 1rem;
    }

    main {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .content > img {
        display: inline;
        max-width: 100%;
    }

    figure {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    figure > img {
        display: block;
        margin-bottom: 1rem;
        width: 10rem;
        position: relative;
        left: 0;
        right: 0;
    }

    figure figcaption {
        flex-basis: 0px;
        flex-grow: 1;
        min-width: 100px;
        margin-bottom: 1rem;
    }

    nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 2rem 3rem;
        height: 3rem;
        border-radius: 1rem;
        justify-content: center;
        align-items: center;
        background-color: var(--color-surface);
        border: 1px solid var(--color-highlight-high);
    }
    
    nav ul {
        display: flex;
        list-style-type: none;
        justify-content: center;
        align-items: center;	
    }

    nav ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 3rem;
        height: 2rem;
    }

    nav ul li a:hover{
        border-radius: 50%;
    }

    nav ul li.active,
    nav ul li a:hover{
        border-radius: 50%;
    }

    header {
        width: 100%;
        height: 7rem;
        display: flex;
        justify-content: center;
    }

    header h1 {
        font-size: 4rem;
    }   
}
