/* font-family:  "Protest Guerrilla", sans-serif; para numeros */
/* font-family: "Montserrat", sans-serif; para links e titulos */
/* font-family: "Poppins", sans-serif; font-weight: 100; font-style: italic; descrição */

:root {
    font-size: 62.5%;
}

::-webkit-scrollbar {
    width: 1rem;
}


::-webkit-scrollbar-track {
    background: none;
}


::-webkit-scrollbar-thumb {
    background: #0F592F;
    border-radius: 6px;
}

body {
    background: #ffffff;
    margin: 0;
    overflow-x: hidden;
}


/* header  */
header {
    display: flex;
    justify-content: space-evenly;
}

.links {
    display: flex;
    justify-content: center;
}

.active{
    text-decoration: none;
    padding: 1.2rem;
    padding-bottom: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F592F;
    font-family: "Montserrat", sans-serif;
    position: relative;
    transition: 1s ease;
}

header .active::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0F592F;
    transition: width 0.4s ease, left 0.3s ease;
}

header .active:hover::after {
    width: 70%;
}

.logo img {
    width: 3rem;
    align-items: center;
    margin-top: 1rem;
}

.pesquisar {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.pesquisar ion-icon {
    font-size: 3rem;
    color: #0F592F;
}

.pesquisar input {
    border: #0F592F 2px solid;
    border-radius: 1rem;
}

header .login{
    display: flex;
    align-items: center;
    gap: 1rem;
}

button{
    background-color: transparent;
    border: 2px solid #0F592F;
    width: 5.5rem;
    height: 3rem;
    color: #0F592F;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    border-radius: 0.5rem;
}

button:hover{
    background-color: #e1e1e167;
}

#userEmail{
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

/* pagina principal */

section {
    width: 100vw;
    position: relative;
}

.pg-principal {
    width: 100%;
    margin-bottom: 5rem;
    margin-top: 2rem;
}

.pg-principal img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 2rem;
}

.carrosel-content {
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
    animation: carrosel 10s linear infinite;
}

.carrosel-content .img {
    width: 8rem;
}

@keyframes carrosel {

    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* pagina de promoção */

.pg-promocao {
    display: grid;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card-de-cima {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 5rem;
}

.card1 {
    width: 50rem;
    height: 20rem;
    position: relative;
}

.card1 img {
    width: 90%;
    border-radius: 1rem;
    object-fit: cover;
}

.card2 {
    width: 30rem;
    height: 20rem;
}

.card2 img {
    width: 90%;
    border-radius: 1rem;
    object-fit: cover;
}

.card3 {
    width: 30rem;
    height: 20rem;
}

.card3 img {
    width: 90%;
    border-radius: 1rem;
    object-fit: cover;
}

.parte-de-baixo {
    display: flex;
    justify-content: space-evenly;
    margin-top: 7rem;
}

.parte-de-baixo h1 {
    width: 40rem;
    margin: 0;
}

#titulo-promo {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 4rem;
    color: #0F592F;
}

#descricao-promo {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: black;
    font-style: italic;
    font-size: 1rem;
}

.carousel-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 30rem;
}

.carousel-images img {
    width: 30rem;
    border-radius: 10px;
}

/* pagina de recomendações */

.descricao-recomendacoes h1{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    color: #0F592F;
}

.descricao-recomendacoes p{
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: black;
    font-style: italic;
    font-size: 2rem;
}

.texto-recomendacoes h1{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 4rem;
    color: #0F592F;
    margin: 5rem;
}

.card-recomendacoes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card-recomendacoes .card1{
    width: 30rem;
}

.card-recomendacoes .card1 img{
    width: 30rem;
}

.card-recomendacoes .card2{
    width: 30rem;
}

.card-recomendacoes .card2 img{
    width: 30rem;
}

.card-recomendacoes .card3{
    width: 30rem;
}

.card-recomendacoes .card3 img{
    width: 30rem;
}

.card-recomendacoes .card4{
    width: 30rem;
}

.card-recomendacoes .card4 img{
    width: 30rem;
}
