@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Imperial+Script&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Roboto', sans-serif;

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

.kiss-buttons {
    width: 20rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.kiss-button {
    border: 2px solid pink;
    font-size: 1.5rem;
    padding: .25rem ;
    background-color: #0000;
    color: white;
    border-radius: .85rem;
    transition: background-color .15s ease;
}

@keyframes kiss-emoji-kiss {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(45deg);
    }

    50% {
        transform: rotate(45deg) scale(1.1);
    }

    75% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.kiss-button span {
    display: inline-block;
}

.kiss-button:hover {
    background-color: pink;
}

.kiss-button:hover span {
    animation: kiss-emoji-kiss .5s linear;
}

h1, h2 {
    font-weight: 400;
}

h1 {
    margin-top: 2rem;
    font-family: 'Sour Gummy', cursive, sans-serif;
    font-weight: 400;
    font-size: 4rem;
    margin-bottom: 0;
}

h2 {
    font-family: 'Comic Relief', sans-serif;
    color: white;
}

@keyframes wind-down {
    0% {
        transform: translateY(-200%);
    }

    100% {
        transform: translateY(0%);
    }
}

:root {
    background: linear-gradient(-45deg, rgb(0, 132, 255), rgb(0, 195, 255));
    background-attachment: fixed;
}

h1 {
    color: white;
}

.letters {
    display: flex;
    flex-direction: row;
    gap: .35rem;
}

.letter {
    color: white;
    border: 2px solid white;
    border-radius: .5rem;
    padding: 1rem;
    font-size: 4rem;
    background-color: #0059ff66;
    position: relative;
    overflow: hidden;
}

.letter::after {
    transform: translateY(-200%);
    content: attr(data-value);
    position: relative;
    display: inline-block;
    animation: wind-down .3s ease;
    animation-delay: var(--delay);
    animation-fill-mode: forwards;
}

hr {
    border: none;
    border-bottom: 1px solid rgb(121, 201, 255);
    width: 100%;
}

@media (orientation: portrait) {
    :root {
        font-size: 24px;
        text-align:  center;
    }
    .kiss-buttons {
        width: 80vw;
        gap: 1.5rem;
    }

    .kiss-button {
        font-size: 2.25rem;
        padding: .85rem;
    }

    h1 {
        margin-top: .5rem;
    }

    h2 {
        font-size: 2rem;
    }
}
