* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Shadows Into Light', cursive;
}

.linea {
    width: 80%;
}

body {
    margin: 0;
    background-color: #ffffff;
    color: #000000;

}

.Proyectos{
    font-family: 'Shadows Into Light', cursive;
}

/********************     Encabezado     *****************/

.imagen-responsiva {
    width: 100%;
    height: 600px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding-left: 15px;
    font-family: 'Shadows Into Light', cursive;
    font-size: 15px;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: 'Shadows Into Light', cursive;
    font-size: 50px;
}

.header-content {
    display: flex;
    align-items: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@font-face {
    font-family: 'Architect Bold';
    src: url('fonts/architect-bold.ttf') format('truetype');
}

.empresa {
    margin-right: 20px;
    color: rgb(0, 0, 0);
    font-size: 30px;
    font-family: 'Shadows Into Light', cursive;
    font-size: 35px;
}

.languages {
    display: flex;
}

.language-btn {
    margin-right: 10px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.842);
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}


.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(3, 3, 3, 0.8);
}


.hamburguesa {
    width: 40px;
    height: 42px;
    display: inline-block;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 5cap;
    border-radius: 5px;
}

.hamburguesa span {
    display: block;
    width: 28px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.842);
    border: 1px solid black;
    margin: 15%;
    border-radius: 5px;
    transform-origin: 0px 100%;
    transition: all 600ms;
}

.hamburguesa:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(3, 3, 3, 0.8);
}

.activebarra1 {
    transform: rotate(45deg) translate(-1px, 1px);
}

.activebarra2 {
    opacity: 0;
    margin-left: -30px;
}

.activebarra3 {
    transform: rotate(-45deg) translate(2px, 1px);
}

/*********** Contenido Hamburguesa *************/

.menu nav {
    font-family: 'Teko', sans-serif;
    letter-spacing: 2px;
    font-size: 20px;
    position: fixed;
    top: 0;
    right: -300px;
    background: rgb(255, 255, 255);
    width: 200px;
    height: 100vh;
    z-index: 1;
    transition: all 300ms;
    z-index: 4;
    max-height: 100vh;
    overflow-y: auto;
}

.Eleccion {
    font-weight: bold;
    cursor: pointer;
}

.submenu {
    list-style: none;
    padding-left: 20px;
    /* Elimina el padding por defecto de la lista */
    margin: 0;
    /* Elimina el margen por defecto de la lista */
    margin-left: 0;
}

.submenu li {
    display: flex;
    align-items: center;
}


.menu ul {
    flex-direction: column;
}

.menu ul li {
    margin-top: 25px;
    margin-left: 0;
}

.menu ul li a {
    color: #000000;
    text-decoration: none;
    position: relative;
    margin: 0 15px;
}

.menu ul li a:hover::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(51, 255, 0, 0.842);
    border-radius: 5px;
}

.fa-chevron-down {
    transition: transform 0.3s;
}

.fa-rotate-180 {
    transform: rotate(180deg);
}

#submenu_proyectos,
#submenu_servicios,
#submenu_contacto {
    display: none;
    /* Ocultar inicialmente el submenú de proyectos */
}

#back_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 66, 66, 0.5);
    display: none;
    z-index: 3;
    /* Valor aún más alto para que esté por encima de la portada y el menú */
}

/***************     Redes Sociales     ***********/
.redes-sociales-p {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.red-social-p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #000000;
    text-decoration: none;
    position: relative;
}

.red-social-p img {
    margin-right: 8px;
    font-size: 16px;
    /* Tamaño de fuente reducido */
    transition: transform 1s;
    width: 35px;
    padding: 3.5px;
    border-radius: 3px;
}

.red-social-p .nombre-red-p {
    position: absolute;
    left: calc(-240% + 5px);
    top: 50px;
    color: #000000;
    background-color: #ffffff;
    font-size: 15px;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(150px, -50px);
    transition: opacity 1s, visibility 1s, transform 1s;
}

.red-social-p:hover img {
    transform: translateX(-95px);
}

.red-social-p:hover .mail {
    transform: translateX(-130px);
}

.red-social-p:hover .nombre-red-p {
    opacity: 1;
    visibility: visible;
    transform: translate(40px, -50px);
    font-size: 18px;
}

.red-social-p:hover .nombre-red-p-c {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, -50px);
    font-size: 18px;
}

