@import url(base.css);

html,
body{
    height:100%;
    overflow:hidden;
}

.container{
    height:100vh;
}

/* ==========================
   LEFT COLUMN
========================== */

.left{
    overflow-y:auto;
    padding:20px;
    padding-top: 10%;
    scrollbar-width: none;
}

.left::-webkit-scrollbar{
    display:none;
}

/* ==========================
   RIGHT COLUMN
========================== */

.right{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    padding:20px;
}

/* ==========================
   SLIDER
========================== */

.slider{
    width:90%;
    text-align:center;
}

.slides{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
}

.slides::-webkit-scrollbar{
    display:none;
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: rgb(255, 50, 80);
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}

.slides img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider>a {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
    cursor: url("point.svg"), auto;

}

.slider>a:active {
    top: 1px;
    background: rgb(255, 50, 80);
}

/* ==========================
   NAV DOTS
========================== */

.nav-link{
    width:1rem;
    height:1rem;
    border:none;
    border-radius:50%;
    background:var(--primary-color);
    margin:.25rem;
    cursor:pointer;
}

.nav-link.active{
    background:var(--secondary-color);
}

/* ==========================
   BACK LINK
========================== */

#back{
    margin-top:2rem;
}

.link {
    text-decoration: underline;
    color: blue;
}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    html,
    body{
        height:auto;
        overflow:auto;
    }

    .container{
        height:auto;
    }

    .left,
    .right{
        overflow:visible;
    }

}