@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap');

* {
    padding: 0;
    margin: 0;
}

.contentBlock form {
  font-size: clamp(1rem, 1.2vw, 1.125rem) !important;
}

.contentBlock form input {
  font-size: clamp(1rem, 1.2vw, 1.125rem) !important;
}

.contentBlock form label {
  font-size: clamp(0.9rem, 1vw, 1.05rem) !important;
}

.contentBlock form p, #scheduleList {
  font-size: clamp(0.8rem, 1.1vw, 1.125rem) !important;
}

.contentBlock form button {
  font-size: clamp(1rem, 1.4vw, 1.5rem) !important;
}

#vitayu, #modalTitle {
  font-size: clamp(1rem, 1.6vw, 1.5rem) !important;
}

#winText1, #winText2 {
  font-size: clamp(0.8rem, 1.4vw, 1.25rem) !important;
}

#coolContainer button, #audienceButtons button {
  font-size: clamp(0.8rem, 1.4vw, 1.25rem) !important;
}

#spinAgainBtn {
  font-size: clamp(0.8rem, 1.4vw, 1.5rem) !important;
}

.slengLink, #modalLink {
  font-size: clamp(0.8rem, 1.3vw, 1.25rem) !important;
}
.topBlock p {
    font-size: clamp(1.5rem, 2vw, 3rem) !important;
}


html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100vh !important;
    height: 100vh !important;
}

.bottomBlock {
    height: 74vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.contentBlock {
    width: 86%;
    height: inherit;
    border-radius: 32px 32px 0 0;
    background: linear-gradient(60deg, rgba(241, 102, 0, 1) 0%, rgba(247, 166, 0, 1) 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 96px;
}

.contentBlock img {
    width: 32%;
}

.contentBlock form {
    background-color: white;
    width: 32%;
    height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1rem;
    padding: 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.125rem;
    border: 0.25rem solid #F16600;
    box-shadow: 0 0 1.125rem 3px rgba(248,114,17,1);
}

.contentBlock form label {
    margin-bottom: 0.625rem;
}

.contentBlock form input {
    height: 42px;
    margin-bottom: 20px;
    background-color: #EEEEEE;
    border: none;
    border-bottom: 0.25rem solid #F16600;
    border-radius: 0.25rem;
    padding-left: 4%;
    font-family: "Montserrat", sans-serif;
    font-size: 1.125rem;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #F16600;
}

.contentBlock form p {
    margin: 1.25rem 0 20px;
    width: 100%;
}

.contentBlock form button {
    height: 64px;
    color: #EEEEEE;
    background-color: #F16600;
    border-radius: 0.5rem;
    border: none;
    font-size: 24px;
    font-weight: bold;
}

.wheelWrapper {
    width: 38%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wheelImg, #triangleImg {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    will-change: transform;
}

#triangleImg {
    z-index: 10;
    padding-top: 1rem;
}

#wheelImg {
    z-index: 9;
}
.bottomBlockMobi {
    display: none !important;
}

#win-container, #win-container2 {
    background-color: white;
    width: 32%;
    height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1rem;
    padding: 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.125rem;
    border: 0.25rem solid #F16600;
    box-shadow: 0 0 1.125rem 3px rgba(248,114,17,1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#vitayu, #modalTitle, #modalTitleMobi{
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #090909;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left !important;
}

#vitayu img {
    width: 2rem;
    margin-right: 1rem;
}

#coolContainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#winText1, #winText2 {
    font-size: 1.25rem;
    font-weight: bold;
    width: 100%;
    color: white;
    margin: 1rem 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #F7A600;
    border-radius: 8px;
    text-align: center;
}

#winText1 {
    width: 100%;
    user-select: none;
}
#winText1:hover {
    background-color: #F16600;
}

#winText2 {
    width: 100%;
}

#coolContainer button {
    width: 43%;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin: 1rem 0;
    padding: 0.5rem;
    background-color: #090909;
    border-radius: 8px;
}

.ordinaryText, .ordinaryText2 {
    margin: 1rem 0;
}

.ordinaryText2 {
    text-align: center;
    width: 100%;
}

#spinAgainBtn {
    height: 64px;
    color: #EEEEEE;
    background-color: #F16600;
    border-radius: 0.5rem;
    border: none;
    font-size: 24px;
    font-weight: bold;
}

