* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    height: 100dvh;
    overflow: hidden;
    background: linear-gradient(45deg, #5799fa, #cde2f3, #aea6fc);
    background-size: 400% 400%;
    animation: colorChange 10s ease infinite;
}

@keyframes colorChange {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.wrap {
    width: 90%;
    max-width: 700px;
}
.flex-all {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-body {
    background: white;
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    text-align: center;
}
.flex-wrap {
    flex-wrap: wrap;
}
.login-body input {
    height: 50px;
    border-radius: 10px;
    outline: none;
    border: 1px solid #ccc;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}
.login-body .title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: left;
}
.login-body .top {
    margin-bottom: 50px;
}
button {
    margin-top: 10px;
    background: #ff1a57;
    width: 100%;
    border-radius: 10px;
    outline: none;
    border: 0;
    height: 50px;
    color: white;
    cursor: pointer;
}
.login-body button + p {
    color: #ccc;
    margin-top: 30px;
}
.login-body span {
    color: #ff1a57;
    cursor: pointer;
}
.kakao {
    background: #fee500;
}
.swal2-actions {
    flex-wrap: unset;
}
body.swal2-height-auto {
    height: 100dvh !important;
}
.naver {
    background: #1fc801;
}

.back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.4);
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    padding: 50px;
    border-radius: 10px;
    background: white;
    z-index: 9;
    display: none;
}

.popup.on {
    display: block;
}

.input_body {
    position: relative;
}

.popup h2 {
    margin-bottom: 20px;
}

.popup p {
    font-size: 14px;
    margin-bottom: 5px;
}

.input_body input {
    height: 44px;
    border: 1px solid #444;
    color: #444;
    border-radius: 8px;
    font-size: 14px;
    margin: 0;
    padding: 10px;
    width: 100%;
    outline: none;
    margin-bottom: 10px;
}

.input_body i {
    position: absolute;
    right: 20px;
    top: calc(50% - 15px);
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .login-body {
        padding: 20px;
    }
}
