/*modo celulares */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
    transition: all 0.5s;
}

/*transicioon barba*/
.body-out {
    opacity: 0;
}

@media (max-width: 420px) {
    header {
        width: 100%;
        height: 60px;
        background-color: #33333349;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        z-index: 100;
    }

    #logo img{
        width: 50px;
        height: 50px;
        margin: 5px;
    }

    nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    nav ul li {
        margin: 20px;
        font-size: 2rem;
        font-weight: 700;

    }

    nav {
        position: absolute;
        height: 100vh;
        width: 100%;
        background-color: #00000074;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        top: 0;
        right: -100%;
        backdrop-filter: blur(5px);
        transition: all ease-out 0.5s;
    }

    a {
        text-decoration: none;
        color: white; 
        width: 100%;
        text-align: center;  
        display: flex;
        justify-content: center;
    }

    #btn-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
        width: 60%;
        height: 60px;
        background-color: #e6bc47;
        border: none;
        color: white;
        font-size: 2rem;
        font-weight: 700;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .nav-active {
        right: 0;
        transition: all 0.5s;
    }

    .nums-menu {
        color: white;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .nums-menu p {
        margin: 20px 0 0 0;
    }

    /*Boton haburguesa*/

    #hambur {
        width: 30px;
        height: 30px;
        margin: 0 20px 0 0;
        flex-direction: column;
        cursor: pointer;
        z-index: 1000;
        
    }

    #hambur div{
        width: 30px;
        height: 4px;
        border-radius: 3px;
        background-color: white;
        margin: 5px;
        transition: all 0.5s;
    }

    .body-active {
        overflow: hidden;
    }

    .menu-active {
        transition: all 0.5s;
    }

    .menu-active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-active div:nth-child(2) {
        opacity: 0;
    }

    .menu-active div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /*main*/
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 0 0 0;
        position: relative; /* Necesario para el ::before */
        background: none; /* Eliminamos la imagen directa */
        height: 100vh;
    }
    
    main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../img/banner.jpg);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        z-index: -1;
    }

    h1 {
        font-size: 2.5rem;
        color: #0ad1c3;
        text-shadow: #333333 2px 2px 7px;
        text-align: center;
        margin: 40px 0 60px 0;
    }

    main p {
        font-size: 1.3rem;
        color: #000000;
        text-align: center;
        margin: 10 0 10px 0;
        padding: 30px 20px;
    }

    #txt-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white !important;
        background-color: #f5f5f5;
        position: absolute;
        border-radius: 50px 50px 0 0;
        padding: 20px 0;
        width: 100%;
        bottom: 0;
    }

    /*llamada a la accccion*/
    .cot_btn {
        margin: 40px 0;
        height: 50px;
        width: 60%;
        background-color: #ffbb00;
        text-align: center;
        color: black;
        line-height: 50px;
        font-weight: 600;
        border: #000000 3px solid;
        border-radius: 10px;
    }

    .cot_btn:hover {
        cursor: pointer;
        background-color: #e6bc47;

    }

    /*servicios*/

    #cont-servicios {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
    }

    #cont-servicios h2 {
        font-size: 2rem;
        color: #0ad1c3;
        text-align: center;
        margin: 40px 0 60px 0;
    }

    .servicio {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
        width: 80%;
        background-color: #eae5e5;
        overflow: hidden;
        box-shadow: #000000a3 5px 5px 17px;
        transition: all 1s;
    }

    .servicio img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .servicio h3 {
        font-size: 1.5rem;
        color: black;
        text-align: center;
        margin: 20px 0 10px 0;
    }

    .servicio p {
        font-size: 1rem;
        color: #333333;
        text-align: center;
        margin: 20px 0;
        padding: 0 40px;
    }

    .serv-btn {
        margin: 20px 0 40px 0;
        height: 50px;
        width: 60%;
        background-color: #0ad1c3;
        text-align: center;
        line-height: 50px;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .serv-btn:hover {
        cursor: pointer;
        background-color: #e6bc47;
    }

    details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
        overflow: hidden;
        transition: max-height 1s ease;
        max-height: 2em;
    }

    details[open] {
        max-height: 500px;
    }

    .toggle-summary::after {
        content: "Ver más"; /* Texto inicial */
      }
      
      details[open] .toggle-summary::after {
        content: "Ver menos"; /* Texto cuando está abierto */
      }
      

    /*Nosotros*/

    #cont-nosotros {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        justify-content: center;
    }

    #cont-nosotros h2 {
        font-size: 2rem;
        color: #0ad1c3;
        text-align: center;
        margin: 40px 0 60px 0;
    }

    #cont-nosotros p {
        font-size: 1.3rem;
        color: #333333;
        text-align: center;
        margin: 20px 0;
        padding: 0 20px;
    }

    #cont-nosotros img {
        width: 100%;
        object-fit: cover;
        margin: 0 0 0 0;
    }

    #img-nosotros {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white !important;
        background-color: #0ad1c3;
    }

    #txt-nosotros {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white !important;
        background-color: #0ad1c3;
    }

    #txt-nosotros p {
        font-size: 1.3rem;
        text-align: center;
        margin: 20px 0;
        padding: 0 20px;
        color: white;
    }

    /*Contacto*/

    #cont-contacto {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        justify-content: center;
    }

    #cont-contacto h2 {
        font-size: 2rem;
        color: #0ad1c3;
        text-align: center;
        margin: 40px 0 20px 0;
    }

    #cont-contacto p {
        font-size: 1.3rem;
        color: #333333;
        text-align: center;
        margin: 20px 0;
        padding: 0 20px;
    }

    #cont-contacto form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    form input, form textarea, form select {
        margin: 20px 0;
        height: 40px;
        width: 100%;
        padding: 0 10px;
        font-size: 1rem;
        border: none;
        background-color: #f5f5f5;
        border-bottom: 2px solid black;
    }

    form input:focus, form textarea:focus, form select:focus {
        outline: none;
        border-bottom: 2px solid #0ad1c3;
    }

    #form-btn {
        margin: 20px 0;
        height: 50px;
        width: 100%;
        background-color: #0ad1c3;
        text-align: center;
        border: solid 3px black;
        text-align: center;
        line-height: 50%;
        font-size: 1.3rem;
        font-weight: 600;
    }

    #form-btn:hover {
        cursor: pointer;
        background-color: #e6bc47;
    }

    #info-contacto {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
        overflow: hidden;
        
    }

    #info-contacto p {
        margin: 10px 0;
        font-size: 1.2rem;
    }

    /*footer*/

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #333333;
        color: white;
        padding: 20px 0;
    }

    footer p {
        font-size: 1rem;
        margin: 10px 0;
    }

    #logo-footer img {
        width: 50px;
        height: 50px;
        margin: 5px;
    }

    #social {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px 0;
    }

    #social a {
        margin: 0 10px;
    }

    #social img {
        width: 40px;
        height: 40px;
    }

    #more {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin: 10px 0;
    }

    #more a {
        margin: 0 10px;
    }

    #more img {
        width: 30px;
        height: 30px;
    }

    #more p {
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }

    .tel {
        font-size: 1.5rem;
    }

    #copy {
        font-size: 1rem;
        text-align: center;
    }


    /*Nosotros - pagina*/

    #us-decor {
        background-color: #0ad1c3;
        height: 300px;
        width: 100%;
        position: absolute;
        top: 0;
        z-index: -3;
    }

    .contenedor-about img {
        width: 90% !important;
        height: 300px !important;
        object-fit: cover;
        margin-bottom: 40px !important;
    }

    #about-title {
        font-size: 2rem;
        color: white !important;
        text-align: center;
        margin: 80px 0 60px 0 !important;
        z-index: 5;
    }

    .about-info h3 {
        font-size: 1.5rem;
        text-align: center;
        margin: 40px 0 60px 0;
    }

    .contenedor-about {
        padding: 0;
    }

    #valores {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        justify-content: center;
        min-height: 60vh;
        z-index: 5;
        background-color: #f5f5f5;
    }

    #valores h3 {
        font-size: 2rem;
        text-align: center;
        margin: 40px 0 60px 0;
        background-color: #f5f5f5;
    }

    #valores p:first-of-type {
        font-size: 1.5rem;
        text-align: center;
        color: white;
        background-color: #e6bc47;
        padding: 30px;
        margin: 0;
        font-weight: 500;
    }

    #valores p:nth-of-type(2) {
        font-size: 1.3rem;
        text-align: center;
        color: white;
        background-color: #333333;
        padding: 30px 20px;
        margin: 0;
        font-weight: 500;
    }

    #valores p:last-of-type {
        font-size: 1.3rem;
        text-align: center;
        color: white;
        background-color: #e6bc47;
        padding: 30px 20px;
        margin: 0;
        font-weight: 500;
    }

    .about-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding:  0;
        min-height: 70vh;
        margin: 30px 20px;
        border-radius: 30px;
    }

    .about-info:nth-of-type(3) {
        background-color: #0ad1c3 !important;
        position: sticky;
        top: 0;
    }

    .about-info:nth-of-type(4) {
        background-color: #e6bc47 !important;
        position: sticky;
        top: 0;
    }

    .about-info:nth-of-type(5) {
        background-color: #0ad1c3 !important;
        position: sticky;
        top: 0;
    }

    .about-info:nth-of-type(3), .about-info:nth-of-type(3) p, .about-info:nth-of-type(4), .about-info:nth-of-type(4) p, .about-info:nth-of-type(5), .about-info:nth-of-type(5) p{
        color: white !important;
    }

    /*galeria*/
    #cont-galeria {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 50px 10px;
        justify-content: center;
        min-height: 60vh;
        width: 100%;
    }

    #cont-galeria h2 {
        font-size: 2rem;
        color: #0ad1c3;
        text-align: center;
        width: 100%;
        margin: 40px 0 60px 0;
    }

    #galeria {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }

    .galeria-img { 
        width: 45%;
        margin: 7px;
        background-color: #eae5e500;
        box-shadow: #000000a3 5px 5px 17px;
    }

    .galeria-img img{
        display: block;
        width: 100%;
    }

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal img {
    max-width: 90%;
    max-height: 90%;
}