/***************    Testimonios    ***************/

.Testimonios {
    max-width: 750px;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    position: relative;
    background: rgb(184, 184, 184);
    text-align: center;
    padding: 4em 0;
    overflow: hidden;
}

.Testimonios h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 100;
    color: #000000;
}

.Testimonios hr {
    width: 50%;
    height: 4px;
    border: none;
    background: white;
    margin-top: 30px;
}

.Testimonios .slides {
    width: 300%;
    left: 0;
    padding-left: 0;
    padding-top: 20px;
    overflow: hidden;
    list-style: none;
    position: relative;
    transition: all .8s cubic-bezier(1, 0, 0, 1);
}

.slides li {
    width: 33.33%;
    position: relative;
    float: left;
}

.Testimonios li p {
    margin-top: 0;
}

.Testimonios li q {
    max-width: 90%;
    margin: auto;
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: bold;
}

.Testimonios li img {
    width: 60px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 10px;
}

.Testimonios li span.author {
    margin-top: 20px;
    font-size: 28px;
    font-weight: 100;
    color: #000000;
    display: block;
}

.navigation {
    display: block;
    list-style: none;
    text-align: center;
    position: absolute;
    width: 104px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
}

.Testimonios input {
    display: none;
}

.Testimonios label {
    float: left;
    margin: 6px;
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    border: solid 2px white;
}
/*
#radio1:checked~.slides {
    transform: translateX(0%);
}

#radio2:checked~.slides {
    transform: translateX(-33.33%);
}

#radio3:checked~.slides {
    transform: translateX(-66.66%);
}

.navigation label:hover {
    cursor: pointer;
}

#radio1:checked~.navigation label#radioSelect1,
#radio2:checked~.navigation label#radioSelect2,
#radio3:checked~.navigation label#radioSelect3 {
    background: white;
}*/

/***************    Frases    ***************/

.frases-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 5px 0;
    border-top: 1px solid #ccc;
    z-index: 2;
}

.frases {
    font-family: 'Teko', sans-serif;
    letter-spacing: 2px;
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-shadow: 2px 2px 4px rgba(117, 117, 117, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}


/*****************    Proyectos    ***************/

.slider {
    display: flex;
    justify-content: left;
    align-items: left;
    height: 405px;
    width: 100;
    margin-top: 3rem;
    border-radius: 10px;
}

.slider_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: 100%;
    width: 95%;
    border-radius: 5px;
    margin: 0 auto; /* Centra el contenedor horizontalmente */

}

.slider_containersub {
    width: 50%;
    border-radius: 5px;
    height: 100%;
    padding-left: 3rem;
    box-sizing: border-box;
}


.position {
    border: 1px solid #7e7e7e;
    border-radius: 5px;
}

.project-link {
    position: relative;
    display: block;
    text-decoration: none;

    justify-content: left;
    align-items: left;
    width: 100%;
    height: 100%;
}

.project-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-link:hover::before {
    opacity: 1;
}

.project-link::after {
    content: attr(data-project-name);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-link:hover::after {
    opacity: 1;
}

.imgp1 {
    background-image: url(Imagenes/LUSTRABOTAS/img1.jpg);
    background-size: cover;
    animation: animatep1 10s infinite;
}

@keyframes animatep1 {
    10.3% {
        background-image: url(Imagenes/LUSTRABOTAS/img1.jpg);
        background-size: cover;
    }

    35.6% {
        background-image: url(Imagenes/LUSTRABOTAS/img2.jpg);
        background-size: cover;
    }

    60% {
        background-image: url(Imagenes/LUSTRABOTAS/img3.jpg);
        background-size: cover;
    }

    85% {
        background-image: url(Imagenes/LUSTRABOTAS/img5.JPG);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/LUSTRABOTAS/img1.jpg);
        background-size: cover;
    }
}

.imgp2 {
    background-image: url(Imagenes/PARQUE_DE_BOLSILLO_GUILLERMO_JIMENEZ/1.JPG);
    background-size: cover;
    animation: animatep2 10s infinite;
}

@keyframes animatep2 {
    10.3% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_GUILLERMO_JIMENEZ/1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_GUILLERMO_JIMENEZ/2.JPG);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_GUILLERMO_JIMENEZ/3.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_GUILLERMO_JIMENEZ/1.jpg);
        background-size: cover;
    }
}

