
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/sweetalert2@11.7.0/dist/sweetalert2.min.css');


*{
    padding: 0px;
    margin: 0px;
}

body{
    background-color: rgb(255, 255, 255);
    font-family: 'Noto Serif','Merriweather', 'Lora','Crimson Pro';
}

.header {
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    flex-wrap: wrap; /* Allow elements to wrap */
    justify-content: space-between;
    position: relative;
    width: 100%;
    /*background: url('include/bg2.jpg');*/
    /*background-repeat: repeat-x; /* Repeats the image horizontally */
    background-size: auto 100%; /* Adjusts the height to 100% and width automatically */
    z-index: 5;
    background-color: rgb(93, 93, 110);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(122, 240, 132, 0.5); /* Semi-transparent green overlay */
    z-index: -2; /* Ensure it stays behind the content */
    opacity: 0.4; /* Optional: Adjust opacity for blending */
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url('include/bg2.jpg');*/
    background-color: rgb(93, 93, 110);
    z-index: -1; /* Ensure the image stays behind the content but above the background color */
    opacity: 0.5; /* Optional: Adjust opacity for blending */
}

.logo, #logo {
    height:100px;
    object-fit: contain;
    box-sizing: border-box;
    z-index: 10;
}

.login{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-width: 60px;
    /*margin-right: 10px;*/
    z-index: 10;
    margin-right: 10px;
}

.signup,.welcome{
    padding: 10px;
    margin:5px;
    font-size: 20px;
    font-weight: 600;
    /*color: rgb(0, 0, 0);*/
    background-color: #ffffff;
    border-radius: 5px;
}

.signup:hover{
    background-color: #48b648; 
    color: white;
}
.signup a{
    color: black;
}
.signup:hover a{ 
    color: white; /* Ensure link color matches parent div's color */
    text-decoration: none;
}

/* General Styles */
/* General Styles */
/* Media Query for Small Screens */


.menu{
    text-align: center;
    
}

.menus{
    /* TO add menu items below header and make it top aligned*/
    font-size: 16px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin: 8px
}

/* Menu Bar Styles  */
.menu_bar {
    margin: 5px 0 5px 0;
    display: flex;
    align-items: center;
     /* Ensure items wrap when needed */
    justify-content: center; /* Center items horizontally */
}
.menu_bar ul {
    list-style-type: none; 
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgb(93, 93, 110);
    border-radius: 5px;
    width: 100%;
}

.menu_bar li {
    display: flex;
    padding: 8px;  
    border-radius: 5px;
}
.menu_bar a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size:30px;
}

.menu_bar li:hover{
    background-color:#48b648;
}


.content{
    display: flex;
    column-gap: 5px;
    row-gap: 5px;
    /*background-color: rgb(243, 240, 240);*/
    justify-content: center;
    box-sizing: border-box;
}

.leftside-div{
    background-color: rgb(153, 139, 139);
    display: flex;
    max-width: 200px;
    max-height: 800px;
    margin: 5px;
    box-sizing: border-box;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 10px rgba(119,136,153,0.5);
}  
.rightside-div{
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 10px;
    border: none;
}  

.content-div{
    display: flex;
    flex-wrap: wrap;
    margin: 5px;
    background-color: rgb(245,245,245);
    padding: 2.5px;
    box-sizing: border-box;
    border-radius: 10px;
    border: none;
    max-width: 725px;
    box-shadow: 0 0 10px rgba(119,136,153,0.8);
}
.content-div h2{
    padding: 10px;
    text-align: justify;
    font-weight: 650;
    color: rgb(1, 0, 88);
}
h1{
    padding: 10px;
    color: rgb(34, 1, 110);
    display: block;
}
hr, .below_menubar{
    border-top: 2px solid black;
    width: 100%;
    margin: 0; /* Remove default margin */
    box-sizing: border-box; /* Prevent border from affecting width */
    overflow: visible; /* Ensure no overflow */
}