#modal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

#modal button:nth-of-type(1) {
    left: 10px;
}

#modal button:nth-of-type(2) {
    right: 10px;
}

}

#modal img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

/* Bloque amarillo de transición */
#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 100vh;
    background-color: #e6bc47;
    z-index: 1000;
    transition: width 0.5s ease-in-out;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 440px){
    
header {
    width: 100%;
    height: 100px;
    background-color: #333333b4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 100;
}

#menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

#menu a {
    width: auto;
}

#logo img{
    width: 80px;
    height: 80px;
    margin: 5px;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
}

#menu ul li a {
    text-decoration: none;
    color: white; 
    width: 100%;
    text-align: center;  
    display: flex;
    justify-content: center;
    margin: 0 15px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease-in-out;
}

#menu ul li a:hover {
    text-decoration: none;
    color: white;
    text-decoration: underline;
}

#btn-menu {
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: #e6bc47;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 10px;
    margin: 0 20px;
    z-index: 1000;
}

#btn-menu:hover {
    background-color: #d4a73a;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nums-menu {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    height: fit-content;
    position: relative;
}

.nums-menu p {
    margin: 0 35px;
}

/*Boton haburguesa*/

#hambur {
    display: none;
    
}

/*main*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 0 0;
    position: relative; /* Necesario para el ::before */
    background: none; /* Eliminamos la imagen directa */
    height: 100vh;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/banner.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    z-index: -1;
}

h1 {
    font-size: 2.5rem;
    color: #0ad1c3;
    text-shadow: #333333 2px 2px 7px;
    text-align: center;
    margin: 190px 0 60px 0;
}

main p {
    font-size: 1.3rem;
    color: #000000;
    text-align: center;
    margin: 10 0 10px 0;
    padding: 60px 250px;
}

#txt-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: #f5f5f5;
    position: absolute;
    border-radius: 50px 50px 0 0;
    padding: 20px 0;
    width: 60%;
    bottom: 0;
}

/*llamada a la accccion*/
.cot_btn {
    margin: 40px 0;
    height: 50px;
    width: 30%;
    background-color: #ffbb00;
    text-align: center;
    color: black;
    line-height: 50px;
    font-weight: 600;
    border: #000000 3px solid;
    border-radius: 10px;
    text-decoration: none;
}

.cot_btn:hover {
    cursor: pointer;
    background-color: #e6bc47;
    color: white;
}

/*servicios*/

#cont-servicios {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 250px 0;
    justify-content: center;
}

#cont-servicios h2 {
    font-size: 2rem;
    color: #0ad1c3;
    text-align: center;
    margin: 40px 0 60px 0;
    width: 100%;
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    width: 30%;
    background-color: #eae5e5;
    overflow: hidden;
    box-shadow: #000000a3 5px 5px 17px;
    transition: all 1s;
}

