/* Estilos Gerais (opcional, para o corpo da página e fontes) */
body {
    width: 100%;
    height: 100%;
    font-family: "Playpen Sans Deva", cursive;
    margin: 0;
    padding: 0;
    background-color: #d4e2b6;
    color: #333;
    font-size: 20px;
    caret-color: transparent;
}

header {
    text-align: center;
    width: 100%;
    max-height: 200px;
    background-color: #72b1a4;
}

header img {
    display: inline-block;
    margin-top: 15px;
    width: 130px;
    height: 130px;
}

header nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    margin: 0 0.5% 0 0.5%;
}

header nav span {
    color: #333;
}

header nav a:hover {
    text-decoration: underline;
}

main #lista-pets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: auto;
    padding: 20px;
}

main h2 {
    margin-bottom: -30px;
}

.pet-card {
    background-color: #f8f1e9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: auto;
    overflow: hidden;
    transition: transform 0.2s;
    margin: 3%;
}

.pet-card:hover {
    transform: translateY(-5px);
}

.pet-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.carousel-img.active {
    display: block;
}

.carousel button {
  position: absolute;
  width: 10%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 1;
}

.carousel .prev {
    left: 10px;
}

.carousel .next {
    right: 10px;
}

.pet-info {
    padding: 10px;
}

.pet-info h2 {
    margin: 0 0 8px;
    font-size: 1em;
}

.pet-info p {
    margin: 4px 0;
    color: #555;
    font-size: 0.8em;
    text-align: left;
}


.caracteres {
    display: flex;
    justify-content: right;
    font-size: 0.6em;
}

.pet-info .btn:hover {
    background-color: #0056b3;
}


.info-site {
    width: 100%;
    height: auto;
    background-color: #539fa2;
    margin-bottom: -20px;
}

.info-site h1 {
    text-align: center;
    font-size: 1em;
    padding-top: 20px;
    color: #fff;
}

.info-site p {
    text-align: center;
    font-size: 0.8em;
    color: #fff;
    padding: 5px;
}

.contato {
    font-size: 0.8em;
    text-align: center;
    color: #fff;
}

.info-site a {
    display: flex;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}

.info-site img {
    vertical-align: middle;
    width: 25px;
    margin-left: 5px;
}


footer {
    text-align: center;
    width: 100%;
    height: auto;
    background-color: #10898b;
    margin-bottom: -20px;
}

footer p {
    padding: 20px;
    color: #fff;
    font-size: 0.8em;
}



/*Formulário*/
.formulario {
    display: flex;
    justify-content: center;
    padding: 1%;
    margin-top: 1%;
}

.form-container {

    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

h2 {
    text-align: center;
    margin-bottom: 5px;
}

.pet-form-img {
    display: flex;
    justify-self: center;
    width: 50px;
    height: auto;
}

select {
    height: 30px;
    font-size: 0.8em;
    border-radius: 5px;

}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    caret-color: #333;
}

textarea {
    resize: none;
    min-height: 120px;
}

button {
    margin-top: 20px;
    width: 100%;
    background-color: #10898b;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #539fa2;
}

#email-cadastro,
#senha-cadastro,
#email-login,
#senha-login {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
    caret-color: #333;
}

#auth-status {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1%;
    color: #539fa2;
    font-size: 0.9em;
}

#reset-link {
    font-size: 0.8em;
    color: #333;
}

#auth-status span {
    margin-top: 15px;
    margin-right: 10px;
    font-weight: bold;
}

#logout-button {
    margin-top: 15px;
    max-width: 100px;
    background-color: #10898b;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

#logout-button:hover {
    background-color: #539fa2;
}

#reset-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#reset-form input {
    width: 300px;
}

#reset-form h2,
p {
    text-align: center;
    padding: 1%;
}





@media (max-width: 600px) {

    header nav a {
        font-size: 0.9em;
    }

    main h2 {
        margin-bottom: 10px;
    }

    .pet-card {
        width: 90%;
    }

}