@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Quattrocento:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6{
    font-family: 'Quattrocento';
}

html {
    font-family: 'Crimson Text';
}

h2 {
    text-transform: uppercase; /* https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform */
}

footer {
    background-color: slategray;
}

footer ul{
    text-align: center;
}

#selectors + p:first-line{
    color: crimson;
}

/* https://blog.hubspot.com/website/css-drop-cap */
#selectors + p::first-letter{
    color: black;
    font-size: 64px;
    float: left;
    line-height: 60%;
}

main h2 + p{
    font-style: italic;
}

main h2:first-of-type + p{
    font-style: normal;
}

/* From here to h2 span https://stackoverflow.com/questions/5214127/css-technique-for-a-horizontal-line-with-words-in-the-middle */
main h2{
    line-height: .1rem;
    border-bottom: 1px solid slategray;
}

h2 span {
    position: relative;
    padding-right: 10px;
    background-color: white;
}

.settings{
    position: fixed;
    top: 10px;
    right: 10px;
}

figure figcaption{
    position: absolute;
    background-color: transparent;
}

@media (min-width: 500px){
    header{
        text-align: center;
    }

    header nav ul li{
        display: inline;
        border-right: 1px solid slategray;
    }

    header nav ul li:last-of-type{
        border-right: 0;
    }

    figure{
        height: 250px;
        float: left;
        /* overflow: hidden; */
    }

    .wrapper{
        max-width: 800px;
        margin: auto;
    }
}