

#primeiro_slogan{
    height: 100lvh;
    background-size: cover;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

#bg_slogan{
    background-image:linear-gradient(rgba(0, 0, 0, 0.089), #070707), url("/static/nando_fretes/imagens/bg_slogan.webp");
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: absolute;
    transition: background-image 5s ease;
    transform: scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

#conteudo_bg_slogan{
    width: 60%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: white;
    padding: 20px;
    visibility: hidden;
    position: absolute;
}

#conteudo_bg_slogan img{
    width: 300px;
}

#quem_somos{
    width: 550px;
    text-align: justify;
    margin: auto auto 200px auto;
}


#over_bg{
    background-image: linear-gradient(rgba(0, 0, 0, 0.39), rgba(0, 0, 0, 0.719)), url("/static/nando_fretes/imagens/over_bg2.webp");
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;   
    z-index: 10; 
    transition: opacity 1s ease ;
}

.over_bg_sem_filtro{
    opacity: 0;
}


#slogan_wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 2% 5% 5% 5%;
}

#slogan_wrapper img{
    margin: 0 0 -30px -30px;
}

#slogan_wrapper h1{
    width: fit-content;
    height: 100%;
    color: white;
    display: flex;
    font-size: 30px;

}

#slogan_direita{
    align-items: end !important;
}


@media screen and (max-width: 955px) {
    #over_bg{
        background-image: linear-gradient(rgba(0, 0, 0, 0.39), rgba(0, 0, 0, 0.719)), url("/static/nando_fretes/imagens/over_bg_mobile.webp");
        background-size: cover;
        background-position: center center;
        padding: 50px 0;
    }

    #slogan_wrapper{
        flex-direction: column;
        padding: 25px;
        justify-content: space-between;
    }

    #slogan_wrapper h1{
        width: fit-content;
        height: fit-content;
        font-size: 20px;
        text-align: center;
        margin: 0 auto;
    }

    .slogan_esquerda_wrapper img{
        display: none;
    }

    #bg_slogan{
        background-image:linear-gradient(rgba(0, 0, 0, 0.562), #070707), url("/static/nando_fretes/imagens/bg_slogan_mobile.webp");
        background-size: cover;
        transform: scale(1);
    }

    #conteudo_bg_slogan{
        width: 100%;
        height: 100%;
        padding: 60px;
        align-items: center;
        justify-content: center;
    }

    #conteudo_bg_slogan img{
       width: 200px;
    }

    #quem_somos{
        width: 100%;
        text-align: justify;
        margin: 0;
    }

    #quem_somos h2{
        font-size: 2rem;
        padding-bottom: 0;
    }

}




.scrolldown {
    --color: white;
    --sizeX: 30px;
    --sizeY: 50px;
    position: relative;
    width: var(--sizeX);
    height: var(--sizeY);
    margin-left: var(sizeX / 2);
    border: calc(var(--sizeX) / 10) solid var(--color);
    border-radius: 50px;
    box-sizing: border-box;
    margin-bottom: 16px;
    cursor: pointer;
}
  
.scrolldown::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--color);
    border-radius: 100%;
    animation: scrolldown-anim 2s infinite;
    box-sizing: border-box;
    box-shadow: 0px -5px 3px 1px #2a547066;
}
  
@keyframes scrolldown-anim {
    0% {
      opacity: 0;
      height: 6px;
    }
    40% {
      opacity: 1;
      height: 10px;
    }
  
    80% {
      transform: translate(0, 20px);
      height: 10px;
      opacity: 0;
    }
  
    100% {
      height: 3px;
      opacity: 0;
    }
}
  
.scroll-wrapper {
    margin-left: 30px;
    margin-top: -50px;
    font-size: 12px;
    opacity: 0.4;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: fit-content;
    /*position: absolute;
    top: 90%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 10; */
    & span{
        color: white;
    }
}
.chevrons {
    padding: 6px 0 0 0;
    margin-left: -3px;
    margin-top: 48px;
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.chevrondown {
    margin-top: -6px;
    position: relative;
    border: solid var(--color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}
  
.chevrondown:nth-child(odd) {
    animation: pulse54012 500ms ease infinite alternate;
}
  
.chevrondown:nth-child(even) {
    animation: pulse54012 500ms ease infinite alternate 250ms;
}
  
@keyframes pulse54012 {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 0.5;
    } 
}