/*
#E6007E rgba(230,0,126) rosa
#2A3C90 rgba(42,60,144) azul
#F39323 rgba(243,147,35) naranja
#F7F7F7 rgba(247,247,247) gris muy claro
#333333 rgba(51,51,51) gris oscuro
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/*Para titulos*/
.mont {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
}

/*Para textos*/
.lora {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
}

html {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F7F7F7;
    min-height: 100vh;
}

/*****************************
        CABECERA
******************************/
header {
    background-image: url("../img/logo.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 400px;
}

/*****************************
        MENU NAVEGACION
******************************/
nav {
    width: 100%;
    display: flex;
    justify-content: right;
    margin: 20px 20px 20px auto;
}

ul {
    list-style: none;
    display: flex;
    padding: 25px;
    flex-wrap: wrap;
    gap: 60px;
}

li a {
    text-decoration: none;
    padding: 15px;
    font-size: 1.4em;
    font-weight: bolder;
    color: #2A3C90;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    box-shadow: 0px 10px 10px 5px #2A3C90;
}

li a:hover {
    box-shadow: 0px 15px 15px 5px #E6007E;
}

/*****************************
        CONTENIDO
******************************/
#fondo {
    z-index: -1;
    position: absolute;
    background-image: url("../img/logo.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    height: 100%;
    width: 100%;

}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 5%;
}

p {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    color: #333333;
    font-size: 20px;
    line-height: 1.7;
    text-align: justify;
}

/************INICIO*************************/
h2 {
    text-align: center;
    font-size: 2.4em;
    font-weight: bolder;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    color: #2A3C90;
    margin: 20px;
}

.textoInicio {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    color: #333333;
    font-size: 20px;
    font-weight: bolder;
}

.servicios {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
}

.servicios div {
    width: 35%;
    padding: 15px;
}

/************TRABAJOS*************************/
h3 {
    text-align: center;
    font-size: 2em;
    font-weight: bolder;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    color: #2A3C90;
    margin: 20px;
}

.secciones {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detalles {
    width: 65%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.secFotos {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.carousel {
    margin-bottom: 20px;
}

.imgTrabajos {
    width: 100%;
    height: 600px;
}

/************CONTACTO*************************/
.contactoText {
    position: relative;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto {
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

a {
    font-size: 1.4em;
    font-weight: bolder;
    color: #2A3C90;
}

h4 {
    text-align: center;
    font-size: 1.4em;
    font-weight: bolder;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    color: #2A3C90;
    margin: 20px;
}

.mapa {
    position: relative;
    width: 100%;
    padding-bottom: 20%;
    overflow: hidden;
    margin-top: 10%;

}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.color {
    color: black;
}


/*****************************
        FOOTER
******************************/
footer {
    background-image: url("../img/footer.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 150px;
}

/**********************/
/*formatos reutilizables*/
.contNaranja {
    background-color: rgba(243, 147, 35, 0.3);
    border: 4px dotted #F39323;
    border-radius: 20px;

}

.contRosa {
    background-color: rgba(230, 0, 126, 0.2);
    border: 4px dotted #E6007E;
    border-radius: 20px;
}

.contAzul {
    background-color: rgba(42, 60, 144, 0.3);
    border: 4px dotted #2A3C90;
    border-radius: 20px;

}

.alignStart {
    align-self: flex-start;
}

.alignCenter {
    align-self: center;
}

.alignEnd {
    align-self: flex-end;
}

/**********************/

/***********************************
    MEDIA QUERIES PARA RESPONSIVE
***********************************/

@media (max-width: 1400px) {}


@media (max-width: 1200px) {
    header {
        height: 300px;
    }

    li a {
        font-size: 1.2em;
    }

    p {
        font-size: 18px;
    }

    h2 {
        font-size: 2.1em;
    }

    .textoInicio {
        font-size: 18px;
    }

    h3 {
        font-size: 18px;
    }

    .detalles {
        width: 80%;
    }

    .secFotos {
        width: 95%;
    }

    h4 {
        font-size: 20px;
    }

    a {
        font-size: 1.2em;
    }

    .imgTrabajos {
        width: 100%;
        height: 480px;
    }
}


@media (max-width: 992px) {
    header {
        height: 260px;
    }

    li a {
        font-size: 1.1em;
    }

    p {
        font-size: 16px;
    }

    h2 {
        font-size: 1.8em;
    }

    .textoInicio {
        font-size: 16px;
    }

    .servicios div {
        width: 45%;
    }

    #fondo {
        background-size: contain;
    }

    h3 {
        font-size: 18px;
    }

    .detalles {
        width: 85%;
    }

    .secFotos {
        width: 100%;
    }

    h4 {
        font-size: 18px;
    }

    a {
        font-size: 1.1em;
    }

    .imgTrabajos {
        width: 100%;
        height: 350px;
    }

    .carousel {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}


@media (max-width: 768px) {
    header {
        height: 200px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    li a {
        font-size: 1.1em;
    }

    ul {
        gap: 30px;
    }

    p {
        font-size: 16px;
    }

    h2 {
        font-size: 1.6em;
    }

    .textoInicio {
        font-size: 16px;
    }

    .servicios div {
        width: 65%;
    }

    #fondo {
        background-size: contain;
    }

    h3 {
        font-size: 18px;
    }

    .detalles {
        width: 100%;
    }

    .secFotos {
        width: 100%;
    }

    .imgTrabajos {
        width: 100%;
        height: 350px;
    }

    .carousel {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }

    h4 {
        font-size: 18px;
    }

    a {
        font-size: 1.1em;
    }

    .contactoText {
        width: 100%;
        height: 30vh;
    }

    .contacto {
        width: 70%;
    }

    .mapa {
        height: 150px;
    }
}


@media (max-width: 576px) {
    header {
        height: 200px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    li a {
        font-size: 1.1em;
    }

    ul {
        gap: 30px;
    }

    p {
        font-size: 16px;
    }

    h2 {
        font-size: 1.2em;
    }

    .textoInicio {
        font-size: 16px;
    }

    .servicios div {
        width: 75%;
    }

    #fondo {
        background-size: contain;
    }

    h3 {
        font-size: 18px;
    }

    .detalles {
        width: 100%;
    }

    .secFotos {
        width: 100%;
    }

    .imgTrabajos {
        width: 100%;
        height: 280px;
    }

    .carousel {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }

    h4 {
        font-size: 18px;
    }

    a {
        font-size: 1.1em;
    }

    .contactoText {
        width: 100%;
        height: 30vh;
    }

    .contacto {
        width: 70%;
    }

    .mapa {
        height: 150px;
    }
}