@-webkit-keyframes shake {
    0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } 
    10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
    20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
    30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
    40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
    50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
    60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
    70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
    80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
    90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
    100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
/* =========================
   TYPOGRAPHY
   ========================= */

body {
    font-family:
        "Avenir Next",
        Avenir,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 400;
    letter-spacing: 0.02em;
}


/* AURELIA */

#foibrands {
    font-family:
        "Avenir Next",
        Avenir,
        "Helvetica Neue",
        sans-serif;

    font-weight: 300;

    letter-spacing: 0.45em;

    text-transform: uppercase;

    white-space: nowrap;

    font-size: clamp(2rem, 7vw, 6rem);
    font-weight: 300;

    letter-spacing: 0.35em;

    text-transform: uppercase;
}
@media (max-width: 600px) {

    #foibrands {
        white-space: nowrap;

        font-size: clamp(1.6rem, 9vw, 2.8rem);

        letter-spacing: 0.18em;

        max-width: 100vw;

        padding-left: 0.18em;

        box-sizing: border-box;
    }

}

/* Hamburger-Menü */

.menu a,
.menu button {
    font-family:
        "Avenir Next",
        Avenir,
        "Helvetica Neue",
        sans-serif;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: 0.04em;
}

body {
    background-image: url("../img/Jeju_Strand_small.jpeg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; /* optional */
    text-align: center;
    margin: 0;
}
@media (max-width: 600px) {
    body {
        background-image: url("../img/jeju_strand_small_mobile.jpeg");
    }
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

#word {
    font-size: 36px;
    text-align: center;
    font-family:courier;

    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.5s;
    -webkit-transform-origin:50% 50%;
    -webkit-animation-iteration-count: infinite;
}

#image:hover {
    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.5s;
    -webkit-transform-origin:50% 50%;
    -webkit-animation-iteration-count: infinite;
}
.shake {
    display:inline-block
}
html, body, .container {
    height: 100%;
}

.container {
    display: -webkit-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
}


#foibrands {
    font-size: 36px;
    text-align: center;
    font-family:courier;

    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.5s;
    -webkit-transform-origin:50% 50%;
    -webkit-animation-iteration-count: infinite;
}



#gif-overlay {
    position: fixed;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);

    z-index: 9999;
}

#gif-overlay.active {
    display: flex;
}

#intro-gif {
    max-width: 90vw;
    max-height: 90vh;

    object-fit: contain;
}

