
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    height: 100%;
    overflow: hidden;
}
.sli-section{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    overflow-x: scroll;
}
.sli-item{    
    padding: 10px;    
}
.sli-borde{
    background-color: rgb(188, 164, 164);
    width: 100%;
    height: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(400%);
    transition: transform 0.4s ease;

    opacity: 0;
}
.sli-borde:nth-of-type(even){
    transform: translateX(-400%);
    opacity: 0;
}
.sli-borde.sli-show{
    transform: translateX(0);
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.sli-container{
    scroll-snap-type: y mandatory;   
    overflow-y: scroll;
    height: 100vh;
}

/* SCROLL BAR */

:root {
	/* scrollbar */
    --scr-bar-hand: hsl(204, 23%, 91%);
    /* color barra */
    --scr-bar-hand-2: hsl(204, 30%, 43%);
    /* color barra hover */
    --scr-bar-backg: transparent;
    /* color fondo */

    --scr-bar-mar-bot: 5px;
    /* margen bottom scroll */    
}

/* width */
::-webkit-scrollbar {
    height: 5px;
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    /*background: #737373;*/
    background: var(--scr-bar-backg);

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--scr-bar-hand);
    border-radius: 10px;
    margin-top: var(--scr-bar-mar-bot);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--scr-bar-hand-2);
}