@import "reset.css";
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --process-cyan: hsla(196, 84%, 56%, 1);
    --selective-yellow: hsla(43, 100%, 52%, 1);
    --red-cmyk: hsla(358, 85%, 52%, 1);
    --black: hsla(173, 100%, 2%, 1);
    --malachite: hsla(145, 97%, 46%, 1);
}

body {
    background-color: var(--process-cyan);
    color: #ffffff;
    height: 100svh;
}

.text-container > h1 {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
    font-size: 8rem;
    margin-bottom: 2rem;
}

.text-container > h2 {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 2.5rem;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.text-container {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: var(--black);
    border: 2px solid var(--black);
    box-shadow: -8px 8px var(--black);
}

.image-container {
    width: 16rem;
    height: 16rem;
    border-radius: 100%;
    overflow: hidden;
    border: 2px solid var(--black);
    animation-name: drone-bob-float, drone-bob;
    animation-duration: 0.3s, 1.5s;
    animation-delay: 0s, 0.3s;
    animation-timing-function: ease-out, ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards;
    animation-direction: normal, alternate;
}

@keyframes drone-bob {
    0% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes drone-float {
    100% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
}
