
/* Keep the body centering logic */
body {
    margin: 0;
    padding: 0;
    background-color: rgb(163, 34, 34);
    background-image: linear-gradient(rgba(163, 34, 34,0.9), rgba(163, 34, 34,0.9)), url("Background1.png");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: sans-serif;
    color: white;
}

.index-wrapper {
    width: 90%;
    max-width: 1000px; /* Wider to accommodate both side-by-side */
    text-align: center;
}

.hero-text {
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 4rem;
    text-transform: uppercase;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    font-family: "Rubik";
}

/* This container creates the Left/Right split */
.main-content {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    justify-content: space-around; /* Distributes them evenly */
    align-items: center; /* Keeps them vertically aligned with each other */
    flex-wrap: wrap; /* Ensures it looks okay on mobile phones */
    gap: 40px;
}

/* Left Side Styles */
.links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left; /* Aligns text to the left for that sidebar feel */
    font-family: "Pixelify Sans";
}

.links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: 0.3s;
}

.links a:hover {
    opacity: 1;
    padding-left: 10px; /* Slight movement on hover */
}

/* Right Side Styles (The Cream Box) */
.footer-box {
    display: flex;
    align-items: center;
    background-color: #000000;
    color: #333;
    padding: 25px;
    border-radius: 20px;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.footer-text {
  
    text-align: left;
    font-size: 0.9rem;
    padding-right: 15px;
    color: #fffdd0;
}

.footer-image img {
    max-width: 70px;
    height: auto;
    border-radius: 10px;
}


.top-nav {
    margin-bottom: 20px;
    display: flex;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: #c0c0c0;
    text-decoration: none;
    color: black;
    font-size: 12px;
    /* The 3D "Raised" Border */
    box-shadow: inset 1px 1px #ffffff, inset -1px -1px #808080, 1px 1px 0 0 #000;
}

.back-button img {
    width: 16px;
    height: 16px;
}

/* The "Click" Effect */
.back-button:active {
    box-shadow: inset 1px 1px #000, inset -1px -1px #ffffff;
    padding: 5px 7px 3px 9px; /* Shifts text slightly down/right when clicked */
}

.back-button:hover {
    outline: 1px dotted #000;
}