@font-face {
    font-family: Inter;
    src: url(Fonts/Inter-VariableFont_slnt\,wght.ttf);
}

* {
    scroll-behavior: smooth;
}

html {
    font-size: 0px;
    font-style: normal;
    font-family: 'Inter';
    color: var(--text-color);
}

body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    text-rendering: optimizeSpeed;
    background-color: var(--background-color);
}

:root {
    --primary-color: rgb(237, 28, 36);
    --primary-color--hover: rgba(246, 49, 51, 0.7);
    --white-color: rgb(255, 255, 255);
    --black-color: rgb(0, 0, 0);

    --background-color: rgb(245, 245, 245);
    --background-subColor: rgb(249, 249, 249);
    --background-ColorE8262D: rgb(232, 38, 45);
    --background-ColorE8262D--hover: rgba(232, 38, 45, 0.7);
    --background-ColorFAD4D5: rgb(250, 212, 213);

    --text-color: rgb(57, 62, 74);
    --subtext-color: rgb(95, 102, 119);
    --text-colorF63133: rgb(246, 49, 51);
    --asterisk-color: rgb(255, 0, 0);
    --policy-color: rgb(138, 138, 138);

    --underline-colorF1F1F2: rgb(241, 241, 242);

    --borderNews-color: rgba(95, 102, 119, 0.5);
    --borderNews-color--active: rgb(237, 28, 36);

}

.app {
    width: 100%;
}

/* register */
.register {
    height: auto;
}

.register__area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0px auto;
}

.logo {
    margin: 136px auto 65px;
    display: flex;
    justify-content: center;
}

.register__form {
    width: 53%;
    background-color: var(--white-color);
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    margin-bottom: 48px;
}

.register__title {
    width: 100%;
    margin: 28px auto 5px;
    font-weight: 600;
    font-size: 24px;
    line-height: 58px;
    text-align: center;
}

.register__body {
    margin: 0px 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.register__item {
    display: flex;
    width: 47.758620%;
    flex-direction: column;

}

.register__item-content {
    width: 91.194968%;
    display: flex;
    flex-direction: column;
    margin: 0px auto;
}

div input[required] + label:after {
	content: '*';
	color: var(--asterisk-color);
  }

div textarea + label:after {
    content: '*';
    color: var(--asterisk-color);
}

.register__label {
    font-weight: 400;
    font-size: 14px;
    line-height: 58px;
    text-align: left;
    width: 100%;
    height: 42px;
    order: 1;
}

.form-control {
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    height: 36px;
    order: 2;
    border: 1px solid rgba(32, 27, 27, 0.06);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    padding: 4px;
}

.form-control:focus-visible {
    outline: 1px solid var(--asterisk-color);
    border-radius: 5px;
}
.form-group.invalid .form-control {
  border-color: var(--primary-color);
}

.form-group.invalid .form-message {
  color: var(--primary-color);
}
  
.form-message {
  font-size: 12px;
  line-height: 16px;
  padding: 4px 0 0;
  order: 3;
}

.inputContent {
    width: 100%;
    height: 164px;
}

.register__policy {
    width: 95%;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: var(--black-color);
    display: block;
    position: relative;
    padding-left: 70px;
    margin-top: 21px;
    cursor: pointer;
}

.register__policy input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

.checkmark {
    position: absolute;
    top: -3px;
    left: 30px;
    height: 25px;
    width: 25px;
    background-color: var(--white-color);
    border: 1.5px solid rgba(32, 27, 27, 0.5);
    border-radius: 5px;
  }

.register__policy:hover input ~ .checkmark {
    background-color: #ccc;
}

.register__policy input:checked ~ .checkmark {
    background-color: var(--asterisk-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

.register__policy input:checked ~ .checkmark:after {
    display: block;
}

.register__policy .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.policy {
    font-weight: 400;
    text-decoration: none;
    color: var(--policy-color);
}

.register__btn {
    width: 91.194968%;
    height: 36px;
    margin: 22px auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    padding: 0px;
    border-radius: 5px;
    background-color: var(--asterisk-color) !important;
    color: var(--white-color) !important;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

/* CSS Global */
.grid {
    width: 100%;
    display: block;
}

.grid.wide {
    max-width: 1200px;
    margin: 0 auto;
}

.hide-on-pc {
    display: none;
}

.popup {
    margin: 0 auto;
    width: 80%;
    border-radius: 6px;
    background-color: var(--white-color);
    position: absolute;
    top: 50%;
    left: 50%;
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.1));
    text-align: center;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    transition: transform 0.4s, top 0.4s;
    transform: translate(-50%, -50%) scale(1);
    display: flex;
}

.popup img {
    width: 100px;
    border-radius: 50%;
    margin-top: 48px;
}
.popup button {
    width: 100px;
    border-radius: 4px;
    margin-bottom: 48px;
    padding: 10px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 0;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.notification__title {
    margin: 29px 0px;
    font-weight: 600;
    font-size: 24px;
    line-height: 58px;
    text-align: center;
}

.notification__des {
    width: 73.899371%;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 48px;
    text-align: center;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

.open-modal {
    display: flex;
}

@media (max-width: 1023px) {
    .register__title {
        font-size: 20px;
        line-height: 28px;
    }
    .register__body {
        margin: 0px auto;
        width: 91.194968%;
    }
    .register__form {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }
 }