/* First page css of register volunteer, community and admin */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration:none;
}

nav img {
    width: 30px;
}

.btnRegister a {
    text-decoration: none;
    color: white;
}

.btnlogin a {
    text-decoration: none;
    color: black;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

body {
    /* background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%); */
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    /* background-attachment: fixed;
    overflow: hidden; */
    background-image: url("img/bg_image.jpg");
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: rgba(39, 39, 39, 0.4);
}

.nav {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background: linear-gradient(rgba(39, 39, 39, 0.6), transparent);
    z-index: 100;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    list-style-type: none;
}

/* CSS for mobile devices (up to 768px) */
@media screen and (max-width: 768px) {
    .mobile-only {
        display: block;
        /* Show the elements on mobile devices */
    }
}

/* CSS for desktop and laptop devices (above 768px) */
@media screen and (min-width: 769px) {
    .mobile-only {
        display: none;
        /* Hide the elements on larger screens */
    }
}

.nav-menu ul li .link {
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    padding-bottom: 15px;
    margin: 0 25px;
}


.link:hover,
.active {
    border-bottom: 2px solid #fff;
}

.nav-button .btn {
    width: 130px;
    height: 40px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}

.btn:hover {
    background: greenyellow;
}

#registerBtn {
    margin-left: 15px;
    margin-right: 15px;
}

.btn.white-btn {
    color: black;
    background: rgba(255, 255, 255, 0.7);
}

.btn.btn.white-btn:hover {
    background: greenyellow;
}

.nav-menu-btn {
    display: none;
}

/* .form-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 512px;
    height: 420px;
    overflow: hidden;
    z-index: 2;
    width: 100%;
    padding: 40px;
    background: transparent;
}

.register-container {
    position: absolute;
    left: 4px;
    width: 500px;
    display: flex;
    flex-direction: column;
    transition: .5s ease-in-out;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 5px;
} */
.top span {
    color: #fff;
    font-size: small;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    
}

.top span a {
    font-weight: 500;
    color: #fff;
    margin-left: 5px;
}

header {
    color: #fff;
    font-size: 30px;
    text-align: center;
    padding: 10px 0 30px 0;
    margin-top:100px;
}

.two-forms {
    display: flex;
    gap: 10px;
}

.form-control {
    font-size: 15px;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    height: 50px;
    width: 100%;
    padding: 0 10px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: .2s ease;
}

.form-control:hover,
.form-control:focus {
    background: rgba(0, 0, 0, 0.15);
}

.form-control::placeholder {
    color: #fff;
}

.input-box i {
    position: relative;
    top: -35px;
    left: 17px;
    color: #fff;
}

.btnRegister {
    font-size: 15px;
    font-weight: 500;
    color: black;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: .3s ease-in-out;
}

.btnlogin {
    font-size: 15px;
    font-weight: 500;
    color: black;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: .3s ease-in-out;

}

.btnRegister:hover {
    background: greenyellow;
    box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}

.btnlogin:hover {
    background: greenyellow;
    box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}


.two-col {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: large;
    margin-top: 0px;
}

.two-col .one {
    display: flex;
    gap: 5px;
}

.two label a {
    text-decoration: none;
    color: #fff;
}

.two label a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 786px) {
    .nav-button {
        display: none;
    }

    .nav-menu.responsive {
        top: 80px;
    }

    .nav-menu {
        position: absolute;
        top: -800px;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        width: 100%;
        backdrop-filter: blur(20px);
        transition: .3s;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu-btn {
        display: block;
    }

    .nav-menu-btn i {
        font-size: 25px;
        color: #fff;
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: .3s;
    }

    .nav-menu-btn i:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

@media only screen and (max-width: 540px) {
    .wrapper {
        min-height: 100vh;
    }

    .form-box {
        width: 100%;
        padding-top: 50px;


    }

    .login-container,
    .register-container {
        width: 100%;
        padding: 0 20px;
    }

    .two-forms {
        flex-direction: column;
        gap: 0;
    }
}

.register-container input[type="text"],
.register-container input[type="password"] {
    position: relative;
    z-index: 1;
}