@font-face {
    font-family: 'TikTok Sans';
    src: url('./fonts/TikTokSans-VariableFont_opsz\,slnt\,wdth\,wght.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'TikTok Sans', sans-serif;
    --main-color: #000000;
    --secondary-color: #FE2C55;
    --third-color: #25F4EE;
    --text-color: #fff;
}

body {
    background-color: var(--main-color);
    width: 100dvw;
    min-height: 700px;
    height: 100dvh;
    display: grid;
    color: var(--text-color);
    grid-template-rows: 10dvh 80dvh 10dvh;
}

header > nav > img {
    width: 150px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

main {
    position: relative;
    height: 80dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    & > img.main-image {
        position: absolute;
        height: 70dvh;
        z-index: 1;
        &.image-left {
            left: 0;
        }
        &.image-right {
            right: 0;
        }
        &.image-up {
            width: 100dvw;
            height: auto;
            top: 0;
        }
    }

    & > .over-container {
        padding: 10px;
        z-index: 2;
        text-align: center;
        width: max(50%, 400px);
        display: flex;
        flex-direction: column;
        gap: 1.5em;
    }
}

footer {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    text-align: center;
}

h1 {
    font-weight: bold;
    font-size: clamp(1.75rem, -0.75rem + 8vw, 3.75rem);
}

h2 {
    font-size: clamp(1.125rem, 0.1875rem + 3vw, 1.875rem);
}

p {
    font-size: clamp(0.6875rem, 0.1406rem + 1.75vw, 1.125rem);
}

a {
    text-decoration: none;
}

b.blue, a {
    color: var(--third-color);
    font-weight: bold;
}

b.red {
    color: var(--secondary-color);
    font-weight: bold;
}

@media screen and (max-width: 725px) {
    img.image-left, img.image-right {
        display: none;
    }
}

@media screen and (min-width: 725px) {
    img.image-up {
        display: none;
    }
}

img {
    image-rendering: auto;
}