.imgp3 {
    background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/1.png);
    background-size: cover;
    animation: animatep3 10s infinite;
}

@keyframes animatep3 {
    10.3% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/1.png);
        background-size: cover;
    }

    45.6% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/2.png);
        background-size: cover;
    }

    60% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/4.jpg);
        background-size: cover;
    }

    85% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/5.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/PARQUE_DE_BOLSILLO_SALERITO/1.png);
        background-size: cover;
    }
}

.imgp4 {
    background-image: url(Imagenes/GUERRERO/1.jpg);
    background-size: cover;
    animation: animatep4 10s infinite;
}

@keyframes animatep4 {
    10.3% {
        background-image: url(Imagenes/GUERRERO/1.jpg);
        background-size: cover;
    }

    35.6% {
        background-image: url(Imagenes/GUERRERO/2.jpg);
        background-size: cover;
    }

    60% {
        background-image: url(Imagenes/GUERRERO/3.2.jpeg);
        background-size: cover;
    }

    85% {
        background-image: url(Imagenes/GUERRERO/4.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/GUERRERO/1.jpg);
        background-size: cover;
    }
}

.imgp5 {
    background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/1.JPG);
    background-size: cover;
    animation: animatep5 10s infinite;
}

@keyframes animatep5 {
    10.3% {
        background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/1.jpg);
        background-size: cover;
    }

    35.6% {
        background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/2.jpg);
        background-size: cover;
    }

    60% {
        background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/3.jpg);
        background-size: cover;
    }

    85% {
        background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/4.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/INGRESO_INSTITUCIÒN_MEDIA_SUPERIOR/1.jpg);
        background-size: cover;
    }
}

.imgp6 {
    background-image: url(Imagenes/CASA_AIDA/1.png);
    background-size: cover;
    animation: animatep6 10s infinite;
}

@keyframes animatep6 {
    10.3% {
        background-image: url(Imagenes/CASA_AIDA/1.png);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/CASA_AIDA/2.png);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/CASA_AIDA/3.png);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/CASA_AIDA/1.png);
        background-size: cover;
    }
}

.imgp7 {
    background-image: url(Imagenes/CASA_LARA/1.jpg);
    background-size: cover;
    animation: animatep7 10s infinite;
}

@keyframes animatep7 {
    10.3% {
        background-image: url(Imagenes/CASA_LARA/1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/CASA_LARA/2.jpg);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/CASA_LARA/3.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/CASA_LARA/1.jpg);
        background-size: cover;
    }
}

.imgp8 {
    background-image: url(Imagenes/MONTALBAN_379A/1.jpg);
    background-size: cover;
    animation: animatep8 10s infinite;
}

@keyframes animatep8 {
    10.3% {
        background-image: url(Imagenes/MONTALBAN_379A/1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/MONTALBAN_379A/4.4.jpg);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/MONTALBAN_379A/20.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/MONTALBAN_379A/1.jpg);
        background-size: cover;
    }
}

.imgp9 {
    background-image: url(Imagenes/Av._mexico_177/img1.jpg);
    background-size: cover;
    animation: animatep9 10s infinite;
}

@keyframes animatep9 {
    10.3% {
        background-image: url(Imagenes/Av._mexico_177/img1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/Av._mexico_177/img2.jpeg);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/Av._mexico_177/img3.jpeg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/Av._mexico_177/img1.jpg);
        background-size: cover;
    }
}
.imgp10 {
    background-image: url(Imagenes/Farias_16/4.jpg);
    background-size: cover;
    animation: animatep10 10s infinite;
}

@keyframes animatep10 {
    10.3% {
        background-image: url(Imagenes/Farias_16/4.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/Farias_16/ScreenHunter\ 411.png);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/Farias_16/667.png);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/Farias_16/4.jpg);
        background-size: cover;
    }
}

.imgp11 {
    background-image: url(Imagenes/Proyecto_Ocampo_318/img1.jpg);
    background-size: cover;
    animation: animatep11 10s infinite;
}

@keyframes animatep11 {
    10.3% {
        background-image: url(Imagenes/Proyecto_Ocampo_318/img1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/Proyecto_Ocampo_318/img2.png);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/Proyecto_Ocampo_318/img3.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/Proyecto_Ocampo_318/img1.jpg);
        background-size: cover;
    }
}

