html, body {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 130;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 16px; /* Base font size */
    color: #FFFFFF;
    background-color: #000000; /* Fallback color */
    background-image: url('images/bg.jpg');
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the image fixed in place during scrolling */
}

body {
    font-size: 1rem;
}

h1, h2, h3, p, ul, #main {
    color: #FFFFFF;
    margin: 0 0 20px 0; /* Consistent margins for all elements */
    font-weight: 130;
}

#main {
    margin-left: 15px;
}

th, td {
  padding: 5px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    color: #FFCC00;
    font-size: 1.25rem;
}

a {
    color: #ff9700;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
  padding-left: 10px;
  margin-left: 10px;
}

p:empty {
    display: none;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 20vh; /* Adjust as needed */
}

.image-container img {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 1); /* Adds shadow to the image */
    border-radius: 25px; /* Optional: Rounds the corners of the image */
}

/* Using CSS Grid */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.item {
    margin: 10px;
}

.transparent {
  background-color: rgba(0,0,0,0.4);
}

/* Media Queries */

/* Styles for mobile devices */
@media (max-width: 600px) {
    .img2 {
        width: 40%;
        height: auto;
    }
    .container {
        display: block;
    }
    .item {
        margin: 10px 0;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    h3, ul, #main {
        font-size: 1rem;
    }
    body {
        font-size: 1rem;
    }
}

/* Styles for tablets */
@media (min-width: 601px) and (max-width: 900px) {
    .img2 {
        width: 30%;
        height: auto;
    }
    .container {
        display: flex;
        flex-wrap: wrap;
    }
    .item {
        flex: 1 1 45%;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3, ul, #main {
        font-size: 1.125rem;
    }
    body {
        font-size: 0.5rem;
    }
}

/* Styles for desktops */
@media (min-width: 901px) {
    .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .item {
        margin: 10px;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.875rem;
    }
    h3, ul, #main {
        font-size: 1.25rem;
    }
    body {
        font-size: 1rem;
    }
}
