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

/*CABECALHO*/

header {
    width: 100%;
    background-color: #162741;
    color: white;
    text-align: center;
    padding: 15px 10px;
}

header h1{
font-family: Verdana, sans-serif;
font-size: 32px;
margin-bottom: 5px;
}

header h2{
font-family: Verdana, sans-serif;
font-size: 18px;
margin-bottom: 5px;
}

h3{
font-family: Verdana, sans-serif;
font-size: 18px;
font-weight: normal;
}

h4{
text-align:center;
}

/*TEXTO*/
section{
background-color:#FFFFFF;
font-family:arial;
padding:10px;
}

.slideshow-container {
    max-width: 800px; /* Ajuste o tamanho máximo da largura aqui */
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 20px auto;
}

.slides-wrapper {
   display: flex;
   width: 100%;
   transition: transform 0.5s ease;
}


/* Oculta os slides por padrão */
.mySlides {
    flex: 0 0 100%;
}

.mySlides img{
   max-width: 100%;
   height: 496;
   display: block;
   object-fit: cover;
}

.counter-text {
   color: #f2f2f2;
   background-color: rgba(0,0,0,0.6);
   font-size: 14px;
   padding: 6px 10px;
   position: absolute;
   bottom: 10px;
   right: 10px;
   border-radius: 4px;
   z-index: 10;
   font-family: sans-serif;
}

/* Botões Prev/Next */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 8px;
    z-index: 20;
    user-select: none;
}

/* Botão da direita */
.next {
    right: 10px;
}

/* Botão da esquerda */
.prev {
    left: 10px;
}

/* Hover */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsividade para telas menores */
@media only screen and (max-width: 600px) {
    header h2 {

        font-size: 15px !important;
        overflow: hidden;
        text-overflow: ellipsis;
    
    }

    .slideshow-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10; 
        overflow: hidden;
    }

    .slides-wrapper,
    .mySlides {
        width: 100%;
        height: 100%;
    }

    .mySlides img {
        width: 100%;
        height: 100%;
        object-fit: cover;       /* cobre área sem barras pretas */
        object-position: center; /* centraliza */
        display: block;
        background: #000;        /* segurança: esconde possíveis falhas */
    }
}

    .prev, .next {
        padding: 12px;
        font-size: 16px;
        margin-top: 0;
    }

 










/*RODAPE*/
footer{
background:#162741;
color:#FFFFFF;
font-family:Verdana;
font-size:12px;
text-align:center;
padding:10px;
margin:inherit;
}


@media all and (max-width:480px){

/*SERVIÇOS DO HOTEL*/
tbody td{
display:block;
}

}

/*TABLET PAISAGEM-DESKTOP*/
@media (min-width : 1023px ){
body{
width:100%;	
}

tbody{
width:100%;
}

}

/*TABLET-RETRATO*/
@media (min-width : 768px ) and (max-width : 1023px ){
/*SERVIÇOS DO HOTEL*/
tbody td{
display:block;
}

}

@media (min-width: 480px) and (max-width: 767px){
	tbody td{
display:block;
}

}

/*CELULAR PAISAGEM*/
@media (min-width: 321px) and (max-width: 479px){
tbody td{
display:block;
}


img{
max-width:100%;	
}

}

/*CELULAR RETRATO*/
@media (min-width: 0px) and (max-width: 320px){

tbody td{
display:block;
}



img{
max-width:100%;	
}



}
