html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin-bottom: 0;
    padding-bottom: 0;
    /*padding: 0;*/
}

nav {
    height: 15%;
    position: fixed;
    width: 100%;
    z-index: 10;
    border-bottom-style: solid;
    border-bottom-color : dimgray;
    border-width: 1px;
    left: 0;
    right: 0;
    top: 0;
    padding: 0;
    background-color: white/*rgba(246, 167, 0)*/;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo {
    float: left;
    width: 50%;
    padding-left: 3%;
}

nav .logo .a {
    float: left;
}

.imgLogo {
    height: 10vh;
    width: auto;

}

nav .list {
    float: left;
    padding: 0 3.5% 0 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

nav .list li {
    list-style: none;
}

nav .list a {
    display: block;
    padding: 15px 25px;
    justify-items: left;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 10px;
    color: dimgray;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
    position: relative; /*agregado recien*/
    transition: color 0.3s ease;/*agregado recien*/
}

nav .list a::after /*agregado recien*/{
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: dimgray;
    transition: width 0.3s ease;
}

nav .list a:hover::after /*agregado recien*/{
    width: 100%;
}

#toogle {
    position: absolute;
    top: -80px;
}

nav .icon-bars {
    display: none;
    position: absolute;
    right: 5%;
    top: 25%;
    transform: translate(-50%);
}

nav .icon-bars .line {
    width: 30px;
    height: 5px;
    background-color: rgba(105, 105, 105);
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}

@media screen and (max-width: 1024px) {
    
    nav.nav-bar {
        display: flex;
        align-items: center;
        width: auto;
    }
    
    nav .logo {
        float: none;
        padding-left: 5%;
        padding-top: 0;
        width: auto;
    }

    nav .logo .a {
        float: left;
    }

    nav .logo .imgLogo {
        width: 28vb;
        height: auto;
    }

    nav .list{
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        align-items: first baseline;
        justify-content: space-evenly;
        overflow: hidden;
        transition: all .5s ease-in-out;
        background-color: rgba(105, 105, 105, 0.8);
    }

    nav .list a {
        font-size: 1rem;
        color: white;
    }

    nav :checked ~ .list {
        bottom: 0;
    }
    
    nav .icon-bars {
        display: block;
        padding-top: 2%;
        right: 0;
    }

    .aNos:hover {
        color: white;
        background-color: darkgray;
        border-radius: 2px;
        }
    
    .aOs:hover {
        color: white;
        background-color: darkgray;
        border-radius: 2px;
    }
    
    .aIlSol:hover {
        color: white;
        background-color: darkgray;
        border-radius: 2px;
    }
    
    .aCont:hover {
        color: white;
        background-color: darkgray;
        border-radius: 2px;
    }

}

.aNos:hover {
    color: white;
    background-color: darkgray;
    border-radius: 5px;
    }

.aOs:hover {
    color: white;
    background-color: darkgray;
    border-radius: 5px;
}

.aIlSol:hover {
    color: white;
    background-color: darkgray;
    border-radius: 5px;
}

.aCont:hover {
    color: white;
    background-color: darkgray;
    border-radius: 5px;
}

.inicio {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: start;
    background-image: url("Img-V1/Calle\ Eva\ Duarte_4 v1.jpg")/*("Img-V1/Portada\ -\ TAM.jpg")*/;
    height: 100vh;
    width: auto;
    background-size: 10vh;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    /*box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);*/
    animation: zoomBackground 5s infinite alternate;
}

/*Codigo para zoom sobre una sola imagen*/

@keyframes zoomBackground {
    0%, 30% {
        background-size: 110%;
    }

    /*25%, 50% {
        background-size: 115%;
    }*/

    30%, 75% {
        background-size: 110%;
    }
    
    75%, 100% {
        background-size: 85%;
    }
}

.titSub {
    margin-top: 15%;
    margin-left: 15%;
    width: 30%;
    border-radius: 5px;
    color:#f0e6e6;
    background-color: rgba(158, 157, 157, 0.5);
    padding: 4% 3.5%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1); 
}

.subtitulo {
    color:#f0e6e6fa;
    line-height: 2rem;
    font-size: 1.7rem;
    /*font-weight: ;*/
    text-shadow: 0.4px 0.4px rgb(105, 105, 105);
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
    
}

/*.titulo,#subtitulo {
    height: 15%;
}*/

