@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('/css/static/footer/footer.css');
@import url('/css/static/footer/footer-mobile.css');
@import url('/css/body.css');
@import url('/css/root.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", serif;
    color: white;
    user-select: none;
}

.checkbox-wrapper-19 {
    display: flex;
    box-sizing: border-box;
    --background-color: #fff;
    --checkbox-height: 1.1pc;
}

@-moz-keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@-webkit-keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }

    50% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

@-webkit-keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }

    50% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

@-moz-keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }

    50% {
        height: 0;
    }

    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

.checkbox-wrapper-19 input[type=checkbox] {
    display: none;
}

.checkbox-wrapper-19 .check-box {
    height: var(--checkbox-height);
    width: var(--checkbox-height);
    background-color: var(--onMain2-color);
    border: calc(var(--checkbox-height) * .06) solid rgba(255, 255, 255, 0.479);
    border-radius: 5px;
    position: relative;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: border-color ease 0.2s;
    -o-transition: border-color ease 0.2s;
    -webkit-transition: border-color ease 0.2s;
    transition: border-color ease 0.2s;
    cursor: pointer;
}

.checkbox-wrapper-19.error .check-box {
    border: calc(var(--checkbox-height) * .06) solid #ff6c6c;
}

.checkbox-wrapper-19 .check-box::before,
.checkbox-wrapper-19 .check-box::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    height: 0;
    width: calc(var(--checkbox-height) * .05);
    background-color: #fff;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 5px;
    content: " ";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
}

