body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Desativa a barra de rolagem */
}

/* (A) WRONG ORIENTATION - SHOW MESSAGE HIDE CONTENT */
@media only screen and (orientation:landscape) {
  #turn { display:block;}
  #Data { display:none;}
  .popup {display:none!important;}

  #map-container { display:none;}
  #back_btn { display:none; }
  #menu-button { display:none;}  
}
 
/* (B) CORRECT ORIENTATION - SHOW CONTENT HIDE MESSAGE */
@media only screen and (orientation:portrait) {
  #turn { display:none; }
  #Data { display:block; }

  #map-container { display:block; }
  #back_btn { display:block;}
  #menu-button { display:block;} 
  .popup {display:none;} 
}

/* Estilo para o título */
.popup h2 {
    margin-top: 15px;
    color: #0087CC;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 21px;
    margin-left: 35%;
    margin-bottom: 0px;
    text-align: left;
margin-right: 10px;
}

/* Estilo para o subtítulo */
.popup p {
    color: #0087CC;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 14px;
    margin-left: 36%;
    margin-top: 5px;
    text-align: left;
}

/* Estilo para o botão */
.popup button {
    background-color: #0087CC;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 94%;
    border-radius: 16px;
    margin-bottom: 11px;
}

/* Estilo para a imagem */
.popup img {
    float: left;
    margin-right: 0px;
    max-width: 31%;
    max-height: 95px;
    margin-top: 4%;
    padding-left: 4%;
}

.popup {
    display: none;
    position: fixed;
    bottom: 5%;
    width: 85%;
    background-color: white;
    border-radius: 24px;
    text-align: center;
    left: 8%;
	z-index:99;
}

.language-button {
    display: flex; /* Torna o container do botão um flex container */
    align-items: center; /* Centraliza verticalmente os itens dentro do botão */
    justify-content: flex-start; /* Mantém as bandeiras à esquerda */
    padding: 10px 20px; /* Aumentei o padding para separar mais a bandeira do texto */
    font-size: 16px; /* Tamanho da fonte */
    font-weight: 500; /* Peso da fonte */
    color:#0087CC!important; /* Cor do texto */
    background-color: #ffffff!important; /* Cor de fundo do botão */
    border: none;
    border-radius: 15px; /* Alterado para 15px */
    cursor: pointer;
    width: calc(50% - 30px); /* Largura do botão */
    margin: 0 15px; /* Margem entre os botões */
    line-height: 1; /* Restaurando a altura da linha para evitar deslocamento vertical */
    text-align: center; /* Centraliza horizontalmente o texto */
    height: 60px; /* Alterado para 60px de altura */
	width: 360px; /* Alterado para 360px de largura */
}
/*
.flag {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
    margin-right: 10px; 
    border-radius: 5%; 
    margin-left: -16px;
}
*/
.menu p {
	    margin: auto;

}
/* Estilos para o menu lateral */
#menu {
   
    max-width: 349px;
    background-color: #0673AB;   
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 100%;
    
}

/* Estilos para os itens do menu */
.menu-item {
    margin-bottom: 10px;
    cursor: pointer;
}

/* Estilos para os itens do menu quando hover */
.menu-item:hover {
    background-color: #ddd;
}

.menu h2 {
    margin-top: 25px;
    color: white;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 24px;
    margin-bottom: 0px;
    text-align: center;
	
}

.menu p {
    margin-top: 10px;
    color: white;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
    text-align: center;
}

/* Estilo para o botão */
.menu button {
    background-color: #0673AB;
    color: white;
    padding: 20px 20px;
    cursor: pointer;
    width: 95%;
    border-radius: 16px;
    margin-bottom: 11px;
    border-color: white;
    border-width: thin;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 15px;
    height: 7%;
}


/*
.flag {
   /* max-width: 13%;*/
    max-height: 6%;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
    border-radius: 5%;
	margin-left: -16px;
}*/

.menu p {
    margin: auto;
}

.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.menu-icon {
  width: 30px;
  height: 4px;
  background-color: #333;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease; /* Add opacity transition */
}

.menu.open .menu-icon {
  transform: translateY(-50%) translateX(-50%) rotate(-45deg);
  opacity: 1; /* Hide the menu icon when menu is open */
}

.menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100%;
  background-color: #fff;
  transition: right 0.3s ease;
}

.menu.open {
  right: 0;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 50px 10px 0 10px;
}

.menu ul li {
  margin-bottom: 20px;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

#map-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#map {
    position: absolute;
    width: 1920px;
    height: 1610px;
    cursor: grab;
}

#map img {
    width: 100%;
    height: 100%;
    overscroll-behavior-y: contain;
}

.poi {
    position: absolute;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
}

@media (max-width: 429px) {
   .flag {
		width: 50px;
		height: 50px;
		background-size: cover;
		background-position: center;
		margin-right: 10px;
		border-radius: 5%;
		margin-left: -6%;
	}
	
	.menu button {
		background-color: #0673AB;
		color: white;
		padding: 20px 20px;
		cursor: pointer;
		width: 101%;
		border-radius: 16px;
		margin-bottom: 11px;
		border-color: white;
		/*border-width: thin;*/
		font-family: 'Kumbh Sans', sans-serif;
		font-size: 15px;
		height: 60px;
	}
}
