/* style.css */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); /* Global Styles */ body { margin: 0; font-family: 'Inter', Arial, sans-serif; background-color: #2c2f33; color: #ffffff; overflow: auto; font-size: 16px; } body a { color: #7289da; text-decoration: none; } body a:hover { text-decoration: underline; } header { background-color: #23272a; padding: 10px; position: fixed; top: 0; width: 100%; display: flex; justify-content: center; z-index: 1000; } nav { display: flex; flex-wrap: wrap; justify-content: center; } nav a { margin: 5px 10px; color: #ffffff; text-decoration: none; font-weight: bold; font-size: 0.9em; } nav a:hover { color: #7289da; text-decoration: none; } .container { max-width: 1200px; padding-top: 70px; margin: 0 auto; padding-left: 15px; padding-right: 15px; } /* Carousel Styles */ .carousel { position: relative; width: 100%; height: 100vh; overflow: hidden; } #carousel-container { position: relative; width: 100%; height: 100%; } #carousel-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; } #overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: black; opacity: 0; transition: opacity 1s ease; z-index: 1; } .carousel-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #ffffff; text-align: center; background-color: rgba(35, 39, 42, 0.9); padding: 15px; border-radius: 10px; z-index: 2; width: 80%; max-width: 400px; } .carousel-text h1 { font-size: 2em; margin: 0 0 10px; } .carousel-text p { font-size: 1em; } /* Page-specific Styles */ .home-background { height: 100vh; width: 100%; position: relative; background-size: cover; background-position: center; transition: background-image 1.5s ease-in-out; } .home-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #ffffff; background: rgba(0, 0, 0, 0.5); padding: 15px; border-radius: 10px; width: 80%; max-width: 400px; } .home-content h1 { font-size: 2em; margin: 0; } .home-content p { font-size: 1em; } /* Description Page */ ol { background: #40444b; padding: 15px; border-radius: 10px; margin-left: 20px; } ol li { margin-bottom: 10px; } /* List Page */ ul { list-style: none; padding: 0; } ul li { margin-bottom: 10px; } ul li a { color: #7289da; text-decoration: none; } ul li a:hover { text-decoration: underline; } /* Liste page */ .anime-list { list-style-type: none; padding: 0; margin: 20px 0; font-size: 1rem; color: #b9bbbe; } .anime-list li { margin-bottom: 15px; } .anime-list a { color: #7289da; text-decoration: none; transition: color 0.3s ease; } .anime-list a:hover { color: #ffffff; } .anime-list a:visited { color: #a58dff; } /* Footer */ footer { padding: 10px; text-align: center; margin-top: 20px; color: #99aab5; font-size: 0.9em; } /* Media Queries for Responsive Design */ @media screen and (max-width: 768px) { body { font-size: 14px; } nav a { margin: 5px; font-size: 0.8em; } .carousel-text h1 { font-size: 1.8em; } .carousel-text p { font-size: 0.9em; } .home-content h1 { font-size: 1.8em; } .home-content p { font-size: 0.9em; } .container { padding-top: 60px; } } @media screen and (max-width: 480px) { body { font-size: 12px; } nav { flex-direction: column; align-items: center; } nav a { margin: 3px 0; } .carousel-text h1 { font-size: 1.5em; } .carousel-text p { font-size: 0.8em; } .home-content h1 { font-size: 1.5em; } .home-content p { font-size: 0.8em; } .container { padding-top: 120px; } }