*{
    font-family: "Barlow", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
#inicio-button, #nosotros-button, #servicios-button, #contacto-button{
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: black;
}
h2{
    font-family: DM Sans, Italic;
    font-size: 30px;
}
h3{
    font-size: 50px;
    align-items: center;
    justify-content: center;
}
.translate-button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: black;
    font-size: 20px;
}
header{
    background-color: #002349;
    max-height: 200px;
    position: relative;
    width: 100%;
    contain: fit-content;
}
main {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fffef9;
}
body{
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}
footer{
    background-color: #002349 !important;
    justify-content: center;
    padding: 20px;
    padding-top: 30px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    color: white;
    line-height: 15px;
    border-bottom: #002349;
}
footer li{
    color: white;
}

.home{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), 
                        url('spare-parts-car.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh !important;
    width: 100vw !important;
    display: flex;
    align-items: flex-end;
    padding: 90px;
    color: white;
    box-sizing: border-box;
}
#presentacion{
    font-size: 36px;
    color: white;
    line-height: 37px;
    font-family: DM Sans, Italic;
    max-width: 700px;
}

.menu{
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background-color: whitesmoke;
    position: absolute;
    top: 10%;
    left: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: width 0.5s ease;
}
.menu:hover{
    width: 290px;
}
.menu:hover #menu-options{
    opacity: 1;
    pointer-events: auto;
}
#logo{
    width: 30%;
    height: auto;
    display: grid;
    align-items: center !important;
    justify-content: center;
    max-width: 200px;
    top: 1%;
}
#logo-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

#language-menu{
  background-color: whitesmoke;
  position: fixed;
  top: 105px;
  left: 4%;
  width: 330px;
  max-width: 90vw;
  height: 210px;
  display: none;
  z-index: 1;
  border-radius: 30px;
  animation: fadeIn 1s ease;
}
#language-options{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 5px;
    padding-left: 50px;
    padding-top: 40px;
    list-style: none;
}
#language-options a{
    color: black;
    text-decoration: none;
}
li{
    font-size: 17px;
    line-height: 50px;
}
#menu-options{
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    list-style: none;
    color: black;
    transition: opacity 0.6s ease;
}
button:hover{
    color: gray;
    cursor: pointer;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}
#foto-container{
    width: 100%;
    height: 500px;
}

#nosotros{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
    padding: 140px;
    font-size: 20px;
    margin-top: 70px;
}

.mision-vision{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
#mision{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
    padding-bottom: 80px;
    margin-bottom: 120px;
}
#vision{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
    padding-top: 100px;
}

#div-calidad{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://i.pinimg.com/736x/3d/bd/1b/3dbd1b456ce9931af366df9b0f84639d.jpg') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-calidad.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-calidad:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-calidad p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-calidad h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}
#div-import{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://i.pinimg.com/736x/c3/02/c8/c302c808d5047dba522974661bcc351b.jpg') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-import.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-import:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-import p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-import h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}
#div-relaciones{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://img.freepik.com/premium-photo/business-people-shaking-hands_973183-48701.jpg') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-relaciones.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-relaciones:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-relaciones p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-relaciones h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}
#div-lider{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://coworkingfy.com/wp-content/uploads/2022/08/lideres-empresariales.jpg') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 445px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-lider.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-lider:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-lider p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-lider h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}
#div-asistencia{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://imgmedia.larepublica.pe/1200x630/larepublica/original/2025/12/21/6948751ba9275c3f2d03e4a3.jpg') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 445px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-asistencia.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-asistencia:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-asistencia p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-asistencia h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}
#div-innovacion{
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
              url('https://cdn.prod.website-files.com/63b042656c21e611f6f8be44/6720a70c50776f3eee5ae814_6395f90578c5b96b82e91b1b_group-diverse-people-having-business-meeting_1_40.webp') no-repeat center center;
    color: white;
    font-size: 20px;
    height: 400px;
    width: 100%;
    max-width: 445px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s ease;
}
#div-innovacion.visible{
    opacity: 1;
    transform: translateY(0);
}
#div-innovacion:not(.visible) {
    opacity: 0;
    transform: translateY(60px);
}
#div-innovacion p{
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}
#div-innovacion h2{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
}

#contacto{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    padding-top: 120px;
    width: 100%;
    margin: 0 auto;
    color: black;
    font-family: DM Sans, Italic;
}
.contacto2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px;
    margin: 0 auto;
    color: white;
}
.contacto2 li{
    color: white;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 5px;
}
.contacto2 h4{
    color: rgb(187, 187, 187);
    font-size: 15px;
    font-weight: 100;
    padding-top: 15px;
    padding-bottom: 20px;
}
#formulario-contacto{
    background-color: #fffef9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 25px;
    height: 480px;
    width: 580px;
    margin: 0 auto;
}
form{
    height: 400px;
    width: 500px;
    gap: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
input{
    height: 15%;
    width: 94%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #bbbbbb;
    border-radius: 30px;
    font-size: 16px;
}
textarea{
    height: 35%;
    width: 94%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #bbbbbb;
    border-radius: 30px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    resize: none;
}
#form-button{
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 80px;
    background-color: #d0d0d0;
    color: black;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid #cdcdcd;
    margin: 30px;
    font: 15px DM Sans, Italic;
}
#form-button:hover{
    color: #a4a4a4;
}
#h2-contactanos{
    font-size: 35px;
    text-align: center;
    justify-content: center;
    top: 10%;
    padding-bottom: 30px;
}
#links{
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 30px;
    width: 400px;
}
.link-item, .link-item2{
    display: flex;
    align-items: center;
    gap: 15px;
}
#subir-button{
    display: flex;
    width: 70px;
    height: 40px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
