:root {
    --primary-color: #20448C;
    --second-color: #086CB4;
    --threeth-color: #008CDB;
    --fourth-color: #0286EA;
    --fifth-color: #cf8b64;
    --sixth-color: #c9655c;
    --seventh-color: #7EB6D9;
    --eighth-color: #b6d871;
    --ninth-color: #6c8091;
    --tenth-color: #5dc088;
    --eleventh-color: #D9B36C;
    --twelfth-color: #bb8e85;
    --thirteenth-color: #b9804a;
    --fourteenth-color: #dd7b83;
    --fifteen-color:#bce1ff40;

}

.main_home {
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* barra de pesquisa versao varao  */

.barra-pesquisa {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.container-barra {
    /* margin-top: 1rem; */
    width: 88%;
    position: relative;
    height: 50px;
}

.container-barra input {
    height: 50px;
    border-radius: 2.5rem;
    border: 1px solid var(--fourth-color);
    outline: none;
    padding-left: 50px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    z-index: 3;
    transition: none;
    cursor: text;
}

.container-barra input:focus {
    border: 1px solid var(--second-color);
    border-radius: 25px;
    width: 100%;
    z-index: 1;
    transition: none;
}

.container-barra i {
    font-size: 3.0rem;
    color: var(--second-color);
}

.container-barra button {
    height: 50px;
    width: 50px;
    background: url() center no-repeat;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
}

.container-barra button:focus {
    outline: none;
}

.container-pesquisa {
    display: flex;
    margin: 1rem 6px;
}

.dropdown-sugestoes{
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    /* border: 4px solid #ffffff; */
    font-size: 1.5rem;
    margin: 0 1rem auto;
    background-color: #bce1ffc9;
    border-radius: 10px;
    padding: 7px;
    display: none;
}
.sugestao-link{
    color: black;
}

/* fim do varao */

/* ======================================================== */

/* Estilos para a seção marketing */
/* .marketing {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  margin-left: 0.5rem;
} */

/* Estilo para o botão */
#installButton {
  display: flex; /* Mostra o botão (remova se quiser que ele comece invisível) */
  align-items: center;
  padding: 10px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 3rem;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 0.5rem;
}


/* Efeito ao passar o mouse */
#installButton:hover {
  background-color: #0056b3;
}

/* Estilo para tornar o botão invisível inicialmente */
#installButton[style*="display:none;"] {
  display: none !important;
}














/* ======================================================== */

#splash-screen {
    width: 90%;
    margin: auto;
}

#splash-video {
    display: block;
    width: 100%;
    margin: auto;
}

.map-teste {
    text-align: center;
    margin: 20px;
}

.container-mapa {
    order: -1;
}

#map {
    height: 30rem;
    width: 95%;
    margin: auto;
    margin-top: 2rem;
}

.cards-home {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 95%;
    margin: 0 auto;
}

.card-home {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: solid 1px var(--threeth-color);
    border-radius: 10px;
    overflow: hidden;
    /* transition: transform 0.3s; */
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* .card-home:hover {
    transform: scale(1.05);
} */

.card-home img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.8rem;
    color: white;
    background-color: var(--threeth-color);
}

.card-home-content h3 {
    font-size: 1.3rem;
    text-shadow: 0 0.3rem 0.3rem rgba(0, 0, 0, 0.3);
}

.card-home-btns {
    display: flex;
    gap: 0.5rem;
}

.card-home-btns a {
    display: flex;
    align-items: center;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    border: solid 1px #ffffff;
}

/* Sugestões -------------------------------------------------------------------- */
.conteudo img {
    background-color: azure;
    font-size: 50px;
    padding: 30px 40px;
    border-radius: 10px;
    color: cornflowerblue;
}

.lugar-home {
    width: 400px;
}

.conteudo-hm img {
    background-image: url(/Home/img/forte_do_presepio_mobile.png);
    background-size: cover;
    width: 100%;
}


.wrappertela {
    display: none;

}

/* listra marajoara ------------------------------ */
.container-listra {
    margin: 0 auto;

}

.section_title {
    text-align: center;
    width: 25rem;
    margin: 3rem 0;
    font-size: 2rem;
    font-weight: 550;
    font-style: normal;

}

.listra {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    align-items: center;
}

.listra img {
    width: 350px;
}

.mapa-listra {
    display: none;
}

/* Categorias ----------------------------------------------- */
/* joy27.09cards.css*/

.container-cards {
    display: flex;
    justify-content: center;
}

.main-card {
    margin: 0 0.5rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.box-card {
    /* flex: 1; */
    width: 20%;
    height: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
}

.card {
    /* background-color: white; */
    width: 5.5rem;
    height: 6rem;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.5rem 0.6rem rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: solid 1px var(--threeth-color);
}


/* Altera cor de fundo dos cards */
.card1 {
    background-color: var(--fifth-color);
}

.card2 {
    background-color: var(--sixth-color);
}

.card3 {
    background-color: var(--tenth-color);
}

.card4 {
    background-color: var(--ninth-color);
}

.card5 {
    background-color: var(--eighth-color);
}

.card6 {
    background-color: var( --seventh-color);
}

.card7 {
    background-color: var(--eleventh-color);
}

.card8 {
    background-color: var(--twelfth-color);
}

.card9 {
    background-color: var(--thirteenth-color);
}

.card10 {
    background-color: var(--fourteenth-color);
}

/* Faz a âncora cobrir todo o card */
.card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Quando o card é clicado */
.card.active-card {
    border-radius: 30px;
    transform: none;
    background-color: rgb(29, 225, 231);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
}

.conteudo i {
    color: #ffffff;
    font-size: 5rem;

}

.box-card h5 {
    margin: 0 auto;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: center;
}

/* eventos de cards */

.main-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: 100vh; */
    /* padding: 0.2rem; */
    margin-bottom: 10rem;
}