.fade-in-up {
    animation: fadeInUp 0.4s ease forwards;
}

.fade-out-down {
    animation: fadeOutDown 0.4s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}
.slengLink, #modalLink, #modalLinkMobi  {
    font-size: 1.25rem;
    color: #320cc9;
    text-decoration: underline dashed #320cc9;
    text-align: center;
    text-underline-offset: 0.5rem;
}
.bottomBlockMobi {
    display: none;
}
.modal-content, .modal-contentMobi {
    width: 100%;
}
#audienceButtons, #audienceButtonsMobi {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
#audienceButtons button, #audienceButtonsMobi button {
    padding: 1rem;
    width: 48%;
    color: #EEEEEE;
    background-color: #F16600;
    border-radius: 0.5rem;
    border: none;
    font-weight: bold;
}
#scheduleListContainer, #scheduleListContainerMobi {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    height: 30vh;
    gap: 1rem;
}
#modalTitle, #modalTitleMobi {
    width: 100%;
    justify-content: center;
}
#scheduleList, #scheduleListMobi {
    padding-left: 2rem;
}
#modalLink, #modalLinkMobi {
    font-weight: bold;
}
.neActive {
    background-color: hsl(25, 41%, 61%) !important;
}

@media (max-width: 810px) {
    .topBlock {
        width: 100%;
        display: flex;
        margin-bottom: 4vh;
        flex-direction: column;
    }
    .topBlock p {
        font-family: "Unbounded", sans-serif;
        font-weight: bold;
        font-size: 1.2rem;
        color: #090909;
        width:64%;
        padding-left: 8vw;
        padding-bottom: 1rem;
    }
    .underline {
        height: 0.4rem;
        width: 64%;
        background: linear-gradient(60deg, rgba(241, 102, 0, 1) 0%, rgba(247, 166, 0, 1) 100%);
    }
    header {
        width: 100%;
    }
    header img {
        margin-left: 8vw;
        margin-top: 4vh;
        margin-bottom: 4vh;
        height: 6vh;
    }
    .bottomBlockMobi {
        display: flex !important;
        background: white !important;
    }
    .bottomBlock {
        display: none;
    }
    .contentBlock {
        flex-direction: column;
        max-width: 100vw;
        width: 100%;
        gap: 2rem;
        height: auto;
        background: white !important;
        border: none;
    }
    #wheelFormMobi {
        height: 56vh !important;
        width: 72%;
        box-shadow: none !important;
        padding: 2rem !important;
        border-width: 0.2rem;
    }

    #wheelFormMobi label {
        font-size: 1rem;
    }
    #wheelFormMobi input {
        margin-bottom: 2rem;
        font-size: 1rem;
        height: 6vh;
        border-bottom: 0.2rem solid #F16600;
    }
    #wheelFormMobi p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    #wheelFormMobi button {
        margin-top: 1rem;
        height: 8vh;
        font-size: 1.2rem;
        font-weight: bold;
        color: #ffffff;
        background-color: #F16600;
        border-radius: 0.2rem;
        font-weight: bold;
        border: none;
    }

    .wheelWrapper {
        display: flex;             
        flex-direction: column;
        width: 80%;
        max-width: 360px;
        padding: 0;
    }

    #wheelImgMobi {
        width: 100%;
    }
    #triangleImgMobi {
        width: 100%;
        position: absolute;
    }
    #win-container-mobi,
    #win-container2-mobi {
        display: flex;
        flex-direction: column;
        width: 90%;
        max-width: 360px;
        background: #fff;
        border-radius: 1rem;
        justify-content: center;
        font-family: "Montserrat", sans-serif;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    #vitayuMobi, #vitayu2Mobi {
        display: flex;
        align-items: center;
        font-size: 1.4rem;
        font-weight: bold;
    }
    #vitayuMobi img, #vitayu2Mobi img{
        padding-right: 1rem;
        width: 2rem;
    }
    #coolContainerMobi {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    #coolContainerMobi button {
        width: 50%;
        font-size: 1.2rem;
        font-weight: bold;
        color: #EEEEEE;
        margin-top: 1rem;
        padding: 0.5rem;
        background-color: #090909;
        border-radius: 0.2rem;
        border: none;
    }
    #winText1Mobi, #winText2Mobi {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #F7A600;
        border-radius: 0.2rem;
        color: #ffffff;
        font-weight: bold;
        font-size: 1.2rem;
        padding: 1rem;
        margin-top: 1rem;
        height: 4vh;
        width: 80%;
        text-align: center;
    }
    .ordinaryText, .ordinaryText2 {
        padding: 0;
        margin: 0;
        margin-top: 1rem !important;
        width: 100%;
        font-size: 1rem;
        text-align: center;
    }
    #spinAgainBtnMobi {
        margin-top: 1rem;
        height: 8vh;
        font-size: 1.2rem;
        font-weight: bold;
        color: #ffffff;
        background-color: #F16600;
        border-radius: 0.2rem;
        font-weight: bold;
        border: none;
    }
    .slengLink, #modalLinkMobi {
        font-size: 1rem !important;
    }
    #audienceButtonsMobi {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    #audienceButtonsMobi button {
        padding: 1rem;
        width: 90%;
        color: #EEEEEE;
        background-color: #F16600;
        border-radius: 0.5rem;
        border: none;
        font-weight: bold;
        font-size: 1rem !important;
    }
    #scheduleListContainerMobi {
        display: none;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        margin-top: 1rem !important;
        margin-bottom: 4rem !important;
        height: auto !important;
        grid-area: 1rem !important;
    }
    #modalTitleMobi {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    #scheduleListMobi {
        padding-left: 2rem;
    }
}