.checkbox-wrapper-19 .check-box::before {
    top: calc(var(--checkbox-height) * .72);
    left: calc(var(--checkbox-height) * .41);
    box-shadow: 0 0 0 calc(var(--checkbox-height) * 0) var(--background-color);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.checkbox-wrapper-19 .check-box::after {
    top: calc(var(--checkbox-height) * .37);
    left: calc(var(--checkbox-height) * .05);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box,
.checkbox-wrapper-19 .check-box.checked {
    border-color: #fff;
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box::after,
.checkbox-wrapper-19 .check-box.checked::after {
    height: calc(var(--checkbox-height) / 2);
    -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    animation: dothabottomcheck-19 0.2s ease 0s forwards;
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box::before,
.checkbox-wrapper-19 .check-box.checked::before {
    height: calc(var(--checkbox-height) * 1.2);
    -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
    animation: dothatopcheck-19 0.4s ease 0s forwards;
}

body {
    background-color: var(--main-color);
}

.page {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1440px;
    height: 100vh;
    max-height: 1920px;
    background-image: url('/img/login-bg.webp');
    background-repeat: no-repeat;
    background-size: 380px;
    background-position-y: 7vh;
    background-position-x: 1vh;
    display: flex;
    justify-content: end;
    align-items: center;
    animation: loadOpacity 2s ease, animation-bg 4s ease infinite;
}

@keyframes loadOpacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes animation-bg {

    0%,
    100% {
        background-position-y: 7vh;
    }

    50% {
        background-position-y: 9vh;
    }
}

.page .text-area {
    position: absolute;
    top: 25vh;
    left: 10vh;
    display: flex;
    flex-direction: column;
    gap: 1pc;
    width: 550px;
    z-index: 1;
}

.page .text-area h1 {
    font-size: 2.7rem;
}

.page .text-area p {
    font-size: 1rem;
}

.page .form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 430px;
    height: 90vh;
    max-height: 800px;
    margin-right: 10vh;
    z-index: 2;
}

.page .form .title {
    display: flex;
    flex-direction: column;
    gap: .7pc;
    width: 100%;
    text-align: center;
    padding: 1pc;
}

.page .form .title h1 {
    font-size: 1.85rem;
}

.page .form .title p {
    font-size: .85rem;
    opacity: .3;
}

.page .form .input {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 2vw;
    width: 100%;
    max-height: max-content;
    padding: 0 1pc;
}

.page .form .input>div {
    display: flex;
    flex-direction: column;
    gap: .5pc;
    width: calc(100% - 1pc);
}

.page .form .input>div p {
    font-size: .9rem;
    padding: 0 .5pc;
}

.page .form .input>div input {
    border: none;
    outline: none;
    width: 100%;
    padding: 1pc .5pc;
    background-color: var(--onMain2-color);
    border-radius: 1pc;
    font-size: 1rem;
}

.page .form .input>div input.error {
    outline: 2px solid #ff6c6c;
}

.page .form .input .together {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    gap: 1pc;
}

.page .form .input .together>div {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: .5pc;
}

.page .form .input .policy {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding: 0 1pc;
    padding-bottom: 1pc;
}

.page .form .input .policy input {
    background-color: var(--onMain2-color);
}

.page .form .input .policy label.error {
    border: 2px solid #ff6c6c;
}

.page .form .input .policy p {
    padding: 0;
}

.page .form .submit-area {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: max-content;
    padding: 1pc;
}

.page .form .submit-area button {
    position: relative;
    width: calc(100% - 1pc);
    background-color: white;
    text-align: center;
    padding: .85pc;
    border-radius: 1pc;
    border: none;
    outline: none;
    cursor: pointer;
    transition: .2s ease;
    font-size: 1rem;
    font-weight: 900;
}

.page .form .submit-area button p {
    font-size: 1rem;
    font-weight: 900;
    color: black;
    opacity: 1;
    transition: .2s ease;
}

.page .form .submit-area button.load p {
    opacity: 0;
}

.page .form .submit-area button .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2pc;
    aspect-ratio: 1;
    display: grid;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}

.page .form .submit-area button.load .loader {
    opacity: 1;
    visibility: visible;
}

.page .form .submit-area button .loader:before,
.page .form .submit-area button .loader:after {
    content: "";
    grid-area: 1/1;
    margin: 0 0 15px 15px;
    --c: #0000 calc(100%/3), var(--main-color) 0 calc(2*100%/3), #0000 0;
    --c1: linear-gradient(90deg, var(--c));
    --c2: linear-gradient(0deg, var(--c));
    background: var(--c1), var(--c2), var(--c1), var(--c2);
    background-size: 300% 4px, 4px 300%;
    background-repeat: no-repeat;
    animation: l12 1s infinite linear;
}

.page .form .submit-area button .loader:after {
    margin: 15px 15px 0 0;
    transform: scale(-1, -1);
}

@keyframes l12 {
    0% {
        background-position: 50% 0, 100% 100%, 0 100%, 0 0
    }

    25% {
        background-position: 0 0, 100% 50%, 0 100%, 0 0
    }

    50% {
        background-position: 0 0, 100% 0, 50% 100%, 0 0
    }

    75% {
        background-position: 0 0, 100% 0, 100% 100%, 0 50%
    }

    75.01% {
        background-position: 100% 0, 100% 0, 100% 100%, 0 50%
    }

    100% {
        background-position: 50% 0, 100% 0, 100% 100%, 0 100%
    }
}

.page .form .submit-area button::before {
    content: '';
    position: absolute;
    top: -.2pc;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100%;
    color: white;
    font-size: .9rem;
    opacity: 0;
    transition: .2s ease;
}

.page .form .submit-area button.recaptcha-error::before {
    content: 'Robot değilim doğrulanamadı.';
    opacity: 1;
}

.page .form .submit-area button.verification-error::before {
    content: 'Mail üzerinden doğrulama gerekli.';
    opacity: 1;
}

.page .form .submit-area button.user-404::before {
    content: 'Girilen bilgiler hatalı.';
    opacity: 1;
}

.page .form .submit-area button.user-200::before {
    content: 'Bu e-mail kullanılamaz.';
    opacity: 1;
}

.page .form .submit-area button.user-blocked::before {
    content: 'Hesabınız engellenmiş, iletişime geçin.';
    opacity: 1;
}

.page .form .submit-area button.timeout::before {
    content: 'İşlem zaman aşımına uğradı, sayfa yenileniyor..';
    opacity: 1;
}

.page .form .submit-area button.recaptcha-error,
.page .form .submit-area button.verification-error,
.page .form .submit-area button.user-404,
.page .form .submit-area button.user-blocked,
.page .form .submit-area button.timeout {
    outline: 2px solid #ff6c6c;
}

.page .form .submit-area button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.page .form .submit-area button:active {
    transition: .1s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.page .form .social-auths {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1pc;
    width: 100%;
    max-height: max-content;
    padding: .71pc;
    padding-bottom: 0;
    z-index: 1;
}

.page .form .social-auths>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5pc;
    width: max-content;
    height: max-content;
    background-color: black;
    border: 1px solid #4d4d4d;
    padding: .5pc 1.5pc;
    border-radius: .5pc;
    cursor: pointer;
    transition: .2s ease;
}

.page .form .social-auths>div:hover {
    background-color: rgb(29, 29, 29);
}

.page .form .social-auths>div:active {
    transition: .1s ease;
    background-color: rgb(37, 37, 37);
}

.page .form .social-auths>div svg {
    width: 1.3rem;
    height: 1.3rem;
}

.page .form .social-auths>div p {
    font-size: 1rem;
    font-weight: 900;
}