.event-section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 95%;
    gap: 15px;
}

.card-web {
    border-radius: 0.8rem;
    border: solid 1px var(--threeth-color);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 20rem;
    max-width: 600px;
    display: flex;
    overflow: hidden;
}

.card-image-web {
    width: 40%;
    object-fit: cover;
}

.card-body-web {
    padding: 1.6rem 1rem;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title-web {
    font-size: 1.6rem;
    color: black;
}

.card-text-web {
    font-size: 1.2rem;
    color: rgb(102, 102, 102);
    margin-top: 0.5rem;
    white-space: pre-line;

    /* Aplica a quebra de linha de acordo com o conteudo Html */
}

.card-text-web span {
    font-weight: bold;
}




/* Desktops mudanças para web*/
@media (min-width: 1024px) {
    .container-pesquisa{
        height: 20%;
    }

    .barra-pesquisa {
        display: flex;
        width: 50%;
        margin: 0 auto;
    }
    
    .dropdown-sugestoes {
        margin: 0 auto;
        width: 40%;
    }

    /* fim do varao */
    #map {
        width: 80%;
    }

    .cards-home {
        flex-direction: row;
        width: 80%;
    }

    /* ------------------------------------------*/
    
    .container-cards {
        display: flex;
        margin: 0 auto;

    }

    .main-card {
        margin: 0 auto;
        width: 77%;
        display: flex;
        flex-wrap: wrap;
        gap: 4rem;
        opacity: 90%;
    }

    .card {
        /* padding: 120px; */
        border-radius: 30px;
        background-color: var(--primary-color);
        width: 25rem;
        height: 25rem;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0.5rem 0.6rem rgba(0, 0, 0, 0.6);
        border: solid 1px rgba(0, 0, 0, 0.5);
    }

    /* Faz a âncora cobrir todo o card */
    .card-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
    }

    /* Quando o card é clicado */
    .card.active-card {
        border-radius: 30px;
        transform: none;
        background-color: rgb(29, 225, 231);
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .conteudo i {
        display: none;
    }

    .box-card {
        position: relative;
        width: max-content;
        height: max-content;
    }

    .box-card:hover h5 {
        transform: translateY(0);
        opacity: 0.8;
    }

    .box-card h5 {
        position: absolute;
        background-color: rgb(0, 0, 0, 0.8);
        color: white;
        border-radius: 10px;
        text-transform: uppercase;
        padding: 1em;
        letter-spacing: 2px;
        font-size: 1.5em;
        bottom: 40%;
     
    }

    .card1 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/restaurante.jpg);
    }

    .card2 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image:url(../img/shopping.jpg);
    }
    .card3 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/parques.jpg);
    }

    .card4 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/predios.jpg);
    }

    .card5 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/praca.jpg);
    }

    .card6 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/ilha.jpg);
    }

    .card7 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/museus.jpg);
    }

    .card8 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/igrejas.jpg);
    }

    .card9 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/terminais.jpg);
    }

    .card10 {
        background-size: 100% 100%;
        background-repeat: no-repeat no-repeat;
        background-image: url(../img/ver_o_peso.jpg);
    }

    .conteudo i {
        display: none;
    }

    
    /* listra marajoara ------------------------------ */
    .mapa-listra {
        display: block;
    }

    .container-listra {
        margin: 3rem auto;
    }

    .section_title {
        text-align: center;
        margin-top: 5rem;
        width: 45rem;
        font-size: 4rem;
        font-weight: 550;
        font-style: normal;

    }

    /* card eventos--------------------------- */
    .event-section-container {
        display: flex;
        flex-direction: row;
        /* justify-content: space-around; */
        align-items: center;
        width: 80%;
    }

    .card-image-web {
        width: 40%;
        object-fit: cover;
    }

    .card-body-web {
        padding: 1.6rem 1rem;
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-title-web {
        font-size: 1.6rem;
        color: black;
    }

    .card-text-web {
        font-size: 1.2rem;
        color: rgb(102, 102, 102);
        margin-top: 0.8rem;
        white-space: pre-line;
        /* Aplica a quebra de linha de acordo com o conteudo Html */
    }

    .card-text-web span {
        font-weight: bold;
    }
}



/* fim desktop */

/* Animação inicio app */
#splash-screen {
    display: none;
}

/* Exiba o vídeo em telas pequenas */
@media (max-width: 768px) { /* Ajuste o valor conforme necessário */
    #splash-screen {
        display: block; /* Mostre a tela splash em telas móveis */
        position: fixed; /* Mantenha a tela splash fixa */
        top: 0;
        left: 0;
        width: 100%; /* Preencha a largura da tela */
        height: 100%; /* Preencha a altura da tela */
        z-index: 9999; /* Coloque a tela splash no topo */
    }

    #splash-video {
        width: 100%; /* Ajuste a largura do vídeo para 100% */
        height: 100%; /* Ajuste a altura do vídeo para 100% */
        object-fit: cover; /* Cobre toda a área sem distorcer a proporção */
    }
}