html,body {
    display: flex;
    flex-direction: column; /* vertical layout */
    overflow-x: hidden;
    min-height: 100vh; /* Ensure the body takes the full viewport height */
    min-width: 100vw; /* Ensure the body takes the full viewport height */
    margin: 0px;
    padding: 0px;
}

.search-container {
    display: flex;
    flex-direction: row; /* horizontal layout */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* space between elements */
    padding: 2.5rem;
}

.search-container input[type="text"] {
    flex: 1; /* allows input to grow */
    min-width: 150px; /* minimum width for smaller screens */
    max-width: 600px; /* maximum width for larger screens */
    font-size: 1.2rem;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    background-color: #050505;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.search-container input::placeholder {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.search-container input:focus {
    outline: none; /* Removes the outline when the input is focused */
}

.search-container button {
    flex: 1; /* allows input to grow */
    min-width: 30px; /* minimum width for smaller screens */
    max-width: 40px; /* maximum width for larger screens */
    font-size: 1.2rem;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    transition: 0.3s ease-in-out; 
    color: #ffffff;
    background: #050505;
}

.search-container button:hover {
    cursor: pointer;
}

.search-container button:active {
    transform: scale(.8);
}

nav {
    display: flex;
    flex-direction: row; /* horizontal layout */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #050505;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    text-align: center;
}

nav ul {
    list-style: none; /* removes default list styling */
    padding: 0; /* removes default padding */
    margin: 0; /* removes default margin */
    display: flex; /* horizontal layout for list items */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    justify-content: center; /* centers the items */
    text-align: center;
    gap: clamp(.6rem, 3vw, 10rem);
}

nav li {
    
}

nav a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
}

* {
}

.space {
    flex: 1; /* Make this section grow and fill the remaining space */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-items: center;
    align-content: center; /* Center content vertically */
    justify-self: center;
    background-color: #ffffff;
}

.space .LOGO {
    font-size: 11rem;
    margin-top: 2rem;
}

.box {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    align-items: center;
    background-color: #050505;
    width: 100%; /* Ensure it spans the full width */
    gap: 1rem; /* Add spacing between items */
    align-items: center;
    align-content: center; /* Center content vertically */
}

.box .box-content {
    color: #ffffff;
    padding: .5rem;
    text-align: center; /* Center-align text for better responsiveness */
}

.box .box-content h1 {
    font-size: 2rem;
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: -.7rem ;
}

.box .box-content p {
    font-size: 1rem;
    padding: .5rem;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.error-container {
    display: flex;
    flex-direction: column; /* horizontal layout */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    justify-self: start;
    align-self: center;
    gap: 0.5rem; /* space between elements */
    min-height: 100vh; /* Ensure the body takes the full viewport height */
    min-width: 100vw; /* Ensure the body takes the full viewport height */
    margin: 0px;
    padding: 0px;
    color: #ffffff;
    background: #050505;
    text-align: center;
}

.error-container h1 {
    padding: 1rem;
    text-align: center;
    font-size: 3rem;
    font-family: "Tinos", serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: -3rem;
}

.error-container p {
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: -.5rem;
}

.error-container a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 10rem;
}