
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}
header {
    background-color: white;
    color: rgb(4, 54, 100);
    padding: 20px 0; /* Increased padding */
    text-align: center;
}
.header-container {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.header-container img {
    height: 150px;
    margin-right: 40px;
}
.header-container h1 {
    font-size: 60px; /* Increased font size */
    margin: 0;
}
.search-bar {
    max-width: 200px;
    width: 100%;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 5px 10px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
}

.search-bar input[type="text"]::placeholder {
    color: #999;
}
.navbar {
    background-color: #007BFF; /* Changed background color to blue */
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items:  center;
    padding: 10px 20px;
    max-height: fit-content;
}

.navbar a {
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 18px;
}

.navbar a:hover {
border-radius: 2px;
   padding: 5px 15px;
    background-color: #131858;
}

.navbar .left {
    margin-right: auto;
}
nav ul {
    list-style-type: none;
    padding: 1px;
    margin: 1px;
    display: flex;
    justify-content: left ;
    background-color: #474747;
}
nav ul li {
    margin: 25px 5px;
}
nav ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 15px 20px; /* Increased padding */
    font-size: 18px; /* Increased font size */
}
nav ul li a:hover {
    background-color: #575757;
    border-radius: 2px;
}
main {
    
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}



.main-content {
    padding: 40px;
    text-align: center;
   
}

.main-content h1 {
    display: flex;
    font-size: 32px;
}

.cards {
display: flex;
justify-content: center;
gap: 20px; /* Space between the cards */
flex-wrap: wrap; /* Allows wrapping to the next line if the cards exceed the container width */
margin-top: 20px; /* Add some spacing above the cards */
}

.card {
background-color: #fff;
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.2s, box-shadow 0.2s;
width: 150px; /* Fixed width for the cards */
text-align: center;
text-decoration: none;
color: inherit;
margin-bottom: 20px; /* Optional: Adds spacing for wrapped rows */
}


.card:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 10px;
}

.card-content {
padding: 10px;
}

.card-content h3 {
font-size: 18px;
margin: 0;
}

.card-content p {
font-size: 16px;
margin: 5px 0 0;
}

.fun-facts {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

.fun-facts h2 {
    font-size: 24px;
    margin-bottom: 20px; 
}

.fun-facts p {
    font-size: 18px;
}

.site {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer-container {
    display: flex;
    justify-content: space-around;
}
.footer-section {
    flex: 1;
    padding: 10px;
}