body { font-family: Arial, sans-serif; margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; user-select: none; /* background-color: #1f2526; */ } .background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url(../ui/map1.png); background-size: cover; background-position: center; background-repeat: no-repeat; filter: blur(10px); z-index: -1; } @keyframes scaleIn { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } #map-image { height: 100%; /* Vul altijd de volledige hoogte */ width: auto; /* Breedte wordt automatisch geschaald op basis van de hoogte */ background-image: url(../ui/map1.png); /* Jouw kaartafbeelding */ background-size: contain; /* Zorg ervoor dat de gehele afbeelding zichtbaar is */ background-repeat: no-repeat; /* Voorkom herhaling */ background-position: center; /* Centreer de afbeelding */ aspect-ratio: 1280 / 1920; /* Houd de originele verhouding van de afbeelding vast */ -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0)), linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0)); -webkit-mask-composite: source-in; } /* Stijl voor markers */ #markers { position: absolute; } #markers .marker { background-image: url(../ui/loc_marker.png); background-size: contain; background-repeat: no-repeat; background-position: center; width: 30px; height: 30px; } .marker-label { position: absolute; left: -12px; font-size: 11px; background: rgb(219 219 219 / 80%); padding: 3px 5px; border-radius: 3px; white-space: nowrap; font-weight: bold; text-align: center; } .marker:hover .marker-label { font-size: 12px; /* Increase font size on hover */ transform: translateX(0%); /* Center the text when hovering */ z-index: 10; /* Bring the label in front of the marker */ } h3 i { margin: 0px 10px; } .title { text-align: center; font-size: 24px; margin-bottom: 20px; color: whitesmoke; } .info_server { padding: 10px; border: none; border-radius: 1vh; background-color: #14141485; color: whitesmoke; display: flex; flex-direction: column; justify-content: flex-start; cursor: pointer; } .info_server_serverinfo { margin: 0% 2.5%; display: flex; gap: 15px; flex-direction: column; } .info_server_flex { display: flex; flex-wrap: wrap; flex-direction: row; gap: 20px; margin: 0% 2.5%; } .button-container { width: 27%; display: flex; flex-direction: column; gap: 10px; max-height: 550px; overflow-y: scroll; overflow-x: hidden; margin: 0px 15px; } .button-container::-webkit-scrollbar { display: none; } .button-container2 { display: flex; flex-direction: column; gap: 10px; max-height: 550px; overflow-y: scroll; overflow-x: hidden; } .button-container2::-webkit-scrollbar { display: none; } .info-container { width: 27%; display: flex; flex-direction: column; gap: 10px; height: 80%; overflow-y: scroll; overflow-x: hidden; margin: 0px 15px; justify-content: center; } .info-container::-webkit-scrollbar { display: none; } .button_extra { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; background-color: #14141485; color: whitesmoke; border-radius: 1vh; padding: 10px; height: auto; transition: transform 0.3s ease, background-color 0.3s ease; cursor: pointer; } .button_extra:hover { transform: scale(1.01); } .button_extra h4 { margin: 0; text-align: left; } .description { margin-top: 8px; margin-bottom: 0; font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }