@font-face {
    font-family: iransans;
    src: url("./../../assets/fonts/IranSans.ttf") format('truetype');
    font-weight: 800;
}

body {
    background-color: #202020 !important;
    font-size: 16px;
    font-family: iransans;
    color: #d9ae50;
    overflow-x: hidden !important;
}

.form-box {
    width: 97%;
    height: auto;
    padding: 20px;
    margin: 20px 0;
    background-color: #434343;
    color: #d9ae50;
    border-radius: 20px;
    position: relative;
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 0 5px 2px #d9ae50;
    user-select: none;
}

.upper-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title_6 {
    font-size: 30px;
}

.subtitle_6 {
    margin: 9px 0;
}

.form-box form {
    margin: 20px 15px;
}

.subtitle {
    margin: 0 10px;
    color: #d9ae50;
    font-size: 19px;
}


.form-box form .parts_1 {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-box form .parts_1>div {
    width: 25%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin: 20px 0;
}

.form-box form .parts_1>div input {
    outline: none;
    border: none;
    background-color: #202020;
    color: #d9ae50;
    font-size: 15px;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 10px 0 0 10px;
    transition: all 0.3s ease-in-out;
    user-select: all;
}

.form-box form .parts_1>div input:focus {
    background-color: #828282;
}

.form-box form .parts_1>div input::placeholder {
    color: #d9ae50;
}


.radio-button {
    display: flex;
    align-items: center;
    margin: 13px 20px 0 0;
    cursor: pointer;
    position: relative;
}

.radio-button input[type="radio"] {
    display: none;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d9ae50;
    position: relative;
    margin-left: 10px;
}

.radio-circle::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.2s ease-in-out;
}

.radio-button input[type="radio"]:checked+.radio-circle::before {
    transform: translate(-50%, -50%) scale(1);
}

.radio-label {
    font-size: 14px;
    font-weight: bold;
}

.radio-button:hover .radio-circle {
    border-color: #fff;
}

.radio-button:hover input[type="radio"]:checked+.radio-circle::before {
    background-color: #fff;
}


.textarea {
    width: 100% !important;
}

.textarea textarea {
    resize: none;
    height: 100px;
    outline: none;
    border: none;
    width: 100%;
    background-color: #202020;
    color: #d9ae50;
    font-size: 15px;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 10px 0 0 10px;
    transition: all 0.3s ease-in-out;
    user-select: all;
}

.textarea textarea:focus {
    background-color: #828282;
}

.button_1 {
    position: relative;
    /* right: 50%;
    transform: translateX(50%); */
    margin: 0 auto;
    width: 120px;
    height: 40px;
    background-color: #202020 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9ae50;
    flex-direction: column;
    justify-content: center;
    border: none;
    padding: 12px;
    gap: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.button_1 input {
    background-color: transparent;
    color: inherit;
    outline: none;
    border: none;
    position: relative;
}

.button_1::before {
    content: '';
    position: absolute;
    margin: 0 auto;
    width: 128px;
    height: 48px;
    border-radius: 10px;
    background: #d9ae50;
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button_1::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: #d9ae50;
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
}

.button_1:hover::after {
    filter: blur(30px);
}

.button_1:hover::before {
    transform: rotate(-180deg);
}

.button_1:active::before {
    scale: 0.7;
}

/* From Uiverse.io by KSAplay */
input[type="checkbox"] {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    display: none;
}

.checkmark:after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    background-color: #fff;
    width: 50%;
    height: 50%;
    transform: scale(0);
    transition: .1s ease;
    border-radius: 50%;
}

.radio-button input:checked~.checkmark:after {
    transform: scale(1);
}

/* ## */

#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #828282;
    border: 3px solid #ae0000;
    color: #ae0000;
    text-align: center;
    border-radius: 15px;
    padding: 16px;
    position: absolute;
    z-index: 1;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        top: 30px;
        opacity: 0;
    }

    to {
        top: 90px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        top: 90px;
        opacity: 1;
    }

    to {
        top: 30px;
        opacity: 0;
    }
}

@media only screen and (max-width: 600px) {
    .form-box {
        width: 94%;
    }

    .upper-text {
        border-bottom: 1px solid #d9ae50;
        margin-bottom: 10px;
    }

    .title_6 {
        font-size: 30px;
    }

    .subtitle_6 {
        font-size: 18px;
        margin: 9px 0;
    }

    .form-box form {
        margin: 0;
    }


    .form-box form .parts_1 {
        margin: 0px 0;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .form-box form .parts_1>div {
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 15px;
        font-size: 14px;
    }

    .form-box form .parts_1>div input {
        margin: 0;
        margin-top: 10px;
        width: 150px;
    }

    .radio-button {
        margin-top: 13px;
    }

    .radio-buttons label {
        margin-top: 13px;
    }
}