/*
This CSS file is for the home page layout and styling. 
It includes styles for the body, header, footer, and navigation. 
*/

/* Ensure the body and html elements take up the full height */
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background: url('../images/bg.png') no-repeat center center fixed; /* Set background image */
    background-size: cover; /* Ensure background image covers entire viewport */
    display: flex;  /* Enable flexbox layout */
    justify-content: center;  /* Center content vertically */
    align-items: center;  /* Center content horizontally */
    overflow: hidden;  /* Prevent scrolling */
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    width: 100%;
    height: 100%;  /* Ensure the overlay covers the full height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    display: block;
    margin: 0 auto;
    width: 100px; /* Adjust size as needed */
    height: auto;
  }

h1 {
    color: #7564ce;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase; /* Uppercase the name */
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;  /* Take up full width to allow spacing */
    max-width: 600px;  /* Limit max width */
    text-align: center; /* Center text */
}

#dynamic-text {
    font-weight: 700;
    color: #9d90f0;
    text-align: center;
}

/* Centering the text at the middle of the page */
nav ul {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    display: flex; /* Use flexbox for navigation */
    gap: 1.5rem; /* Add space between navigation items */
    margin: 2rem 0; /* Vertical margin for spacing */
    flex-wrap: wrap; /* Allow items to wrap if necessary */
    justify-content: center; /* Center navigation items */
}

nav a {
    color: #ffffff; /* Set text color for navigation links */
    text-decoration: none; /* Remove underline from links */
    font-weight: bold; /* Bold font weight */
    transition: color 0.3s; /* Smooth color transition on hover */
}

nav a:hover {
    color: #9d90f0; /* Change color on hover */
}

footer {
    text-align: center; /* Center footer content */
    padding: 2rem 1rem; /* Padding inside the footer */
    color: #aaa; /* Set footer text color to light gray */
}

@media (max-width: 600px) {
    /* Adjust font sizes and layout for smaller screens */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1rem; }
    .subtitle { font-size: 1rem; width: 100%; } /* Adjust width for smaller screens */
}
