/* RESET */
* {
    margin: 0;
    padding: 0;
}

ol,
ul {
    list-style: none;
}

/* MAIN */

:root {
    --main-bg-color: #261b31;
    --main-text-color: rgb(240, 240, 240);
    --header-font: "groOvEd", sans-serif;
    --titles-font: "havock", sans-serif;
    --paragraph-font: "ronzino", sans-serif;
}

@font-face {
    font-family: "groOvEd";
    src:
        local("groOvEd"),
        url("fonts/groOvEd.ttf") format("TrueType");
}

@font-face {
    font-family: "havock";
    src:
        local("havock"),
        url("fonts/havock.otf") format("OpenType");
}

@font-face {
    font-family: "leggibilmente";
    src:
        local("leggibilmente"),
        url("fonts/Leggibilmente-RegularRoman.ttf") format("TrueType");
}

@font-face {
    font-family: "leggibilmente";
    src: url("fonts/Leggibilmente-BoldRoman.ttf") format("TrueType");
    font-weight: bold;
}

@font-face {
    font-family: "ronzino";
    src: url("fonts/Ronzino-Regular.woff2") format("woff2");
}

html {
    background-color: var(--main-bg-color);
}

* {
    color: var(--main-text-color);
    fill: var(--main-text-color);
}

article {
    margin: 5rem 0;
}

h1 {
    font-family: var(--titles-font);
    letter-spacing: 0.3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

p, figcaption, footer {
    font-family: var(--paragraph-font);
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

picture {    
    margin: auto;
    width: 100%;
}

.centered-horizontal {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.centered-full {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-banner {
    background:
        /* linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), */
        url("/img/logo.png");
    /* background-size: cover; */
    background-position: center;
    width: 100%;
    height: 100vh;
    position: relative;
    margin-bottom: 5rem;
    user-select: none;

    #logo {
        font-family: var(--header-font);
        letter-spacing: .5rem;
        font-size: 7rem;
    }
    
    #surprise {
        bottom: 10rem;
    }
    
    #socials {
        display: flex;
        bottom: 3rem;
        width: 20rem;
    
        .icon {
            height: 1.6rem;
        }
        
        li {
            flex-grow: 1;
            flex-basis: 1rem;
        }
    }
}

article {
    margin-left: auto;
    margin-right: auto;
    max-width: 50vw;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
}

#gallery picture {
    /* flex-grow: 1 1 auto; */
    flex-basis: 1rem;
    height: 20rem;
    width: 100%;
}

.youtube-player {
    width: 100%;
    height: 50vh;
}

article footer {
    text-align: left;
}

blockquote {
    hanging-punctuation: first last;
    display: grid;
    gap: 2ch;
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 1.5;
    text-align: center;

    position: relative;

    /* &::before {
        content: "";
        z-index: -1;
        position: absolute;
        inset-inline: 10%;
        inset-block: -50%;
        aspect-ratio: 1;
        border-radius: 1e3px;
        background: #0ff2;
        filter: blur(25px);
    } */

    >p {
        font-family: var(--titles-font);
        inline-size: 40ch;
        text-wrap: balance;

        &::before {
            content: open-quote;
        }

        &::after {
            content: close-quote;
        }
    }
}

/* Animations */

.animation-fadeIn-blur-slow {
    animation: 1.5s blurIn 0s cubic-bezier(.55, .085, .68, .53);
    animation-fill-mode: forwards;
    opacity: 0
}

.animation-fadeIn-blur-slower {
    animation: 2s blurIn 0s cubic-bezier(.55, .085, .68, .53);
    animation-fill-mode: forwards;
    opacity: 0
}

@keyframes blurIn {
    0% {
        filter: blur(12px);
        opacity: 0
    }

    95% {
        filter: blur(.01)
    }

    to {
        filter: blur(0);
        opacity: 1
    }
}