﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #474e5d;
    padding-top: 50px;
}

.dropbtn {
    background-color: #333;
    color: white;
    font-size: 13px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #01aed9;
}

.table-item {
    vertical-align: middle !important;
    text-align: center !important;
}

/* The message box is shown when the user clicks on the password field */
#message {
    display: none;
    color: #000;
    position: relative;
    padding-left:20px;
    margin-top:-20px;
}

    #message p {
        padding: 0px;
        font-size: 12px;
    }

/* Add a green text color and a checkmark when the requirements are right */
.valid {
    color: green;
}

    .valid:before {
        position: relative;
        left: -35px;
        content: "✔";
    }

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
    color: red;
}

    .invalid:before {
        position: relative;
        left: -35px;
        content: "✖";
    }

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 1% auto 5% auto; /* 1% from the top, 5% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: black;
}

    .close:hover,
    .close:focus {
        color: #f44336;
        cursor: pointer;
    }


.login-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-heading {
    color: green;
}

.login-title {
    font-weight: 400;
    letter-spacing: 1.5px;
}

.login-container {
    height: 600px;
    width: 500px;
    background-color: white;
    box-shadow: 8px 8px 20px #01aed9;
    position: relative;
    overflow: hidden;
}

.btn {
    height: 60px;
    width: 300px;
    margin: 20px auto;
    box-shadow: 10px 10px 30px #01aed9;
    border-radius: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.login,
.signup {
    font-size: 22px;
    border: none;
    outline: none;
    padding:20px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.login-slider {
    height: 60px;
    width: 150px;
    border-radius: 50px;
    background-image: linear-gradient(to right, #01aed9, #01aed9);
    position: absolute;
    top: 20px;
    left: 100px;
    transition: all 0.5s ease-in-out;
}

.loginmoveslider {
    left: 250px;
}

.loginform-section {
    height: 500px;
    width: 1000px;
    padding: 20px 0;
    display: flex;
    position: relative;
    transition: all 0.5s ease-in-out;
    left: 0px;
}

.loginform-section-move {
    left: -500px;
}

.login-box,
.signup-box {
    height: 100%;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 40px;
}

.login-box {
    gap: 50px;
}

.signup-box {
    gap: 30px;
}

.ele {
    height: 60px;
    width: 400px;
    outline: none;
    border: none;
    color: rgb(77, 77, 77);
    background-color: rgb(240, 240, 240);
    border-radius: 50px;
    padding-left: 30px;
    font-size: 18px;
}

.clkbtn {
    height: 60px;
    width: 150px;
    border-radius: 50px;
    background-image: linear-gradient(to right, #01aed9, #01aed9);
    font-size: 22px;
    border: none;
    cursor: pointer;
}

    .clkbtn[disabled] {
        opacity: 0.6 !important;
        cursor: not-allowed;
    }

/* For Responsiveness of the page */

@media screen and (max-width: 650px) {
    .login-container {
        height: 600px;
        width: 300px;
    }

    .login-title {
        font-size: 15px;
    }

    .btn {
        height: 50px;
        width: 200px;
        margin: 20px auto;
    }

    .login,
    .signup {
        font-size: 19px;
    }

    .login-slider {
        height: 50px;
        width: 100px;
        left: 50px;
    }

    .loginmoveslider {
        left: 150px;
    }

    .loginform-section {
        height: 500px;
        width: 600px;
    }

    .loginform-section-move {
        left: -300px;
    }

    .login-box,
    .signup-box {
        height: 100%;
        width: 300px;
    }

    .ele {
        height: 50px;
        width: 250px;
        font-size: 15px;
    }

    .clkbtn {
        height: 50px;
        width: 130px;
        font-size: 19px;
    }
}

@media screen and (max-width: 320px) {
    .login-container {
        height: 600px;
        width: 250px;
    }

    .login-heading {
        font-size: 30px;
    }

    .login-title {
        font-size: 10px;
    }

    .btn {
        height: 50px;
        width: 200px;
        margin: 20px auto;
    }

    .login,
    .signup {
        font-size: 19px;
    }

    .login-slider {
        height: 50px;
        width: 100px;
        left: 27px;
    }

    .loginmoveslider {
        left: 127px;
    }

    .loginform-section {
        height: 500px;
        width: 500px;
    }

    .loginform-section-move {
        left: -250px;
    }

    .login-box,
    .signup-box {
        height: 100%;
        width: 250px;
    }

    .ele {
        height: 50px;
        width: 220px;
        font-size: 15px;
    }

    .clkbtn {
        height: 50px;
        width: 130px;
        font-size: 19px;
    }
}
