html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}



body {
    background-image: url('back.jpeg'); /* Set the path to your image */
    background-repeat: repeat; /* This makes the background image repeat */
    background-size: cover; 
    position: relative; /* Ensure the stars container is positioned relative to the body */
}

h1 {
    color: white;
    font-size: 50pt;
    text-align: center;
}

p, a {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

img {
    max-height: 110vh;
}

.link-container {
    display: flex; /* Use flexbox to align links in a row */
    justify-content: space-evenly; /* Distribute space evenly between links */
    align-items: center; /* Center links vertically */
    width: 100%; /* Ensure the container spans the full width of the viewport */
    padding: 20px; /* Optional: Adds padding around the container */
    box-sizing: border-box; /* Include padding in element's total width and height */
    background-color: rgb(31, 20, 131); /* Optional: Background color to match the body */
}

.link-container a {
    color: white; /* Ensure the link text color is white */
    text-decoration: none; /* Remove underline from links */
    font-size: 20pt; /* Adjust font size as needed */
}

#landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255); /* Semi-transparent black background */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer; /* Show pointer cursor on hover */
    z-index: 1000; /* Ensure landing page is above other content */
}

#main-content {
    padding: 20px;
}

.hidden {
    display: none;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.link-container img {
    width: 5vw;
}
.link-container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap into two rows */
    justify-content: center; /* Center items horizontally */
    gap: 20px; /* Space between items */
}

.link-item {
    display: flex;
    flex-direction: column; /* Stack text above video */
    align-items: center; /* Center align items */
}

.link-text {
    text-align: center; /* Center text */
    margin-bottom: 5px; /* Space between text and video */
}


@media (max-width: 500px) {
    .link-container img {
        width: 30vw !important; /* Larger width on mobile */
        max-height: none; /* Allow the width to control size */
    }

    .link-container {
        gap: 10px; /* Reduce space between items if needed */
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .link-item {
        width: 100%; /* Ensure link items take full width */
    }
}