@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+SAS:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playwrite DE SAS", cursive;
}

body {
    background-color: #3b2f2f;
    color: #fff7e6;
    scroll-behavior: smooth;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

a {
    text-decoration: none;
}

.container {
    background: rgba(30, 20, 10, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(246, 184, 110, 0.3);
}

.haeadline {
    color: #f6b86e;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.haeadline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc80;
    border-radius: 2px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-container,
.password-container {
    display: flex;
    flex-direction: column;
}

label {
    color: #fefae0;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.1rem;
}

input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(246, 184, 110, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff7e6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #ffcc80;
    box-shadow: 0 0 0 2px rgba(255, 204, 128, 0.2);
}

input::placeholder {
    color: rgba(255, 247, 230, 0.6);
}


button {
    background: linear-gradient(135deg, #f6b86e, #c17d11);
    border: none;
    border-radius: 30px;
    padding: 12px;
    color: #3b2f2f;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(135deg, #ffcc80, #f6b86e);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 125, 17, 0.4);
}


#Login {
    text-align: center;
    color: #f6b86e;
    margin-top: 20px;
    display: block;
    transition: color 0.3s ease;
}

#Login:hover {
    color: #ffcc80;
}

@media (max-width: 576px) {
    .container {
        padding: 30px 20px;
    }

    .haeadline {
        font-size: 1.8rem;
    }

    input,
    button {
        padding: 10px 12px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.5s ease-out;
}

input:valid {
    border-color: rgba(76, 175, 80, 0.5);
}

input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: rgba(244, 67, 54, 0.5);
}