@font-face {
    font-family: "Cantarell var";
    src: url("../fonts/Cantarell-VF.woff2") format("woff2 supports variations"), url("../fonts/Cantarell-VF.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
    font-named-instance: "Regular";
}

*,
*::before,
*::after {
    box-sizing: inherit
}

html,
body,
p,
ol,
ul,
li {
    margin: 0;
    padding: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: normal
}

ul {
    list-style: none
}

button {
    margin: 0
}

img {
    height: auto;
    max-width: 100%
}

html {
    font-family: 'Cantarell var', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: #1e1e1e;
    color: white;
    box-sizing: border-box;
    max-height: 100vh;
}

body,
main {
    display: flex;
    flex-direction: column;
    height: 100vh;

}

main {
    align-items: center;
    gap: 4rem;
    justify-content: center;
}

h1 {
    font-size: 2.25rem;
    font-variation-settings: "wght" 900, "slnt" 0;
}

h2 {
    font-size: 1.5rem;
    font-variation-settings: "wght" 400, "slnt" 0;
}

@keyframes body-raise {
    0% {
        transform: translateY(0px)
    }

    100% {
        transform: translateY(-4.5px)
    }
}

@keyframes checkmark-raise {
    0% {
        transform: translateY(0px)
    }

    100% {
        transform: translateY(-1px)
    }
}

@keyframes opacity-toggle {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        opacity: 0.2;
        transform: scale(0);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.icon-checkmark-up {
    opacity: 0;
    animation: opacity-toggle 1s ease 3.5s, checkmark-raise 1s ease 4.5s;
    animation-fill-mode: forwards;
}

.icon-checkmark {
    opacity: 0;
    animation: opacity-toggle 0s linear 4.5s;
    animation-fill-mode: forwards;
}

.icon-hash {
    opacity: 0;
    animation: opacity-toggle 1.5s ease 0.5s;
    animation-fill-mode: forwards;
}

.icon-body {
    animation: body-raise 2s ease 1.5s;
    animation-fill-mode: forwards;
}

.icon {
    height: 192px;
    width: 192px;
    max-width: 100vw;
    max-height: 100vh;
}

.info {
    text-align: center;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.download-btn {
    font-size: 1rem;
    border-radius: 9999px;
    color: #fff;
    font-variation-settings: "wght" 600, "slnt" 0;
    text-decoration: none;
    padding: 0px 32px;
    background-color: rgb(53, 132, 228);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-btn:hover {
    background-color: #4990E7;
}

.download-btn:active {
    background-color: #2A6AB6;
}

.btns>*:focus-visible {
    outline: #48607B solid 2px;
    border: 1px solid #1e1e1e;
}

.btns>* {
    transition-duration: 250ms;
}

.btns {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    height: 48px;
    align-items: center;
}

.icon-btn {
    background-color: rgba(255, 255, 255, 0.1);
    height: 100%;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.icon-btn:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.icon-btn>img {
    width: 20px;
    height: 20px;
}

.circle-container {
    height: 90vmin;
    position: absolute;
    width: 90vmin;
    z-index: -50;
}

.circle {
    animation: ripple 3s infinite ease;
    animation-delay: 4.3s;
    background-color: #2ec27e;
    border-radius: 50%;
    height: 100%;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.animation {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-color-scheme:light) {
    html {
        background-color: #fff;
        color: black
    }

    .icon-btn {
        background-color: rgba(0, 0, 0, 0.08);
    }

    .icon-btn:hover {
        background-color: rgba(0, 0, 0, 0.12);
    }

    .icon-btn:active {
        background-color: rgba(0, 0, 0, 0.24);
    }

    .icon-btn>img {
        filter: invert();
    }
}

@media (prefers-reduced-motion) {
    @keyframes ripple {}
}