*{
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin: 0px;
    
  }

header {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #999;
    padding: 1rem;
}

.logo_ambrosini {
    height: 10vh;
    width: auto;
    background-color: #000;
}

li {
    display: inline;
    padding: 1rem;
}

a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
}

main.inicio {
    background: url(img/cozy-studio-apartment-with-bedroom-living-space.jpg) lightgray 50% / cover no-repeat;
    height: 90vh;
}

main.servicios {
    background: url(img/low-angle-shot-facade-white-modern-building-blue-clear-sky.jpg) lightgray 50% / cover no-repeat;
    min-height: 90vh;
}

main.nosotros {
    background: url(img/black-white-exterior-building.jpg) lightgray 50% / cover no-repeat;
    min-height: 90vh;
}

main.contacto {
    background: url(img/close-up-two-buildings-facade.jpg) lightgray 50% / cover no-repeat;
    min-height: 90vh;
}

.inicioContainer {
    display: flex;
    justify-content: center;
    padding: 5rem 2rem;
}

.inicioCard {
    padding: 1rem;
    background-color: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    width: 50%;
    background-color: #cccccc;
    border-radius: 15px;
    border: solid 2px black;
}

.inicioCardContainer {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 1rem;
    background-color: #cccccc;
}

.logoAnios {
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    margin-top: 1rem;
    width: 50%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
  }

.fraseInicio {
    text-align: center;
    font-size: 2rem;
}

.serviciosContainer {
    display: flex;
    justify-content: space-around;
    padding: 5rem 2rem;
}


.serviciosCard {
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    width: 25%;
    background-color: #cccccc;
    border-radius: 15px;
    border: solid 2px black;
}
    
.serviciosCardContainer {
    font-size: 1.5rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 0px 0px 15px 15px;
    padding: 1rem;
  }

.fotosServicios {
    width: 100%;
    border-radius: 15px 15px 0px 0px;
}

.nosotrosContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
}


.nosotrosCard {
    display: flex;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    width: 80%;
    background-color: #cccccc;
    border-radius: 15px;
    border: solid 2px black;
    align-items: center;
    gap: 1rem;
}
    
.nosotrosCardContainerA {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 1rem;
  }

.nosotrosCardContainerB {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size:  1.5rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 1rem;
    background-color: #cccccc;
  }

  .fotosNosotros {
    width: 50%;
    height: 100%;
    border-radius: 15px;
}

.contactoContainer {
    display: flex;
    justify-content: center;
    padding: 5rem 2rem;
}

.contactoCard {
    padding: 1rem;
    background-color: #FFF;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    width: 50%;
    background-color: #cccccc;
    border-radius: 15px;
    border: solid 2px black;
}

.contactoCardContainer {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
    padding: 1rem;
    background-color: #cccccc;
}

.maps {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    width: 80%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
  }

.fraseContacto {
    text-align: center;
    font-size: 1.5rem;
}

footer{
    background-color: #999;
}

