* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
}

/* OVERLAYS */

.grain {
    position: fixed;
    inset: 0;
    background: url("assets/grain.jpeg");
    opacity: .12;
    pointer-events: none;
    z-index: 999;
}

.glitter-overlay {
    position: fixed;
    inset: 0;
    background: url("assets/glitter-overlay.png");
    background-size: cover;
    opacity: .18;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 998;
}

/* SCENES */

section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* SCENE 1 */

#scene1 {
    background: url("assets/hallway.jpeg");
    background-size: cover;
    background-position: center;
}

#scene1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.hallway-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.fade-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: .9;
}

.birthday {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    color: #ffd2f4;
    margin-top: 2rem;
}

/* CHARACTERS */

.girl {
    position: absolute;
    left: 18%;
    bottom: 0;
    height: 70vh;
    z-index: 5;
    transition: .4s;
}

.guy {
    position: absolute;
    right: 18%;
    bottom: 0;
    height: 70vh;
    z-index: 5;
    transition: .4s;
}

.girl:hover {
    transform: scale(1.04);
}

.guy:hover {
    transform: scale(1.04);
}

/* TOOLTIPS */

.tooltip {
    position: absolute;
    background: rgba(20, 20, 20, .95);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .9rem;
    line-height: 1.5;
    opacity: 0;
    transition: .3s;
    pointer-events: none;
    z-index: 20;
}

.girl-tip {
    left: 10%;
    bottom: 65%;
}

.guy-tip {
    right: 10%;
    bottom: 65%;
}

.girl:hover+.guy+.girl-tip {
    opacity: 1;
}

.guy:hover~.guy-tip {
    opacity: 1;
}

/* SCENE 2 */

#scene2 {
    background: url("assets/cigarette-scene.png");
    background-size: cover;
    background-position: center;
}

#scene2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.cigarette-content {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.left-quote {
    position: absolute;
    left: 10%;
    top: 35%;
    font-size: 2rem;
    font-weight: 300;
}

.right-quote {
    position: absolute;
    right: 10%;
    top: 35%;
    font-size: 2rem;
    font-weight: 300;
}

.small-text {
    position: absolute;
    bottom: 18%;
    width: 100%;
    text-align: center;
    line-height: 2;
    font-size: 1rem;
    opacity: .9;
}

/* SMOKE */

.smoke {
    position: absolute;
    left: 50%;
    bottom: 20%;
    width: 120px;
    height: 250px;
    transform: translateX(-50%);
}

.smoke::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, .4),
            transparent 70%);
    filter: blur(35px);

    animation: smoke 7s infinite ease-in-out;
}

@keyframes smoke {

    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    50% {
        opacity: .6;
    }

    100% {
        transform: translateY(-120px);
        opacity: 0;
    }
}