@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); body { margin: 0; font-family: Arial, sans-serif; background-image: url('images/background.png'); background-size: cover; background-repeat: no-repeat; background-position: center; height: 100vh; width: 100vw; color: #fff; overflow: hidden; user-select: none; } .container { display: flex; flex-direction: column; align-items: center; padding: 20px; } .header { width: 100%; background-color: rgba(28, 28, 28, 0.8); padding: 15px 20px; display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); } .header h1 { margin: 0; font-size: 24px; color: #ffd700; text-align: center; text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffcc00, 0 0 20px #ffcc00, 0 0 25px #ff9900, 0 0 30px #ff9900; animation: neonEffect 1.5s ease-in-out infinite alternate; } @keyframes neonEffect { 0% { text-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffcc00, 0 0 20px #ffcc00, 0 0 25px #ff9900, 0 0 30px #ff9900; } 100% { text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffcc00, 0 0 40px #ffcc00, 0 0 50px #ff9900, 0 0 60px #ff9900; } } .categories { max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 50px 0; max-height: 80vh; overflow-y: scroll; } .category { flex: 1 1 calc(33.33% - 40px); max-width: 300px; height: 300px; text-align: center; background-color: rgba(28, 28, 28, 0.9); border: 2px solid #ffd700; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; position: relative; } .category:hover { background-color: rgba(28, 28, 28, 0.3); transform: translateX(5px); box-shadow: 0 0 3px 3px rgba(255, 215, 0, 0.8); } .category img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: -1; } .category h2, .category p { position: relative; z-index: 1; text-shadow: 1px 1px #000; } ::-webkit-scrollbar { width: 3px; } ::-webkit-scrollbar-track { background: rgba(255,255,255,0.5); border-radius: 10px; } ::-webkit-scrollbar-thumb { background: #ffd700; border-radius: 10px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); } ::-webkit-scrollbar-thumb:hover { background: #ffd700; cursor: pointer; } .gallery { display: none; flex-wrap: wrap; justify-content: center; gap: 20px; /* margin-top: 20px; */ max-height: 75vh; overflow-y: auto; max-width: 1200px; } .gallery-item { display: flex; flex-direction: column; align-items: center; background-color: rgba(28, 28, 28, 0.9); border: 2px solid #ffd700; border-radius: 10px; padding: 10px; width: 200px; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); position: relative; overflow: hidden; } .gallery-item img { width: 100%; height: 100%; object-fit: fill; border-radius: 8px; cursor: pointer; transition: transform 0.3s; } .gallery-item img:hover { transform: scale(1.2); z-index: 2; } .gallery-item p { margin: 10px 0 0; color: #000000; position: relative; z-index: 3; background-color: rgba(255, 255, 255, 1.0); padding: 10px; width: 100%; border-radius: 10px; box-sizing: border-box; text-align: center; font-weight: bold; font-size: 16px; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; } .expanded-image { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; max-width: 90%; max-height: 90%; background-color: rgba(0, 0, 0, 0.9); padding: 10px; border-radius: 10px; } .expanded-image img { width: 100%; height: auto; display: block; } .expanded-image .close-button { position: absolute; top: 15px; right: 15px; background-color: #ffffff; color: #000; border: none; border-radius: 5px; padding: 0 7px 3px 7px; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; font-size: 25px; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 700; font-style: normal; } .expanded-image .close-button:hover { background-color: #ffcc00; } .footer { margin-top: 40px; text-align: center; font-size: 14px; color: #777; } .footer a { color: #ffd700; text-decoration: none; } .footer a:hover { text-decoration: underline; } .button-container { display: flex; align-items: center; /* Dikey ortalama */ gap: 10px; /* Aralarına boşluk eklemek için */ justify-content: center; /* Ortalamak için (isteğe bağlı) */ margin: 20px 0; /* Üst ve alt boşluk */ } .back-button { display: none; margin: 20px 0; padding: 10px 20px; background-color: #ffd700; color: #000; border: none; border-radius: 5px; cursor: pointer; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; } .back-button:hover { background-color: #ffcc00; } .sort-select { display: none; width: 150px; margin-left: 10px; padding: 10px; background-color: #ffd700; color: #000; border: none; border-radius: 5px; cursor: pointer; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; text-align: center; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .sort-select:hover { background-color: #ffcc00; } .sort-select option { font-size: 14px; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; } .info-bar { position: fixed; top: 10px; left: 10px; z-index: 9999; display: flex; align-items: center; } .info-button { background-color: #ffd700; color: #000; border: none; border-radius: 5px; padding: 10px 20px; cursor: pointer; font-size: 16px; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; } .info-button:hover { background-color: #ffcc00; } .info-image { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; max-width: 90%; max-height: 90%; background-color: rgba(0, 0, 0, 0.9); padding: 10px; border-radius: 10px; } .info-image img { width: 130vh; height: auto; display: block; } .info-image .close-button { position: absolute; top: 15px; right: 15px; background-color: #ffffff; color: #000; border: none; border-radius: 5px; padding: 0 7px 3px 7px; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; font-size: 25px; font-family: "Inter", serif; font-optical-sizing: auto; font-weight: 700; font-style: normal; } .info-image .close-button:hover { background-color: #ffcc00; } body.modal-active { overflow: hidden; }