body {
    background-color: #e7e7e7;
}

h4 {
    font-family: Exo;
}

.row {
    margin: 0 auto;
    width: 280px;
    clear: both;
    text-align: center;
    font-family: 'Exo';
}

.digit,
.dig {
    float: left;
    padding: 10px 30px;
    width: 30px;
    font-size: 2rem;
    cursor: pointer;
}

.sub {
    font-size: 0.8rem;
    color: grey;
}

.container {
    background-color: white;
    border-radius: 18px;
    max-width: 320px;
    padding: 20px;
    margin: 0 auto 30px auto;
    height: 480px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

#output {
    font-family: "Exo";
    font-size: 2rem;
    height: 60px;
    font-weight: bold;
    color: #9a1b1e;
}

#timer {
    font-family: "Exo";
    font-size: 1.2rem;
    height: 30px;
    color: #9a1b1e;
    text-align: center;
    margin-bottom: 10px;
}

#call {
    display: inline-block;
    background-color: #66bb6a;
    padding: 5px 9px;
    margin: 20px;
    margin-right: 20px;
    margin-left: 24px;
    margin-top: 15px;
    color: white;
    border-radius: 100px;
    float: left;
    cursor: pointer;
}

.botrow {
    margin: 0 auto;
    width: 280px;
    clear: both;
    text-align: center;
    font-family: 'Exo';
}

.digit:active,
.dig:active {
    background-color: #e6e6e6;
}

#call:hover {
    background-color: #81c784;
}

.dig {
    float: left;
    padding: 10px 20px;
    margin: 10px;
    width: 30px;
    cursor: pointer;
}

.fa {
    font-size: xx-large !important;
}

.titulo {
    text-align: center;
    margin: 15px;
    font-size: 1rem;
    font-family: Exo;
}

.site-footer {
    text-align: center;
}

/* The Modal (background) */
.modal {
    font-family: Exo;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 0px;
    width: 420px; /* Could be more or less, depending on screen size */
}

.modal-header {
    position: relative;
    color: #ffffff;
}

.modal-header.modal-bad {
    background-color: #AA0000;
}

.modal-title {
    margin: 10px 20px;
    line-height: 4;
}

.modal-body {
    margin: 10px 20px;
}

.modal-footer {
    background-color: #fefefe; /* Ensure the footer is not transparent */
    border-top: 1px solid #e5e5e5; /* Optional: add a border to separate footer from body */
    padding: 10px 20px;
    text-align: right; /* Align the buttons to the right */
    height: auto; /* Ensure it grows based on its content */
    display: flex; /* Flexbox layout */
    align-items: center; /* Center items vertically */
    justify-content: flex-end; /* Align items to the right */
}

/* The Close Button */
.modal-close {
    color: #ffffff;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px 16px;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.btn-close {
    background-color: #AA0000;
    border: none;
    margin: 12px;
    font-family: 'Exo';
    font-weight: bold;
    font-size: 16px;
    color: white;
    border-radius: 5px;
    padding: 8px 12px;
}

.clearboth {
    clear: both;
}

.logo {
    position: relative;
    display: inline-block;
    width: 160px; /* Adjust width as needed */
    height: 40px;
    margin: 0;
}

.logo img {
    display: block;
}

.logo span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 767px) {
    .modal-content {
        width: 80%;
        margin: 40% auto;
    }
}
