main {
    font-family: 'Lato', sans-serif;
    padding: 0.625rem;
    margin: 0.625rem;
}
h1 {
    font-size: 50px;
    font-weight: bold;
    color: #421a12;
}
h2 {
    font-size: 26px;
    font-weight: bold;
    color: #421a12;
    
}
h5 {
    font-size: 15px;
    font-weight: bold;
    color: #421a12;
}
a {
    text-decoration: none;
    color: #421a12;
    font-size: 14px;
}
p {
    color: #421a12;
    font-size: 14px;
    line-height: 25px;
    font-weight: 500;
}

.subtitulo {
   
  background-image: url(../img/adocao/background/patas.png);
  background-size: 100%;
}
.btnLeiaMais {
    font-size: 14px;
    font-weight: bold;
    color: #421a12;
    border: none;
    background-color: transparent;
}
/*********************************/
/*seção:titulo da pag*/
#secao-apresentacao {
    display: flex;
    border-bottom: solid;
    border-bottom-color: #F8b74c;
    height: 55vh;
    align-items: center;
    justify-content: center;
}
#container-apresentacao {
    text-align: justify;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#img-apresentacao {
    background-color: #fff;
    border-end-start-radius: 50%;
}
#mais {
    display: none;
}
/*fim/seção:titulo da pag*/
/*********************************/
/*seção:cards ongs*/
.container-ong {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cards-ongs {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 40%;
    overflow: hidden;
}
.cards {
    display: grid;
    place-items: center;
    min-height: 65vh;
    border-radius: 2%;
}
.container-exterior {
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    padding: 1.5rem;
}
.cards .card {
    background-image: url(../img/adocao/background/patinhas.jpeg);
    background-size: 30%;
    max-width: 30rem;
    border-radius: 2rem;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    animation: animate 15s infinite linear;
    animation-delay: calc(3s * var(--delay));
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.3);
}
.card-interno-conteudo,
.card-interno {
    display: flex;
    align-items: center;
}
.card-interno {
    justify-content: space-between;
}
.card-interno-conteudo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    text-align: justify;
    color: #421a12;
}
.card-interno-conteudo .img {
    height: 100px;
    width: 30%;
    padding: 5px;
}

.card-interno-conteudo .card-interno-conteudo-div {
    margin-left: 10px;
    width: 70%;
}
.container-exterior:hover .card {
    animation-play-state: paused;
}
.cards .card:last-child {
    animation-delay: calc(-3s * var(--delay));
}
@keyframes animate {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.5);
    }
    5%,
    20% {
        opacity: 0;
        transform: translateY(100%) scale(0.7);
    }
    25%,
    40% {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0%) scale(1);
    }
    45%,
    60% {
        opacity: 0;
        transform: translateY(-100%) scale(0.7);
    }
    65%,
    100% {
        opacity: 0;
        transform: translateY(-100%) scale(0.5);
    }
}
@media (max-width:467px) {
    .card {
        padding: 25rem ;
        margin: .25rem;
    }
}
/*fim/ seção:cards ongs*/
/*********************************/
/*seção: galeria*/
.contanier-galeria {
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    padding: 2%;
}
.cabecalho-galeria {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cabecalho-galeria .galeria {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
}
.cabecalho-galeria .galeria .card-galeria {
    position: relative;
    width: 20%;
    height: 100%;
    margin: 0 5px;
    transition: width 1s;
}
.cabecalho-galeria .galeria .card-galeria:first-child {
    width: 35% ;
}
.cabecalho-galeria .galeria:hover .card-galeria:first-child {
    width: 20% ;
}
.cabecalho-galeria .galeria .card-galeria:hover {
    width: 35% ;
}
.cabecalho-galeria .galeria .card-galeria:first-child:hover {
    width: 35% ;
}
.cabecalho-galeria .galeria .card-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cabecalho-galeria .galeria .card-galeria .info {
    position: absolute;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 65%, transparent);
    padding: 16% 8%;
    bottom: 0;
}
.cabecalho-galeria .galeria .card-galeria .info h1 {
    font-size: 26px;
    color: white;
}
.cabecalho-galeria .galeria .card-galeria .info p {
    font-size: 14px;
    line-height: 28px;
    color: white;
}
.cabecalho-galeria .galeria .card-galeria .info a {
    font-size: 14px;
    line-height: 28px;
    color: orange;
    text-decoration: none;
}
.cabecalho-galeria .galeria .card-galeria .info a:hover {
    text-decoration: underline;
}
.cabecalho-galeria {
    width: 100%;
    height: 100vh;
    padding: 2%;
    display: grid;
    place-items: center;
    background-color: rgb(250, 250, 250);
    border-bottom: solid;
    border-bottom-color: #F8b74c;
}

