:root {
    --font-family: 'Montserrat', sans-serif;
    --time-font: 'Oswald', sans-serif;

    --white: #e4dcdc;
    --primary-blue: #150E28;
    --primary-purple: #903AFF;
    --primary-pink: #D434FE;
    --primary: linear-gradient(to right, #D434FE, #903AFF);
}


body {
    position: relative;
}

.errMsg {
    font-size: 12px;
    color: #c60b43;
    /* visibility: hidden; */
}


.form-container {
    width: 90%;
    /* height: 30rem; */
    /* border: 1px solid red; */
    margin: 0 auto;
    margin-bottom: 3rem;
    /* visibility: hidden; */
}

.desktop-form-title {
    display: none;
}

.desktop-form-title,
.mobile-form-title {
    color: var(--primary-pink);
}

/* star */
#rel-24 {
    position: relative;
}

.star-40 {
    top: 20%;
    left: 80%;
}

.star-41,
.star-42,
.star-43,
.star-44 {
    visibility: hidden;
}

/*  */
.reg-top-blur {
    top: 30%;
    left: 30%;
}

.reg-bottom-blur {
    visibility: hidden;
}


.form-img {
    width: 90%;
}


.form-header {
    margin-bottom: 20px;
}

.top {
    display: flex;
    align-items: center;
}

.be-part {
    font-size: 12px;
}

.walking {
    /* background-color: red; */
    border-bottom: 2px dotted var(--primary-pink);
    position: relative;
    width: 70px;
    /* height: 2px; */
    display: inline-block;
    margin-left: 5px;
    align-self: end;
}

.walking-img {
    position: absolute;
    bottom: 0;
    right: 10px;
}

.form-heading {
    text-transform: uppercase;
    margin-top: 5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* .form-group>input:focus,
select:focus {
    border: 1px solid var(--primary-pink);
    color: var(--white);
} */

input,
select {
    padding: 15px;
    background: none;
    outline: none;
    border: 1px solid var(--white);
    border-radius: 3px;
    color: var(--white);
}

input {
    padding-left: 25px;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.fa-solid {
    color: white;
}

::placeholder {
    color: rgba(234, 228, 228, 0.578);
}

.select-group {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
    column-gap: 10px;
}

.form-group select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    font-size: 16px;
    padding: 10px 20px 10px 10px;
    background-image: url("/assets/images/keyboard_arrow_down_FILL0_wght400_GRAD0_opsz24.svg");
    background-position: right 5px top 60%, 0, 0;
    background-repeat: no-repeat;
}



.warn {
    font-size: 8px;
    color: var(--primary-pink);
}

.agree-group {
    display: flex;
    /* align-items: center; */
    gap: 10px;
    font-size: 10px;
}

input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 8px 8px;
    height: 8px;
}

input:checked {
    color: white;
    background-image: url("/assets/images/done_FILL0_wght400_GRAD0_opsz24.svg");
    background-position: right 50% top 50%, 0, 0;
    background-repeat: no-repeat;
    border-radius: 3px;
}

input[type="submit"] {
    width: 50%;
    align-self: center;
    background: var(--primary);
    border: transparent;
}

input[type="submit"]:hover {
    border: 1px solid var(--primary-pink);
    background: transparent;
}




/*! success  */
.success-overlay {
    display: none;
    /* height: 100vh; */
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: hsla(256, 46%, 11%, 0.89);
    top: 0;
}

.success-content {
    /* border: 1px solid green; */
    width: 100%;
    height: 100%;
    margin: auto;
    position: relative;
    /* margin-top: 15%; */
    /* background-color: red; */
    opacity: 1;
}

.container-suc {
    /* height: 40%; */
    width: 90%;
    border: 2px solid var(--primary-pink);
    border-radius: 3px;
    /* margin: 0 auto; */
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 20px;
    max-width: 40rem;
    transform: translate(-50%, -50%);
    text-align: center;
}

