*{
	margin: 0;
    padding: 0;
    height: 100%; 
    font-family: Calibri, Sans Serif; 
    font-size: 12px;
}

body{
    margin: 0;
    padding: 0;
    background-image: url('../img/fundo.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    height: 100vh;    
    position: fixed; 
}

.fundo{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/fundo1.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;  
    position: fixed;
}

#iniciar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 136vh;
    width: 100vw;
}

#btnIniciar {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #4bac63;
    color: white;
    font-size: 24px;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    height: 5%;
    font-weight: bold;
}

#btnIniciar:hover {
    background-color: #8ab896;
    transform: scale(1.05);
}

.icone-play {
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.add_equipe_modal{
    display: none; 
    position: fixed; 
    z-index: 9000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}

.add_equipe_window{
    background-color: #faf9f9; 
    margin: auto;  
    margin-top: 50px; 
    border: 2px solid #828282; 
    width: 45vw; 
    height: 60vh; 
    padding: 2% 2% 2% 2%;
    border-radius: 10px; 
    box-shadow: 3px 3px 8px #828282; 
    text-align: center;
    position: relative;
}

.separador {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    margin-top: 1%;
}

.linha {
    width: 8vw;
    height: 0.3vh;
    background: #224798;
    filter: drop-shadow(0 0 8px rgba(0,198,255,0.8));
}

.gota {
    width: 1vw;
    height: 2.5vh;
    filter: drop-shadow(0 0 8px rgba(0,198,255,0.8));
    margin-top: -0.7vw;
}

.modos {
    display: fixed;
    justify-content: center;
    margin-top: -56vh;
}

.card {
    width: 20vw;
    height: 38vh;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    display: fixed;
    flex-direction: column;
    margin-left: 4%;
    float: left;
}

.card img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
}

.coop {
    background: linear-gradient(180deg, #4bd8ff, #2683f5);
    box-shadow: 0 0 25px rgba(0,198,255,0.6);
}

.desafio {
    background: linear-gradient(180deg, rgb(214, 230, 216), #518b5b);
    box-shadow: 0 0 25px rgba(65, 116, 80, 0.6);
}

#nome_equipe, #equipe_cooperacao, #equipe_desafio{
    display: none;
}

#txt1{
    font-size: 36px;
    font-weight: bold;
    color: #224798;
    padding-top: 2%;
}

.txt2{
    font-size: 24px; 
    font-weight: bold;
}

.txtEquipe{
    width: 100%;
    height: 7%;
    font-size: 20px;
    text-transform: uppercase;
}

.bVoltar {
    width: auto;
    height: 5vh;
    background-color: #224798;
    display: inline-flex;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    bottom: 6%;
    left: 8%;
    line-height: 50%;
}

.bVoltar:hover {
    background-color: #61b7f8;
    font-weight: bold;
}

.bIniciar {
    width: auto;
    height: 5vh;
    background-color: #4bac63;
    display: inline-flex;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    bottom: 6%;
    right: 8%;
    font-weight: bold;
    line-height: 50%;
}

.bIniciar:hover {
    background-color: #8ab896;
    font-weight: bold;
    transform: scale(1.05);
}

#equipe_cooperacao, #equipe_desafio{
    display: fixed;
    text-align: left;
    margin-top: -56vh;
}

#cartas_chuva_evapo{
    width: 40vw;
    height: 100vh;
    padding: 10px;
    box-sizing: border-box;
    /* background-color: red; */
}

.tomada_decisao{
    width: 95%;
    height: auto;
    background: #4bac63;
    border-radius: 10px;
    position: relative;
    padding: 2% 2% 2% 2%;
    text-align: center;
    float: left;
    margin-left: 1%;
    margin-top: 2%;
    align-items: stretch;
    gap: 20px;
}

.bNovo{
    height: auto;
    width: auto;
    border: none;
    font-size: 30px;
    font-weight: bold;
    padding: 2%;
    border-radius: 10px;
    margin-top: 2%;
    float: right;
    background-color: #172554;
    color: #FFF;
    cursor: pointer;
}

.bNovo:hover{
    font-weight: bold;
    background-color: #2b4e9b;
    color: #FFF;
}

/*********************** RESERVATORIO *******************/
.reservatorio{
    width: 60vw;
    height: 96vh;
    box-sizing: border-box;
    /* background-color: green; */
}

#reservatorio1, #reservatorio2{
    /* background-color: #FFF; */
    width: 48%;
    float: left;
    text-align: center;
    margin-left: 2%;
}

#reservatorio3{
    /* background-color: #FFF; */
    width: 48%;
    float: left;
    text-align: center;
    margin-left: 22%;
}

.txt4{
    font-size: 32px;
    font-weight: bold;
    color: #172554;
    text-transform: uppercase;
}

