/* Importing Google font - Open Sans */

@import url('https://fonts.googleapis.com/css2?family=Markazi+Text&display=Poppins:wght@400;500;600;700&family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@100;200;300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    height: 100vh;
    width: 100%;
    background: url("images/hero-bg.jpg") center/cover no-repeat;
    font-family: 'Prompt', sans-serif;
    
}
 
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 0 10px;
}

.navbar {
    display: flex;
    padding: 22px 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: 40px;
    border-radius: 50%;
}

.navbar .logo h2 {
    color: #333;
    font-weight: 600;
    font-size: 1.6rem;
}

.navbar .links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
    font-family: 'Prompt', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar .close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
    color: #000;
    cursor: pointer;
}

.navbar .links a {
    color: #333;
    font-family: 'Prompt', sans-serif;
    font-size: 21px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.1s ease;
}

.navbar .links a:hover {
    color: #19e8ff;
}

.navbar .login-btn {
    border: none;
    outline: none;
    background: #fff;
    color: #275360;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.15s ease;
}

.navbar .login-btn:hover {
    background: #d1d1d1;
}

.container form{
    position: relative;
    margin-top: 80px;
    min-height: 0px;
    overflow: hidden;
}
.form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    max-width: 720px;
    background: #fff;
    border: 2px solid #fff;
    transform: translate(-50%, -70%);
}

.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;
}

.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 {
    display: flex;
}

.form-content .title-signin{
    display: flex;
    justify-content: center;
}
.form-content .signin-text{
    text-align: center;
    font-size: 25px;
    font-family: 'poppins', sans-serif; 
    font-weight: 600;
}

.form-content .input-username{
    font-size: 17px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}
.form-content .input-password{
    font-size: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.form-box .form-details {
    width: 100%;
    color: #fff;
    max-width: 330px;
    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: 35px;
}

.form-box h2 {
    text-align: center;
    font-weight: 400;
    margin-bottom: 29px;
}
form .input-field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
}
.input-field input {
    height: 100%;
    width: 100%;
    background: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Prompt', sans-serif;
    font-weight: 200;
    padding: 0 15px;
    border: 1px solid #717171;
    border-radius: 6px;
}
.input-field input:focus {
    border: 2px solid #0044ff;
}

.input-field :is(label, i){
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    color: #000000;
    transition: all 0.09s linear;
}
.input-field label{
    left: 15px;
    padding: 0px 5px 0px 5px;
    pointer-events: none;
    font-size: 18px;
    font-weight: 300;
}
input:is(:focus, :valid) ~ label{
    color: #2b64ff;
    top: 0;
    font-size: 0.9rem;
    font-weight: 300;
    background-color: #fff;
}
.input-field i{
    right: 15px;
    cursor: pointer;
    font-size: 1rem;
}
input:is(:focus, :valid) ~ i{
    color: #4070f4;
}

.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: 18px;
    font-weight: 600;
    font-family: 'prompt', sans-serif;
    border-radius: 30px;
    cursor: pointer;
    margin: 25px 0;
    /*background: #00bcd4;*/
    background: #0062ff;
    
}
form button:hover {
    /*background: #0097a7;*/
    background: #1500ff;
    transition: .2s ease;
}

.form-content .bottom-link {
    text-align: center;
}

.form-popup .signup,
.form-popup.show-signup .login {
    display: none;
}

.form-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;
}

.container .tb-background{
    background-color: #ffffff;
    border: 1px solid #717171;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 300;
    font-family: 'Sarabun', sans-serif;
}

.container .tb-content-background{
    margin-top: 2px;
    padding: 5px;
    background-color: #ddd;
    border: 1px solid #717171;
    border-radius: 6px;
}

.container .tb-project {
    width :100%;
}
.container .tb-project tr:nth-child(even) {
    background-color: #eee;
}
.container .tb-project tr:nth-child(odd) {
   background-color:#fff;
}
.container .tb-project th {
    height: 100%;
    background-color: #8A1538;
    color: white;
}


@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: 1rem;
        padding: 10px 18px;
    }
}

@media (max-width: 760px) {
    .form-popup {
        width: 95%;
    }

    .form-box .form-details {
        display: none;
    }

    .form-box .form-content {
        padding: 30px 20px;
    }
}
.index-start{
    margin: auto;
}

.search-field{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
}
.search-fieled{
    max-width: 100%;
    width: 400px;
  	height: 50px;
    border: 1px solid #aaa;
    border-radius: 30px;
    border-radius:30px 0px 0px 30px;
}
.container form .search_btn{
    font-size: 21px;
    font-weight: 600;
    font-family: 'Prompt', sans-serif;
    color: #fff;
    width: 150px;
    height: 50px;
    border: 1px solid #aaa;
    border-radius:0px 30px 30px 0px;
    background-color: #4070f4;
}
.search-field input, select{
    outline: none;
    font-size: 21px;
    font-weight: 300;
    font-family: 'Markazi Text', serif;
    text-align: center;
    padding: 0px 25px;   
}
.search-fieled:hover{
    background-color: #aaa;
    background-color: #f2f2f2;
    border: 2px solid #265df2;
}
.container form .search_btn:hover{
    background-color: #265df2;
    border: 2px solid #265df2;
}
