@font-face {
    font-family: 'museo_sans_300';
    src: url(../fonts/MuseoSans_300.otf);
}

@font-face {
    font-family: 'museo_sans_500';
    src: url(../fonts/MuseoSans_500.otf);
}

@font-face {
    font-family: 'museo_sans_700';
    src: url(../fonts/MuseoSans_700.otf);
}

@font-face {
    font-family: 'museo_sans_900';
    src: url(../fonts/MuseoSans_900.otf);
}

* {
    font-family: 'museo_sans_500';
}

body {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(to bottom, #00A19C, #1f4096);
}

.error {
    color: red;
    font-size: 0.875vw;
    margin-top: 5px;
    display: block;
    font-family: 'museo_sans_300';
}

.petronas-logo {
    width: 7.25%;
    max-width: 150px;
}

.register-main {
    width: 92.5%;
    margin: auto;
    padding-top: 53px;
    padding-bottom: 53px;
}

.main-title {
    width: 100%;
}

.event-name {
    color: white;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.20);
    font-family: 'museo_sans_700';
    font-size: 2.575vw;
    font-style: italic;
    text-align: center;
}

.event-date {
    text-align: center;
    font-size: 1.825vw;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.20);
    color: white;
    font-style: italic;
}

.register-form {
    padding: calc(1vw + 16px) 2.25vw;
    border-radius: 50px;
    border: 3px solid var(--card-stroke, #FFF);
    background: rgba(0, 0, 0, 0.50);
    box-shadow: 5px 5px 15px 0px #00000033;
    backdrop-filter: blur(8px);
    position: absolute;
    top: 22%;
    right: 8%;
    width: 34%;

}

.register-form h2 {
    font-style: italic;
    color: white;
    font-family: 'museo_sans_900';
    font-size: 1.875vw;
    text-align: center;
    text-transform: uppercase;
    /* text-shadow: 5px 5px 5px #00000033; */
}

.register-form h3 {
    color: white;
    font-family: 'museo_sans_500';
    font-weight: 500;
    font-size: 1.25vw;
    text-align: center;
    text-shadow: 5px 5px 5px #00000033;
    margin-top: 25px;
}

.register-form h3 span {
    font-family: 'museo_sans_700';
}

.register-form p {
    color: white;
    font-size: 1.05vw;
    text-align: center;
    font-family: 'museo_sans_300';
    text-shadow: 5px 5px 5px #00000033;
}

.register-form p strong {
    font-weight: unset;
    font-family: 'museo_sans_700';
}

.register-form .custom-input {
    border-radius: 25rem;
    border: 2px solid #00A19C;
    background: #FFF;
    padding: 10px;
    font-size: 1.25vw;
    color: black;
    width: 100%;
    text-align: center;
    outline: none;
    font-family: 'museo_sans_700';
    line-height: 1;
}

.register-form .custom-input::placeholder {
    color: black;
    opacity: 1;
}

.register-form .custom-input::-moz-placeholder {
    color: black;
    opacity: 1;
}

.register-form .custom-input:-ms-input-placeholder {
    color: black;
    opacity: 1;
}

.register-form .custom-input::-webkit-input-placeholder {
    color: black;
    opacity: 1;
}

.qr-img {
    width: 45%;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border: 2px solid black;
}

.select-parent {
    position: relative;
    isolation: isolate;
}

#regions-parent {
    z-index: 2;
}

