body {
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: default;
}

/*Div de contacto*/
.contacto {
    height: 930px;
    width: 100%;
    align-items: start;
    justify-items: center;
    background-image: linear-gradient(to top, #05042400, #05042400, #05042400, #050424), linear-gradient(to bottom, #05042400, #05042400, #05042400, #050424), url("../images/copia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.abajo h2,
.contacto h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    margin: 0;
    padding-top: 125px;
    font-style: normal;
    letter-spacing: 3px;
    font-size: 2.5em;
    color: #87ddff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
}

.abajo ul {
    padding: 0;
    margin: 0;
}

/*Contenedor de formulario*/
fieldset {
    width: 40%;
    height: 650px;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    align-items: center;
    border: none;
    gap: 20px;
    background-color: #201f39;
    border-radius: 8px;
}

fieldset p {
    visibility: hidden;
    font-family: "Josefin Sans", sans-serif;
    text-align: center;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3em;
    margin: 0;
    color: red;
    font-weight: bold;
}

/*Contenedor con los telefonos de contacto*/
fieldset fieldset {
    height: 90px;
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    list-style: none;
    text-align: center;
}

fieldset fieldset legend {
    text-align: center;
}


fieldset fieldset ul {
    padding: 0;
}

fieldset fieldset li {
    display: inline-block;
    margin: 5px 40px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
    list-style: none;
    transition: all 0.4s ease-in-out;
}

/*Leyenda que aparece encima de los formularios*/
legend {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 3px;
    font-size: 1.8em;
    margin: 0;
    color: #87ddff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
}

/*Campos donde se escribe*/
input {
    width: 90%;
    height: 25px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3em;
    line-height: 1.5;
    color: #000000;
    border: none;
    padding: 10px;
    border-radius: 4px;
}

/*Pate de el mensaje*/
textarea {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3em;
    line-height: 1.5;
    margin: 0;
    color: #000000;
    width: 90%;
    height: 150px;
    resize: none;
    padding: 10px;
    border-radius: 4px;
}

textarea:focus,
input:focus {
    outline: none;
    box-shadow: 0px 0px 12px #ffffff6e;
}

fieldset button {
    width: 100%;
    height: 50px;
    margin-top: auto;
    cursor: pointer;
    border-radius: 8px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7em;
    color: #87ddff;
    background-color: #000000;
    border: none;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
    transition: all 0.5s ease-in-out;
}

fieldset button:hover {
    color: white;
    text-shadow: 2px 2px 5px rgb(0, 0, 0);
    background-color: #87ddff;
}

#contacto {
    height: 500px !important;
}

/*Apartado de abajo en la pagina de contacto*/
.abajo {
    width: 100%;
    height: 372px;
    padding: 0;
    background-color: #050424;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.abajo p {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    line-height: 1.5;
    width: 1200px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
}

.abajo li {
    list-style: none;
    display: inline-flex;
    margin: 0px 30px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7em;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
}


#PagContacto {
    height: 744px;
}

.abajo h2 {
    padding: 0;
}

.ubicacion {
    background-color: #050424;
    height: 651px;
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: 50% 50%;
}

iframe {
    width: 70%;
    height: 60%;
    border: 0;
    border-radius: 12px;
    z-index: 2;
}

.ubicacion-texto {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.mapa-iframe {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mapa-iframe button {
    background-color: rgba(252, 254, 255, 0);
    border-radius: 0px 0px 8px 8px;
    cursor: pointer;
    font-size: 1.3em;
    width: 100%;
    height: 45px;
    transition: all 0.8s ease-in-out;
    color: #87ddff;
    background-color: #201f39;
    border: none;
    box-shadow: 0 0 15px #000000;
    transition: all 0.5s ease-in-out;
}

.mapa-iframe button:hover {
    color: rgb(255, 255, 255);
    background-color: #201f39;
    box-shadow: 0 0 15px #ffffff7e;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
}

.ubicacion-texto p {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    line-height: 1.5;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
    margin-top: 20px;
    text-align: justify;
    width: 80%;
}

.ubicacion-texto h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 3px;
    font-size: 3em;
    color: #87ddff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.527);
}

#direccion {
    transition: all 0.4s ease-in-out;
}

#direccion:hover {
    color: #87ddff;
    transform: scale(1.05);
}

