/* Animación de aparición */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.77,0,0.18,1), transform 0.8s cubic-bezier(0.77,0,0.18,1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    overflow-x: hidden;
    min-height: 100vh;
    height: 100%;
}

body {
    min-height: 100vh;
    height: 100%;
    margin: 0;
    background: #8300bf;
    background: linear-gradient(180deg, rgb(224, 56, 0) 50%, rgba(255, 149, 0, 1) 100%);
    background-attachment: fixed;
}

.espacio {
    height: 10vh;
}

.triangulos {
    position: absolute;
    top: -20vh;
    left: -10vw;
}
.codigo {
    position: absolute;
    top: 80vh;
    right: 5vw;
    width: 20vw;
    height: auto;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.77,0,0.18,1);
}
.codigo.hide {
    opacity: 0;
}

.titulo-container {
    position: relative;
    top: 10vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.titulo {
    font-family: 'Bobby Jones', sans-serif;
    letter-spacing: -0.03em;
    position: relative;
    font-size: 15vw;
    color: #ffffff;
    text-align: center;
}
.logo {
    position: relative;
    width: 20vw;
    height: auto;
}
.header {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cuadrado {
    position: absolute;
    top: 80vh;
    left: -10vw;
    width: 50vw;
    height: 20vw;
    background-color: #ff7f07;
    transform: rotate(26deg);
}
.cuadrado.dos {
    top: 80vh;
    left: -10vw;
    width: 50vw;
    height: 20vw;
    background-color: #ffac3f;
    z-index: -2;
    transform: rotate(26deg);
}
.cuadrado.uno {
    top: 90vh;
    left: -10vw;
    width: 50vw;
    height: 20vw;
    transform: rotate(26deg);
    z-index: -1;
}

.cuadrado.uno.scrolled, .cuadrado.dos.scrolled {
    left: -60vw;
    top: 120vh;
}

.cuadrado.tres {
    top: -20vh;
    right: -10vw;
    left: auto;
    width: 50vw;
    height: 20vw;
    background-color: #f38a00;
    z-index: -1;
    transform: scaleX(-1) scaleY(-1) rotate(26deg);
}

.cuadrado.cuatro {
    top: -15vh;
    right: -10vw;
    left: auto;
    width: 60vw;
    height: 20vw;
    background-color: #ff9e44;
    z-index: -2;
    transform: scaleX(-1) scaleY(-1) rotate(26deg);
}


.artista-container {
    position: relative;
    width: 100%;
    height: 120vh;
    display: flow-root;
    overflow: hidden;
}
.artista {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-left: 6vw;
    font-size: 14vw;
    color: #ffffff;
    margin-bottom: -10vh;
}

.texto {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-left: 6vw;
    font-size: 2vw;
    color: #ffffff;
    width: 60vw;
}

.puntos {
    position: absolute;
    top: 20vh;
    left: 0;
    width: 40vw;
    height: auto;
}

.instagram-container {
    position: relative;
    padding: 0;
    left: 6vw;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.instagram {
    margin-left: 1vw;
}

.logo-instagram {
    position: relative;
    width: 5vw;
    height: auto;
}

.imagenuno {
    position: absolute;
    top: 20vh;
    right: 0;
    width: 30vw;
    height: 110vh;
    background-image: url('img/DibujoSaul1.jpg');
    background-size: 100vw 110vh;
    background-position: right -25vw top 0;
    background-repeat: no-repeat;
    overflow: hidden;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.imagendos {
    position: absolute;
    bottom: -10vh;
    left: 0;
    width: 80vw;
    height: 40vh;
    background-image: url('img/ImagenSaul2.jpg');
    background-position: top -56vh left -20vw;
    z-index: -1;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);

}

.twitch-container {
    position: relative;
    top: -5vh;
    padding: 0;
    left: 5vw;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.streamer {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    position: relative;
    font-size: 15vw;
}
.twitch {
    width: 15vw;
    margin-right: 1vw;
    font-size: 5vw
}
.texto-twitch {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    top: -40vh;
    position: relative;
    font-size: 1.5vw;
    width: 35vw;
}
.twitch-header {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Esto lo lleva a la derecha */
    flex-direction: row!important;
}
.imagentres {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60vw;
    height: 60vh;
    background-image: url('img/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.cuadros-twitch1 {
    top:110vh !important;
}
.cuadros-twitch2 {
    top:100vh !important;
}

.instagram-container2{
    position: relative;
    padding: 0;
    top: -40vh!important;
    left: 18vw;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}
.texto-slider {
    position: absolute;
    right: 1vw;
    width: 100%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 3vw;
    z-index: 2;
}

@media screen and (max-width: 600px) {
    html {
        overflow-x: hidden;
        min-height: 100vh;
        height: 100%;
    }
    .espacio {
        display: none;
    }
    header {
        position: relative;
        z-index: 2;
        overflow: hidden;
        height: 100vh;
    }
    .logo {
        width: 80vw!important;
        margin: -5vw!important;
        margin-top: -8vh!important;
    }
    .titulo-container {
        flex-direction: column;
    }
    .titulo {
        font-size: 25vw;
        margin: -5vh 0 0;
    }
    .triangulos {
        width: 50vw;
        top: -10vh;
        left: -5vw;
    }
    .artista-container {
        height: 90vh;
    }
    
    .codigo {
        width: 80vw;
        bottom: 1vh!important;
        right: 10vw;
    }
    .logo {
        width: 70vw;
        margin-top: 1vh;
        margin-bottom: 4vh;
    }
    .codigo {
        width: 40vw;
        right: 10vw;
    }
    .artista {
        font-size: 20vw;
        margin-bottom: -5vh;
    }
    .puntos {
        width: 80vw;
        top : 0vh;
        height: auto;
    }
    .texto {
        font-size: 4vw;
        width: 90vw;
    }
    .puntos {
        width: 60vw;
    }
    .imagenuno {
        bottom: 0!important;
        width: 60vw;
        top: initial;
        height: 40vh !important;
        background-size: 140vw;
    }
    .imagendos {
        width: 100vw;
        height: 50vh;
        background-size: 80vw;
        background-repeat: no-repeat;
        background-position: top 10vh left -20vw;
    }
    .twitch-container {
        top: 0vh;
        left: 0;
        flex-direction: column;
        align-items: center;
    }

    .texto-twitch {
        font-size: 3vw;
        width: 80vw;
        top: -15vh;
    }
    .texto.instagram.twitch {
        width: 20vw;
        margin-right: 0;
    }
    .twitch-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100vw;
        flex-direction: row!important;
    }
    .streamer {
        font-size: 18vw;
        top: -10vh;
    }
    .instagram-container2 {
        top: -18vh!important;
        left: 48vw;
    }
    .imagentres {
        width: 100vw;
        height: 50vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        bottom: -10vh;
        right: 0;
    }
    .slider {
        margin-bottom: 0vh!important;
        width: 30vw;
        height: 40vh;
    }
    .slide-track {
        width: calc(200px * 14);
        margin: 15vh;
        height: 10vh!important;
    }
    .slide {
        width: 200px!important;
        transform-style: preserve-3d;
    }
    .texto-slider {
        display: none;
        position: absolute;
        top: 0vh;
        width: 100%;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        color: #ffffff;
        font-size: 15vw;
        z-index: 2;
    }
}


@font-face {
    font-family: 'Overway';
    src: url('fonts/Overway.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bobby Jones';
    src: url('fonts/bobby-jones.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
}



.slider {
  position: relative;
  width: 100vw;
  margin-bottom: -20vh;
  overflow: hidden;
  perspective: 1000px; /* Añade perspectiva para el efecto 3D */
}

.slide-track {
  display: flex;
  width: calc(350px * 14);
  height: 80vh;
}

.slide {
  width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}