#subir-button:hover{
    background-color: #a4a4a47a;
    font-size: 35px;
}
hr{
    border: none;
    border-top: 1px solid #bbbbbb;
    margin: 0 auto;
    margin-top: 200px;
    width: 80%;
}
.vertical-line{
    height: 50px;
    width: 1px;
    margin: 0 auto;
    background-color: #bbbbbb;
}
.contacto2 img{
    width: 400px;
    height: 400px;
    max-height: 400px;
    justify-self: end;
}

#servicios{
    background-color: #fffef9;
    padding: 100px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
}
.servicios-texts{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    padding: 40px;
}
.servicios-texts h2{
    font-size: 32px;
    text-align: left;
    justify-content: left;
    padding-bottom: 30px;
    line-height: 30px;
    padding-right: 20px;
}
#info{
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}
.icon-up{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    gap: 15px;
}
.carrousel-wrapper{
    overflow: hidden;
    width: 100%;
}
.carrousel{
    display: grid;
    grid-template-columns: repeat(18, 170px);
    animation: carrousel 15s infinite linear;
    padding-top: 40px;
    position: relative;
    width: calc(170px * 18);
    overflow: hidden;
}
@keyframes carrousel{
    0% {transform: translateX(0);}
    100% {transform: translateX(-50%);}
}
.carrousel div img{
    height: 150px;
    width: 170px;
}


@media (min-width: 769px) and (max-width: 1100px) {
    #nosotros {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 40px;
        margin-top: 40px;
    }
    #mision, #vision {
        grid-template-columns: 1fr 1fr;
        padding: 60px 30px;
        gap: 24px;
        margin-bottom: 60px;
    }
    #div-calidad, #div-import, #div-relaciones,
    #div-lider, #div-asistencia, #div-innovacion {
        max-width: 100%;
    }
    .home {
        padding: 60px 40px;
    }
    #presentacion {
        font-size: 28px;
        line-height: 34px;
    }
    #contacto {
        padding: 80px 40px;
        padding-top: 80px;
    }
    #formulario-contacto {
        width: 90%;
        max-width: 580px;
    }
    form {
        width: 100%;
    }
    #servicios {
        padding: 60px 30px;
    }
    .servicios-texts {
        grid-template-columns: 1fr;
    }
    h3 {
        font-size: 38px;
    }
}

@media(max-width: 768px) {
    #logo-container {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }
    header {
        max-height: 90px;
        height: 90px;
        display: flex;
        padding: 0;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .home {
        height: 100svh;
        min-height: unset;
        max-height: unset;
        padding: 30px 20px;
        align-items: flex-end;
    }
    #presentacion {
        font-size: 22px;
        line-height: 28px;
        max-width: 100%;
    }
    .menu {
        width: 44px;
        height: 44px;
        top: 8px;
        left: 3%;
    }
    .menu:hover {
        width: 44px;
    }
    .menu:hover #menu-options {
        opacity: 0;
        pointer-events: none;
    }
    #menu-options {
        gap: 12px;
    }
    #menu-options .material-symbols-outlined, .translate-button, .material-symbols-outlined {
        font-size: 18px;
    }
    .mision-vision {
        padding-top: 40px;
    }
    #nosotros {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 20px;
        margin-top: 20px;
    }
    #nosotros h2 {
        order: -1;
    }
    h3 {
        font-size: 30px;
    }
    h2 {
        font-size: 20px;
    }
    p {
        font-size: 15px;
    }
    #mision, #vision {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 24px;
        margin-bottom: 40px;
        align-items: center;
    }
    #div-calidad, #div-import, #div-relaciones, #div-lider, #div-asistencia, #div-innovacion {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
    }
    #formulario-contacto {
        width: 100%;
        height: auto;
        padding: 20px 10px;
    }
    form {
        width: 100%;
        height: auto;
    }
    input, textarea {
        width: 100%;
    }
    #links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    #contacto {
        padding: 60px 20px;
        padding-top: 60px;
    }
    .contacto2 {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .contacto2 img {
        display: none;
    }
    .contacto2 li {
        font-size: 11px;
        line-height: 1.4;
    }
    .vertical-line {
        height: 1px;
        width: 50px;
    }
    #servicios {
        padding: 40px 20px;
    }
    .servicios-texts {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .servicios-texts h2 {
        padding-bottom: 10px;
    }
    #logo {
        height: auto;
        max-width: 80px;
        display: block;
    }
    footer {
        padding: 20px 15px;
    }
    .icon-up {
        padding-top: 10px;
    }
    h3 {
        padding-top: 40px;
    }
    .menu.open {
        width: 210px;
    }
    .menu.open #menu-options {
        opacity: 1;
        pointer-events: auto;
    }
    #language-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200px;
        height: 170px;
        left: 3%;
        top: 70px;
    }
    #language-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        height: 100%;
        width: 100%;
        gap: 0;
    }
    #language-options li {
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
}