.copyright {
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* estilo.css */

/* Modo nocturno */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode header, .dark-mode nav, .dark-mode footer {
    background-color: #1c1c1c;
}

.dark-mode a {
    color: #fff;
}

.dark-mode .inicioCard {
    background-color: #1e1e1e;
}

.dark-mode .inicioCardContainer {
    color: #fff;
    background-color: #444;
}

.dark-mode .serviciosCard{
    color: #fff;
    background-color: #444;
}

.dark-mode .serviciosCardContainer{
    color: #fff;
    background-color: #444;
}

.dark-mode .nosotrosCard{
    color: #fff;
    background-color: #444;
}

.dark-mode .nosotrosCardContainerA{
    color: #fff;
    background-color: #444;
}

.dark-mode .nosotrosCardContainerB{
    color: #fff;
    background-color: #444;
}

.dark-mode .contactoCard{
    color: #fff;
    background-color: #444;
}

.dark-mode .contactoCardContainer{
    color: #fff;
    background-color: #444;
}

.dark-mode-toggle {
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    background: transparent;
}

.dark-mode-toggle i {
    color: #fff;
    font-size: 1.5rem; /* Asegura un tamaño suficiente para que el icono sea visible */
    display: inline-block; /* Asegura que el icono se muestre */
}

/* Botón de modo oscuro */
.dark-mode-toggle {
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
}

.dark-mode-toggle i {
    color: #fff;
}

/* Menu Hamburguesa */

header {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #999;
    padding: 1rem;
    position: relative; /* Asegura que el contenedor tenga una posición de referencia */
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline;
    padding: 1rem;
}

.hamburger-menu {
    display: none;
    border: none;
    background: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

.hamburger-menu i {
    color: #fff;
}


@media only screen and (max-width: 768px) {

    *{
        font-family: "Public Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        margin: 0px;
        
      }

      /* Menu Hamburguesa Mobile*/

      .hamburger-menu {
        display: inline-block;
        margin-right: auto;
    }

    .nav-menu ul {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #333;
        position: absolute;
        top: 100%; /* Ajusta según la altura del header */
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-menu ul.open {
        display: flex;
    }

    li {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    a {
        font-size: 1.5rem;
        color: #fff;
        text-decoration: none;
    }

    .logo_ambrosini {
        height: 8vh;
        width: auto;
    }
    
    header {
        display: flex;
        justify-content: space-evenly;
        background-color: #999;
        padding: 1rem;
    }
    
    .logo_ambrosini {
        height: auto;
        width: 100%;
        background-color: #000;
    }
    
    li {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        align-items: center;
    }
    
    a {
        font-size: 1.5rem;
        color: #fff;
        text-decoration: none;
    }


    
    main.inicio {
        background: url(img/cozy-studio-apartment-with-bedroom-living-space.jpg) lightgray 50% / cover no-repeat;
        height: 50%;
    }
    
    main.servicios {
        background: url(img/low-angle-shot-facade-white-modern-building-blue-clear-sky.jpg) lightgray 50% / cover no-repeat;
        min-height: 50%;
    }
    
    main.nosotros {
        background: url(img/black-white-exterior-building.jpg) lightgray 50% / cover no-repeat;
        min-height: 50%;
    }
    
    main.contacto {
        background: url(img/close-up-two-buildings-facade.jpg) lightgray 50% / cover no-repeat;
        min-height: 50%;
    }
    
    .inicioContainer {
        display: flex;
        justify-content: center;
        padding: 2rem;
    }
    
    .inicioCard {
        padding: 1rem;
        background-color: #FFF;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        width: 100%;
        background-color: #cccccc;
        border-radius: 15px;
        border: solid 2px black;
    }
    
    .inicioCardContainer {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 15px 15px 0px 0px;
        padding: 1rem;
        background-color: #cccccc;
    }
    
    .logoAnios {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
        width:100%;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 5px;
      }
    
    
    .serviciosContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
    }
    
    
    .serviciosCard {
        padding: 2rem;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        width: 75%;
        background-color: #cccccc;
        border-radius: 15px;
        border: solid 2px black;
    }
        
    .serviciosCardContainer {
        font-size: 1rem;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 15px;
        padding: 1rem;
      }

      .fotosServicios {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        width: 100%;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 5px;
    }
    
    .nosotrosContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
    }
    
    
    .nosotrosCard {
        display: flex;
        align-items: center;
        padding: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        width: 80%;
        background-color: #cccccc;
        border-radius: 15px;
        border: solid 2px black;
        justify-content: center;
        flex-direction: column;
        margin: 0;
    }
        
    .nosotrosCardContainerA {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        font-size: 1rem;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 15px 0px 0px 15px;
        padding: 1rem;
      }
    
    .nosotrosCardContainerB {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        font-size: 1rem;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 0px 15px 15px 0px;
        padding: 1rem;
        background-color: #cccccc;
      }

      .fotosNosotros {
        height: 100%;
        width: 100%;
    }
    
    .contactoContainer {
        display: flex;
        justify-content: center;
        padding: 3rem 0rem;
    }
    
    .contactoCard {
        padding: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        width: 75%;
        background-color: #cccccc;
        border-radius: 15px;
        border: solid 2px black;
    }
    
    .contactoCardContainer {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
        border-radius: 15px 15px 0px 0px;
        padding: 1rem;
        background-color: #cccccc;
    }
    
    .maps {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
      }
    
    .fraseContacto {
        text-align: center;
        font-size: 1rem;
    }
    

    footer{
        background-color: #999;
    }
    
    .copyright {
        color: #fff;
        display: flex;
        justify-content: center;
        padding: 2rem;
    }

}