
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif; 
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url(img/cineflix-catalogo.webp);
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#central, #centralizando {
    display: flex;
    width: 850px;  
    height: 500px; 
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.container, .container-card {
    display: flex;
    width: 100%;
    height: 100%; 
}

.login, .registration-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 40px;
}

.not-count, .count {
    flex: 0.8;
    background: #132047;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #132047;
}

.not-count h1, .count h1 {
    color: white;
    font-size: 1.8rem;
}

p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.not-count p, .count p {
    color: #d1d1d1;
}

.input-box {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    background-color: #fff;
    border-color: #132047;
    box-shadow: 0 0 8px rgba(19, 32, 71, 0.2);
}

button {
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.3s ease;
}

button[type="submit"], .btn {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    background-color: #132047;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
}

button[type="submit"]:hover, .btn:hover {
    background-color: #1a2c63;
    transform: translateY(-2px);
}

.bnt-registro, .btn-voltar {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    margin-top: 20px;
}

.bnt-registro:hover, .btn-voltar:hover {
    background: white;
    color: #132047;
}

.forgot-link a {
    font-size: 0.8rem;
    color: #132047;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link a:hover {
    text-decoration: underline;
}
@media(max-width:820px){
#central, #centralizando {
    display: flex;
    width: 450px;  
    height: 400px; 
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
    .container-card {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch; /* Faz os dois lados terem a mesma altura sempre */
}

h1 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #132047;
}

.not-count h1, .count h1 {
    color: white;
    font-size: 1rem;
}

p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.not-count p, .count p {
    color: #d1d1d1;
}
.login, .registration-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 10px;
}

.not-count, .count {
    flex: 0.8;
    background: #132047;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

input {
    width: 90%;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.input-box {
    width: 90%;
    max-width: 200px;
    margin-bottom: 15px;
}

button {
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, background 0.3s ease;
}

button[type="submit"], .btn {
    width: 90%;
    max-width: 500px;
    padding: 12px;
    background-color: #132047;
    color: white;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
}

button[type="submit"]:hover, .btn:hover {
    background-color: #1a2c63;
    transform: translateY(-2px);
}

.bnt-registro, .btn-voltar {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    margin-top: 20px;
}

.bnt-registro:hover, .btn-voltar:hover {
    background: white;
    color: #132047;
}


}