* {
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}



.container {
    max-width: 500px;
    margin: auto;
}

/* Estilos das TABs */
.tab {
    float: left;
    border: 1px solid #cccccc;
    background-color: #f1f1f1;
    width: 30%;
    height: 250px;
}

.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;    
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #2eacd3;
}

.tabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #ccc;
    width: 70%;
    border-left: none;
    height: 250px;
}


.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10px;
    background-color: white;
    padding: 10px;
}

.grid-container > div {
    text-align: center;
}

.textTimer {
    font-size: 400%;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.timerTitle {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    background-color: rgb(1, 26, 80);
    color: white;
}

.center {
    text-align: center;
}

.footer {

}

/* Configuração dos botões */
#btn-iniciar {
    background-color: #4CAF50;
}

#btn-iniciar:hover {
    background-color: #339136;
}

#btn-parar {
    background-color: #f44336;
}

#btn-parar:hover {
    background-color: #d83b30;
}

#btn-reset {
    background-color: #949393;
}

#btn-reset:hover {
    background-color: #555555;
}

.botao {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;    
}


#controles {
    margin: 0 auto;
    text-align: center;
}


/* Estilo da janela modal */
#btn-close-modal {
   background-color: #4CAF50;    
}

#btn-close-modal:hover {
    background-color: #339136;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

