@font-face {
    font-family: "Material Symbols Outlined";
    src: url("/fnt/symbols.woff2");
}

@font-face {
    font-family: "Super Joyful";
    src: url("/fnt/joyful.woff2");
}

@font-face {
    font-family: "Roboto";
    src: url("/fnt/roboto.woff2");
}

:root {
    --green: #7a9065;
    --yellow: #f9b300;
    --orange: #f26d2b;
    --blue: #46b7a1;
    --pink: #f77389;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    margin: 0;
    overflow: auto;
    font-family: "Roboto", sans-serif;
    color: white;
}

.content {
    display: flex;
    flex-direction: column;
    min-width: fit-content;
    height: 100%;
}

header {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    padding: 0 2em;
    background-image: url("/img/bg.svg");
    background-size: auto 50%;
}

.logo {
    display: block;
    z-index: 1;
    max-width: 100%;
    max-height: 12em;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 2em 2em;
    background-image: linear-gradient(white, #f0f0f0);
}

.title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
    text-align: center;
}

.title-icon {
    font-family: "Material Symbols Outlined";
}

.title-title {
    font-family: "Super Joyful", sans-serif;
    font-weight: lighter;
}

a {
    color: white;
}

.button {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 0.75em 0.5em 0.5em;
    transition: background-color 0.25s, color 0.25s;
    border: white 1px solid;
    border-radius: 0.5em;
    text-decoration: none;
}

.button:hover {
    background-color: white;
}

.button-icon {
    font-family: "Material Symbols Outlined";
    font-size: 1.5em;
}

.button-title {
    text-align: center;
    font-weight: bold;
}

@keyframes rise {
    from {
        bottom: -10em;
    }

    to {
        bottom: 100vh;
    }
}

.circle {
    position: absolute;
    width: 5em;
    height: 5em;
    border-radius: 50%;
    animation-name: rise;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in;
}

.circles .circle:nth-of-type(1) {
    animation-duration: 5s;
    left: 5em;
    background-color: var(--green);
}

.circles .circle:nth-of-type(2) {
    animation-duration: 6s;
    left: 12.5em;
    background-color: var(--yellow);
}

.circles .circle:nth-of-type(3) {
    animation-duration: 7s;
    right: 5em;
    background-color: var(--orange);
}

.circles .circle:nth-of-type(4) {
    animation-duration: 8s;
    right: 12.5em;
    background-color: var(--blue);
}

footer {
    display: flex;
    justify-content: right;
    z-index: 1;
    padding: 1em;
    background-color: #e0e0e0;
    color: #808080;
}

@media screen and (max-width: 750px) {
    .circle {
        display: none;
    }

    footer {
        justify-content: center;
    }
}