body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes up full viewport height */
    margin: 0; /* Remove default body margins */
}

header {
    background-color: rgba(219, 206, 206, 0.8);
    color: #f1eeee;
    padding: 1rem;
    text-align: center;
}

.container {
    flex-grow: 1; /* Allow container to expand and fill available space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .glass {
    position: relative;
    width: 180px;
    height: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.133), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    margin: 0 -45px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
}

.container:hover .glass {
    transform: rotate(0deg);
    margin: 0 10px;
}

.container .glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0a0a0a;
}

.container .glass svg {
    font-size: 2.5em;
    fill: #000000;
}

footer {
  background-color: rgba(29, 28, 28, 0.8); 
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.8em;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}


nav {
    background-color: #fff; /* White navbar */
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 105px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex;
    justify-content: center; /* Center the links */
}

nav a {
    color: #333;
    text-decoration: none;
    padding: 0 1.5rem; /* Increased padding */
    margin: 0 15px; /* Space between links */
    font-weight: 500; /* Slightly bolder font */
    transition: color 0.3s ease; /* Smooth color transition */
}

nav a:hover {
    color: #575757; /* Blue hover color */
}


header {
    background-color: #000000;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    animation: headerFadeIn 1s ease-in-out;
    top: 0px;
    position: absolute;
    width: 100%;
}
