@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

.light {
    font-weight: 300;
}
.normal {
    font-weight: 400;   
}
.medium {
    font-weight: 500;
}
.bold {
    font-weight: 700;
}

/* font-family: 'Montserrat', sans-serif; */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

body {
    overflow-x: hidden;
    background-color: #fcfcff;
}

section {
    scroll-margin-block: 100px;
}

h1 {
    font-size: 35px;
}

h2 {
    font-size: 26px;
}

p {
    font-size: 16px;
}

@media (min-width: 701px) and (max-width: 900px){
    h1 {
        font-size: 33px;
    }
    
    h2 {
        font-size: 25px;
    }
    
    p {
        font-size: 15px;
    }
}

@media (min-width: 501px) and (max-width: 700px){
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    p {
        font-size: 14px;
    } 
}


@media (min-width: 351px) and (max-width: 500px){
    h1 {
        font-size: 31px;
    }
    
    h2 {
        font-size: 23px;
    }
    
    p {
        font-size: 13px;
    } 
}

@media (min-width: 1px) and (max-width: 350px){
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    p {
        font-size: 12px;
    } 
}







/* MENU  RESPONSIVE */
#header .menu {
    position: fixed;
    z-index: 9990;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 100px;
}

#header nav.abajo {
    position: fixed;
}

#header #menu-bar {
    display: none;
}

#header label {
    cursor: pointer;
    display: none;
}

#header ul {
    list-style: none;
}

#header nav {
    height: 90px;
    background: #ffffff;
}

#header nav .logo {
    width: 270px;
    position: absolute;
    top: 20px;
    left: 2%;
}

#header nav ul {
    float: right;
    margin-right: 15px;
    padding-top: 10px;
}

#header nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 7px;
}

#header nav ul li a {
    position: relative;
    color: #000000;
    padding: 2px 0;
    font-size: 18px;
}

#header nav ul li a:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #0876a7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s linear;
}

#header li a:hover, li a.active {
    background: none;
    color: #0876a7;
}

#header .checkbtn {
    float: right;
    line-height: 100px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#header #check {
    display: none;
}

#header nav ul li a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 1200px) {
    #header nav ul li a {
        font-size: 16px;
    }
}

/*Menú responsive */
@media (max-width: 1100px) {
    #header .checkbtn {
        display: block;
    }

    #header label {
        cursor: pointer;
        display: block;
    }

    #header ul {
        position: fixed;
        width: 100%;
        height: 37%;
        background: #ffffff;
        top: 90px;
        left: -100%;
        text-align: center;
        transition: all 1s;
    }

    #header nav ul li {
        display: block;
        margin: 10px 0px;
        line-height: 40px;
    }

    #header nav ul li a {
        font-size: 20px;
        color: #0876a7;
    }

    #header li a:hover, li a.active {
        background: none;
        color: #0876a7;
    }

    #header #check:checked ~ ul {
        display: block;
        left: 0;
    }

    #header .hide-menu ul {
        display: none;
    }
}

@media (max-width: 850px) {
    #header .checkbtn {
        display: block;
    }

    #header label {
        cursor: pointer;
        display: block;
    }

    #header ul {
        position: fixed;
        width: 100%;
        height: 33%; /**/
        background: #ffffff;
        top: 90px;
        left: -100%;
        text-align: center;
        transition: all 1s;
    }

    #header nav ul li {
        display: block;
        margin: 6px 0px; /**/
        line-height: 40px;
    }

    #header nav ul li a {
        font-size: 16px; /**/
        color: #0876a7;
    }

    #header li a:hover, li a.active {
        background: none;
        color: #0876a7;
    }

    #header #check:checked ~ ul {
        display: block;
        left: 0;
    }

    #header .hide-menu ul {
        display: none;
    }
}

@media (max-width: 700px) {
    #header ul {
        height: 28%;
    }

    #header nav ul li {
        margin: 4px 0px;
        line-height: 35px;
    }

    #header nav ul li a {
        font-size: 14px;
    }
}


