@import url("https://fonts.cdnfonts.com/css/real-text");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: "Real Text", sans-serif;
    background: #efb276;
}

::selection {
    color: #fff;
    background: #c97832;
}

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #e3a05d 0%,
            #edb174 45%,
            #f1bd86 100%
        );

    z-index: 0;

    transition: transform 0.4s ease-out;
}

.background::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        );

    background-size: 25px 25px;

    opacity: 0.18;
}

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.content {
    color: #fff;

    animation: appear 1.2s ease forwards;
}

.small-text {
    margin-bottom: 18px;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 6px;

    opacity: 0.85;
}

h1 {
    margin: 0;

    font-size: clamp(
        3.5rem,
        9vw,
        8.5rem
    );

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -3px;

    text-shadow:
        0 5px 25px rgba(115, 58, 20, 0.18);
}

.content p {
    margin-top: 25px;
    margin-bottom: 32px;

    font-size: clamp(
        1rem,
        2vw,
        1.35rem
    );

    letter-spacing: 3px;

    opacity: 0.9;
}

.socials {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 16px;
}

.social {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    text-decoration: none;

    font-size: 1.25rem;

    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.social:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.2);

    border-color: #fff;

    box-shadow:
        0 10px 30px rgba(120, 60, 20, 0.18);
}

@keyframes appear {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (max-width: 768px) {

    h1 {
        font-size: clamp(
            3rem,
            12vw,
            6rem
        );

        letter-spacing: -2px;
    }

    .small-text {
        font-size: 0.65rem;
        letter-spacing: 4px;
    }

    .content p {
        margin-top: 18px;
        margin-bottom: 25px;
    }

    .social {
        width: 50px;
        height: 50px;
    }

}

@media (max-width: 480px) {

    .hero {
        min-height: 100svh;
    }

    h1 {
        font-size: clamp(
            2.7rem,
            15vw,
            4.5rem
        );

        letter-spacing: -1.5px;
    }

    .small-text {
        margin-bottom: 14px;
        letter-spacing: 3px;
    }

    .content p {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .socials {
        gap: 12px;
    }

    .social {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

}

@media (max-height: 500px) {

    h1 {
        font-size: 4rem;
    }

    .small-text {
        margin-bottom: 8px;
    }

    .content p {
        margin-top: 12px;
        margin-bottom: 15px;
    }

    .social {
        width: 42px;
        height: 42px;
    }

}