html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: #7d0000;
    margin: 0;
    padding: 0;
}

.container-fluid {
    flex: 1;
    width: 100%;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

img {
    max-width: 100%; /* Garante que as imagens não ultrapassem a largura da tela */
    height: auto; /* Mantém a proporção das imagens */
}

footer {
    font-size: 13px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo preto com 50% de transparência */
    color: #f8f9fa;
    padding: 10px 0;
    width: 100%;
    margin-top: auto; /* Garante que o footer fique na parte inferior */
    z-index: 1;
}

#wpp {
    position: fixed;
    bottom: 60px; /* Define a altura a partir do rodapé */
    right: 20px; /* Define a distância da borda direita */
    z-index: 9999; /* Garante que o WhatsApp flutuante esteja acima do footer */
}

a, a:hover {
    color: inherit;
}

h2 {
    font-size: 5.5vw;
}

h3 {
    font-size: 5vw;
}

h4 {
    font-size: 4vw;
}

.hid-h1 {
    position: absolute;
    left: -9999px;
}

.pequenininho {
    font-size: 1px !important;
}

/*
####### RUA ########
*/
.street {
    background: #4d494a;
    border-color: #FFF;
    border-style: solid;
    border-width: 0 1px;
    height: 100%;
    overflow: hidden;
    position: absolute;
}

.street:before {
    background: -moz-linear-gradient(top, #ffffff 0%,#ffffff 25%,transparent 25%,transparent 75%, #ffffff 75%,#ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 25%,transparent 25%,transparent 75%, #ffffff 75%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#ffffff 25%,transparent 25%,transparent 75%, #ffffff 75%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='transparent',GradientType=0 );
    background-size: 100% 25%;
    content: '';
    height: 100%;
    left: 47.5%;
    position: absolute;
    width: 5%;

    animation-name: stripes;
    animation-timing-function: linear;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.car {
    -webkit-animation: carmoving 7s linear infinite;
    -o-animation: carmoving 7s linear infinite;
    animation: carmoving 7s linear infinite;
    bottom: 0;
    position: absolute;
    right: 64%;
    /* width: 36%; */
}

.truck {
    -webkit-animation: truckmoving 10s linear infinite;
    -o-animation: truckmoving 10s linear infinite;
    animation: truckmoving 10s linear infinite;
    bottom: 0;
    position: absolute;
    right: 0%;
    width: 45%;
}

.car img {
    max-height: 100%;
    max-width: 100%;
}

.truck img {
    max-height: 100%;
    max-width: 100%;
}

/*
####### CONTEUDO ########
*/

.board {
    height: 100%;
    overflow: hidden;
    position: absolute;
}

.board .board-title {
    color: yellow;
    margin-top: 2%;
    text-transform: uppercase;
}

.board-button {
    bottom: 5%;
    left: 0;
    text-align: center;
    padding: 0 5%;
    position: absolute;
    right: 0;
}

/*
font-size: 3.5vw = Responsivo
*/

.board-title p {
    margin: 0;
    line-height: 1em;
}

.board-title p.title {
    font-family: 'Russo One', sans-serif;
    font-size: 35px;
    font-size: 6vw;
}

.board-title p.subtitle {
    font-family: 'Monoton', cursive;
    font-size: 50px;
    font-size: 9vw;
}

.board .board-content {
    color: white;
    font-size: 3vw;
    margin: 15% auto;
}

/* Standard syntax */
@keyframes stripes {
    0%   {background-position: 0 0%;}
    25%  {background-position: 0 25%;}
    50%  {background-position: 0 50%;}
    75%  {background-position: 0 75%;}
    100% {background-position: 0 100%;}
}

@-webkit-keyframes truckmoving {
    0%   { bottom: -40%; }
    100% { bottom: 100%; }
}

@-o-keyframes truckmoving {
    0%   { bottom: -40%; }
    100% { bottom: 100%; }
}

@keyframes truckmoving {
    0%   { bottom: -40%; }
    100% { bottom: 100%; }
}

@-webkit-keyframes carmoving {
    0%   { bottom: -25%; }
    100% { bottom: 100%; }
}

@-o-keyframes carmoving {
    0%   { bottom: -25%; }
    100% { bottom: 100%; }
}

@keyframes carmoving {
    0%   { bottom: -25%; }
    100% { bottom: 100%; }
}

@media (min-width: 992px) {
    .board .board-content {
        margin: 90px 0 0 0;
    }
    .board-title p.title {
        font-size: 5vw;
    }
    .board-title p.subtitle {
        font-size: 6vw;
    }
    .board h3 {
        font-size: 3vw;
    }
    .board h2 {
        font-size: 2.5vw;
    }
    .board h4 {
        font-size: 2vw;
    }
}

#wpp textarea {
    font-family: revert !important;
}

#wpp.floating-wpp-popup.active {
    bottom: 60px !important;
}

