/* Importing Google font - Open Sans */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background: url("images/hero-bg.jpg") center/cover no-repeat;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 0 10px;
}

.navbar {
    display: flex;
    padding: 8px 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.navbar .hamburger-btn {
    display: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
}

.navbar .logo {
    gap: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    width: 220px;
}

.navbar .logo h2 {
    color: #fff;
    font-weight: 600;
    font-size: 1.7rem;
}

.navbar .links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.navbar .close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
    color: #000;
    cursor: pointer;
}

.navbar .links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: 0.1s ease;
    font-size: 12px;
}

.navbar .links a:hover {
    color: #19e8ff;
}

.navbar .login-btn {
    border: none;
    outline: none;
    background: #f00000;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.15s ease;
    border-radius: 25px;
    transition: 0.3s;
    text-decoration: none;
}

.navbar .login-btn:hover {
    background: #0c75fb;
}

.form-popup {
    position: fixed;
    top: 60%;
    left: 50%;
    z-index: 10;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    max-width: 900px;
    background: #fff;
    border: 2px solid #fff;
    transform: translate(-50%, -70%);
}

.message-popup {
    position: fixed;
    top: 55%;
    left: 50%;
    z-index: 10;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    max-width: 500px;
    background: #fff;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.show-popup .form-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.1s;
}

.form-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #878484;
    cursor: pointer;
}
.show-popup .message-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.1s;
}

.message-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #878484;
    cursor: pointer;
}

.blur-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.1s ease;
}

.show-popup .blur-bg-overlay {
    opacity: 1;
    pointer-events: auto;
}

.form-popup .form-box,
.message-box {
    display: flex;
}
.message-popup .form-box,
.message-box {
    display: flex;
}

.form-box .form-details {
    width: 100%;
    color: #fff;
    max-width: 440px;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
}

.login .form-details {
    padding: 0 40px;
    background: url("images/login-img.jpg");
    background-position: center;
    background-size: cover;
}

.signup .form-details {
    padding: 0 20px;
    background: url("images/signup-img.jpg");
    background-position: center;
    background-size: cover;
}

.form-box .form-content {
    width: 100%;
    padding: 20px 35px 3px 35px;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 29px;
}

form .input-field {
    /* position: relative; */
    height: 40px;
    width: 100%;
    margin-top: 20px;
}

form .message-field {
    height: 35px;
    width: 100%;
    margin-top: 8px;
}

.input-field input {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 0.8rem;
    padding: 0 15px;
    border: 1px solid #717171;
    border-radius: 5px;
}

.message-field input {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 0.8rem;
    padding: 0 10px;
    border: 1px solid #717171;
    border-radius: 5px;
}
.message-field textarea {
    width: 100%;
    background: none;
    outline: none;
    font-size: 0.8rem;
    padding: 5px 10px;
    border: 1px solid #717171;
    border-radius: 5px;
}
.text-danger {
    color: red !important;
    font-size: 12px;
    font-style: italic;
}

.input-field input:focus {
    border: 1px solid #00bcd4;
}

.message-field input:focus {
    border: 1px solid #00bcd4;
}

.form-box a {
    color: #00bcd4;
    text-decoration: none;
}

.form-box a:hover {
    text-decoration: underline;
}

form :where(.forgot-pass-link, .policy-text) {
    display: inline-flex;
    margin-top: 13px;
    font-size: 0.95rem;
}

form button {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    margin: 22px 0;
    /* background: #00bcd4; */
    background: #2d6dc9;
    transition: 0.2s ease;
}

form button:hover {
    /* background: #0097a7; */
    background: #322322;
}

.form-content .bottom-link {
    text-align: center;
    font-size: 12px;
}

.form-popup .signup,
.form-popup.show-signup .login {
    display: none;
}

.form-popup.show-signup .signup {
    display: flex;
}

.message-popup .signup,
.message-popup.show-signup .login {
    display: none;
}

.message-popup.show-signup .signup {
    display: flex;
}

.signup .policy-text {
    display: flex;
    margin-top: 14px;
    align-items: center;
}

.signup .policy-text input {
    width: 14px;
    height: 14px;
    margin-right: 7px;
}

/* @media (max-width: 3000px) {
    .form-popup  {
        top: 40% !important;
    }
    .headding {
        top: 17% !important;
    }
} */

@media (max-width: 2400px) {
    .form-popup {
        top: 45% !important;
    }
}

@media (max-width: 2100px) {
    .form-popup {
        top: 48% !important;
    }
}

@media (max-width: 1900px) {
    .form-popup {
        top: 50% !important;
    }
}

@media (max-width: 1700px) {
    .form-popup {
        top: 55% !important;
    }
}

@media (max-width: 1400px) {
    .form-popup {
        top: 60% !important;
    }
}

@media (max-width: 950px) {
    .navbar :is(.hamburger-btn, .close-btn) {
        display: block;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar .logo img {
        display: none;
    }

    .navbar .logo h2 {
        font-size: 1.4rem;
    }

    .navbar .links {
        position: fixed;
        top: 0;
        z-index: 10;
        left: -100%;
        display: block;
        height: 100vh;
        width: 100%;
        padding-top: 60px;
        text-align: center;
        background: #fff;
        transition: 0.2s ease;
    }

    .navbar .links.show-menu {
        left: 0;
    }

    .navbar .links a {
        display: inline-flex;
        margin: 20px 0;
        font-size: 1.2rem;
        color: #000;
    }

    .navbar .links a:hover {
        color: #00bcd4;
    }

    .navbar .login-btn {
        font-size: 0.9rem;
        padding: 7px 10px;
    }
}

@media (max-width: 760px) {
    .form-popup {
        width: 95%;
    }

    .form-box .form-details {
        display: none;
    }

    .form-box .form-content {
        padding: 30px 20px;
    }
}
