/* General Styles */
body {
    font-family: Verdana, sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    background-color: #08b9ff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #004466;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 125px;
 }

.navbar a {
    display: block; 
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin: 10px 0;
    text-align: left;
    width: calc(100% - 20px); 
    padding: 10px 10px; 
    transition: background-color 0.3s ease;
}
.navbar a.active {
    color: white; /* Text color for the active link */
    background-color: #006699; /* Background color for the active link */
    font-weight: bold; /* Makes the text bold */
    padding: 15px 10px;
}

.navbar a:hover {
    background-color: #006699; 
}


/* Top Bar Styles */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-right: 20px; /* Adjusted to move buttons slightly left */
    margin-top: 25px;
}

/* Login and Signup Button Styles */
.login-btn, .signup-btn {
    padding: 8px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #006699;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #004466;
}

.signup-btn:hover {
    background-color: #003355;
}

/* Content Styles */
.content {
    margin-left: 220px;
    margin-top: 80px;
    padding: 20px;
}

/* Centered Content */
.box {
    width: flex;
    padding: 20px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.box h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.box p {
    text-align: left;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Grid Styles */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center; /* Centers the grid content */
    align-items: center, stretch; /* Aligns items vertically */
}

/* Grid Items */
.grid-item {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.grid-item img {
    width: 100%;
    max-height: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.grid-item h3 {
    font-size: 20px;
    color: #004466;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.grid-item .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #004466;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.grid-item .cta-button:hover {
    background-color: #006699;
}


/* headers */
h1 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 36px;
    font-weight: bold;
    color:  #004466;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    color: #006699;
    margin-top: 30px;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    color: #333;
    font-size: 18px;
}

ul {
    margin: 15px 0;
    padding-left: 20px;
    line-height: 1.6;
}

ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: #004466;
    font-weight: bold;
    font-family: Verdana, sans-serif;
}

/* table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #004466;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #e6f7ff;
}

.back-button {
    top: 10px;
    left: 10px;
    z-index: 10;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}