@media (min-width: 811px) and (max-width: 1024px) {
/*    header {
        background-color: #320cc9;
    }
    .bottomBlock {
        display: flex;
    }
    .bottomBlockMobi {
        display: none;
    }

    .contentBlock {
        flex-direction: row;
        gap: 48px;
        width: 85%;
        height: 70vh;
    }

    .contentBlock form {
        width: 40%;
        height: 60vh;
    }

    .wheelWrapper {
        width: 40%;
    }

    #win-container,
    #win-container2 {
        width: 40%;
        height: 60vh;
    } */
}

@media (min-width: 1081px) {
    .topBlock {
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .topBlock p {
        font-family: "Unbounded", sans-serif;
        font-weight: bold;
        font-size: 2rem;
        color: #090909;
        text-align: center;
        width: 44%;
        padding-bottom: 1rem;
    }

    .underline {
        height: 0.375rem;
        width: 44%;
        background: linear-gradient(60deg, rgba(241, 102, 0, 1) 0%, rgba(247, 166, 0, 1) 100%);
    }
    header {
        width: 100%;
    }
    header img {
        margin-left: 8vw;
        margin-top: 4vh;
        height: 6vh;
    }
    .bottomBlock {
        display: flex;
    }
    .bottomBlockMobi {
        display: none;
    }

    .contentBlock {
        flex-direction: row;
        gap: 96px;
        width: 86%;
        height: inherit;
    }
    .bottomBlockMobi {
        display: none !important;
    }
}

@media (max-width: 1080px) and (min-width: 811px) {
    .bottomBlockMobi {
        display: none !important;
    }
    .topBlock {
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .topBlock p {
        font-family: "Unbounded", sans-serif;
        font-weight: bold;
        font-size: 2rem;
        color: #090909;
        text-align: center;
        width: 64%;
        padding-bottom: 1rem;
    }

    .underline {
        height: 0.375rem;
        width: 54%;
        background: linear-gradient(60deg, rgba(241, 102, 0, 1) 0%, rgba(247, 166, 0, 1) 100%);
    }
    header {
        width: 100%;
    }
    header img {
        margin-left: 8vw;
        margin-top: 4vh;
        height: 6vh;
    }
    .bottomBlock {
        display: flex;
        width: 100%;
    }
    .bottomBlockMobi {
        display: none;
    }

    .contentBlock {
        flex-direction: row;
        justify-content: space-around !important;
        width: 96% !important;
        height: inherit;
    }

        
    .bottomBlock {
        height: 74vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    .contentBlock {
        width: 86%;
        height: inherit;
        border-radius: 24px 24px 0 0;
        background: linear-gradient(60deg, rgba(241, 102, 0, 1) 0%, rgba(247, 166, 0, 1) 100%);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 48px;
    }

    .contentBlock img {
        width: 100%;
    }

    .contentBlock form {
        background-color: white;
        width: 36%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 1rem;
        padding: 16px;
        font-family: "Montserrat", sans-serif;
        font-size: 1.125rem;
        border: 0.25rem solid #F16600;
        box-shadow: 0 0 1.125rem 3px rgba(248,114,17,1);
    }

    .contentBlock form label {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .contentBlock form input {
        height: 2em;
        margin-bottom: 1rem;
        background-color: #EEEEEE;
        border: none;
        border-bottom: 0.25rem solid #F16600;
        border-radius: 0.25rem;
        padding-left: 4%;
        font-family: "Montserrat", sans-serif;
        font-size: 1rem;
    }

    input:focus {
        outline: none;
        box-shadow: 0 0 0 2px #F16600;
    }

    .contentBlock form p {
        margin-top: 0.5rem !important;
        margin-bottom: 1.5rem;
        width: 100%;
        font-size: 1rem;
    }

    .contentBlock form button {
        height: 64px;
        color: #EEEEEE;
        background-color: #F16600;
        border-radius: 0.5rem;
        border: none;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .wheelWrapper {
        width: 42%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #wheelImg, #triangleImg {
        position: absolute;
        width: 100%;
        backface-visibility: hidden;
        will-change: transform;
    }

    #triangleImg {
        z-index: 10;
        padding-top: 1rem;
    }

    #wheelImg {
        z-index: 9;
    }

    #win-container {
        display: flex;
    }

    #win-container, #win-container2 {
        background-color: white;
        width: 40%;
        height: 52vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 1rem;
        font-family: "Montserrat", sans-serif;
        font-size: 1rem;
        border: 0.25rem solid #F16600;
        box-shadow: 0 0 1.125rem 3px rgba(248,114,17,1);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #vitayu {
        font-family: "Montserrat", sans-serif;
        font-weight: bold;
        font-size: 1.2rem;
        color: #090909;
        display: flex;
        align-items: center;
    }

    #vitayu img {
        width: 2rem;
        margin-right: 1rem;
    }

    #coolContainer {
        width: 90%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
        margin: 0 !;
    }

    #winText1, #winText2 {
        width: 100% !important;
        font-size: 1.2rem;
        font-weight: bold;
        color: white;
        padding: 1rem;
        background-color: #F7A600;
        border-radius: 8px;
        text-align: center;
    }

    #coolContainer button {
        width: 80%;
        font-size: 1.2rem;
        color: white;
        padding: 1rem;
        margin: 0;
        background-color: #090909;
        border-radius: 8px;
    }

    .ordinaryText, .ordinaryText2 {
        margin: 2rem 0;
        text-align: center;
    }

    .ordinaryText2 {
        text-align: center;
        width: 100%;
    }

    #spinAgainBtn {
        height: 3rem;
        color: #EEEEEE;
        background-color: #F16600;
        border-radius: 0.2rem;
        border: none;
        width: 100%;
        font-size: 1.2rem;
        font-weight: bold;
    }
    .fade-in-up {
        animation: fadeInUp 0.4s ease forwards;
    }
    .fade-out-down {
        animation: fadeOutDown 0.4s ease forwards;
    }
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    @keyframes fadeOutDown {
        0% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(30px);
        }
    }
    .slengLink, #modalLink, #modalLinkMobi  {
        font-size: 1.2rem;
        color: #320cc9;
        text-decoration: underline dashed #320cc9;
        text-align: center;
        text-underline-offset: 0.5rem;
    }
    .bottomBlockMobi {
        display: none;
    }
    #audienceButtons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
        z-index: 999;
    }
    #audienceButtons button {
        padding: 0.5rem;
        width: 48%;
        color: #EEEEEE;
        background-color: #F16600;
        border-radius: 0.5rem;
        border: none;
        font-weight: bold;
    }
    #scheduleListContainer {
        display: none;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        height: 30vh;
        gap: 1rem;
    }
    #modalTitle {
        width: 100%;
        justify-content: center;
    }
    #scheduleList {
        padding-left: 2rem;
    }
}
