@font-face {
    font-family: "geomisans";
    src: url("../fonts/Geomisans.woff2");
    font-display: swap;
}

@font-face {
    font-family: "conthic";
    src: url("../fonts/CookConthic.woff2");
    font-display: swap;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #631FEA;
}

body {
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    margin: 0;
    overflow-y: auto;
    background-color: #ffffff;
    color: #631FEA;
}

main {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    text-align: center;
    align-items: center;
}

section {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

h1, h2, p {
    text-transform: uppercase;
    margin: 0;
}

h1, h2 {
    font-family: "conthic";
    font-size: 225px;
    line-height: .9;
}

p {
    font-family: "geomisans";
    font-size: 48px;
    line-height: 1.2;
    max-width: 1620px;
}

.scroll-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

@media (max-width: 768px) {
    body {
        top: 24px;
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    main {
        padding: 40px 20px;
        gap: 32px;
    }

    section {
        gap: 32px;
    }

    h1, h2 {
        font-size: 64px;
    }

    p {
        font-size: 20px;
    }

    .scroll-hidden {
        transform: translateY(20px);
    }
}