body {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(to right, black, rgb(245, 208, 0), rgb(255, 147, 6));
}

.Register-Login {
    display: flex;  
    justify-content: center;
    align-items: center;
    min-width: 600px;
    height: 600px;
    background-color: rgb(255, 147, 6);
    border-radius: 30px;
    border: 3px dashed black;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0; transform: translateY(-20px);
    }

    to {
        opacity: 1; transform: translateY(0px);
    }
}

.input_lr {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 500px;
}

.login {
    height: 40px;
    font-size: 20px;
    border-radius: 30px;
    border: 3px solid black;
    background-image: url(./icons/user.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-position: left;
    background-position-x: 20px;
    padding-left: 50px;
    padding-right: 20px;
    outline: none;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.password {
    height: 40px;
    font-size: 20px;
    border-radius: 30px;
    border: 3px solid black;
    background-image: url(./icons/key.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-position: left;
    background-position-x: 20px;
    padding-left: 50px;
    padding-right: 20px;
    outline: none;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.button {
    height: 40px;
    font-size: 20px;
    border-radius: 30px;
    border: 3px solid rgb(255, 255, 255);
    outline: none;
    font-family:Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    background-color: black;
    color: white;
    font-weight: bold;
}

.button:hover {
    background-color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.p_lr {
    font-size: 90px;
    margin-top: -20px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    animation: text 2s ease-in-out infinite;
    user-select: none;
}

@keyframes text {
    0% {
        transform: translateY(0px);
        color: rgb(48, 47, 46);
    }
    
    50% {
        transform: translateY(30px);
        color: black;
    }

    100% {
        transform: translateY(0px);
        color: rgb(48, 47, 46);
    }
}

.switch_link {
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
    margin-top: auto;
}


.error {
    font-size: 20px;
    min-height: 30px;
    color: red;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}


@media screen and (max-width: 768px) {
    .Register-Login {
        min-width: unset;
        width: 90%;
        height: auto;
        padding: 30px 20px;
    }

    .input_lr {
        width: 100%;
    }

    .login, .password {
        font-size: 16px;
        padding-left: 45px;
    }

    .p_lr {
        font-size: 50px;
    }

    .switch_link {
        font-size: 18px;
    }

    body {
        overflow: visible;
    }
}