body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    background-image: linear-gradient(rgb(108 108 108 / 10%), rgb(122 122 122 / 10%)), url(../images/bg-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Source Serif 4", serif !important;
    width: 100vw;
    box-sizing: border-box;
}

.container-fluid {
    flex: 1;
    display: flex;
}

.row {
    height: auto !important;
    flex: 1;
    width: 100%;
    margin: 0;
}

.cover-box {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.cover-box img {
    width: auto;
    max-width: 100%;
    /* max-height: 92vh; */
    max-height: calc(100vh - 160px);
    box-shadow: 0px 8px 15px 0px #00000040,
        8px 12px 15px 0px #00000040,
        -8px 12px 15px 0px #00000040;
}

.main-form-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}

form {
    width: 100%;
    max-width: 800px;
    padding: 32px;
    border-radius: 32px;
    background-color: white;
    box-shadow: 3px 3px 30px 0px #0000000D;
}

form h1 {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0A0A0A;
}

form p {
    color: #6C6C6C;
    font-size: 20px;
    font-weight: 400;
}

input {
    width: 100%;
    background-color: #F6F6F6;
    border: none;
    border-radius: 24px;
    font-size: 20px !important;
    font-weight: 400 !important;
    padding: 16px 24px;
}

input:focus {
    outline: none;
}

.two-input {
    display: flex;
    gap: 20px;
}

#codeInput {
    margin-top: 20px;
}

.input-boxes {
    margin-top: 32px;
}

.rules-text {
    margin-top: 32px;
}

.rules-text p {
    font-size: 18px;
    font-weight: 400;
    color: #DDDDDD;
}

.note {
    margin-top: 20px;
}

.note p {
    font-size: 18px;
    font-weight: 400;
    color: #a3a3a3;
}

.rules-text .rules-modal-link {
    color: #EABC2C;
    text-decoration: underline;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkbox-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-color: #E4E4E4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-box svg {
    display: none;
}

.custom-checkbox input:checked+.checkbox-box {
    background-color: #EABC2C;
    border-color: #EABC2C;
}

.custom-checkbox input:checked+.checkbox-box svg {
    display: block;
}

.enter-btn {
    background-color: #EABC2C;
    border-radius: 60px;
    padding: 16px 24px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
}

.enter-btn img {
    width: 24px;
    height: 24px;
}

.custom-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s;
    height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-main-header {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    border: none !important;
    margin-top: 20px;
}

.modal-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    color: #EABC2C;
    font-family: "IBM Plex Sans", sans-serif;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #777777;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-input-main-box {
    display: flex;
    gap: 20px;
}

.modal-input-box {
    flex-grow: 1;
}

.agreeBtn {
    background-color: #EABC2C;
    border-radius: 60px;
    padding: 16px 24px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: white;
    font-family: "Manrope";
    margin-top: 5px;
    width: 100%;
}

.footer-section {
    background-color: #D9D9D9;
    padding: 40px 150px;
    flex-shrink: 0;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Roboto", sans-serif !important;
    font-size: 20px;
    color: #000;
}

.footer-left a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    margin-left: 8px;
}

.footer-left a:hover {
    color: #000;
}

.footer-left img {
    width: 24px;
}

.footer-right p {
    margin: 0;
    color: #000;
    font-weight: 400;
}

@media only screen and (max-width: 992px) {
    .footer-section {
        padding: 40px 50px;
    }
}

@media only screen and (max-width: 760px) {
    body {
        height: auto;
        overflow-y: auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media only screen and (max-width: 760px) {
    .two-input {
        flex-direction: column;
    }

    #second-col {
        display: none !important;
    }

    form h1 {
        font-size: 30px;
    }

    form p {
        font-size: 16px;
    }

    input {
        font-size: 16px !important;
    }

    .rules-text p {
        font-size: 16px;
    }

    .enter-btn {
        justify-content: center;
        width: 100%;
    }

    .modal-header h2 {
        font-size: 30px;
    }

    .custom-modal-content {
        padding: 20px;
    }

    .modal-input-main-box {
        flex-direction: column;
    }

    body {
        overflow: auto;
        background-attachment: fixed;
        min-height: 100dvh;
    }

    .note p {
        font-size: 16px;
        font-weight: 400;
        color: #a3a3a3;
    }

    .footer-section {
        margin-top: 20px;
    }

    .main-form-box {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .footer-section {
        padding: 40px 20px;
    }

    .footer-content {
        font-size: 16px;
    }

    .footer-left img {
        width: 20px;
    }

}