.select2-container--open {
    left: 0 !important;
    top: 50% !important;
    z-index: -1;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.select2-container--below,
.select2-container--above {
    z-index: 1;
}

.select2-search {
    visibility: hidden;
    pointer-events: none;
}

.select2-container li {
    font-size: 1.25vw !important;
    color: black !important;
    text-align: center;
}

.select2-container .select2-results__option--disabled {
    color: #6D6D6D !important;
}

.select2-selection__rendered {
    text-align: center;
    font-size: 1.25vw !important;
    color: black !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-family: 'museo_sans_700';
}

.select2-container--default .select2-selection--single {
    border-radius: 25rem !important;
    border: 2px solid #00A19C !important;
    padding: 10px !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #00A19C;
    border-width: 0 3px 3px 0;
    transform: translateY(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    transition: all .3s;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #00A19C;
    border-width: 0 3px 3px 0;
    transform: translateY(-50%) rotate(-135deg);
    transition: all .3s;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
}

.select2-selection__placeholder {
    color: black !important;
    font-family: 'museo_sans_700';
}

.select2-results__options li {
    width: 85%;
    margin: auto;
    padding: 0;
    border-radius: 25rem;
}

.select2-results__options li:hover {
    background-color: #00A19C !important;
    color: white !important;
}

.select2-container .select2-results__option--disabled:hover {
    background: white !important;
    color: #6D6D6D !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #00A19C !important;
    color: white !important;
}

.form-button button {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 10px;
    font-size: 1.25vw;
    color: white;
    font-style: italic;
    font-family: 'museo_sans_700';
    background: transparent;
    outline: none;
    border-radius: 25rem;
    transition: all .3s;
    border: none;
    line-height: 1.2;
}

.form-button button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 25rem;
    padding: 2px;
    background: linear-gradient(175deg, #FFFFFF 2.74%, #00A19C 102.12%);
    /* your gradient */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-button button:hover {
    background: #00A19C;
}

.mail-link {
    color: white;
    font-size: 1.05vw;
    text-shadow: 5px 5px 5px #00000033;
    font-family: 'museo_sans_300';
}

.notice {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    text-align: center;
    font-size: 0.95vw;
    padding: 0.85vw 0;
    border-radius: 0 0 46px 46px;
}

.after-submit {
    display: none;
}

#emailAlreadyModal .modal-content {
    background: #00000080;
    box-shadow: 5px 5px 15px 0px #00000033;
    backdrop-filter: blur(5px);
    border-radius: 25px;
    padding: 2px;
}

#emailAlreadyModal .modal-content::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(175deg, #FFFFFF 2.74%, #00A19C 102.12%);
    /* your gradient */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

#emailAlreadyModal .modal-body {
    background: transparent;
    color: white;
    padding: 50px;
    text-align: center;
}

.modal-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.modal-btns button,
.modal-btns a {
    position: relative;
    z-index: 1;
    padding: 10px;
    font-size: 20px;
    color: white;
    font-style: italic;
    font-family: 'museo_sans_700';
    background: transparent;
    outline: none;
    border-radius: 25rem;
    transition: all .3s;
    border: none;
    line-height: 1.2;
    padding: 13px 34px;
    text-decoration: none;
}

.modal-btns a {
    background: #FFFFFF;
    color: #000000;
}

.modal-btns button::before,
.modal-btns a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 25rem;
    padding: 2px;
    background: linear-gradient(175deg, #FFFFFF 2.74%, #00A19C 102.12%);
    /* your gradient */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.modal-btns button:hover {
    background: #00A19C;
}

.modal-mail-link {
    color: white;
}

@media (min-width: 576px) {
    #emailAlreadyModal .modal-dialog {
        max-width: 670px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .petronas-logo {
        width: 25%;
    }

    .event-date {
        font-size: 4.225vw;
    }

    .register-form {
        width: 90%;
        right: 50%;
        transform: translateX(50%);
        top: 32%;
    }

    .register-form .custom-input {
        font-size: 4.225vw;
        padding: 5px 10px;
    }

    .select2-container li {
        font-size: 4.225vw !important;
    }

    .select2-selection__rendered {
        font-size: 4.225vw !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        width: 10px;
        height: 10px;
    }

    .form-button button {
        font-size: 4.225vw;
    }

    .event-name {
        font-size: 4.75vw;
    }

    .mail-link {
        font-size: 3.275vw;
    }

    .notice {
        font-size: 3.275vw;
    }

    .register-form h2 {
        font-size: 4.225vw;
    }

    .register-form h3 {
        font-size: 3.25vw;
        margin: 0px !important;
        
    }

    .register-form p {
        font-size: 3.25vw;
    }

    .register-form {
        border-radius: 25px;
        padding:calc(1vw + 12px) 2.25vw;
    }

    .notice {
        border-radius: 0 0 20px 20px;
    }

    .register-main {
        width: 93%;
    }

    #emailAlreadyModal .modal-body {
        padding: 22px;
    }

    #emailAlreadyModal .modal-body h4 {
        font-size: 16px;
    }

    .modal-btns button,
    .modal-btns a {
        font-size: 13px;
        padding: 10px 18px;
    }
}