.servicio img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
}

.servicio h3 {
    font-size: 1.5rem;
    color: black;
    text-align: center;
    margin: 20px 0 10px 0;
}

.servicio p {
    font-size: 1rem;
    color: #333333;
    text-align: center;
    margin: 20px 0;
    padding: 0 40px;
}

.serv-btn {
    margin: 20px 0 40px 0;
    height: 50px;
    background-color: #0ad1c3;
    text-align: center;
    line-height: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0 20px;
}

.serv-btn:hover {
    cursor: pointer;
    background-color: #e6bc47;
}

details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    overflow: hidden;
    transition: max-height 1s ease;
    max-height: 2em;
}

details[open] {
    max-height: 500px;
}

.toggle-summary::after {
    content: "Ver más"; /* Texto inicial */
  }
  
  details[open] .toggle-summary::after {
    content: "Ver menos"; /* Texto cuando está abierto */
  }
  

/*Nosotros*/

#cont-nosotros {
    display: flex;
    align-items: stretch;
    padding: 50px 0;
    justify-content: center;
    flex-wrap: wrap;
}

#cont-nosotros h2 {
    font-size: 2rem;
    color: #0ad1c3;
    text-align: center;
    width: 100%;
    margin: 40px 0 60px 0;
}

#cont-nosotros p {
    font-size: 1.3rem;
    color: #333333;
    text-align: center;
    margin: 20px 0;
}

#cont-nosotros img {
    width: 100%;
    object-fit: cover;
    margin: 0 0 0 0;
}

#img-nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: #0ad1c3;
    width: 50%;
}

#txt-nosotros {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: #0ad1c3;
    width: 50%;
    height: auto;
    padding: 40px;
}

#txt-nosotros p {
    font-size: 1.3rem;
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
    color: white;
}

/*Contacto*/

#cont-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    justify-content: center;
    width: 100%;
}

#cont-contacto h2 {
    font-size: 2rem;
    color: #0ad1c3;
    text-align: center;
    margin: 40px 0 20px 0;
}

#cont-contacto p {
    font-size: 1.3rem;
    color: #333333;
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
}

#cont-contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#form-contacto {
    width: 40%;
}

form input, form textarea, form select {
    margin: 20px 0;
    height: 40px;
    width: 100%;
    padding: 0 10px;
    font-size: 1rem;
    border: none;
    background-color: #f5f5f5;
    border-bottom: 2px solid black;
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-bottom: 2px solid #0ad1c3;
}

#form-btn {
    margin: 20px 0;
    height: 50px;
    width: 100%;
    background-color: #0ad1c3;
    text-align: center;
    border: solid 3px black;
    text-align: center;
    line-height: 50%;
    font-size: 1.3rem;
    font-weight: 600;
}

#form-btn:hover {
    cursor: pointer;
    background-color: #e6bc47;
}

#info-contacto {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    overflow: hidden;
    
}

