body { background-color: #222222; } body { justify-content: center; align-items: center; height: 100vh; margin: 0; padding: 0; } @font-face { font-family: 'SF-Bold'; src: url('./assets/fonts/SF-Pro-Display-Bold.otf'); } @font-face { font-family: 'SF-Medium'; src: url('./assets/fonts/SF-Pro-Display-Medium.otf'); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'SF-Medium'; } #EaglerArchive { display: flex; flex-direction: row; } #EaglerArchive h2 { margin-right: 10px; } #nav_bar { display: flex; flex-direction:row; justify-content: space-between; width: 100%; background-color: #333; color: white; padding: 10px; padding-left: 25%; padding-right: calc(25% - 10px); margin: 0 auto; } #nav_bar img { height: 40px; } #nav_bar h2 { font-family: 'SF-Bold'; font-size: 30px; margin-left: 10px; } #nav_bar a { color: white; text-decoration: none; padding: 10px; margin-left: 10px; margin-right: 10px; border-radius: 10px; transition: background-color 0.75s ease, color 0.75s ease; } #nav_bar a:hover { background-color: white; color: rgb(0, 0, 0); } #link_discord { background-color: #5865F2; } #view { width: 100%; height: calc(100vh - 120px); padding-left: 25%; padding-right: 25%; } .folder { background-image: url('./assets/folder-closed.png'); } .folder:hover { background-image: url('./assets/folder-open.png'); } .box-container { display: grid; grid-template-columns: repeat(3, 2fr); gap: 30px; margin-top: 30px; width: 100%; } .box { background-color: rgb(55, 55, 55); font-size: 30px; text-align: center; padding: 25px; border-radius: 20px; text-decoration: none; transition: background-color 0.75s ease, color 0.75s ease; } .box-content { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: white; transition: background-color 0.75s ease, color 1s ease; } .box:hover { background-color: white; } .box:hover > .box-content { color: rgb(0, 0, 0); } /* ---------------------------------------------------------- */ .homepage_gridicon { height: 75px; width: 75px; margin: 30px; } .homepage_gridbanner { margin: -25px; border-top-left-radius: 20px; border-top-right-radius: 20px; margin-bottom: 25px; } #discord-box { background-color: #5865F2; color: white; transition: filter 0.75s ease, background-color 0.75s ease; display: flex; } #discord_div { display: flex; flex-direction: column; align-items: center; justify-content: center; } #discord_icon { height: 75px; width: 75px; margin: 30px; } #discord-box:hover { background-color: #ffffff; } #discord-box:hover > #discord_div{ filter: invert(1); }