html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

#mensaje {
    text-align: center;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

a {
    text-decoration: none;
    color: black;
}

h1 {
    color: black;
    margin: 0;
}

@media screen and (max-width: 768px) {
    #menu {
        position: absolute;
        width: 360px;
        margin: -100px 0 0 0;
        padding: 50px;
        padding-top: 125px;
        right: -100px;
        background: #ffffff;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        border-left: 3px solid #005098;
        border-bottom: 3px solid #005098;
    }

    a {
        color: #232323;
        transition: color 0.3s ease;
    }

    #menuToggle {
        display: block;
        position: relative;
        top: 10px;
        right: 10px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        left: 50%;
        transform: translateX(-50%);
    }

    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #000000;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }

    #menuToggle span:first-child {
        display: none;
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked~span:nth-last-child(2) {
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menu li {
        padding: 10px 0;
        font-size: 22px;
    }

    #menuToggle input:checked~ul {
        transform: none;
        opacity: 1;
    }

    .titulo {
        font-size: 2em;
    }

    .contact-wrapper {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        padding: 20px;
        position: relative;
        width: 80%;
    }
}

@media screen and (min-width: 768px) {
    #menuToggle input[type="checkbox"] {
        display: none;
    }

    h1 {
        font-size: 280%;
    }

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    nav li {
        margin: 10px 40px;
        position: relative;
        color: black;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.3s ease;
        font-size: 1.1em;
    }

    nav li:hover {
        color: #005098;
    }

    nav li ul {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgb(255, 255, 255);
        padding: 20px;
        margin-bottom: 5px;
        display: none;
        width: 250px;
        z-index: 1;
        border-left: 1px solid #868686;
        border-right: 1px solid #868686;
        border-top: 1px solid #868686;
        border-bottom: 1px solid #868686;
    }

    nav li:hover ul {
        display: block;
    }

    nav li ul li {
        font-weight: normal;
        margin: 5px 0;
        font-size: 1em;
        white-space: nowrap;
    }

    nav li ul li:hover {
        color: #005098;
    }

    .titulo {
        font-size: 2.5em;
    }

    .contact-wrapper {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        padding: 20px;
        position: relative;
        width: 60%;
    }
}
footer {
    background-color: #8fbad8;
    text-align: center;
    padding: 5px 10px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
}

.columnas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-right: 75px;
    margin-left: 75px;
    width: 100%;
}

.columna {
    display: inline-table;
    width: 300px;
    max-height: 200px;
    vertical-align: top;
    text-align: center;
}

.columna>h2 {
    text-align: center;
    margin: 0px;
    padding: 5px;
    margin-bottom: 10px;
}

iframe {
    border: none;
    width: 280px;
    height: 200px;
}

table {
    border: none;
    width: 100%;
}

th,
td {
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .horario {
        display: none;
        max-width: 0;
    }

    .contacto {
        display: block;
    }

    .mapa {
        margin-top: 10px;
        height: 300px;
    }

    .columnas {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-right: 75px;
        margin-left: 75px;
    }
}

@media only screen and (min-width: 767px) {
    .columnas {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin-right: 100px;
        margin-left: 100px;
    }
}

#miDiv {
    clear: both;
    font-size: 13px;
}
.form-horizontal {
    width: 100%;
    font-family: 'Lato';
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    box-sizing: border-box;
}

.form-control,
textarea {
    border-radius: 5px;
    width: 100%;
    background-color: #cecece;
    color: #3d3d3d;
    letter-spacing: 1px;
    border: none;
    padding: 10px 0px 10px 0px;
    font: 20px 'Arial', sans-serif;
}

button.button {
    align-items: center;
    margin-top: 15px;
    width: 100%;
}

.send-text {
    font-family: Arial, sans-serif;
    margin-left: 10px;
}

hr {
    border-color: rgba(255, 255, 255, 0.6);
}

button {
    background-color: #407af8;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}

button:hover {
    background-color: rgb(31, 98, 245);
}