:root {
    --primary-color: #fff186;
    --secondary-color: #d9aeff;
    --text-color1: #6affa3;
    --text-color2: #004a1c;
    --text-color3: #2d3331;
    --text-color4: #4a4848;
    --content-width: 500px;
}

* {
    margin: 0;
    padding: 0;
    font-family: "poppins", sans-serif;
}
body {
    font-family: Arial, sans-serif;

    color: var(--text-color3);
    margin: 0;
    padding: 0;
}

.login-section {
    display: flex;
    flex-direction: row;
    height: 100vh;
    background-color: var(--primary-color);
}
.login-section .wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}
.slider-wrapper {
    display: flex;
    align-items: center;
    width: 60%;
    padding: 1rem;
}
.slider {
    display: flex;
    aspect-ratio: 16/9;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.3);
    border-radius: 0.5rem;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out; /* Smooth transitions */
}

@keyframes epicSlide {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    left: 30%;

    transform: translateX(-50%);
    z-index: 1;
}
.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.login-section .wrapper .login-form {
    background-color: #fff;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wrapper .login-form h1 {
    color: var(--text-color2);
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}
/* .wrapper .login-form p {
    color: var(--text-color4);
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
  } */
.input-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 80%;
    height: 45px;
    margin: 15px auto;
    position: relative;
}

.input-group input {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 50px);
    height: 45px;
    border-radius: 25px;
    border: 0.1px solid #f2f2f2;
    background-color: #f2f2f2;
    padding-left: 50px;
    font-size: 17px;
    outline: none;
}
.input-group i {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 1;
    transform: translateY(-50%);
}
.input-group input:focus {
    outline: none;
    border: 1px solid #00cf9188;
    box-shadow: 0 0 5px var(--primary-color);
    animation: shadow-animate 0.5s alternate;
}
.input-group input:focus + i {
    color: #00cf9188;
}

.forget-pwd {
    text-decoration: none;
    color: var(--text-color4);
    width: 80%;
    margin: 5px auto;
    text-align: right;
}

button {
    width: 100px;
    height: 35px;
    border-radius: 40px;
    border: none;
    text-transform: uppercase;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #000;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px auto;
}
button:hover {
    background: linear-gradient(
        45deg,
        var(--secondary-color),
        var(--primary-color)
    );
    color: #fffdfd;
}

@keyframes shadow-animate {
    from {
        box-shadow: 0 0 5px #00cf9188;
    }
    to {
        box-shadow: 0 0 15px #00cf9188;
    }
}

.social-login {
    width: 100%;
    /* margin: 10px auto; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.social-login a {
    text-decoration: none;
}
.fb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 45px;
    position: relative;
    background: #3b5998;
    color: #fff;
}
.gg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 45px;
    position: relative;
    background: #db4437;
    color: #fff;
}
.fb:hover {
    background: #fff;
    color: #3b5998;
}
.gg:hover {
    background: #fff;
    color: #db4437;
}
.fb i {
    padding-left: 0px;
}
.gg i {
    padding-left: 0px;
}

.fb p {
    color: #fff;
    font-size: 12px;
}

.gg p {
    color: #fff;
    font-size: 12px;
}
@media screen and (max-width: 768px) {
    .wrapper .login-form h1 {
        font-size: 30px;
        color: #fff;
        margin: 0 auto;
    }
    .wrapper .login-form p {
        font-size: 12px;
        text-align: center;
        color: #fff;
        margin: 0 auto;
    }
    .wrapper .login-form a {
        font-size: 12px;
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
    }
    .login-section .wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
    }
    .slider-nav {
        display: none;
    }
    .login-section .wrapper .slider-wrapper {
        width: 100%;
        height: 100vh;
    }
    .slider {
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
    }
    .login-section .wrapper .login-form {
        width: 80%;
        height: 70%;
        position: absolute;
        background: transparent;
        border: 1px solid #fff;
        backdrop-filter: blur(10px);
        opacity: 0.9;
        border-radius: 30px;
    }
    .login-form h1 {
        font-size: 25px;
    }
    .login-form p {
        font-size: 14px;
    }
    .input-group {
        width: 90%;
        height: 40px;
        position: relative;
    }
    .input-group input {
        width: calc(100% - 50px);
    }
    .input-group i:before {
        left: 20px;
    }
    .fb p :hover {
        color: #3b5998;
    }
    .gg p :hover {
        color: #db4437;
    }
    .fb i {
        padding-left: 20px;
    }
    .gg i {
        padding-left: 20px;
    }
}
