/* Header */ :root { --background-color-dark: #111111; --background-color-light: rgb(255, 224, 229); --color-dark: lightpink; --color-light: #111111; --color-button-dark: rgb(160, 61, 76); --color-buton-light: #333; --color-button-hover-light: rgb(160, 61, 76); --color-button-hover-dark: #333; --color-bg-body-dark: black; --color-bg-body-light: lightpink; --color-body-light: lightpink; --color-body-dark: black; } header { background-color: var(--background-color-dark); color: var(--color-light); padding: 5px; text-align: left; position: fixed; width: 100%; top: 0; left: 0; } /* Footer */ footer { background-color: #111111; color: lightpink; padding: 5px; text-align: center; position: fixed; width: 100%; bottom: 0; left: 0; } /* Add the following styles for the popup */ .image-popup { position: relative; display: inline-block; max-width: 300px; width: min-content; } .popup-content { display: none; position: absolute; top: 100%; left: 0; width: min-content; background-color: #1d1d1d; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); z-index: 1; border-radius: 5px; } .image-popup:hover .popup-content { display: flex; } .popup-content img { width: 40px; height: auto; margin-right: 10px; box-sizing: border-box; transition: transform 0.1s ease-in-out; } .popup-content img:last-child { margin-right: 0; } /* Add the following style to remove margin on the last child */ .popup-content > :last-child { margin-right: 0; } .popup-content img:hover { transform: scale(1.1); /* Add a slight scale effect on hover */ } /* Navigation in Header*/ nav.top-nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; align-items: center; /* Align items vertically in the center */ } nav.top-nav a { text-decoration: none; color: inherit; padding: 10px 15px; /* Adjust padding for better spacing */ transition: color 0.3s; /* Add a smooth transition for color change */ } nav.top-nav li { margin: 0 15px; border-right: 2px solid rgb(0, 0, 0); /* Add a right border to create a separator */ padding-right: 15px; /* Adjust padding for better spacing */ } /* Style the last li to remove the border */ nav.top-nav li:last-child { border-right: none; } /* Change text color on hover */ nav.top-nav a:hover { color: rgb(255, 246, 247); /* Change to the desired hover color */ } /* Navigation in Footer */ nav.bottom-nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; justify-content: center; /* Center the items horizontally */ align-items: center; /* Align items vertically in the center */ } nav.bottom-nav li { margin: 0 15px; } /* Navigation links in Footer */ nav.bottom-nav a { text-decoration: none; color: inherit; padding: 10px 15px; /* Adjust padding for better spacing */ transition: color 0.3s; /* Add a smooth transition for color change */ } /* Change text color on hover */ nav.bottom-nav a:hover { color: inherit; /* Change to the desired hover color */ } .toggle-button { display: flex; align-items: center; justify-content: center; background-color: #333; color: inherit; width: 40px; height: 40px; padding: 10px 20px; border-color: #11111100; border-radius: 5px; cursor: pointer; } .toggle-button img { transform: scale(.08); } input[type="checkbox"] { display: none; }