.success {
    width: 80%;
}

.congrats {
    font-size: 18px;
}

.congrats,
.s {
    margin-bottom: 30px;
}

.succ {
    width: 100%;
}

@media (min-width:360px) {
    .agree-group {
        font-size: 14px;
    }

    .warn {
        font-size: 11px;
    }
}

@media (max-width: 599px) {
    .form-container {
        max-width: 40rem;
    }
}

@media (min-width: 600px) {

    /* star */
    .star-40 {
        top: 20%;
        left: 10%;
    }

    .star-41,
    .star-42,
    .star-43,
    .star-44 {
        visibility: visible;
    }

    .star-41 {
        left: 30%;
        top: 63%;
    }

    .star-42 {
        top: 80%;
    }

    .star-43 {
        left: 90%;
        top: 3%;
    }

    .star-44 {
        top: 93%;
        left: 94%;
    }


    /* blur */
    .reg-top-blur {
        top: 40%;
        left: 15%;
    }


    .reg-bottom-blur {
        visibility: visible;
        left: 80%;
        top: 90%;
    }

    .mobile-form-title {
        display: none;
    }

    .desktop-form-title {
        display: block;
    }

    .main-form-container {
        display: flex;
        justify-content: center;
    }

    .form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, auto);
        row-gap: 15px;
        column-gap: 10px;
        /* align-items: center; */
        /* align-items: end; */
    }

    .select-group {
        grid-template-columns: 1fr 1fr;
    }

    .select-group,
    .warn,
    .agree-group,
    .submit {
        grid-column: 1/3;
    }

    input[type="submit"] {
        width: 100%;
    }

    .form-group {
        font-size: 12px;
    }

    input,
    .form-group select {
        padding: 10px;
    }

    input,
    select {
        padding: 8px;
    }

    input {
        padding-left: 10px;
    }

    ::placeholder,
    .form-group select {
        font-size: 10px;
    }

    .main-form-container {
        align-items: center;
    }

    .agree-group {
        font-size: 12px;
    }

    .main-form {
        /* border: 1px solid green; */
        padding: 10px;
        background-color: rgba(156, 87, 246, 0.081);
        width: 70%;
        border-radius: 5px;
    }

    form {
        width: 100%;
        /* border: 1px solid red; */
    }
}

@media (min-width:760px) {
    .main-form {
        /* border: 1px solid green; */
        padding: 30px;
        max-width: 70rem;
        /* background-color: rgba(156, 87, 246, 0.081);
        width: 70%;
        border-radius: 5px; */
    }
}

@media(min-width:900px) {
    .header-container {
        border-bottom: 0.1px solid var(--primary-purple);
    }
}

@media (min-width: 1200px) {
    .main-form {
        padding: 40px;
    }

    .form,
    .select-group {
        column-gap: 30px;
        row-gap: 30px;
    }

    ::placeholder,
    .form-group select,
    .form-group {
        font-size: 16px;
    }

    input[type="submit"] {
        font-size: 20px;
        font-weight: 500;
    }

    input,
    select {
        padding: 15px;
    }

    input,
    .form-group select {
        padding: 15px;
    }

    .agree-group {
        font-size: 15px;
    }

    input[type="checkbox"] {
        margin-top: 3px;
    }

    .warn,
    .be-part {
        font-size: 13px;
    }
}

@media (min-width: 1500px) {
    .main-form {
        padding: 60px;
    }

    ::placeholder,
    .form-group select,
    .form-group {
        font-size: 20px;
    }

    input,
    .form-group select {
        padding: 20px;
    }

    .agree-group {
        font-size: 18px;
    }

    .warn,
    .be-part {
        font-size: 18px;
    }

    ::placeholder,
    .form-group select,
    .form-group {
        font-size: 20px;
    }

    input {
        font-size: 20px;
    }

    .walking {
        border-width: 3px;
    }
}