.caixa-wrapper1 { 
    display: flex; 
    flex-direction: row;
    /* background-color: red; */
    width: 100%;
    overflow: hidden;
    height: 7%;
}

.fantasma{
    width: 10%;
    height: 100%;
    /* background-color: gray; */
}

.tampa-superior {
    width: 90%;
    height: 100%;
    background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
    border-radius: 50% 50% 10px 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.caixa-wrapper2 { 
    display: flex; 
    flex-direction: row;
    /* background-color: green; */
    width: 100%;
    overflow: hidden;
    height: 85%;
}

.regua-numerica {
    display: flex; 
    flex-direction: column-reverse; 
    width: 10%;
    height: 100%;
    gap: 2px;
    /* background-color: orange; */
    align-items: center;
    overflow: hidden;
}

.caixa-container { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    overflow: hidden;
    /* background-color: blue; */

    display: flex;
    justify-content: center;
    align-items: center;
}

.caixa-container svg {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-escala {
    flex: 1; 
    border: none; 
    background: transparent; 
    color: #FFF;
    font-weight: bold;
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
    transition: 0.2s; 
    padding: 0; 
}

.quadrinho-num {
    background: #172554;
    border-radius: 4px;
    width: 3vw; 
    height: 3.5vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 20px;
}

.btn-escala.ativo .quadrinho-num {
    color: #172554;
    border: 1px solid #172554;
    background: #cfe0f7;
}

.onda-animada { animation: moveOnda 3s linear infinite; }

@keyframes moveOnda {
    from { transform: translateX(0); }
    to { transform: translateX(-400px); }
}


-------------------------------------------------------

/* CARTAS CHUVA E EVAPO */

.wrapper{
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.container{
    width: 45%;
    height: auto;
    background: #4bac63;
    border-radius: 10px;
    position: relative;
    padding: 2% 2% 2% 2%;
    text-align: center;
    float: left;
    margin-left: 1%;
}

.txt3{
    font-size: 32px;
    font-weight: bold;
    color: #FFF;
}

.cartas{
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
}

.carta{
    width: 65%;
    height: 100%;
    cursor: pointer;
    margin-top: 3%;
}

.carta img{
    width: 100%;
    height: 100%;
    border-radius: 6px;
    /* background-color: blue; */
}

.sortear{
    width: 10vw;
    border: none;
    background: #FFF;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    color: #20572e;
    font-weight: bold;
    font-size: 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    height: 10%;
    margin-top: 8%;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.fechar{
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

.fechar:hover {
    color: #F00;
    font-weight: bold;
}

/* Carta grande */
.overlay img {
    width: 65%;
    height: 100%;
    border-radius: 12px;
    /* border: 4px solid blue; */
    transform: scale(0.8);
    transition: 0.3s;
}

.overlay.ativo img {
    transform: scale(1.1);
}

/* Mantém proporção das cartas */
.carta {
    height: auto;
}

/* Overlay da carta maior responsivo */
.overlay img {
    max-width: 90%;
    height: auto;
}

.bTomadaDecisao{
    width: 100%;
    height: auto;
    background-color: #2b4e9b;
    display: inline-flex;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    bottom: 6%;
    left: 8%;
    line-height: 50%;
    white-space: pre-line;
    margin-bottom: 1%;
    line-height: 1.5;
    box-shadow: 0 0 45px rgba(7, 7, 7, 0.6);
}

.bTomadaDecisao:hover	{
    top: 1px; 
    left: 1px; 
    background-color: #FFF;
    color: #224798;
    font-weight: bold;
}

.bTomadaDecisao.botao-usado {
    background-color: #777 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.5;
    transform: none !important;
}

.bTomadaDecisao.botao-usado:hover {
    background-color: #777 !important;
    color: #ccc !important;
}

.box{
    /* background-color: red; */
    width: 48%;
    height: auto;
    float: left;
    position: relative;
    margin-left: 1%;
    text-align: left;
    margin-top: 2%;
}

.modal {
    display: none; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgb(0,0,0); 
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal.ativo {
  display: flex;
}

.modal-content{
    width: 90%;
    height: 85%;
    background-image: url('../img/fundo_moldura.png'); 
    background-size: 100% 100%; 
    background-position: center; 
    background-repeat: no-repeat;
    position: relative;
    background-color: #FFF;
    border-radius: 10px;
}

.conteudo-modal{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 70%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 20px;
    height: auto !important;
}

#tituloModal{
    font-size: 32px;
    font-weight: bold;
    color: #224798;

    margin: 0;
    height: auto !important;
}

#textoModal{
    font-size: 26px;
    color: #000;

    margin: 0;
    height: auto !important;
}

.fechar_modal{
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

.fechar_modal:hover {
    color: #F00;
    font-weight: bold;
}

.bErro{
    border: none;
    width: 100%;
    border-radius: 10px;
    font-size: 30px;
    background-color: #172554;
    color: #FFF;
    cursor: pointer;
}