﻿@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Comfortaa:wght@300..700&display=swap');

@import url('theme.css');
/*@import url('buttons.css');
*//*@import url('formfields.css');
*/@import url('liquidglass.css');

/*.field-container > label {
    left: 40px;
    top: 11px;
    font-size: 20px;
}*/

.field-container:hover {
    filter: brightness(110%);
}

.field-input {
    width: 400px;
    border-radius: 10px !important;
    height: 50px;
    font-size: 20px;
    border: unset;
    padding-left: 40px;
    color: var(--primary-color);
/*    border: solid 1px var(--primary-color);
*/}


    .field-input:focus {
        border: solid 2px var(--tertiary-color);
    }

input:focus-visible {
    outline: unset !important;
}

.subtitle-container {
    margin-left: 25px;
    margin-right: 25px;
}

.subtitle-bold {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    filter: drop-shadow(1px 2px 20px #fff);
}

.subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    font-optical-sizing: auto;
    font-style: normal;
    color: #fff;
    filter: drop-shadow(1px 2px 10px #fff);
}

.icon {
    position: absolute;
    display: inline-block;
    fill: url(#icon-gradient);
    width: 20px;
    top: 14px;
    left: 10px;
}

.password-viewer {
    position: absolute;
    display: inline-block;
    fill: url(#icon-gradient);
    width: 23px;
    top: 14px;
    right: 10px;
}

    .password-viewer:hover {
        cursor: pointer;
        scale: 1.2;
    }

.logo {
    width: 170px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(1px 2px 10px #fff);
}

    .logo img {
        height: 110px;
    }

/*input:focus + label,
input:not(:placeholder-shown) + label,
input:valid + label {
    top: -11px;
    left: 18px;
    font-size: 15px;
    padding: 0 8px 0px 8px;
    background-color: white;
}
*/
/*input:focus ~ label, 
input:not(:placeholder-shown) ~ label {
    top: -11px;
    left: 18px;
    font-size: 15px;
    padding: 0 8px 0px 8px;
    background-color: white;
}

label {
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 2px;
    transition: 0.2s ease all;
    font-size: 15px;
}*/

.background-logo > img {
    z-index: 0;
    opacity: 0.6;
    height: 100vh;
    top: 0;
    right: calc(100vh / -2);
    right: calc(100dvh / -2);
    position: fixed;
}

.button {
    width: 150px;
    height: 50px;
    border: unset;
    margin-top: 10px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bolder
}

    .button.gradient {
        background: linear-gradient(90deg, var(--secondary-color) 10%, var(--primary-color) 50%, var(--tertiary-color) 90%);
        border: none;
        color: #fff;
    }

    .button:hover {
        filter: brightness(110%);
        cursor: pointer;
    }

.link.secondary {
    background: unset;
    color: #fff;
    width: 200px;
    height: 50px;
    border: unset;
    margin-top: 10px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 300
}

.link:hover {
    filter: brightness(110%);
    text-decoration: underline;
    cursor: pointer;
}

button:active {
    scale: 0.95;
}


.link.secondary.bounce {
    width: 350px;
    display: flex;
    justify-content: space-around;
}

    .link.secondary.bounce:hover {
        text-decoration: unset;
    }

.link.secondary > .icon {
    position: unset;
    display: inline-block;
    fill: url(#icon-gradient);
    width: 25px;
    top: 10px;
    right: 10px;
}

.link.bounce:hover > .icon {
    -webkit-animation: bounceright .3s alternate ease infinite;
    animation: bounceright .3s alternate ease infinite;
}

.spacer {
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--primary-color-lighter);
    text-align: center;
}

    .spacer span {
        padding: 0 20px 0 20px;
    }

    .spacer::after, .spacer::before {
        flex: 1;
        content: '';
        border: 0.5px solid var(--primary-color-lighter);
    }

.bold {
    font-weight: bold;
    padding-left:10px;
}

.error-container {
    display: flex;
    justify-content: center;
}
.validation-message {
    background: var(--negative-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 10px;
}

.rememberme label {
    top: -2px !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    transition: background-color 5000s ease-in-out 0s;
}


form {
    text-align: unset;
}

.modal.header {
    display: flex;
    justify-content: center;
}

.form-field {
    position: relative;
    margin-top: 20px;
}

.field-container {
    position: relative;
}

.rememberme {
    position: relative;
    margin-top: 10px;
    display: flex;
}

    .rememberme label {
        width: 130px;
    }

    .rememberme input {
        width: unset;
    }

button.submit {
    margin-top: 1rem;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.link.secondary .icon {
    filter: drop-shadow(1px 2px 10px #fff);
}

.field-container .icon {
    filter: drop-shadow(1px 2px 10px #fff);
}

.field-container .password-viewer {
    filter: drop-shadow(1px 2px 10px #fff);
}

.modal {
    min-height: unset;
    height: 70vh;
    max-height: 700px;
}

    .modal form {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.modal-content {
    justify-content: space-evenly;
}

@-webkit-keyframes bounceright {
    from {
        -webkit-transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(3px);
    }
}

@keyframes bounceright {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(3px);
    }
}

.pulse {
    animation: pulse 15s linear infinite;
}

    .pulse.transitioning {
        animation: largepulse 2s linear;
    }

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1.1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.8);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media only screen and (min-device-width: 1000px) {


    .transition {
        transition: all 2s ease;
    }

    .transition.login-section.move {
        left: -40%;
    }

    .transition.login-section.move {
        scale: 0;
    }

    .transition.signup-section.move {
        right: 20%;
    }

    .transition.signup-section.move {
        scale: 1;
    }

    .transition.pulse.move {
        right: 70%;
    }
}


@media only screen and (max-device-width: 1000px) {
    .background-logo > img {
        z-index:-1;
    }
    
    .login-page {
        perspective: 1000px;
        overflow:hidden;
    }

    .cards {
        transition: all 0.8s ease-in;
        transform-style: preserve-3d;
    }

    .cards.move {
        transform: rotateY(180deg);
    }

    .transition.login-section.move {
        backface-visibility: hidden;
    }

    .transition.signup-section.move {
        transform: rotateY(180deg);
    }

}

@media only screen and (max-device-width: 768px) {
    .field-input {
        width: 100% !important;
        font-size: 14px;
    }

    .field-container > label {
        left: 37px;
        top: 15px;
        font-size: 14px;
    }

    input:focus ~ label, input:not(:placeholder-shown) ~ label {
        top: -9px;
        left: 17px;
        font-size: 12px;
    }

    .icon {
        width: 18px;
        top: 11px;
        left: 9px;
    }
    
    .link.secondary {
     font-size:16px;
    }

}

@media only screen and (max-device-height: 770px) {
    .subtitle-container {
        display:none;
    }
}

.login-page {
    background: linear-gradient(-45deg, var(--primary-color), var(--tertiary-color), var(--secondary-color));
    background-size: 400% 400%;
    animation: gradient 22s ease infinite;
    height: 100vh;
    width: 100vw;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.title {
    font-family: fantasy;
    font-size: 50px;
}

.cards {
    display: grid;
    align-items: center;
    justify-content: space-around;
    height: 100vh;
    width: 100vw;
}

.login-section {
    z-index: 1;
    row-gap: 20px;
    border-radius: 10px;
    background: #fff;
    padding: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--primary-color);
    width: 600px;
    height: 75%;
    display: flex;
    left: 20%;
    position: absolute;
    align-items: center;
    justify-content: space-around;
}

.signup-section {
    z-index: 1;
    row-gap: 20px;
    border-radius: 10px;
    background: #fff;
    padding: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--primary-color);
    width: 600px;
    height: 75%;
    display: flex;
    right: -40%;
    position: absolute;
    align-items: center;
    justify-content: space-around;
    scale: 0;
}

.form-group {
    position: relative;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

    .login-actions > div {
        display: flex;
        align-items: center;
    }

    .login-actions .button {
        display: flex;
        justify-content: center;
        align-items: center;
    
    }

/*IPads*/
@media only screen and (max-device-width: 1000px) {
    .cards {
        justify-items: center;
    }

    .login-section {
        left: unset;
        scale: unset;
        position: absolute;
        z-index: 3;
    }

    .signup-section {
        right: unset;
        scale: unset;
        position: absolute;
        z-index: 2;
    }
}

/*Mobiles*/
@media only screen and (max-device-width: 768px) {
    .logo img {
        width: 100%;
        height: unset;
    }

    .subtitle-container {
        margin: 0;
        text-align: center;
    }

    .subtitle-bold {
        font-size: 1.9rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cards {
        justify-items: center;
    }

    .login-section {
        left: unset;
        scale: unset;
        position: absolute;
        z-index: 3;
        padding: 15px;
        width: calc(100vw - 75px);
        height: calc(100vh - 75px);
        height: calc(100dvh - 75px);
    }

    .signup-section {
        right: unset;
        scale: unset;
        position: absolute;
        z-index: 2;
        padding: 15px;
        width: calc(100vw - 75px);
        height: calc(100vh - 75px);
        height: calc(100dvh - 75px);
    }

    .login-body {
        width: 90%;
    }

    .login-actions {
        width: 100%;
    }

        .login-actions div:first-child {
            display: flex;
            flex-direction: column-reverse;
            width: 95%;
        }

        .login-actions div button {
            width: 100% !important;
            align-items: center;
        }

    .modal {
        min-height: unset;
        max-height: 85vh;
        max-height: 85dvh;
        width: 90vw;
        width: 90dvw;
        max-width: 90vw;
        max-width: 90dvw;
        overflow: hidden;
        margin: 10px;
        height: unset;
    }

}
