html {
    font-family: 'Pretendard', sans-serif !important;
}

body {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    background: #f9fafc;
}

.main {
    width: 800px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: center;
    align-self: normal;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    box-shadow: rgb(161 181 198 / 20%) 2px 4px 20px;
    border-radius: 15px;
    padding: 54px 0px 36px;
    margin: 50px 0px 120px;
    align-items: center;
}

.title {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
    width: 90%;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    color: #434950;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: middle;
    background: inherit;
    text-align: center;
    word-break: keep-all;
}

h2 {
    font-size: 20px;
    font-weight: 400;
    color: #60666d;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: middle;
    background: inherit;
    text-align: center;
    word-break: keep-all;
}

.form {
    display: flex;
    flex-direction: column;
    -webbit-box-pack: center;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    gap: 50px;
}

.form-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0px;
    -webkit-box-pack: center;
    justify-content: center;
    min-width: fit-content;
}

.form-title {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: -8px;
}

h3 {
    color: #434950;
    font-size: 18px;
    font-weight: 400;
}

.form-input {
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 94%;
    overflow: hidden;
    border: 1px solid #d9e0e8;
    border-radius: 5px;
    padding: 8px 3%;
    display: flex;
    gap: 5px;
    background-color: white;
}

input {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 0px;
    border: 0 solid black;
}

textarea {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 0px;
    border: 0 solid black;
    font-family: 'Pretendard', sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    color: black;
    line-height: 1.5;
}

.long {
    height: 200px;
    display: unset;
}

textarea:focus {
    outline: none;
}

textarea::placeholder {
    color: #ccd5e1;
    font-family: 'Pretendard', sans-serif !important;
}

input:focus {
    outline: none;
}

input::placeholder {
    color: #ccd5e1;
    font-family: 'Pretendard', sans-serif !important;
}

.submit {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: end;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 100%;
}

button {
    color: white;
    font-size: 16px;
    height: auto;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    word-break: keep-all;
    min-width: fit-content;
    width: fit-content;
    align-self: auto;
    gap: 2px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.abled {
    background-color: #6056db;
    border-radius: 6px;
}

.disabled {
    background-color: #d9e0e8;
    border-radius: 6px;
    cursor: initial;
}

img {
    width: 330px;
    padding-bottom: 50px;
}

.star {
    color: #eb5757;
    margin-left: 3px;
}

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

.form-radio-item {
    display: flex;
    flex-direction: row;
}

input[type="radio" i] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    width: 10px;
    padding: initial;
    border: initial;
    margin-right: 10px;
}

.info {
    margin-bottom: 20px;
    font-size: 12px;
    color: rgb(155, 155, 155);
}


@media (max-width: 800px) {
    .main  {
        background-color: white;
        position: relative;
        display: flex;
        align-items: center;
    }

    .container {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: white;
        align-items: center;
        box-shadow: none;
        margin: 20px 0px 30px;
    }

    .form {
        display: flex;
        flex-direction: column;
        -webbit-box-pack: center;
        justify-content: center;
        align-items: center;
        width: 90%;
        gap: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .title {
        margin-bottom: 40px;
        gap: 10px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 16px;
        font-weight: 500;
    }

    button {
        color: white;
        background-color: #6056db;
        border-radius: 6px;
        font-size: 16px;
        height: auto;
        width: 100%;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        word-break: keep-all;
        min-width: fit-content;
        width: 100%;
        align-self: auto;
        gap: 2px;
        border: none;
        padding: 16px 0px;
        cursor: pointer;
    }
    
}

.loadingPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 6px solid #d9e0e8;
    /* Light grey */
    border-top: 6px solid #6056db;
    /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spinner 1s linear infinite;
    margin: -30px 0 0 -30px;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}