@media screen and (max-width: 764px) {
    .cabecalho-galeria .galeria {
        width: 100%;
        height: 70vh;
        justify-content: flex-start;
        overflow-x: scroll;
    }
    .cabecalho-galeria .galeria .card-galeria {
        min-width: 90% ;
    }
}
/*fim/ seção: galeria*/
/*********************************/
/*seção:quiz*/
#container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#quiz {
    font-family:'Lato', sans-serif;
    font-size: 22px;
    margin: 0;
    background: linear-gradient(to right top, #000);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 100vh;
    width: 50%;
}
.caixa {
    width: 100%;
    padding: 20px;
    min-height: 450px;
    background-color: #fff;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
.cabecalho {
    background-color: #F8b74c;
    color: #421a12;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    margin: -20px -20px 20px;
    border-radius: 15px 15px 0 0;
    font-size: 22px;
}
.titulo {
    display: none;
}
.titulo {
    display: block;
    align-items: center;
}
.rodape {
    padding: 20px 0 0;
    text-align: right;
}
.botao-inicio {
    display: inline-block;
    padding: 8px 20px;
    background-color: #F8b74c;
    color: #421a12;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.botao-inicio:hover {
    background-color: #EB7A21;
}
/*fim/seção:quiz*/
/*********************************/
/*seção:como adotar*/
.container-como-adotar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.secao-como-adotar {
    display: grid;
    align-items: center;
    justify-content: center;
    background-image: url(../img/adocao/background/patinhas.jpeg);
    background-size: 40%;
    border-radius: 5%;
    margin: 10px 0 10px 0;
    padding: 10px;
}
.imagem-como-adotar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.titulo-como-adotar {
    font-size: 22px;
    margin-bottom: 5px;
}
.div-como-adotar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}
.paragrafo-como-adotar {
    width: 180px;
    height: 250px;
    text-align: center;
    color: #421a12;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
}
/*fim/seção:como adotar*/

/*********************************/

/*inicio media screen*/
@media screen and (max-width: 320px) {

    /*********************************/
/*seção:titulo da pag*/
h1 {/*alterou*/
    font-size: 26px;
    font-weight: bold;
    color: #421a12;
}
h2 {/*alterou*/
    font-size: 20px;
    font-weight: bold;
    color: #421a12;
    margin: 5px;
    
}
#secao-apresentacao {/*alterou*/
    display: flex;
    border-bottom: solid;
    border-bottom-color: #F8b74c;
    height: 80vh;
    flex-direction: column;
    justify-content: start;
}
#container-apresentacao {/*alterou*/
    text-align: justify;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
   
}

/*fim/seção:titulo da pag*/
/*********************************/
/*seção:cards ongs*/
.container-ong {/*alterou*/
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
    border-bottom: solid;
    border-bottom-color: #F8b74c;
}
.cards-ongs {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 10%;
    overflow: hidden;
}
.cards {
    display: grid;
    place-items: center;
    min-height: 65vh;
    border-radius: 2%;
}
.container-exterior {
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    padding: 1.5rem;
}
.cards .card {
    background-image: url(../img/adocao/background/patinhas.jpeg);
    background-size: 30%;
    max-width: 30rem;
    border-radius: 2rem;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    animation: animate 15s infinite linear;
    animation-delay: calc(3s * var(--delay));
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.3);
}
.card-interno-conteudo,
.card-interno {
    display: flex;
    align-items: center;
}
.card-interno {
    justify-content: space-between;
}
.card-interno-conteudo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    text-align: justify;
    color: #421a12;
}
.card-interno-conteudo .img {
    height: 100px;
    width: 30%;
    padding: 5px;
}

