/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    text-align: center;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
}

header {
    background-color: #fff;
    padding: 20px 0;
}

.logo {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centering the logo */
}

nav {
    background-color: #ffffff;
    margin: 20px 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 20px;
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover, nav ul li a:focus {
    background-color: #e0e0e0;
    color: #000;
}

.footer-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centering the image */
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.item {
    background-color: #ffffff;

    padding: 20px;
    text-align: center;
}

.item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 20px;
    border: #0066cc;
    border-width: 2px;
    
}

.item a {
    padding: 5px;
    border: #0066cc;
    outline: auto;
    border-radius: 25px;
    text-transform: bold;
    color: #0066cc;
    font-size: 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.item a:hover, .item a:focus {
    background-color: #e0e0e0;
    color: #000;
}
/* Dropdown specific styles */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 5px;
}

/* Style for the dropdown button */
.dropdown button {
    background-color: #0C4C91; /* HHI blue background */
    color: white; /* White text */
    padding: 10px 20px; /* Padding around the text */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 25px; /* Font size */
    border-radius: 25px; /* Square corners */
    width: 100%;
    text-align: center;
}

/* General style for all dropdown content */
.dropdown div[id^="dropdown-content"] {
    display: none; /* Hidden by default */
    background-color: #ffffff; /* Light grey background */
    width: 100%; /* Minimum width */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Box shadow for 3D effect */
    z-index: 1; /* Ensure it's on top of other elements */
    border-radius: 25px;
}

/* Style for links inside dropdowns */
.dropdown div[id^="dropdown-content"] a {
    color: black; /* Black text for links */
    padding: 12px 16px; /* Padding */
    text-decoration: none; /* No underline */
    display: block; /* Links will take up the full width of the container */
    text-align: center; /* Align text to the left */
    border-radius: 25px;
}

/* Change color of dropdown links on hover */
.dropdown div[id^="dropdown-content"] a:hover {
    background-color: #ddd; /* Light grey background on hover */
}

/* Style for the dropdown content */
#dropdown-content {
    text-align: center;
    display: none; /* Hidden by default */
    font-size: 16px;
    background-color: #f9f9f9; /* Light grey background */
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* Box shadow for 3D effect */
    z-index: 1; /* Makes sure the dropdown content is on top */
    border-radius: 25px;
}

/* Style for the links inside the dropdown */
#dropdown-content a {
    color: black; /* Black text for links */
    padding: 12px 16px; /* Padding */
    text-decoration: none; /* No underline */
    display: block; /* Links will take up the full width of the container */
    text-align: center; /* Align text to the center */
}

/* Change color of dropdown links on hover */
#dropdown-content a:hover {
    background-color: #ddd; /* Light grey background on hover */
}


@media (max-width: 600px) {
    body {
        font-size: 16px;
    }
}