#info-contacto p {
    margin: 10px 0;
    font-size: 1.2rem;
}

/*footer*/

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333333;
    color: white;
    padding: 20px 50px;
    flex-wrap: wrap;
}

footer p {
    font-size: 1rem;
    margin: 10px 0;
}

#logo-footer img {
    width: 100px;
    height: 100px;
    margin: 5px;
}

#social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

#social a {
    margin: 0 10px;
}

#social img {
    width: 50px;
    height: 50px;
}

#more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

#more a {
    margin: 0 10px;
    color: white;
}

#more img {
    width: 30px;
    height: 30px;
}

#more p {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.tel {
    font-size: 1.5rem;
}

#copy {
    font-size: 1rem;
    text-align: center;
    width: 100%;
}


/*Nosotros - pagina*/

#us-decor {
    background-color: #0ad1c3;
    height: 60vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -3;
}

.contenedor-about img {
    width: 60% !important;
    height: fit-content !important;
    object-fit: cover;
    margin-bottom: 40px !important;
}

#about-title {
    font-size: 2rem;
    color: white !important;
    text-align: center;
    margin: 80px 0 60px 0 !important;
    z-index: 5;
}

.about-info p {
    width: 50%;
}

.about-info h3 {
    font-size: 1.5rem;
    text-align: center;
    margin: 40px 0 60px 0;
}

.contenedor-about {
    padding: 0;
}

#valores {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    justify-content: center;
    min-height: 60vh;
    z-index: 5;
    background-color: #f5f5f5;
    width: 50%;
}

#valores p {
    width: 100%;
}

#valores h3 {
    font-size: 2rem;
    text-align: center;
    margin: 40px 0 60px 0;
    background-color: #f5f5f5;
}

#valores p:first-of-type {
    font-size: 1.5rem;
    text-align: center;
    color: white;
    background-color: #e6bc47;
    padding: 30px;
    margin: 0;
    font-weight: 500;
}

#valores p:nth-of-type(2) {
    font-size: 1.3rem;
    text-align: center;
    color: white;
    background-color: #333333;
    padding: 30px 20px;
    margin: 0;
    font-weight: 500;
}

#valores p:last-of-type {
    font-size: 1.3rem;
    text-align: center;
    color: white;
    background-color: #e6bc47;
    padding: 30px 20px;
    margin: 0;
    font-weight: 500;
}

.about-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:  0;
    min-height: 70vh;
    margin: 30px 20px;
    border-radius: 30px;
    width: 50%;
}

.about-info:nth-of-type(3) {
    background-color: #0ad1c3 !important;
    position: sticky;
    top: 0;
}

.about-info:nth-of-type(4) {
    background-color: #e6bc47 !important;
    position: sticky;
    top: 0;
}

.about-info:nth-of-type(5) {
    background-color: #0ad1c3 !important;
    position: sticky;
    top: 0;
}

.about-info:nth-of-type(3), .about-info:nth-of-type(3) p, .about-info:nth-of-type(4), .about-info:nth-of-type(4) p, .about-info:nth-of-type(5), .about-info:nth-of-type(5) p{
    color: white !important;
}

/*galeria*/
#cont-galeria {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 250px 10px;
    justify-content: center;
    min-height: 60vh;
    width: 100%;
}

#cont-galeria h2 {
    font-size: 2rem;
    color: #0ad1c3;
    text-align: center;
    width: 100%;
    margin: 40px 0 160px 0;
}

#galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.galeria-img { 
    width: 35%;
    margin: 27px;
    background-color: #eae5e500;
    box-shadow: #000000a3 5px 5px 17px;
}

.galeria-img img{
    display: block;
    width: 100%;
}

#modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}

#modal img {
max-width: 90%;
max-height: 90%;
}

#modal button {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 2rem;
color: white;
background: none;
border: none;
cursor: pointer;
}

#modal button:nth-of-type(1) {
left: 10px;
}

#modal button:nth-of-type(2) {
right: 10px;
}
}