.card-interno-conteudo .card-interno-conteudo-div {
    margin-left: 10px;
    width: 70%;
}
.container-exterior:hover .card {
    animation-play-state: paused;
}
.cards .card:last-child {
    animation-delay: calc(-3s * var(--delay));
}
@keyframes animate {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.5);
    }
    5%,
    20% {
        opacity: 0;
        transform: translateY(100%) scale(0.7);
    }
    25%,
    40% {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0%) scale(1);
    }
    45%,
    60% {
        opacity: 0;
        transform: translateY(-100%) scale(0.7);
    }
    65%,
    100% {
        opacity: 0;
        transform: translateY(-100%) scale(0.5);
    }
}

/*********************************/
/*seção: galeria*/
.contanier-galeria {/*alterou*/
    display: flex;
   flex-direction:column-reverse;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    padding: 2%;
}
.cabecalho-galeria {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2%;
    display: grid;
    place-items: center;
    background-color: rgb(250, 250, 250);
}
.cabecalho-galeria .galeria {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
}
.cabecalho-galeria .galeria .card-galeria {
    position: relative;
    width: 20%;
    height: 100%;
    margin: 0 5px;
    transition: width 1s;
}
.cabecalho-galeria .galeria .card-galeria:first-child {
    width: 35% ;
}
.cabecalho-galeria .galeria:hover .card-galeria:first-child {
    width: 20% ;
}
.cabecalho-galeria .galeria .card-galeria:hover {
    width: 35% ;
}
.cabecalho-galeria .galeria .card-galeria:first-child:hover {
    width: 35% ;
}
.cabecalho-galeria .galeria .card-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cabecalho-galeria .galeria .card-galeria .info {
    position: absolute;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 65%, transparent);
    padding: 16% 8%;
    bottom: 0;
}
.cabecalho-galeria .galeria .card-galeria .info h1 {
    font-size: 26px;
    color: white;
}
.cabecalho-galeria .galeria .card-galeria .info p {
    font-size: 14px;
    line-height: 28px;
    color: white;
}
.cabecalho-galeria .galeria .card-galeria .info a {
    font-size: 14px;
    line-height: 28px;
    color: orange;
    text-decoration: none;
}
.cabecalho-galeria .galeria .card-galeria .info a:hover {
    text-decoration: underline;
}



/*fim/ seção: galeria*/
/*********************************/
/*seção:quiz*/
#container {
    display: flex;
    flex-direction: column;
  
   
}
#quiz {
    font-family:'Lato', sans-serif;
    font-size: 22px;
    margin: 0;
    background: linear-gradient(to right top, #000);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 70vh;
    width: 100%;
    border-bottom: solid;
    border-bottom-color: #F8b74c;
}
.caixa {
    width: 100%;
    padding: 20px;
    min-height: 80px;
    background-color: #fff;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
.cabecalho {
    background-color: #F8b74c;
    color: #421a12;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    margin: -20px -20px 20px;
    border-radius: 15px 15px 0 0;
    font-size: 22px;
}
.titulo {
    display: none;
}
.titulo {
    display: block;
    align-items: center;
}
.rodape {
    padding: 20px 0 0;
    text-align: right;
}
.botao-inicio {
    display: inline-block;
    padding: 8px 20px;
    background-color: #F8b74c;
    color: #421a12;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.botao-inicio:hover {
    background-color: #EB7A21;
}
/*fim/seção:quiz*/
/*********************************/

}


