@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

h1 {
    font-size: 48px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
}

h2 {
    font-size: 48px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-size: 1.5em;
    font-weight: bold;
}

p {
    color: #bebebe;
    font-family: "Inter", sans-serif;
}

section {
    padding: 20px;
    margin: 0;
    width: 100%;
}

.seccion-clara {
    background-color: #2b2b2b;
    color: #fff;
}

.seccion-oscura {
    background-color: #222222;
    color: #fff;
}

.seccion-cliente {
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    padding: 24px;
    background-color: #bebebe;
    color: #000000;
}

.seccion1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: normal;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    min-height: 600px;
}

.seccion1-div1 {
    gap: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: normal;
    justify-content: normal;
    align-items: normal;
    text-align: left;
}

.logo {
    display: flex;
    justify-content: center;
}

.icon-img {
    width: 120px;
}

.botones1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: normal;
    justify-content: normal;
    align-items: center;
    gap: 16px;
}

.boton1 {
    background-color: #38b6ff;
    color: #fff;
    border: none;
    padding: .5rem 1.3rem;
    border-radius: 16px;
    cursor: pointer;
}

.boton1:hover {
    background-color: #5dbcf3;
}

.boton2 {
    border-radius: 16px;
    color: #bebebe;
    text-wrap: nowrap;
    background-color: transparent;
    border: 2px solid #bebebe;
    padding: .5rem 1.3rem;
    outline: none;
    cursor: pointer;
}

.boton2:hover {
    background-color: #bebebe;
    color: #000000;
}

.seccion1-div2 {
    display: flex;

}

.imageContainer {
    width: 512px;
    height: 360px;
    perspective: 1000px;
    position: relative;
    z-index: 1;
    padding: 25px;
}

.imagen1 {
    width: 100%;
    height: 100%;
    transform: rotateY(-10deg) rotateX(30deg) rotateZ(5deg);
    box-shadow: 0px 0px 100px black;
    transition-duration: 1s;
    opacity: .5;
}

.imagen1:hover {
    transform: rotateX(-10deg) rotateY(30deg) rotateZ(-5deg);
    opacity: 1;
}

.seccion2 {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 48px;
}

.ul2 {
    gap: 8px;
    max-width: 1440px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.seccion3 {
    gap: 8px;
    width: 100%;
    display: flex;
    text-align: center;
    padding: 48px;
    padding-left: 24px;
    padding-right: 24px;
    flex-direction: column;
}

.ul3 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lista1 {
    gap: 4px;
    display: flex;
    align-items: center;
}

.articulo1 {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    background: #1e1e1ead;
}

.span1 {
    width: 100%;
    display: flex;
    margin-top: 4px;
}

.seccion4 {
    width: 100%;
    padding-bottom: 48px;
    display: flex;
    justify-content: center;
}

.seccion4-div1 {
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    display: flex;
    text-align: center;
    flex-direction: column;
    padding-bottom: 20px;
}

.ul4 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.articulo2 {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background: #bebebe;
}

::-webkit-scrollbar {
    width: 7px;
    height: 100%;
    z-index: 9999999;
    position: absolute;
    background-color: #110f14;
}

::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background-color: #1d1d1d;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #1e1e31;
    ;
}

body {
    /* max-width: 1920px; */
    background-color: #2b2b2b;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    /* background-color: aqua; */
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.max-width {
    max-width: 1440px;
    width: 100%;
}

@media (max-width: 1170px) {
    .seccion1 {
        flex-direction: column; /* Cambia a columna */
        justify-content: center; /* Centra verticalmente */
        align-items: center; /* Centra horizontalmente */
        gap: 20px; /* Aumenta el espacio entre elementos */
        padding-top: 50px; /* Añade padding para mejor espaciado */
        min-height: auto; /* Opcional: ajusta la altura */
    }

    .imageContainer {
        width: 430px;
        height: 302px;
        perspective: 1000px;
        position: relative;
        z-index: 1;
        padding: 25px;
    }
    
}

/* Ojo que cambié los vh por % para intentar arreglar la vista cuando se agranda la pantalla */