html, body{
    margin: 0px;
    padding: 0px;
    background-color: #F7F7F7;
}

@font-face {
    font-family: 'akira';
    src: url('../Fuentes/Akira/titulo.otf');
}

h1{
    font-family: 'akira';
    font-size: 4em;
}

@font-face {
    font-family: 'Lemon';
    src: url('../Fuentes/Lemon/LEMONMILK-Light.otf');
}

h2, h3{
    font-family: 'Lemon';
}

@font-face {
    font-family: 'Coolvetica';
    src: url('../Fuentes/Coolvetica/Coolvetica_Rg.otf');
}

p, a, input, textarea, button, ul{
    font-family: 'Coolvetica';
}

p, a, li, button{
    font-size: 1.3em;
}

/* ----- MENU ----- */
nav p, .menuPC ul{
    padding: 0px;
    margin: 0px;
}

.navbar{
    padding: 0px;
}

.menu{
    background-color: #017CA4;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
}

.logoM{
    font-size: 1.5em;
    color: #ffffff;
}

.logoM:hover{
    color: #ffffff;
}

.imgLogoM{
    width: 60px;
}

.botonMenuPeke{
    display: none;
}

.menuPC, .menuCont{
    display: flex;
    align-items: center;
}

.menuPC ul{
    display: flex;
    text-decoration: none;
    list-style: none;
    gap: 30px;
    color: #ffffff;
}

.menuPC a:hover{
    color: #F2C200;
}

.menuCont{
    display: flex;
    gap: 30px;
}

.menuCont p{
    color: #F2C200;
}

.botonContactMenu{
    background-color: #F2C200;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.botonContactMenu:hover{
    background-color: #D9AE00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){

    .menuPC, .menuCont{
        display: none;
    }

    .botonMenuPeke{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .botonMenuPeke p{
        color: #f2c200;
    }
}

/* ----- PORTADA ----- */
/* header{
    background-image: url("../img/portada.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 60vh;
    display: flex;
} */

header{
    position: relative;
    height: 60vh;
    display: flex;
}

header::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/portada.jpeg");
    background-repeat: no-repeat;
    background-position-y: 40%;
    background-size: cover;
    transform: scaleX(-1); /* invierte solo la imagen */
}

.recuadro{
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: rgb(0, 159, 183, 0.2);
    backdrop-filter: blur(2px);
}

.portadaContact{
    background-color: #F2C200;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.portadaContact:hover{
    background-color: #D9AE00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){
    header{
        height: 50vh;
    }

    .recuadro{
        width: 500px;
    }
}

@media (max-width: 767px){
    header{
        height: 40vh;
    }
    .recuadro{
        width: 100%;
    }
}

/* ----- SERVICIOS ----- */

.sectionServicio{
    text-align: center;
    padding: 100px 0px;
}

.sectionServicio hr{
    text-align: center;
    margin: auto;
    width: 400px;
    height: 5px;
    background-color: #F2C200;
    opacity: 1;
    border: none;
}

.servicioText{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servicios{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.servicio{
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f7f7f7;
    gap: 10px;
    transition: all 0.3s;
}

.servicio:hover{
    color: #ffffff;
    font-size: 1.2em;
    background-color: #009FB7;
}

.servicio img{
    width: 50px;
    height: 50px;
    transition: all 0.3s;
}

.servicio:hover img{
    transform: scale(1.2);
}

@media (hover: hover) {
    .servicio:hover{
        color: #ffffff;
        font-size: 1.2em;
        background-color: #009FB7;
    }

    .servicio:hover img {
        transform: scale(1.2);
    }
}


@media (max-width: 767px){
    .servicios{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .servicio{
        width: 100%;
    }
}

/* ----- NOSOTROS ----- */
.sectionNosotros{
    display: flex;
    gap: 100px;
    background-color: #009FB7;
    height: 40vh;
    color: #FFFFFF;
}

.textNosotros{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-right: 50px;
}

.textNosotros hr{
    border: 0px;
    width: 100%;
    height: 5px;
    background-color: #F2C200;
    opacity: 1;
}

.nosotrosButton{
    background-color: #F2C200;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.nosotrosButton:hover{
    background-color: #D9AE00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 767px){
    .sectionNosotros img{
        display: none;
    }

    .textNosotros{
        margin-left: 25px;
        margin-right: 25px;
    }
}

/* ----- CONTACTO ----- */
.sectionContact{
    padding: 100px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.convencer hr{
    background-color: #009FB7;
    opacity: 1;
    height: 5px;
    border: none;
}

.convencer ul{
    list-style: none;
    padding: 0;
}

.convencer li{
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.convencer li::before{
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.formulario{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 400px;
    background-color: #D9D9D9;
}

.formulario form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: flex-start;
}

.formulario form input{
    height: 50px;
    width: 100%;
}

.formulario form textarea{
    width: 100%;
}

.formulario button{
    background-color: #F2C200;
    border: none;
    padding: 11px 15px;
    transition: all 0.3s;
}

.formulario button:hover{
    background-color: #D9AE00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){
    .sectionContact{
        gap: 20px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 767px){
    .sectionContact{
        gap: 100px;
        flex-direction: column;
    }
}

/* ----- FOOTER ----- */
footer{
    background-color: #2B2F33;
    padding: 100px 0px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-around;
}

footer h2{
    margin-bottom: 16px;
}

.div1{
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
}

.footerTitulo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.imgLogoF{
    width: 150px;
}

.div2{
    text-align: center;
    display: flex;
    align-items: end;
}

.div2 ul{
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0px;
    font-size: 0.8em;
}

.div2 a{
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s;
}

.div2 a:hover{
    color: #F2C200;
}

.div3{
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content:end;
}

@media (max-width: 767px){
    .footer{
        justify-content: space-between;
        padding: 50px 25px;
    }

    .div2{
        display: none;
    }
}