:root { --side_distance: 10%; } body { justify-content: center; align-items: center; height: 100vh; width: 100%; margin: 0; padding: 0; background-color: #222222; } @font-face { font-family: 'SF-Black'; src: url('./assets/fonts/SF-Pro-Display-Black.otf'); } @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'); } .blurple { background-color: #5865F2; } #view { color: white; width: 100%; height: 100vh; padding-left: var(--side_distance); padding-right: var(--side_distance); padding-bottom: 30px; } #view hr { height: 2px; margin: 0 auto; width: 100%; } #view h1 { font-family: 'SF-Black'; font-size: 35px; margin: 30px; text-align: center; } .footer { width: 100%; height: 50px; background-color: #333; color: white; padding-top: 15px; } .page-title { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 65px; } .page-subtitle { display: flex; flex-direction: row; margin-bottom: 20px; } .page-subtitle p { font-family: 'SF-Bold'; font-size: 30px; margin: 0; } .folder { width: 269px; height: 212px; margin: 0 auto; background-image: url('./assets/images/folder_closed.png'); } .folder:hover { background-image: url('./assets/images/folder_open.png'); } .box-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 100%; } .box { background-color: rgb(55, 55, 55); color: white; font-size: 30px; text-align: center; justify-content: 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; text-decoration: none; text-align: center; justify-content: center; align-items: center; color: white; transition: background-color 0.75s ease, color 0.75s ease, filter 0.75s ease; } .box-content img { transition: all 0.75s ease; } .box:hover { background-color: white; } .box:hover > .box-content { color: black; } .box:hover > .box-content > .invert-icon { filter: invert(1); } /* ---------------------------------------------------------- */ .box-icon { height: 75px; width: 75px; margin: 30px auto; } .box-banner { margin: -25px; border-top-left-radius: 20px; border-top-right-radius: 20px; margin-bottom: 25px; max-width: calc(100% + 50px); }