:root{
    --tinta: #16231F;
    --fundo:#F6F4EF;
    --teal:#0E5B52;
    --teal_escuro:#0A423B;
    --coral:#D6432B;
    --verde:#3F7D84;
    --contorno:#D8D2C4;
    --texto_suave:#4A544F;
    height: 100%;
}

h1{
  font-weight: 600;  
}

header{
    background: var(--teal);   
}

header li a:hover{
    background: transparent;
    color: #ffffff;
}

@media screen and (max-width:1800px){

 img, svg {
    max-width: 100%;
    height: auto;
}

#map{ 
    width: 100%;
    flex: 1 1 auto;
    min-height: 600px;
    border:none;
    position: relative;
    box-shadow: none;
    }

.alin{
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding-top: 15px 20px 0;
    gap: 0;
    margin: 0 auto;
    padding: 30px 20px 40px;
    min-height: 600px;
}

.alin_item{
    flex: 1 1 320px;
    border:none;
    border: none;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    padding: 0 20px;
    min-width: 0%;
    flex-direction: column;
    display: flex;
}

.corpo_texto{
    align-items: stretch;
    background-color: rgb(199, 189, 189);
}

.alin_mapa{
    flex: 2 1 500px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%; 
}

li{
    display: inline-block;
    list-style: none;
}

ul{
    background: transparent;
    width: 100%; 
    margin: 0;
    padding: 12px 20px;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

li a{
    color: rgb(233, 233, 233);
    text-decoration: none;
    padding: 6px 12px;
    transition: background 0.2s ease;
}

li a:hover{
    background: #cccc;
    color: white;
}

#resultados{
    list-style: none;
    padding: 0;
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;  
    max-height: 200px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--contorno) transparent;
}

#resultados li {
    background: #ffffff;
    border-left: 4px solid rgb(12, 88, 88);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--tinta);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rodape {
    border: 30%;
    padding: 35px;
    border-style: outset;
    background-color: rgb(12, 88, 88);
    text-align: center;
}

input, button,label,.selecao{
    display: flex;
    margin-left: 7px;
    padding: 10px;
    margin-bottom: 5px;
}

.cd, .btlg, .selecao{
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    background-color: var(--contorno);
    color: var(--tinta);
    border:none;
    font-size: medium;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btlg:hover{
  background:var(--teal_escuro);   
}
.cd:hover, .selecao:hover{
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(30, 155, 155, 0.1);
}

p{
    font-size: medium;
    line-height: 1.5;
}

body,html{
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body{
    background: var(--fundo);
    color: var(--tinta);
    height: auto;
    display: flex;
    flex-direction: column;
    min-height:100vh;
}

.busca{
    margin-bottom: 10px;
    width: 100%;
    font-size: 18px;
}

.btlg{
    cursor: pointer;
    justify-content: center;
    font-weight: 600;
    color: rgb(12,88,88);
}

footer{
    background-color: var(--teal); 
    color: rgb(239, 238, 238);
    text-align: center;
    padding: 15px 10px;
    margin-top: auto;
    font-size: 0.85rem;
}

}

/*mobile*/
@media screen and (max-width:780px){

.alin{
    flex-direction:column;
    min-height:auto;
}    

input, button,label,.selecao{
    display: flex;
    margin-left: 0;
    padding: 10px;
    margin-bottom: 5px;
}

.cd, .btlg, .selecao{
    background-color: var(--contorno);
    color: var(--tinta);
    border-radius: 10px;
    border:none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: small;
}

.cd:hover, .btlg:hover, .selecao:hover{
    border-color: #1e9b9b;
    box-shadow: 0 0 0 4px rgba(30, 155, 155, 0.1);
}

p{
    line-height: 1.5;
}

body,html{
    margin: 0;
    padding: 0; 
    max-width: 100%; 
    height: 100%;
    overflow-x: hidden;
}

body{
    background: var(--fundo);
    color: var(--tinta);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.busca{
    margin-bottom: 10px;
}

.btlg{
    cursor: pointer;
    justify-content: center;
    font-weight: 600;
    color: rgb(29, 163, 43);
}

#map{ 
    flex: none;
    height: 350px;
    min-height: 0;
    border:none;
    position: relative;
    box-shadow: none;
    }

section{
 flex-direction: column;
 padding: 10px 8px 0px;
 border-radius: 10px;
 border-color: black;
}

.alin_item{
    background:#ffffff;
    border-bottom: 0.5px solid var(--contorno);
    flex-direction: column;
    flex:none;
}

.alin_mapa{
    flex-direction: column;
    flex:none;
    min-height:auto;
}

li{
    display: block;
    list-style: none;
}

ul{
    background: transparent;
    margin: 0px ;
    padding: 25px 5px;
    box-sizing: border-box;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

li a{
    color: rgb(239, 238, 238);
    text-decoration: none;
    padding: 6px 10px;
    transition: background 0.2s ease;
}

li a:hover{
    background: #cccc;
    color: white;
}

#resultados{
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    max-height: 160px;
    overflow-x: hidden;
    gap: 10px;  
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--contorno) transparent;
}

#resultados li {
    background: #ffffff;
    border-left: 4px solid rgb(12, 88, 88);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--tinta);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer{
    background-color: var(--teal);
    color: #CFE3DF;
    text-align: center;
    padding: 15px 10px;
    margin-top: auto;
    font-size: 0.85rem;
}

}

