@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans";
}

.section-content h1 {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: -0.04rem;
    line-height: 1.2;
}

.section-content h3 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.04rem;
    line-height: 1.2;
    text-align: center;
}

section {
    position: relative;
    width: 100vw;
    height: 100svh;
    padding: 2rem;
    overflow: hidden;
}

.tagline-wrapper {
    overflow: hidden; /* 👈 This is the magic */
}

.section-content h1,
.section-content h3 {
    /* width: 45%; */
    text-align: center;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.tagline {
    transform: translateY(100%); /* start hidden below */
    display: inline-block;
}

.main-section {
    /* background-color: #fff; */
    color: #0f0f0f;
}

.section-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    flex-direction: column;
}

.section-content * {
    pointer-events: auto;
}

.object-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.object {
    position: absolute;
    width: max-content;
    font-size: 2rem;
    font-weight: 500;
    /* background-color: #0f0f0f; */
    /* color: #fff; */
    /* padding: 1rem 2rem; */
    /* border-radius: 10rem; */
    cursor: grab;
    user-select: none;
    pointer-events: auto;
    z-index: 2;
    border-radius: 100px;
}

.ball {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/d/d3/Soccerball.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.object:active {
    cursor: grabbing;
}

.object.active-object {
    outline: 3px solid #ff4d4d;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.6);
    transition: box-shadow 0.2s ease, outline 0.2s ease;
}

.top-section {
    display: flex;
    /* background-color: red; */
    align-items: center;
    justify-content: space-between;
}

.countdown {
    margin-top: 2rem;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-box {
    background: rgba(255, 255, 255, 0.88);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.23);
    text-align: center;
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.time-box h2 {
    font-size: 4.5rem;
    margin: 0;
    color: #390503;
    /* text-shadow: 0 0 10px #ff2a2a; */
}

.time-box p {
    font-size: 0.7rem;
    color: #bbb;
    margin: 5px 0 0;
}
.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.overlay img {
    width: 100%;
    height: 100%;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.top-section .text-part {
    display: flex;
    justify-content: end;
    flex-direction: column;
}

.top-section .text-part h3 {
    text-align: right;
    font-size: 1rem;
}
.top-section .text-part p {
    text-align: right !important;
    font-size: 0.6rem;
    width: 100%;
}

@media (max-width: 1000px) {
    .section-content h1 {
        width: 100%;
        font-size: 2rem;
    }

    .section-content h3 {
        width: 100%;
        font-size: 1.4rem;
    }

    .object {
        font-size: 1rem;
    }

    .countdown {
        margin-top: 2rem;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .time-box {
        padding: 10px 15px;
        min-width: 50px;
        /* box-shadow: 0 0 10px rgba(255, 0, 0, 0.2); */
    }

    .time-box h2 {
        font-size: 1.5rem;
        /* text-shadow: 0 0 5px #ff2a2a; */
    }

    .ball {
        width: 50px;
        height: 50px;
        border-radius: 50px;
    }
}

/* Add comment */
