/* Home.module.css */ .container { position: relative; min-height: 100vh; /* Full viewport height */ width: 100vw; /* Full viewport width */ max-width: 100%; /* Prevent overflow */ overflow-x: hidden; /* Prevent horizontal scroll */ display: flex; flex-direction: column; /* Stack elements vertically */ justify-content: space-between; /* Space header and footer */ align-items: center; /* Center content horizontally */ padding: 0; margin: 0; background: light-dark(#f8fbf8, #151922); backdrop-filter: blur(10px); } .contentBox { flex-grow: 1; /* Allow content to grow and fill available space */ display: flex; flex-direction: column; align-items: flex-start; /* Align content to the left */ margin-left: 4vw; margin-right: 4vw; border-radius: 10px; /* Rounded corners */ padding: 20px; } .top { width: 100vw; /* Full width */ text-align: center; /* Center the header text */ padding-top: 2vh; margin-bottom: 3.5vh; } .footer { width: 100%; /* Full width footer */ text-align: center; padding: 1rem; background: light-dark(#f8fbf8, #151922); box-shadow: light-dark( 0 -2px 5px rgba(0, 0, 0, 0.1), 0 -2px 5px rgba(255, 255, 255, 0.1) ); } .title { margin: 0; /* Remove default margin */ font-size: 3.5em; font-family: "Cute Notes", sans-serif; } .menu { display: flex; justify-content: center; gap: 0.5vw; /* Space between menu items */ font-size: 0.8em; font-style: italic; } .menuItemContainer { position: relative; display: flex; flex-direction: column; align-items: center; } .menuItem { position: relative; cursor: pointer; padding-bottom: 0.5vh; /* Add space for the underline */ transition: color 0.3s ease; } .menuItem:hover { color: #56ba8e; /* Change text color when hovered */ } .activeIndicator { position: absolute; bottom: -3px; left: 0; width: 100%; height: 2px; background-color: #56ba8e; transform-origin: center; animation: underlineAnimation 0.3s ease forwards; } @keyframes underlineAnimation { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } } .profilePhoto { border-radius: 50%; } .hidden { display: none; } .menuContainer { display: flex; justify-content: center; /* Center both menus horizontally */ align-items: center; /* Align menus vertically */ gap: 1.5vw; /* Space between the main menu and menu2 */ width: 100%; margin-bottom: 1rem; } .menu2 { display: flex; gap: 0.25rem; align-items: center; } .footerLink { color: #56ba8e; /* Link color */ text-decoration: underline wavy; /* Add an underline */ transition: color 0.3s ease; /* Smooth color transition on hover */ }