@media (max-width: 530px) {
    #header ul {
        height: 23%;
    }

    #header nav ul li {
        margin: 2px 0px;
        line-height: 30px;
    }

    #header nav ul li a {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    #header ul {
        height: 21%;
    }

    #header nav ul li {
        line-height: 25px;
    }

    #header nav ul li a {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    #header ul {
        height: 19%;
    }

    #header nav ul li {
        line-height: 22px;
    }

    #header nav ul li a {
        font-size: 10px;
    }
}










/* CARRUSEL SECTION */
#carrusel {
    background-color: #eeeeee;
    padding-top: 100px;
}

.slideshow-container {
    position: relative;
}

/* Texto  */
.texto1 {
    position: absolute;
    font-size: 38px;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    border: 2px solid white;
}


@media (max-width: 1230px) {
    .texto1 {
        font-size: 36px;
    }
}

@media (max-width: 1180px) {
    .texto1 {
        font-size: 34px;
    }
}

@media (max-width: 1120px) {
    .texto1 {
        font-size: 32px;
    }
}

@media (max-width: 1050px) {
    .texto1 {
        font-size: 30px;
    }
}

@media (max-width: 990px) {
    .texto1 {
        font-size: 28px;
    }
}

@media (max-width: 930px) {
    .texto1 {
        font-size: 26px;
    }
}

@media (max-width: 870px) {
    .texto1 {
        font-size: 24px;
    }
}

@media (max-width: 810px) {
    .texto1 {
        font-size: 22px;
    }
}

@media (max-width: 740px) {
    .texto1 {
        font-size: 20px;
    }
}

@media (max-width: 680px) {
    .texto1 {
        font-size: 18px;
    }
}

@media (max-width: 620px) {
    .texto1 {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .texto1 {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .texto1 {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .texto1 {
        font-size: 10px;
        top: 84%;
    }
}

@media (max-width: 370px) {
    .texto1 {
        font-size: 8px;
        top: 80%;
    }
}










/* SOBRE MÍ */
#sobremi {
    background-color: #eeeeee;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

#sobremi h2 {
    padding-top: 20px;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    color: #383838;
}

.titulo_sobremi {
    text-align: center !important;
}

.about {
    width: 1400px;
    max-width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pic {
    height: auto;
    width: 500px;
    border: 10px solid white;
    border-radius: 6px;
}

.text {
    width: 540px;
}

.text h5 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.text p {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1px;
    text-align: justify;
}

.link {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hire {
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    background: #0876a7;
    padding: 8px 25px;
    border-radius: 6px;
    border: none;
    transition: 0.5s;
}

.hire:hover {
    background: #000;
}

@media (max-width: 1280px) {
    .about {
        max-width: 90%;
    }
    
    .pic {
        width: 450px;
    }

    .text p {
        font-size: 13px;
        line-height: 16px;
    }
}

@media (max-width: 1140px) {
    .about {
        max-width: 95%;
    }
    
    .pic {
        width: 400px;
    }

    .text p {
        line-height: 13px;
    }
}

@media (max-width: 1020px) {
    #sobremi h2 {
        font-size: 40px;
    }

    .about {
        max-width: 95%;
    }
    
    .pic {
        width: 400px;
    }
    
    .text {
        width: 500px;
    }

    .text p {
        line-height: 13px;
    }
}

@media (max-width: 980px) {
    .pic {
        width: 350px;
    }
}

@media (max-width: 920px) {
    .about {
        flex-direction: column;
    }
    
    .pic {
        width: 350px;
    }
    
    .text {
        width: 700px;
    }

    .text h5 {
        text-align: center;
        padding-top: 20px;
    }
}

@media (max-width: 740px) {
    #sobremi h2 {
        font-size: 35px;
    }

    .text {
        width: 600px;
    }
}

@media (max-width: 640px) {
    .text {
        width: 500px;
    }
}

@media (max-width: 550px) {
    .about {
        max-width: 85%;
    }
    
    .text {
        width: 450px;
    }
    
}

@media (max-width: 470px) {
    .about {
        max-width: 85%;
    }
    
    .pic {
        width: 300px;
    }
    
    .text {
        width: 400px;
    }
}

@media (max-width: 430px) {
    .text {
        width: 350px;
    }
    
}

@media (max-width: 360px) {
    .pic {
        width: 290px;
    }
    
    .text {
        width: 290px;
    }
    
}










/* SERVICIOS SECTION */
#servicios {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

#servicios h2 {
    padding-top: 20px;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    color: #0876a7;
}

.container-servicios {
    width: 100%;
    height: 100%;
    padding: 0 8%;
}

.row {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.service {
    text-align: center;
    padding: 25px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
}

.service .icono01 {
    width: 60px;
    margin-bottom: 10px;
}

.service .icono02 {
    width: 60px;
    margin-bottom: 10px;
    display: none;
}

.service:hover {
    background: #0876a7;
    color: #fff;
}

.service:hover .icono02 {
    display: initial;
}

.service:hover .icono01 {
    display: none;
}

.service h3 {
    font-weight: 600;
    margin-bottom: 8px;
}
















/* GALERIA SECTION */
#galeria {
    background-color: #ffffff;
}

.contenedor-galeria {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: auto; /* 100% del alto de la ventana */
}

.contenido-galeria {
    text-align: center; /* Centra el texto */
    width: 50%;
    padding-bottom: 30px;
}



/* CONTACTO SECTION */

#contacto {
    background-color: #024663;
}