.menus-box{
    margin: 8px;
    width: 160px;
    height: 160px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    box-sizing: border-box;
    box-shadow: 5px 5px 2px 2px rgba(119,136,153,0.5);
    font-size: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: rgb(1, 0, 88);
    text-decoration: none;
}
.menus-box:hover{
    background-color: #48b648;
    color: white;
}
/* Job notification style*/
#notification-container {
    position: relative;
    padding: 0px;
    border-radius: 5px;
    max-height: 70vh;
    overflow-y: auto; 
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(119,136,153,0.8);
}
.adv{
    background-color: #007bff;
    width: 100%;
    overflow-y: auto; 
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(119,136,153,0.8);
}

.rightside-div h2{
    background-color:rgb(93, 93, 110);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    padding: 10px;
    /*margin: 10px;*/
    z-index: 1;
    top: 0;
    margin: 0; /* This makes the header stick to its container */
}
.notification {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    box-sizing: border-box;
}

.notification a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.notification a:hover {
    text-decoration: underline;
}
nav {
    background-color: #fff;
    overflow: hidden;
    padding: 10px;
    margin-left: 10px;
}

nav ul {
    list-style-type: none;
    font-size: 18px;
}

nav ul li {
    display: inline;
    margin-right: 20px;
   
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    display: inline-block;
    color: rgb(26, 1, 167);
    text-decoration: none;
    position: relative;
}

nav ul li a:hover {
    color: rgb(116, 101, 202);
    text-decoration: underline;
}

nav ul li a.active {
    color: #15f332;
    text-decoration: underline;
    font-weight: 600;
}

nav ul li a.active:after {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
}

.footer {
    font-weight: 600;
    width: 100%; 
    display: flex;
    justify-content: flex-end; /* Distribute items evenly with space around them */
    align-items: center; /* Center items vertically */
    padding: 10px 0 10px 0;
    background-color: #333;
    color: #fff;
    flex-wrap: wrap;
}

.footer p, .footer a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline; /* Add underline on hover for links */
}

/* Media Query for Mobile Devices */
@media screen and (max-width: 768px) { /* Adjust the breakpoint as needed */
    .header {
        flex-direction: column; 
        align-items: flex-start;
    }
    .logo, #logo {
        height:70px;
        object-fit: contain;
        box-sizing: border-box;
    }
    .welcome, .signup{
        font-size: 16px;
        padding: 10px;
        margin:5px;
    }

    .signup:hover {
        background-color: #48b648; /* Change background to green on hover */
        color: white; /* Change text to white on hover */
    }

    .signup a {
        color: inherit; /* Ensure link color matches parent div's color */
        text-decoration: none;
    }
    .logo, .loginall {
        width: 100%;
        flex-direction: column;
    }
    .menu_bar{
        margin: 0 8px 0 8px;
    }
    .menu_bar li{
        display: block;
        width: 100%;
    }
    .menu_bar a {
        font-size: 20px; 
    }
    .content-div h2,.rightside-div h2 {
        font-size: 20px;
    }
    .menus-box {
        width: 130px;
        height: 130px;
        font-size: 20px;
    }
    .content {
        flex-direction: column; /* Stack elements vertically */
    }
    .leftside-div{
        
        display:none;
        width: 100%; /* Make both elements occupy full width */
        margin: 8px 0 8px 0;
        padding: 10px;
    }
    .rightside-div{
        
        display:block;
        width: 100%; /* Make both elements occupy full width */
        margin: 8px 0 8px 0;
        padding: 10px;
    }
   
    .content-div { 
        display:flex;
        flex-wrap: wrap;
        /*width: 300px; /* Make both elements occupy full width */
        margin: 0 8px 0 8px;
        padding: 8px 0px 8px 0px;
    }
    #notification-container{
        display: block;
        width: 100%;
        box-sizing: border-box; /* Include padding and border in element's total width and height */
        padding: 10px 0px 10px 0px;
    }
    .notification{
        font-size: 16px;
        padding: 5px;
    }
    .footer {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center;
        justify-content: center; /* Center footer content for mobile */
        padding: 5px 0; /* Adjust padding */
    } 
    .footer p, .footer a {
        margin: 0 5px; /* Reduce spacing between footer elements */
        font-size: 16px; /* Smaller font size on mobile */
    }

    nav {
        padding: 10px;
        margin-left: 10px;
    }

    nav ul {
        list-style-type: none;
        font-size: 16px;
    }

    nav ul li {
        margin-right: 16px;
    }

    nav ul li:last-child {
        margin-right: 0;
    }

}