.imgp12 {
    background-image: url(Imagenes/PROYECTO_CASA_GUADALUPE_10/1.jpg);
    background-size: cover;
    animation: animatep12 10s infinite;
}

@keyframes animatep12 {
    10.3% {
        background-image: url(Imagenes/PROYECTO_CASA_GUADALUPE_10/1.jpg);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/PROYECTO_CASA_GUADALUPE_10/2.jpg);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/PROYECTO_CASA_GUADALUPE_10/3.jpg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/PROYECTO_CASA_GUADALUPE_10/1.jpg);
        background-size: cover;
    }
}

.imgp13 {
    background-image: url(Imagenes/PROYECTO_VILLA_CHUKUM/1.JPG);
    background-size: cover;
    animation: animatep13 10s infinite;
}

@keyframes animatep13 {
    10.3% {
        background-image: url(Imagenes/PROYECTO_VILLA_CHUKUM/1.JPG);
        background-size: cover;
    }

    40.6% {
        background-image: url(Imagenes/PROYECTO_VILLA_CHUKUM/2.JPG);
        background-size: cover;
    }

    80% {
        background-image: url(Imagenes/PROYECTO_VILLA_CHUKUM/3.jpeg);
        background-size: cover;
    }

    100% {
        background-image: url(Imagenes/PROYECTO_VILLA_CHUKUM/1.JPG);
        background-size: cover;
    }
}

/****************** Imagenes en proyectos ****************/
.image-container2 {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: 450px;
    width: 95%;
    border-radius: 5px;
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
  }

  .image-container2 .image {
    height: 405px;
    width: 50%;
    margin-bottom: 10px;
  }

  .image img{
    max-width: 85%;
    max-height: 75%;
    cursor: pointer;
  }

  .image-container3 {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: 450px;
    width: 95%;
    border-radius: 5px;
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
  }

  .image-container3 .image {
    height: 405px;
    width: 33.3%;
    margin-bottom: 10px;
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    overflow: auto;
  }

  .modal-content {
    max-width: 80%;
    max-height: 80%;
    cursor: zoom-in;
    transition: all 0.2s ease-in-out;
  }

  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: white;
  }

  .arrow.left {
    left: 10px;
  }

  .arrow.right {
    right: 10px;
  }

/******************     Servicios     ******************/

.servicios-container {
    margin: 50px auto;
    max-width: 600px;
}

.servicio {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.numero-servicio {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 10px;
}

.nombre-servicio {
    font-family: 'Teko', sans-serif;
    letter-spacing: 2px;
    font-size: 25px;
}

/******************     Pie de pagina     ******************/

footer {
    background-color: #ffffff;
    text-align: center;
    margin-top: 2rem;
}

p {
    color: #000000;
    font-size: 14px;
    margin-bottom: 1rem;
}

.pie_pagina .contacto-ubicacion {
    width: 100%;
    max-width: 1800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1.2fr);
    grid-gap: 50px;
    padding: 45px 0px;

}

.grupo_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacto-ubicacion {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.subtitu {
    margin-bottom: 30px;
}


.box {
    margin-left: 40px;
}

.map {
    cursor: pointer;
    width: 95%;
    /* Ajusta el ancho al 90% de la pantalla */
}

.map iframe {
    width: 100%;
    height: 450px;
    /* Puedes ajustar la altura según tus preferencias */
    border: 1px solid;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(51, 255, 0, 0.5);
}

.map iframe:hover {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(51, 255, 0, 0.5);
}

.DatosC p a {
    text-decoration: none;
    color: #000000;
}

.DatosC p a:hover {
    color: rgba(23, 114, 0, 0.842);
}

.redes-sociales {
    display: flex;
    justify-content: center;
}

.red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 10px;
    background-color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    position: relative;
    transition: margin-right 0.3s;
}

.red-social img {
    width: 80%;
    height: 80%;
}

.red-social .nombre-red {
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    background-color: #f3f3f3;
    color: #000000;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(85%, 100%);
    transition: opacity 0.3s, visibility 0.3s;
}

.red-social:hover {
    color: rgba(51, 255, 0, 0.842);
    box-shadow: 0 0 10px rgba(51, 255, 0, 0.5);
}

.red-social:hover .nombre-red {
    opacity: 1;
    visibility: visible;
}