body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}
.form-block {
    width: 300px;
    height: 150px;
    background-color: white;
    margin: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0px 0px 100px skyblue;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    color: black;
    font-weight: bold;
}
.form-block:hover {
    background-color: skyblue;
}
header {
 background-color:  #00274D;
 color: #fff;
 padding: 10px 0;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 90%;
margin: auto;
}
.logo {
height: 80px;
width: 200px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 20px;
}


nav ul li {
display: inline;
}

nav ul li a {
color: #fff;
text-decoration: none;
padding: 5px 10px;
}
nav ul li a:hover{
background-color: skyblue;
color: #00274D;
}
footer {
background-color: #00274D;
color: #fff;
text-align: center;
padding: 10px 0;
margin-top: 20px;
}
h2 {
background-color: skyblue;
color: #00274D;
font-size: 65px;
}
.container {
    width: 80%;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px skyblue;
}

input, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}
h3 {
    clear: both; /* Ensures it does not float next to any element */
    display: block;
    width: 100%;
}
.error {
    color: red;
}

.success {
    color: green;
}
button {
    background: #28a745;
    color: white;
    border: none;
    width: max-content;
    cursor: pointer;
}

button:hover {
    background: #218838;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background: #218838;
    color: white;
}
/* General Responsive Styling */
img {
max-width: 100%;
height: auto;
}

/* Tablet and Mobile Adjustments */
@media (max-width: 1024px) {
.container {
flex-wrap: wrap;
gap: 10px;
margin-top: 30px;
}

.form-block {
width: 250px;
height: 140px;
font-size: 16px;
}
}

@media (max-width: 768px) {
/* Stack header items */
.header-container {
flex-direction: column;
align-items: center;
text-align: center;
}

.logo {
width: 150px;
height: auto;
margin-bottom: 10px;
}

nav {
width: 100%;
}

nav ul {
flex-direction: column;
gap: 10px;
padding: 0;
width: 100%;
text-align: center;
}

nav ul li {
width: 100%;
}

nav ul li a {
display: block;
padding: 10px;
background: #00274D;
color: white;
text-align: center;

}

nav ul li a:hover {
background: skyblue;
color: #00274D;
}

/* Adjust form blocks */
.container {
flex-direction: column;
align-items: center;
gap: 15px;
}

.form-block {
width: 90%;
max-width: 280px;
height: 120px;
}

/* Reduce font size */
h2 {
font-size: 45px;
}

/* Footer adjustments */
footer {
padding: 15px;
font-size: small;
}
}

/* Small Mobile Screens (Phones) */
@media (max-width: 480px) {
.header-container {
padding: 10px;
}

.logo {
width: 120px;
margin-bottom: 5px;
}

nav ul {
gap: 5px;
}

nav ul li a {
padding: 8px;
font-size: 14px;
}

.form-block {
width: 90%;
height: 100px;
font-size: 12px;
}

h2 {
font-size: 35px;
}
}