.nosotros {
    height: 100%;
    margin: 1%;
    padding: 3%;
    /*background-image: url("Img/Calle Eva Duarte_4.jpg");
    background-size: cover;
    background-position: center;*/
    background-color: white;
    /*border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    
}

.nosUno {
    margin: 5% 0 5% 0;
    padding: 0;
    color: dimgrey;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.carrNos {
    /*background-image: url("Img/img\ torre\ seyco\ I.avif");*/
    width: 60%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.carrNos img {
    height: auto;
    width: auto;
    object-position: center;
    object-fit: contain;
    /*border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5)*/
}

.texNosUno {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70vh;
    justify-content: center;
    text-align: justify;
    align-items: center;
    padding-top: 1%;
    margin: 0;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
    line-height: 2rem;
}

.texNosUno h2 {
    font-size: 1.6rem;
    padding: 1% 0 3% 0;
    margin: 0;
    text-align: center;
}

.texNosUno p {
    font-size: 1rem;
    padding: 0.5% 4%;
    margin: 0;
    text-align: justify;
    line-height: 2rem;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
}

.hitos {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 4% 0;
  width: 70%;
  
}

.contHitos {
    flex: 1 1 0;
    min-width: 0;
    background-color: #949393; 
    /*background: #0b1a33;*/
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
    transition: background-color 0.4s ease ;
}

.contHitos:hover {
    background-color: #0b1a33;
}

.contHitos h2 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    line-height: 1.2;
    
}

.contHitos p {
    margin: 2px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.nosDos {
    margin: 0;
    padding: 4% 0 4% 3%;
    color: dimgrey;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100vh;
    font-size: 1rem;
}

.carrNosDos {
    width: 30%;
    height: 40vh;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.carrNosDos-inter {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
    height: 100%;
}

.carrNosDos-inter img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    padding: 0 5px; 
    box-sizing: border-box;
}

.texNosDos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: justify;
    padding: 5% 5% 5% 2%;
    margin: 0;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
}

.texNosDos h2 {
    font-size: 1.3rem;
    padding: 0.5% 0 0 0;
    margin: 0;
    text-align: center;
}

.texNosDos ul {
    padding: 0.5% 2% 0 2%;
    margin: 0;
    text-align: justify;
    /*text-shadow: 0.5px 0.5px rgb(199, 198, 198);*/
}

.texNosDos li {
    font-size: 1rem;
    padding: 0;
    margin: 0;
    text-align: justify;
    justify-items: left;
    list-style: none;
    line-height: 1.5rem;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
}

.texNosDos li p {
    font-size: 1rem;
    padding: 0 0 1% 0;
    margin: 0;
    text-align: justify;
    line-height: 1.5rem;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
}

.texNosDos a {
    text-decoration: none;
    color: dimgray;
}

.ilumSolar {
    height: 100vh;
    margin-top: 1%;
    padding-top: 2%;
    /*background-image: url("Img/Calle Eva Duarte_4.jpg");
    background-size: cover;
    background-position: center;*/
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    /*box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contIlSol{
    margin: 0;
    padding: 0;
    color: dimgrey;
    /*text-shadow: 1px 1px 2px rgba(0, 0green, 0blue, 0.5);*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    height: 70%;
}

.textIlSol {
    width: 100%;
    height: 100%;
    right: 0;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1% 5% 0 0;
    /*padding: 1.3%;*/
    margin: 1% 0 1% 0;
    text-shadow: 0.5px 0.5px rgb(199, 198, 198);
}

.textIlSol h2 {
    font-size: 1.6rem;
    padding: 0.5%;
    margin: 0.5%;
    text-align: justify;
}

.textIlSol p {
    font-size: 1rem;
    padding: 0.5%;
    margin: 0.5%;
    text-align: justify;
    line-height: 2rem;
}

.logoIlSol {
    margin: 2% 0.5% 0.5% 0.5%;
    padding: 0.5%;
    background-image: url('Img-V1/Logo\ Fonroche.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 57%;
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoIlSol a {
    width: 37%;
    height: 100%;
}

.imgIlSol {
    width: 85%;
    height: 60vh;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    border-radius: 5px;
    /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);*/
}

.carrImgIlSol {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
    height: 100%;
}

.carrImgIlSol img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    padding: 0 5px; 
    box-sizing: border-box;    
}

