@media (min-width: 1400px) {
     .tudo{
         max-width: 700px;
         margin: 0 auto;
         padding: 0 10px 0 10px;
    }
    #cesiumContainer {
    height: 45vh;
    }
     #cities {
            max-height: 50vh;
     }
}

@media (min-width: 421px) and (max-width: 1399px) {
    .tudo {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 10px;
    }

    #cesiumContainer {
        height: 50vh;
    }

    #cities {
        max-height: 50vh;
    }
}

 @media (max-width: 420px) {
     
     .tudo{
         max-width: 90%;
         margin: 0 auto;
         padding: 0 10px 0 10px;
    }
    #cesiumContainer {
    height: 50vh;
    }
     #cities {
            max-height: 40vh;
     }
}
 body {
     width: 100%;
     margin: 0 auto;
     align-items: center;
     font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
     
}
 p {
     text-align: justify;
}
 object {
     z-index: 1;
}
 .titulo {
     font-size: 23px;
}
 .direita{
     text-align: right;
}



body #tips, body #info, body #cities{
   position: relative;
    left: 50%;
    transform: translateX(-50%);  
}

 /* Cores em tons de marrom */
        :root {
            --cor-fundo: #121212;
            --cor-caixas: rgba(33, 33, 33, .8); 
            --cor-texto: #e0e0e0; 
            --cor-destaque: whitesmoke; 
            --cor-borda: #424242; 
            --cor-sombra: rgba(66, 66, 66, 0.5); 
            --cor-hover: #9e9e9e; 
            --cor-placeholder: #888; 
            --cor-foco: #616161; 
        }


        .tith1 {
            margin-bottom: 20px;
            font-size: 2.5em;
        }

        #texto{
            margin: 10px 0 20px 0;
            text-align: justify;
        }

        #info {
            font-size: 1.2em;
            color: var(--cor-texto);
            text-align: left;
            margin-bottom: 20px;
            padding: 15px;
            background-color: var(--cor-caixas);
            border: 1px solid var(--cor-borda);
            border-radius: 10px;
            width: 90%;
            line-height: 1.6;
            margin-top: 20px;
        }

        #info.loading {
            opacity: 0.7;
        }

        #search {
            display: flex;
            justify-content: center;
            padding-bottom: 20px;
            width: 90%;
            position: relative;
            margin: 0 auto;
        }

        #search input {
            padding: 10px;
            font-size: 1em;
            border: 2px solid var(--cor-borda);
            border-radius: 5px;
            width: 70%;
            margin-right: 10px;
            background-color: var(--cor-caixas);
            color: var(--cor-texto);
            outline: none;
        }

        #search input::placeholder {
            color: var(--cor-placeholder);
        }

        #search input:focus {
            border-color: var(--cor-foco);
            box-shadow: 0 0 10px var(--cor-sombra);
        }

        #search button {
            padding: 10px 20px;
            width: 150px;
            font-size: 1em;
            background-color: var(--cor-foco);
            color: var(--cor-texto);
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s;
        }

        #search button:hover {
            background-color: var(--cor-hover);
            transform: scale(1.05);
        }

        #search button:active {
            transform: scale(0.95);
        }

        #suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            width: 70%;
            background-color: var(--cor-caixas);
            border: 1px solid var(--cor-borda);
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
            display: none;
        }

        #suggestions div {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid #333;
            color: var(--cor-texto);
            transition: background-color 0.3s;
        }

        #suggestions div:hover {
            background-color: #333;
        }

        .fun-message {
             
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid var(--cor-destaque);
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        #cities {
            width: 90%;
            overflow-y: auto;
            margin-bottom: 20px;
            padding: 15px;
            background-color: var(--cor-caixas);
            border: 1px solid var(--cor-borda);
            border-radius: 10px;
        }

      #cities h2 {
    color: var(--cor-destaque);
    margin-bottom: 10px;
    position: sticky;
    top: -15px;
    background-color: var(--cor-caixas);
    height: 50px;
    display: flex;
    align-items: center;
}
#cities .titulo {
 text-align: center;
 background-color: rgba(100, 100, 100, 0.5);
 color: whitesmoke;
 border-radius: 5px;
 padding: 5px;
 font-size: 18px;
}

        #cities ul {
            list-style-type: none;
            padding: 0;
        }

        #cities li a {
            cursor: pointer;
            color: var(--cor-texto);
            transition: color 0.3s;
            text-decoration: none;
        }

        #cities li {
            margin-bottom: 10px;
            transition: all 0.3s;
            
        }
        
        #cities li:hover {
            transform: scale(1.02);
        }


        
        #cities li a:hover {
            color: lightblue;
        }

        #tips {
            width: 90%;
            padding: 15px;
            background-color: var(--cor-caixas);
            border: 1px solid var(--cor-borda);
            border-radius: 10px;
        }

        #tips h2 {
            color: var(--cor-destaque);
            margin-bottom: 10px;
            width: 100%;
        }

        #tips ul {
            list-style-type: none;
            padding: 0;
        }

        #tips li {
            margin-bottom: 10px;
            color: var(--cor-texto);
            transition: all 0.3s;
        }
        
       #tips li:hover {
    color: lightblue;
    margin-bottom: 10px;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:20px;'><text y='50%'>⚠️</text></svg>"), auto;
}
        
        .location-list {
    list-style: none;
    padding: 0;
    max-width: 100%; 
}

.location-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px; 
    padding: 5px;
}

.column {
    flex: 1;
    text-align: left;
}



#cesiumContainer {
    position: relative; 
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    border: 1px solid var(--cor-borda);
}

#loadingOverlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; 
    align-items: center; 
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1000;
    border-radius: 5px;
}

#loadingMessage {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    font-size: 24px;
    color: #000;
}


#anima{
animation: bounce 1s infinite; 
margin-top: 10px;
text-align: center;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.verde {
    text-shadow: 1px 1px 1px green, 1px -1px 1px green, -1px -1px 1px green, -1px 1px 1px green;
}

        .roxo {
text-shadow: 1px 1px 1px purple, 1px -1px 1px purple, -1px -1px 1px purple, -1px 1px 1px purple;
        }   
