﻿/* parent page */
.auth-page {
    display: flex;
    height: 90vh;
    overflow: hidden;
}

/* left section*/
.section-left {
    position: relative;
    min-width: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    height: 100%;
    overflow-y: auto;
}

    .section-left .inner-section {
        min-width: 300px;
        max-width: 500px;
    }

    .section-left .form-group {
        margin-bottom: 20px;
    }

/* right section  */
.section-right {
    flex: 1;
    height: 100%;
    width: 100%;
}

    .section-right .slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    animation: fadeSlider 12s infinite;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position:relative;
}
    .slide-overlay::after {
        content: '';
        position:absolute;
        top:0;
        background-color: rgba(0, 0, 0, 0.4);
        inset:0;
        
    }
.slide .slide-text {
    color: white;
    position:absolute;
    top:67%;
    left:17%;
    font-size:3.5rem;
    z-index:100;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 4s;
}

.slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fadeSlider {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*Responsive design*/
@media (max-width: 768px) {
    .auth-page {
        height: auto;
        min-height: 90vh;
        overflow: visible;
    }

    .section-left {
        width: 100%;
        min-width: unset;
        padding: 2rem 1.5rem;
        height: auto;
        overflow-y: visible;
    }

    .section-right {
        display: none;
    }
}
@media (max-width: 480px) {
    .section-left {
        padding: 1.5rem 1rem;
    }

        .section-left .inner-section {
            max-width: 100%;
        }
}