.clientes {
    height: 100vh;
    margin-bottom: 0;
    padding: 8% 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.clientes h3 {
    text-align: center;
    padding: 3% 0 3% 0;
    margin: 0;
}

.contClientes{
    margin: 0;
    padding: 0;
    color: dimgrey;
    border-radius: 10px;
    width: 80%;
    height: 100%;
}

.logos {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    row-gap: 0;             
    align-items: center;
    justify-items: center;
    padding: 0;
    /*aspect-ratio: 1 / 1;*/
}

.logos img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: transform 0.4s ease, filter 0.3s ease;
}

.logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.2);
}

.piePag {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4%;
    z-index: 9;
    background-color: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-top: solid 1px dimgray;
    transition: transform 0.4s ease;    
}

.piePag.oculto {
    transform: translateY(100%);
}

.piePag h2 {
    width: 50%;
    color: dimgray;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    text-align: justify;
    align-items: center;
    padding: 0;
    margin: 0.5%;
}

.contacto {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 3% 0 0 0;
    background-color: dimgray;
    color: white;
    height: auto;
    width: 100%;

}

.contacto h2 {
    text-align: center;
    margin-bottom: 2%;
    font-size: 1.4rem;
}

.formCont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    min-height: 70vh;
}

.contForm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
}

label {
    margin-bottom: 5px;
    grid-column: span 2;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    height: 50%;
    padding: 8px;
    box-sizing: border-box;
}

.contMens {
    display: flex;
    flex-direction: column;
    padding-top: 1%;
}

.enviar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1% 0;
    padding: 1% 0;
}

button {
    color: dimgrey;
    background-color: azure;
    font-weight: bolder;
    width: 150px;
    height: 45px;
    border-radius: 5px;
    border-color: white;
}

button:hover {
    color: blue;
}

.sacchia{
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-top: solid 1px dimgray;
    color: dimgrey;

}

.textSacchia {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
    padding: 1% 2% 1% 2.5%;
    text-align: justify;
}

.titSacchia {
    margin: 0;
    padding: 0.5% 0;
    letter-spacing: 0.1rem;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
}

.aTel {
    padding: 0.5% 0 0 0;
    font-size: 0.8rem;
    color: dimgray;
    text-decoration: none;
    letter-spacing: 0.15rem;
}

.titSacchia a {
    padding: 0.5% 0 0 0;
    font-size: 0.8rem;
    color: dimgray;
    text-decoration: none;
    text-align: justify;
}

.subtitSacchia {
    margin: 0;
    padding: 0.5% 0;
    text-align: left;
    letter-spacing: 0.1rem;
    font-size: 0.8rem;
}

.pieSeyco {
    display: flex;
    justify-items: center;
    align-items: center;
    text-align: center;
    padding: 1% 2.5%;
}

.linkSeyco {
    text-decoration: none;
    color: dimgray;
    text-align: center;
}

#titLogoPie {
    text-align: center;
    margin: 0;
    letter-spacing: 0.1rem;
}

.subtitLogoPie {
    text-align: center;
    margin: 0 0 10% 0;
    letter-spacing: 0.1rem;
}

