body, input, button {
    font-family: "Rubik", sans-serif;
    font-family: "Signika", sans-serif;
}

body {
    margin: 0;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 60px 1fr;

    background: radial-gradient(circle,rgba(0, 252, 231, 1) 0%, rgba(87, 216, 255, 1) 34%, rgba(61, 158, 255, 1) 75%, rgba(255, 255, 255, 1) 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 20% 20%;
    }
    25% {
        background-position: 20% 80%;
    }
    50% {
        background-position: 80% 80%;
    }
    75% {
        background-position: 80% 20%;
    }
    100% {
        background-position: 20% 20%;
    }
}


.but {
    margin: 10px;
    background-color: #0260e3;
    background-size: 200% auto;
    background-position: left top;
    border-width: 1px;
    border-radius: 10px;
    border-style: solid;
    border-color: #000000;
    color: #f9f7f7;
    box-shadow: inset;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.1s ease;
    position: relative;
    box-shadow: 1px 3px 2px #000000;
}

.but:active {
    transform: translateY(2px);
}

.but.switch-but {
    margin: 0;
    margin-right: 10px;
    font-size: 14px;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: azure;
    color: black;
}

.div-type-auth {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(27, 38, 243, 0.8);
    color: azure;
    width: 100%;
    height: 100%;
}

.div-left-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}

.div-left-header img {
    padding-left: 10px;
    height: 40px;
    width: auto;
}

.div-left-header label {
    font-size: 20px;
    font-family: "Changa One", sans-serif;
}

@media (max-width: 430px){
    .div-left-header label {
        display: none;
    }
}

.div-right-header {
    display: flex;
    align-items: center;
}

.div-auth {
    display: flex;
    justify-content: center;
    align-items: center;
}

.register {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 65%;
    max-height: 600px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); 
    background-color: rgba(251, 251, 252, 0.6);
}

.register label {
    text-align: center;
    font-size: 24px;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.register input {
    width: 80%;
    height: 30px;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
}

.line {
    width: 85%;
    height: 1px;
    background-color: #000000;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 55%;
    max-height: 600px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15); 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background-color: rgba(251, 251, 252, 0.6);
}

.login label {
    text-align: center;
    font-size: 24px;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.login input {
    width: 80%;
    height: 30px;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
}

.hidden {
    display: none; 
}
