html { padding: 0; margin: 0; } body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; overflow-x: hidden; overflow-y: hidden; } #scroll { background-image: linear-gradient(to bottom, white 0%, white 30%, rgba(255, 255, 255, 0) 100%), url('/public/images/skybox.png'); background-position: 0px calc(100vh / 2.2); background-size: cover; background-repeat: repeat-x; } p { margin: 0; } a { text-decoration: none; color: #0075FF; } hr { clear:both; display:block; width: 100%; margin: 0; padding: 0; border: 0; border-top: medium solid #0075FF; } #main-wrapper { display: flex; flex-direction: column; height: 100vh; overflow-y: hidden; overflow-x: hidden; } #nav-bar { display: flex; flex-direction: row; justify-content: space-between; padding-left: 50px; padding-right: 50px; padding-top: 40px; padding-bottom: 40px; } .nav-element { font-size: 40px; font-family: 'Syne Mono', monospace; color: #0075FF; } #main-container { padding-top: 50px; display: flex; flex-direction: column; gap: 50px; padding-bottom: 50px; padding-left: 50px; padding-right: 50px; overflow-y: scroll; box-sizing: border-box; /* Include padding in the height calculation */ flex: 1; } #main-container-article { display: flex; flex-direction: column; gap: 50px; overflow-y: hidden; box-sizing: border-box; /* Include padding in the height calculation */ flex: 1; } #main-text { font-size: 26px; width: 60%; line-height: 40px; color:#0075FF; } #hyperlink-container { display: flex; flex-direction: row; gap: 25px; font-size: 30px; color:#ffffff; font-weight: 400; } .hyperlink { display: flex; flex-direction: row; gap: 20px; width: fit-content; background-color: #0075FF; background-size: cover; /* or contain, depending on your preference */ background-repeat:repeat; border-radius: 30px; padding: 10px; padding-left: 25px; padding-right: 25px; font-family: 'Syne Mono', monospace; color: white; } .hyperlink-header { display: flex; flex-direction: row; gap: 20px; width: fit-content; background-color: #0075FF; background-size: cover; /* or contain, depending on your preference */ background-repeat:repeat; border-radius: 30px; padding: 10px; padding-left: 25px; padding-right: 25px; font-family: 'Syne Mono', monospace; color: white; } .active-page { color: #0075FF; background-color: white; border-color: #0075FF; border: 1px solid; } #hyperlink-container a{ color: white; } #container { position: absolute; top:0px; left:0px; margin: 0; padding: 0; z-index: -999; opacity: 1; } #list-container { display: flex; flex-wrap: wrap; align-items: stretch; row-gap: 100px; column-gap: 50px; justify-content: space-evenly; padding-top: 40px; padding-bottom: 40px; } .list { display: flex; flex-direction: column; width: 600px; height: 500px; gap:10px; } .list-image { width: 100%; height: 500px; overflow: hidden; position: relative; border-radius: 0px; margin-bottom: 10px; } .list-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; filter: grayscale(50%); transition: filter 0.5s ease-in-out; } .list-image img:hover { filter: grayscale(0%); } .list-image-overlay { position: absolute; width: calc(100% + .2rem); height: 100%; box-shadow: 0 0 .25rem .1rem white inset; pointer-events: none; } .list-title { font-size: 30px; color: #0075FF; font-weight: 600; font-family: 'Syne Mono', monospace; } .list-details { font-size: 20px; color: black; display: flex; flex-direction: row; justify-content: flex-start; row-gap: 5px; column-gap: 20px; flex-wrap: wrap; font-family: 'Syne Mono', monospace; } .list-artists { font-size: 20px; font-family: 'Syne Mono', monospace; color: black; display: flex; flex-wrap: wrap; flex-direction: row; } #page-header { display: flex; flex-direction: row; padding-top: 20px; padding-bottom: 20px; padding-left: 50px; font-size: 30px; gap: 20px; height: 100px; font-family: 'Syne Mono', monospace; color: #0075FF; align-items: center; overflow-x: scroll; overflow-y: hidden; } #page-header::-webkit-scrollbar { display: none; } #page-header a { cursor: pointer; } .page-info-cont { display: flex; flex-direction: row; gap:10px; } .page-info-title { font-size: 30px; font-weight: 500; } .page-info-entry { color: black; font-size: 30px; } #article-container { display: flex; flex-direction: row; width: 100%; height: 100%; gap: 40px; } #article-image { flex: 6; display: flex; justify-content: space-evenly; align-items: baseline; } #article-image img { max-height:100%; max-width:100%; object-fit: contain; } #article-text { flex: 4; display: flex; flex-direction: column; gap: 40px; font-size: 26px; line-height: 40px; width: 100%; padding-left: 50px; padding-top: 50px; overflow-y: scroll; } #article-text::-webkit-scrollbar { display: none; } #article-information { font-size: 20px; } #article-title { font-size: 40px; font-family: 'Syne Mono', monospace; color: #0075FF; } #article-book { font-size: 30px; font-family: 'Syne Mono', monospace; color: #0075FF; margin-bottom: 25px; width: fit-content; } #article-artists { font-family: 'Syne Mono', monospace; color: #0075FF; } #container-article { width: 100%; height: 100%; } /* Tablet breakpoint (768px to 1024px) */ @media (max-width: 1100px) and (min-width: 768px) { #nav-bar { padding-left: 50px; padding-right: 50px; padding-top: 20px; padding-bottom: 20px; } #main-text { width: 70%; } #hyperlink-container { flex-direction: column; width: fit-content; } .hyperlink { padding-left: 5vw; width: 80%; } #article-container { display: flex; flex-direction: column; width: 100%; height: 100%; gap: 0px } #article-image { order: 1; width: 100%; } #article-text { order: 2; gap: 10px; width: auto; padding-right: 50px; } #page-header { overflow-y: hidden; overflow-x: scroll; padding-right: 20px; padding-left: 20px; white-space: nowrap; gap: 10px; height: 40px; } #container-article { width: 100%; height: 100%; } } /* Mobile breakpoint (less than 768px) */ @media (max-width: 768px) { #nav-bar { padding-left: 25px; padding-right: 25px; padding-top: 20px; padding-bottom: 20px; flex-direction: column; text-align: center; gap: 5px; } .nav-element { font-size: 20px; } #main-container { /* flex-direction: column-reverse; */ padding-left: 10px; padding-right: 10px; } #main-text { font-size: 18px; width: 80%; padding-left: 0px; text-align:justify; line-height: 28px; margin-left: auto; margin-right: auto; mix-blend-mode:multiply; order: 2; } #hyperlink-container { font-size: 24px; flex-direction: column; width: 100%; padding-left: 0px; align-items: normal; order: 1; } .hyperlink { gap: 10px; width: auto; justify-content: center; margin-left: 25px; margin-right: 25px; text-align: center; } .hyperlink-header { margin-left: 0px; margin-right: 0px; } .list-image { height: 300px; } .list{ width: 90vw; height: auto; } #page-header { font-size: 20px; } #article-container { flex-direction: column; width: auto; gap:0px; align-items: center; padding-top: 0px; } #article-image { order: 1; width: 100%; flex-basis: 40%; } #article-text { order: 2; gap: 10px; padding-left: 20px; padding-right: 20px; width: auto; flex-basis: 60%; } #article-title { font-size: 20px; font-weight: 700; } #article-artists { font-size: 18px; } #article-information { font-size: 18px; } #article-book { font-size: 25px; } #page-header { overflow-y: hidden; overflow-x: scroll; height: 40px; padding-right: 20px; padding-left: 20px; white-space: nowrap; scroll-snap-align: center; gap: 5px; } .page-info-title { font-size: 20px; } .page-info-entry { font-size: 20px; } #container-article { width: 100%; height: 100%; } } @keyframes fadeInUp { 0% { opacity: 0; } 100% { opacity: 1; } }