@media screen and (max-width: 1024px) {

    .inicio {
        height: 98vh;
        background-color: dimgray;
        animation: zoomBackground 0s infinite alternate;
        margin: 0/*2%*/;
        justify-content: center;
        background-image: url("Img-V1/34\ CARRUSEL\ -\ TAM.jpg");
        background-size: cover;
    }

    .titSub {
        margin: 0;
        padding: 0% 1% 0% 5%;
        width: auto;
        height: 45vh;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: start;
    }
    
    .subtitulo {
        height: auto;
        letter-spacing: 0.2rem;
        font-size: 1.4rem;
        padding: 1.5% 5%;
        text-align: left;
        color: rgb(250, 250, 250);
    }
     
    .nosotros {
        width: auto;
        height: auto;
        margin-top: 1%;
        padding-bottom: 2%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nosUno {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        align-items: center;
        padding-top: 35%;
    }

    .texNosUno {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 2% 0;
        margin: 0;
    }
    
    .texNosUno h2 {
        width: 100%;
        font-size: 1.2rem;
        margin: 0;
        padding: 3% 0 0 0;
        text-align: center;
    }
    
    .texNosUno p {
        line-height: 2em;
        font-size: 0.9rem;
        margin: 0;
        padding: 5% 0;
        text-align: justify;
    }

    .hitos {
        flex-wrap: wrap;
    }

    .contHitos {
        flex: 1 1 100px;
    }

    .contHitos h2 {
        padding-bottom: 1.5%;
        font-weight: lighter;
        font-size: 1.3rem;
    }

    .contHitos p {
        text-align: center;
        font-weight: lighter;
        font-size: 0.8rem; 
    }

    .carrNos {
        height: auto;
        width: auto;
        padding: 0;
        justify-content: center;
    }

    .carrNos Img {
        height: auto;
        width: 85%;
    }

    .nosDos {
        height: auto;
        width: auto;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        padding: 6rem 3% 0 3%;
    }

    .texNosDos {
        /*width: 95%;
        height: auto;*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: justify;
        margin: 0;
        padding: 0.5%;
    }

    .texNosDos h2 {
        width: 100%;
        font-size: 1.2rem;
        margin: 0;
        padding: 5rem 0 2% 0;
        text-align: center;
    }
    
    .texNosDos ul {
        margin: 0;
        text-align: justify;
    }

    .texNosDos li {
        line-height: 1.5em;
        margin: 0;
        padding: 5% 0;
        text-align: justify;
        font-size: 0.9rem;
    }

    .texNosDos li p {
        padding: 0;
        font-size: 0.9rem;
    }

    .texNosDos p {
        margin: 0;
        text-align: justify;
        font-size: 0.9rem;
    }

    .carrNosDos {
        width: 90%;
    }

    .carrNosDos-inter img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .ilumSolar {
        height: auto;
        margin-top: 10%;
        padding: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .contIlSol{
        margin: 35% 0 0 0;
        padding: 0;
        color: dimgrey;
        /*text-shadow: 1px 1px 2px rgba(0, 0green, 0blue, 0.5);*/
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 80%;
    }
    
    .textIlSol {
        width: 90%;
        height: 100%;
        right: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 1% 2%;
        margin: 1% 0 1% 0;
        text-shadow: 1px 1px rgb(199, 198, 198);
    }
    
    .textIlSol h2 {
        font-size: 1.2rem;
        padding: 5% 0.5%;
        margin: 1% 0.5%;
        text-align: center;
    }
    
    .textIlSol p {
        width: 100%;
        font-size: 0.9rem;
        padding: 5% 0.5% 0 0.5%;
        margin: 0.5%;
        text-align: justify;
    }
    
    .logoIlSol {
        width: 20vw;
        height: 10vh;
        padding: 1% 1%;
        margin: 5% 0.5% 10% 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logoIlSol a {
        width: 100%;
        height: 60%;
    }
    
    .imgIlSol {
        width: 90%;
    }
    
    .carrImgIlSol img {
        object-fit: contain;
        height: 100%;
        width: 100%;
    }

    .clientes {
        /*height: 100vh;*/
        padding: 10rem 0 5% 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .clientes h1 {
        text-align: center;
        padding: 10rem 0 10% 0;
        font-size: 1.2rem;
    }

    .contClientes{
        margin: 0;
        padding: 0;
        color: dimgrey;
        border-radius: 10px;
        width: 90%;
        height: 100%;
    }

    .logos {
        height: 50%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(28%, 1fr));
        row-gap: 2%;             
        align-items: center;
        justify-items: center;
        padding: 3% 0;
    }

    .logos img {
        width: 55%;
        height: 55%;
        object-fit: contain;
    }

    /*.logos img:hover {
        filter: grayscale(0%); 
    }*/

    .contacto {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: space-between;
        align-items: center;
        padding: 15% 0 0 0;
        height: 80vh;
        width: auto;
    }

    .contacto h2 {
        font-size: 1.2rem;
        padding-bottom: 3%;
    }

    .label {
        font-size: 0.9rem;
    }

    /*.piePag {
        justify-content: space-around;
        bottom: 0;
        padding: 0;
        margin: 10% 0;
    }*/

    .piePag h2 {
        width: auto;
        padding: 1% 1% 1% 0;
        font-size: 0.8rem;    
    }

    .pieCont {
        /*justify-content: end;*/
        width: 100%;
    }

    .titSacchia {
        padding: 0;
        font-size: 0.5rem;
    }

    .aTel {
        font-size: 0.5rem;
        padding: 0;
        letter-spacing: 0.11rem;
    }

    .titSacchia a {
        font-size: 0.5rem;
        padding: 0;
    }

    .subtitSacchia {
        font-size: 0.5rem;
       
    }

    .linkSeyco {
        width: auto;
        height: auto;
    }

    .linkSeyco img {
        width: 40vw;
        height: auto;
    }

    .titLogoPie {
        font-size: 0.6rem;
        text-align: right;
    }

    .subtitLogoPie {
        font-size: 0.6rem;
        text-align: right;
        margin: 0 0 3% 0;
    }

}