#wpp.floating-wpp .floating-wpp-button {
    width: 60px !important;
    height: 60px !important;
    background-color: rgb(37, 211, 102) !important;
}

/* Centralizar vertical e horizontalmente a seção com o telefone e o texto */
.board-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Alinha o conteúdo verticalmente ao centro */
    align-items: center; /* Alinha o conteúdo horizontalmente ao centro */
    height: 55%; /* Ocupa toda a altura disponível da área */
    color: #fff; /* Define a cor da fonte como branca */
    margin-bottom: 10px; /* Adiciona um espaço inferior para separar do próximo bloco */
    text-align: center;
}

/* Adiciona um wrapper para o efeito de animação */
.icons-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha os itens ao final do container */
    position: fixed;
    bottom: 50px; /* Distância do rodapé */
    right: 10px; /* Distância da borda direita */
    font-family: 'Russo One', sans-serif; /* Define a fonte */
    color: #fff; /* Define a cor do texto */
    z-index: 999; /* Garante que o container fique acima do footer */
}

/* Aplica o efeito de animação ao texto */
.text-effect {
    display: inline-block; /* Garante que o texto seja animado individualmente */
    position: relative; /* Necessário para o efeito de animação */
    animation: slideInOut 20s linear infinite; /* Define a animação */
}

@keyframes slideInOut {
    0% {
        transform: translateX(100%); /* Começa fora da tela à direita */
        opacity: 0; /* Inicia invisível */
    }
    10% {
        transform: translateX(0); /* Move para a posição final */
        opacity: 1; /* Fica visível */
    }
    50% {
        transform: translateX(0); /* Mantém a posição final */
        opacity: 1; /* Mantém visível */
    }
    60% {
        transform: translateX(-100%); /* Move para fora da tela à esquerda */
        opacity: 0; /* Torna invisível */
    }
    100% {
        transform: translateX(100%); /* Volta para fora da tela à direita */
        opacity: 0; /* Torna invisível */
    }
}

/* Adiciona um wrapper para o efeito de animação */
.icons-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha os itens ao final do container */
    position: fixed;
    bottom: 50px; /* Distância do rodapé */
    right: 10px; /* Distância da borda direita */
    font-family: 'Russo One', sans-serif; /* Define a fonte */
    color: #fff; /* Define a cor do texto */
    z-index: 999; /* Garante que o container fique acima do footer */
}

/* Aplica o efeito de animação ao texto */
.text-effect {
    display: inline-block; /* Garante que o texto seja animado individualmente */
    position: relative; /* Necessário para o efeito de animação */
    animation: slideInOut 20s linear infinite; /* Define a animação */
}

@keyframes slideInOut {
    0% {
        transform: translateX(100%); /* Começa fora da tela à direita */
        opacity: 0; /* Inicia invisível */
    }
    10% {
        transform: translateX(0); /* Move para a posição final */
        opacity: 1; /* Fica visível */
    }
    50% {
        transform: translateX(0); /* Mantém a posição final */
        opacity: 1; /* Mantém visível */
    }
    60% {
        transform: translateX(-100%); /* Move para fora da tela à esquerda */
        opacity: 0; /* Torna invisível */
    }
    100% {
        transform: translateX(100%); /* Volta para fora da tela à direita */
        opacity: 0; /* Torna invisível */
    }
}

.icons-container a {
    font-size: 2vw; /* Tamanho da fonte responsivo baseado na largura da tela */
    display: flex;
    align-items: center; /* Alinha verticalmente texto e imagem */
    margin-bottom: 2vw; /* Espaçamento entre os links baseado na largura da tela */
    text-decoration: none; /* Remove sublinhado dos links */
    color: inherit; /* Herda a cor definida no container */
}

.icons-container img {
    width: 3vw; /* Tamanho dos ícones responsivo baseado na largura da tela */
    height: 3vw; /* Tamanho dos ícones responsivo baseado na largura da tela */
    margin-left: 1vw; /* Espaçamento entre o texto e o ícone baseado na largura da tela */
}

.icons-container span {
    display: inline-block; /* Garante que o texto e o ícone estejam na mesma linha */
    font-size: 2vw; /* Tamanho da fonte responsivo baseado na largura da tela */
}

.icons-container a {
    margin-right: 1vw; /* Adiciona espaço entre os ícones baseado na largura da tela */
}

@media (max-width: 768px) {
    .icons-container a {
        font-size: 3vw; /* Ajusta o tamanho da fonte em telas menores */
        margin-bottom: 3vw; /* Ajusta o espaçamento entre os links em telas menores */
    }

    .icons-container img {
        width: 8vw; /* Ajusta o tamanho dos ícones em telas menores */
        height: 8vw; /* Ajusta o tamanho dos ícones em telas menores */
        margin-left: 3vw; /* Ajusta o espaçamento entre o texto e o ícone em telas menores */
    }

    .icons-container span {
        font-size: 3vw; /* Ajusta o tamanho da fonte em telas menores */
    }
}
