* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
min-height: 100vh;
font-family: Arial, Helvetica, sans-serif;
background: #fdf5f7;
padding: 20px;
color: #555;
}

/* =========================================
CONTAINER PRINCIPAL
========================================= */

.container {
width: 100%;
max-width: 1500px;
margin: 0 auto;
background: #ffffff;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

/* =========================================
LOGIN
========================================= */

.container:has(.login) {
max-width: 1200px;
min-height: 650px;
display: flex;
}

.login {
width: 45%;
padding: 60px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}

.login h1 {
color: #d88fa3;
font-size: 36px;
margin-bottom: 8px;
}

.login h2 {
color: #555;
font-size: 21px;
font-weight: normal;
margin-bottom: 12px;
}

.login p {
color: #888;
font-size: 14px;
line-height: 1.6;
margin-bottom: 30px;
}

.coracao {
font-size: 30px;
margin-bottom: 10px;
}

.campo {
text-align: left;
margin-bottom: 18px;
}

.campo label {
display: block;
color: #666;
font-size: 14px;
margin-bottom: 7px;
}

.campo input {
width: 100%;
padding: 14px 15px;
border: 1px solid #ddd;
border-radius: 10px;
font-size: 15px;
outline: none;
transition: 0.3s;
}

.campo input:focus {
border-color: #d88fa3;
box-shadow: 0 0 0 3px rgba(216, 143, 163, 0.12);
}

.botao {
width: 100%;
padding: 15px;
border: none;
border-radius: 10px;
background: #d88fa3;
color: white;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
margin-top: 5px;
}

.botao:hover {
background: #c8788f;
transform: translateY(-1px);
}

.cadastro {
margin-top: 25px;
font-size: 14px;
color: #888;
}

.cadastro a {
color: #d88fa3;
text-decoration: none;
font-weight: bold;
}

/* =========================================
FOTO DO LOGIN
========================================= */

/* =========================================
   FOTO DO CHÁ - INDEX
   ========================================= */

.container > .foto {
    width: 55%;
    min-height: 650px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #fff8fa;
    padding: 20px;
    overflow: hidden;
}

.container > .foto img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 610px;

    object-fit: contain;
}

/* =========================================
CABEÇALHO DA PÁGINA DE FOTOS
========================================= */

.cabecalho {
text-align: center;
padding: 40px 20px 25px;
}

.cabecalho .coracao {
font-size: 32px;
margin-bottom: 8px;
}

.cabecalho h1 {
color: #d88fa3;
font-size: 34px;
margin-bottom: 8px;
}

.cabecalho p {
color: #888;
font-size: 15px;
line-height: 1.6;
}

/* =========================================
FOTO DA FAMÍLIA
========================================= */

.foto-familia {
    width: 100%;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    gap: 15px;
    padding: 20px;

    background: #fff8fa;
}

.foto-familia img {
    display: block;

    width: 40%;
    max-width: 75%;
    height: auto;

    object-fit: contain;
    border-radius: 15px;
}

/* =========================================
ÁREA DE PUBLICAÇÃO
========================================= */

.publicar {
padding: 35px 25px;
text-align: center;
}

#arquivo {
display: none;
}

.botao-foto {
display: inline-block;
width:70%;
padding: 15px 32px;
background: #d88fa3;
color: white;
border-radius: 12px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
box-shadow: 0 5px 15px rgba(216, 143, 163, 0.25);
}

.botao-foto:hover {
background: #c8788f;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(216, 143, 163, 0.30);
}

/* =========================================
   BOTÃO PUBLICAR FOTO
   ========================================= */

.botao-enviar {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 18px auto 0;

    padding: 8px 16px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(135deg, #e8a6b8, #d88fa3);

    color: #ffffff;

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(216, 143, 163, 0.25);

    transition: all 0.3s ease;
}

.botao-enviar:hover {
    background: linear-gradient(135deg, #d88fa3, #c8788f);

    transform: translateY(-3px);

    box-shadow: 0 10px 24px rgba(216, 143, 163, 0.35);
}

.botao-enviar:active {
    transform: translateY(-1px);
}

.botao-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#nome-arquivo {
margin-top: 12px;
color: #888;
font-size: 14px;
}

#carregando {
display: none;
margin-top: 15px;
color: #d88fa3;
font-size: 14px;
}

#resultado {
margin-top: 12px;
}

/* =========================================
GALERIA
========================================= */

.galeria {
    width: 100%;
    padding: 10px 20px 45px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.galeria .foto {
    width: 80%;
    margin: 0 auto;

    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;

    border: 1px solid #f2e3e7;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);

    transition: 0.3s;
}

.galeria .foto img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =========================================
CARD DA FOTO
========================================= */

.galeria .foto {
background: #ffffff;
border-radius: 16px;
overflow: hidden;

```
border: 1px solid #f2e3e7;

box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);

transition: 0.3s;
```

}

.galeria .foto:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.11);
}

/* =========================================
IMAGENS DA GALERIA
========================================= */

.galeria .foto img {
width: 100%;
height: auto;

```
display: block;

object-fit: contain;

background: #faf7f8;
```

}

/* =========================================
MENSAGEM SEM FOTOS
========================================= */

.sem-fotos {
grid-column: 1 / -1;

```
text-align: center;

padding: 50px 20px;

color: #aaa;

font-size: 15px;
```

}

/* =========================================
INFORMAÇÕES DAS FOTOS
========================================= */

.info-foto {
padding: 12px 15px;
}

.info-foto strong {
color: #d88fa3;
font-size: 14px;
}

.info-foto small {
display: block;
color: #999;
margin-top: 5px;
font-size: 12px;
}

/* =========================================
ERROS
========================================= */

.erro {
grid-column: 1 / -1;
text-align: center;
color: #999;
padding: 30px;
}

/* =========================================
RODAPÉ
========================================= */

.rodape {
text-align: center;
padding: 30px;
color: #aaa;
font-size: 13px;
}

.sair {
display: inline-block;
margin-top: 10px;
color: #d88fa3;
text-decoration: none;
}

.sair:hover {
text-decoration: underline;
}

/* =========================================
TABLET
========================================= */

@media (max-width: 1000px) {


.galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 25px 35px;
}

}

/* =========================================
CELULAR
========================================= */

@media (max-width: 700px) {

body {
    padding: 8px;
}

.container {
    border-radius: 15px;
}


/* LOGIN */

.container:has(.login) {
    flex-direction: column;
    min-height: auto;
}

.container > .foto {
    width: 100%;
    min-height: auto;
    height: auto;
    order: 1;
}

.login {
    width: 100%;
    padding: 40px 25px;
    order: 2;
}

.login h1 {
    font-size: 29px;
}

.login h2 {
    font-size: 19px;
}


/* CABEÇALHO */

.cabecalho {
    padding: 30px 15px 22px;
}

.cabecalho h1 {
    font-size: 28px;
}


/* FOTO DA FAMÍLIA */

@media (max-width: 700px) {


    .foto-familia {
        display: flex;
        flex-direction: column;

        width: 100%;
        gap: 12px;
        padding: 10px;
    }

    .foto-familia img {
        width: 100%;
        max-width: 100%;
        height: auto;

        border-radius: 10px;
    }

}


/* PUBLICAÇÃO */

.publicar {
    padding: 25px 15px;
}

.botao-foto {
    width: 100%;
    padding: 16px;
}


/* GALERIA */

    .galeria {
        padding: 5px 10px 30px;
        gap: 18px;
    }

    .galeria .foto {
        width: 95%;
    }

    .galeria .foto img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


/* FOTOS */

.galeria .foto img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
```

}
