/* General styling */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #F2F2F2; } h1 { color: #1A1A1A; font-size: 36px; font-weight: bold; text-align: center; margin-top: 0; } h2 { color: #1A1A1A; font-size: 24px; font-weight: bold; text-align: center; } p { color: #1A1A1A; font-size: 16px; line-height: 1.5; } /* NAVBAR */ .navbar { background-color: #333333; height: 80px; display: flex; justify-content: space-around; align-items: center; box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2); } .nav-links { display: flex; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; } .nav-links li { margin: 0 10px; } .nav-links li a { color: #ffffff; text-decoration: none; font-size: 18px; font-weight: bold; transition: color 0.3s ease-in-out; } .nav-links li a:hover { color: #4CAF50; } /* Main items */ .main-items { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .main-item { width: 30%; background-color: #FFFFFF; border-radius:5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 20px; } .main-item h2 { margin-top: 0; } /* Grid */ .grid { display: grid; grid-template-columns: repeat(1, 6fr); grid-gap: 20px; } .item { background-color: #FFFFFF; border-radius: 5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 20px; } .item h2 { margin-top: 0; } .item p { margin-bottom: 0; } #profileWrapper { width: 800px; margin: auto; padding: 50px; box-shadow: -5px 0 5px rgba(0, 0, 0, 0.5), 5px 0 5px rgba(0, 0, 0, 0.5); } .subnav { background-color: transparent; height: fit-content; display: flex; justify-content: center; align-items: center; padding-top: 60px; } .subnav-Header { color: #333333; font-size: 20px; font-weight: bold; display: flex; justify-content: center; } .subnav-links { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; } .subnav-links li { display: flex; margin: 0 10px; padding: 0 30px 0 30px; } .subnav-links li a { color: #363636; text-decoration: none; font-size: 16px; font-weight: bold; transition: color 0.3s ease-in-out; } .subnav-links li a.active { color: #4CAF50; } /* Center the subNavContainer */ .subNavContainer { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; } .content { display: none; } .shown { display: flex !important; }