.contenedor-contacto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.celda-contacto {
    width: 25%; /* Asegura que haya 4 celdas en una fila */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.copyright-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0876a7;
    border-top: 1px solid white;
}

.copyright {
    font-size: 15px;
    font-weight: 200;
    padding: 10px 0;
    color: white;
}

.logo_blanco {
    width: 250px;
}

.footer-info {
    margin: 0.2rem 0;
    opacity: 0.7;
    color: white;
    text-decoration: none;
    transition: 0.5s;
    font-size: 16px;
    margin-top: 15px;
}

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

.footer-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-decoration: none;
    line-height: 40px;
}

.footer-content-container a {
    color: white;
    text-decoration: none;
}

.menu-title {
    color: white;
}

.social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 100%;
}

.social-container img {
    padding-top: 40px;
    width: 80px;
    margin: 20px;
}

@media (max-width: 1150px) {
    .logo_blanco {
        width: 180px;
    }

    .footer-info {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .celda-contacto {
      width: 100%; /* Una columna */
    }

    .logo_blanco {
        width: 250px;
    }

    .footer-info {
        font-size: 15px;
    }

    .menu-title {
        margin-bottom: 20px;
    }

    .social-container img {
        width: 80px;
        margin: 20px;
        padding-bottom: 40px;
    }
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Fondo negro transparente */
    z-index: 9999;
}

.modal-contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    max-width: 90%;
    overflow-y: auto; /* Agrega un scroll vertical si el contenido es más grande que el modal */
}

.cerrar-modal {
    position: absolute;
    top: -16px;
    right: 0;
    padding: 10px;
    cursor: pointer;
    font-size: 50px;
    padding-bottom: 30px;
}

.cookies {
    display:none;
}





/* AVISO COOKIES */
.aviso-cookies {
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 300px;
	line-height: 150%;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 9999;
	padding-top: 60px;
	text-align: center;
	border-radius: 20px;
}

.aviso-cookies.activo {
	display: block;
}

.aviso-cookies .galleta {
	max-width: 300px;
	position: absolute;
	top: -50px;
	left: calc(0px);
	border-radius: 20px;
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
	margin-bottom: 15px;
}

.aviso-cookies .boton {
	width: 100%;
	background: #3b5286;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.aviso-cookies .boton:hover {
	background: #000;
}

.aviso-cookies .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.aviso-cookies .enlace:hover {
	text-decoration: underline;
}

.fondo-aviso-cookies {
	display: none;
	background: rgba(0,0,0,.9);
	position: fixed;
	z-index: 9998;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-aviso-cookies.activo {
	display: block;
}