
:root {
    --nunito: "Nunito", serif;
    --rubik: 'Rubik', sans-serif;
    /*
    font-family: var(--nunito);
    font-family: var(--rubik);
    */

    --purple: #6A39D2;
}


body {
    font-family: var(--nunito);
    color: white;
    font-size: 18px;
    background-image: url('../images/bg-small.svg'), linear-gradient(107.73deg, #26C1E3 -13.9%, #702BD0 99.92%);
    background-size: 100% auto, 100% 100%;
    background-position: top 15px left, 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: grid;
    justify-content: center;
    padding: 0 max(12px, 1.63vw);
    grid-template-columns: 1fr;
}

@media only screen and (min-width: 1000px) {
    body {
        background-image: url('../images/bg-big.svg'), linear-gradient(107.73deg, #26C1E3 -13.9%, #702BD0 99.92%);
        background-size: 45.31vw auto, 100% 100%;
        background-position: bottom left;
    }
}

@media only screen and (min-width: 1920px) {
    body {
        grid-template-columns: unset;
        align-items: center;
        font-size: 1.041666vw; /* 20px at 1920 viewport */
    }
}

section {
    padding: 94px 0 0 0;
}

@media only screen and (min-width: 1920px) {
    section {
        margin-top: -5.21vw; /* -100px at 1920 viewport */
        padding: unset;
    }
}

a, a:link {
    color: white;
    font-weight: 500;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1 {
    font-family: var(--rubik);
    font-weight: 700;
    font-size: max(36px, 3.33vw);
    text-transform: uppercase;
    display: grid;
    justify-items: center;
    margin: 0 0 82px 0;
    text-align: center;
}

@media only screen and (min-width: 1920px) {
    h1 {
        font-size: 3.33vw; /* 64px at 1920 viewport */
        margin: 0 0 4.58vw 0; /* 88px at a920 viewport */
    }
}

h1 span {
    position: relative;
}

h1 span::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: calc(50% + 5px);
    transform: translateX(-50%);
    width: max(244px, 22.19vw); 
    height: max(20px, 1.35vw); 
    background: url(../images/underline.svg) 0 0 no-repeat;
    z-index: -1;
}

@media only screen and (min-width: 540px) {
    h1 br {
        display: none;
    }
}

@media only screen and (min-width: 1920px) {
    h1 span::before {
        bottom: 0;
        left: calc(50% + 0.52vw);
        width: 22.19vw; /* 426px at 1920 viewport */
        height: 1.35vw; /* 26px at 1920 viewport */
    }
}

.main {
    width: min(100%, 1110px);
    padding: 52px 18px 58px 18px ;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(100px);
    border-radius: 28px;
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
    margin: 0 auto max(40px, 2.08vw) auto;
}


@media only screen and (min-width: 1920px) {
    .main {
        width: 57.81vw; /* 1110px at 1920 viewport */
        padding: 3.13vw 2.6vw 2.6vw 2.6vw; /* 60px 50px 50px 50px at 1920 viewport */
        gap: 1.04vw; /* 20px at 1920 viewport */
        border-radius: 1.46vw; /* 28px at 1920 viewport */
    }
}

@media only screen and (min-width: 500px) {
    .main br {
        display: none;
    }
}


a.btn-yellow {
    position: relative;
    display: flex;
    color: var(--purple);
    font-family: var(--rubik);
    font-weight: 700;
    font-size: min(24px, 5.8vw);
    text-decoration: none;
    height: 66px;
    background: linear-gradient(92.74deg, #FFF275 0.94%, #F9A300 101.84%);
    padding: 0 2.08vw; /* 0 40px at 1920 viewport */
    align-items: center;
    gap: 2px;
    transition: all 0.3s ease-in-out;
    justify-content: center;
    border-radius: 200px;
    text-decoration: none;
    margin: 30px auto 20px auto;
    padding: max(24px, 2.08vw);
}

@media only screen and (min-width: 1920px) {
    a.btn-yellow {
        font-size: 1.25vw; /* 24px at 1920 viewport */
        height: 3.75vw; /* 72px at 1920 viewport */
        margin: 1.56vw 0 1.04vw 0 ; /* 30px 0 20px at 1920 viewport */
        padding: 0 2.08vw; /* 0 40px at 1920 viewport */
    }
}

a.btn-yellow:hover {
    transform: scale(1.05);
}

#countdown {
    height: 29px;
    display: inline-grid;
    grid-template-columns: repeat(2, 25px);
    gap: 3px;
}

@media only screen and (min-width: 1920px) {
    #countdown {
        height: 1.51vw; /* 29px at 1920 viewport */
        grid-template-columns: repeat(2, 1.3vw); /* 25px at 1920 viewport */
        gap: 0.16vw; /* 3px at 1920 viewport */
    }
}

#countdown label {
    background-color: white;
    color: #516BD8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    font-family: var(--nunito);
    border-radius: 7px;
}

@media only screen and (min-width: 1920px) {
    #countdown label {
        font-size: 1.04vw; /* 20px at 1920 viewport */
        border-radius: 0.36vw; /* 7px at 1920 viewport */
    }
}

