:root{
    --primary-color: #173689;
    --secondary-color: #fd9604;
    
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

/*NAVBAR*/
.logo{
    width: 5rem;
}

.topbar{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #173689;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 15px;
}

#menu {
    display: flex;
    list-style: none;
    gap: 20px;
    z-index: 50;
}

.menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}
a{
    font-size: 1rem;
    color: white;
    text-decoration: none;
}
a:hover {
    color: rgba(255, 255, 255, 0.639);
}
a:active {
    color: rgba(255, 255, 255, 0.781);
}

ul li img{
    width: 1rem;
    margin-right: 5px;
}

/*NAVBAR*/


/*MAIN*/
/* .container{
    display: flex;
    flex-direction: column;
    width: 30vw;
    gap: 2.5rem;
    padding: 2rem;
    color: white;
    background-color: #fd9604;
    border-radius: 0 0 5% 0;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
} */

.pai {
    position: relative;
    flex-grow: 1;
    height: 0;
}

.sobreposto{
  position: absolute;
  z-index: 10;
}

.container{
    display: flex;
    flex-direction: column;
    width: 25vw;
    max-height: calc(100vh - 120px);
    overflow: hidden;
    gap: 1.2rem;
    padding: 1rem;
    color: white;
    background-color: var(--secondary-color);
    border: 1px solid;
    border-radius: 0 0 5% 0;
    border-color: white;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.opcoes{
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    gap: 1rem;
   
}

.btn, .btn1, .btn, btn-calcular{
    background-color: rgba(255, 204, 0, 0);
    padding: 8px;
    border: 2px solid #FFFFFF;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.btn:hover, .btn1:hover {
    background-color: #FFFFFF;
    color: var(--primary-color);
}


hr{
    color: white;
    border: 0.1px solid;
    width: calc(100% + 3rem);
    position: relative;
    margin-left: -1.5rem;
}

.btnSquencia{
    display: flexbox;
    gap: 10px;
}


/*MAIN*/


/* MAPA */
#mapaContainer {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1px;
  border: 1px solid #b9c2cf;
  background: #eef0f2;
  z-index: 1;
}
/* MAPA */


/* MOBILE (deixa sempre em baixo please) */ 
/*Tá bom */
@media (max-width: 768px) {
    .pai {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .sobreposto {
        position: relative;
        width: 100%;
        order: 2;
    }

    .container {
        width: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
        border-right: none;
        border-left: none;
    }

    .base {
        height: 50vh;
        order: 1;
    }

    #mapaContainer {
        position: relative;
        height: 100%;
    }

    .menu-btn {
        display: block;
        color: white;
    }

    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 10px;
        background: var(--primary-color);
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        border-radius: 8px;
        width: 200px;
    }

    #menu.active {
        display: flex;
    }

    a {
        color: white;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    a:last-child {
        border-bottom: none;
    }

    .btnSquencia {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5px;
    }

    .btn1 {
        padding: 6px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .btnSquencia {
        grid-template-columns: 1fr;
    }
    
    .logo {
        width: 4rem;
    }
}