#direccion::after {
    content: "Haz clic para copiar";
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #aaa;
    opacity: 0;
    transition: opacity 0.3s;
}

#direccion:hover::after {
    opacity: 1;
}

#copiado {
    display: none;
    color: #87ddff;
    background-color: #201f39;
    width: 45%;
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    height: 30px !important;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 0px;
    border-radius: 6px;
    z-index: 5;
}

@media (max-width: 1700px) {


    .abajo li {
        font-size: 1.4em;
    }

    .abajo p {
        width: 80%;
    }

    .abajo h2,
    .contacto h2 {
        font-size: 2.2em;
    }

    fieldset fieldset li {
        font-size: 1.4em;
        margin: 10px 20px !important;
    }

    fieldset {
        height: auto;
    }

    fieldset input,
    fieldset textarea,
    fieldset p {
        font-size: 1.3em;
    }

    fieldset legend,
    fieldset fieldset legend {
        font-size: 1.6em;
    }

    fieldset {
        width: 45%;
    }

    .mapa-iframe button,
    fieldset button {
        height: 45px;
        font-size: 1.3em;
    }

}

@media (max-width: 1400px) {

    .ubicacion-texto h2,
    .abajo h2,
    .contacto h2 {
        font-size: 2.2em;
    }

    .ubicacion-texto p,
    .abajo li,
    .abajo p {
        font-size: 1.3em;
    }

    fieldset fieldset li {
        font-size: 1.3em;
        margin: 10px 20px !important;
    }

    fieldset {
        height: auto;
    }

    fieldset input,
    fieldset textarea,
    fieldset p {
        font-size: 1.1em;
    }

    fieldset legend,
    fieldset fieldset legend {
        font-size: 1.4em;
    }

    .mapa-iframe button,
    fieldset button {
        height: 45px;
        font-size: 1.3em;
    }

}

@media (max-width: 1300px) {

    fieldset {
        width: 50%;
    }

    .ubicacion-texto h2,
    .abajo h2,
    .contacto h2 {
        font-size: 2.1em;
    }

    .ubicacion-texto p,
    .abajo li,
    .abajo p {
        font-size: 1.2em;
    }

    fieldset fieldset li {
        font-size: 1.1em;
        margin: 10px 20px !important;
    }

    fieldset {
        height: auto;
    }

    fieldset input,
    fieldset textarea,
    fieldset p {
        font-size: 1.1em;
    }

    fieldset legend,
    fieldset fieldset legend {
        font-size: 1.5em;
    }

    fieldset button {
        height: 45px;
        font-size: 1.3em;
    }

}


@media (max-width: 990px) {

    .ubicacion-texto h2,
    .abajo h2,
    .contacto h2 {
        font-size: 2em;
    }

    fieldset fieldset li {
        font-size: 1.1em;
        margin: 10px 20px !important;
    }

    fieldset {
        height: auto;
    }

    fieldset input,
    fieldset textarea,
    fieldset p {
        font-size: 1em;
    }

    fieldset legend,
    fieldset fieldset legend {
        font-size: 1.4em;
    }

    fieldset {
        width: 65%;
    }

    .mapa-iframe button,
    fieldset button {
        height: 40px;
        font-size: 1.25em;
    }

}

@media (max-width: 780px) {

    fieldset button {
        height: 45px;
        font-size: 1.3em;
    }

    fieldset fieldset li {
        margin: 10px 10px !important;
    }

    fieldset {
        width: 80%;
    }

    .abajo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ubicacion {
        height: 750px;
        display: grid;
        grid-template-columns: unset;
        grid-template-rows: 55% 45%;
    }


}

@media (max-width: 570px) {

    .ubicacion-texto h2,
    .abajo h2,
    .contacto h2 {
        font-size: 1.7em;
    }

    .ubicacion-texto p,
    .abajo p,
    .abajo li {
        font-size: 1em;
    }

    fieldset fieldset li {
        font-size: 1em;
        margin: 0px 10px !important;
    }

    fieldset {
        height: auto;
    }

    fieldset input,
    fieldset textarea,
    fieldset p {
        font-size: 1em;
    }

    fieldset legend,
    fieldset fieldset legend {
        font-size: 1.4em;
    }

    .mapa-iframe button,
    fieldset button {
        height: 35px;
        font-size: 1.2em;
    }
}