:root { /* Color palette */ --primary-color: rgba(202, 216, 3, 0.9); --secondary-color: green; --accent-color: rgb(255, 136, 0); --background-color: rgb(205, 243, 148); --text-color: #333; --shadow-color: rgba(0, 0, 0, 0.2); /* Spacing */ --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem; } /* Base styles */ body, html { font-family: 'Poppins', 'Montserrat', 'Segoe UI', Arial, sans-serif; margin: 0; padding: 0; overflow: hidden; /* height: 100%; */ width: 100%; color: var(--text-color); height: 100%; } ::selection { background-color: var(--accent-color); color: white; } h1 { text-align: center; position: relative; } h1::after { content: ''; display: block; width: 50px; height: 3px; background-color: var(--accent-color); margin: 8px auto; border-radius: 2px; } /* Layout */ #map { width: 100vw; height: 100vh; position: absolute; top: 0; left: 0; z-index: 1; /* Ensure it is behind other elements */ } main { margin: 0; padding: 0; position: relative; z-index: 5; /* Ensure it is above the map */ display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 100vw; height: 100vh; overflow: hidden; /* Prevent scrollbars */ } footer { position: fixed; bottom: 0; max-height: 10vh; text-align: left; align-content: left; font-size: 0.8rem; background-color:rgba(202, 216, 3, 0.7); width: 100%; border-top: 1px solid greenyellow; padding-left: 15%; padding-right:15%; z-index: 15; } table#mapistas thead tr th { background-color: rgba(202,216,3,0.7); color: black; } table#mapistas tbody tr td { background-color: rgba(202,216,3,0.7); color: black; } article { position: fixed; top: 12%; /* Space for nav */ bottom: 10%; /* Space for footer */ left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; max-height: calc(100vh - 90px); /* Adjust based on nav and footer heights */ overflow-y: auto; width: 80%; display: block; flex-direction: column; justify-content: center; } .info { padding: var(--spacing-md); padding-bottom: 6rem; background-color: rgba(255, 255, 255, 0.85); border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); } /* Navigation */ nav { position: absolute; top: 0; left: 0; right: 0; padding-left: 10vw; /* padding-right:10vw; */ background-color: rgba(189, 216, 3, 0.24); /* padding: var(--spacing-sm); */ z-index: 1000; font-size: 100%; box-shadow: 0 2px 10px var(--shadow-color); backdrop-filter: blur(5px); } nav ul { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); padding: 0 var(--spacing-sm); } nav ul li { padding: 0; flex: 1 1 auto; list-style: none; } nav li [role=button], nav li [type=button], nav li button { background-color: rgba(36, 82, 1, 0.9); backdrop-filter: blur(2px) contrast(1.2); color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.5); border-width: .2rem; padding: 0.1rem 1rem; /* border-radius: 4px; */ cursor: pointer; transition: all 0.3s ease; } li a { background-color: rgba(255, 136, 0, 0.8); } .mobile-menu ul li { display: block; text-align: center; padding: 0.2rem 0; border-radius: 100rem; width: auto; /* backdrop-filter: hue-rotate(180deg); */ /* background-color: rgba(255, 255, 255, 0.7); */ color: rgba(172, 255, 47, 0.9); padding: 0; } .mobile-menu ul li a:hover { backdrop-filter: blur(2px) saturate(150%) brightness(1.5) hue-rotate(180deg); animation: pulse 1s normal ease-in-out; /* box-shadow: 0 0 -2px rgba(192, 157, 117, 0.8); */ transition: all 0.2s ease-in-out; /* transform: scale(1.2); */ color: black; color: rgba(255, 136, 0, 1); z-index: 1800; /* padding: 0; */ } /* .mobile-menu ul li a i:hover { } */ /* .mobile-menu ul li a i { } */ .mobile-menu ul li a { display: block; text-align: center; padding: 0.5rem 0; border-radius: 2rem; backdrop-filter: invert(100%); } .mobile-menu ul li a i{ margin-left:0px; padding: .1rem; } .desktop-menu { display: block; justify-content: space-between; align-items: center; padding: 0; margin: 0; } .desktop-menu li a { display: flex; justify-content: space-between; align-items: center; } .desktop-menu li a:hover { background-color: rgb(45, 60, 35); animation: pulse 1.5s infinite ease-in-out; box-shadow: 0 0 -3px rgba(255, 167, 14, 0.7); transition: all 0.2s ease; transform: scale(1.02); } /* Buttons */ button { transition: all 0.3s ease; position: relative; overflow: hidden; background-color: var(--accent-color); border: none; } button::after { content: ''; position: absolute; height: 150%; width: 150%; top: -25%; left: -25%; background: radial-gradient(circle, rgba(255,255,255,0.3) 100%, transparent 10.01%); transform: scale(0); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; } button:hover { background-color: rgba(255, 136, 0, 0.8); } button:hover::after { transform: scale(1); opacity: 1; } #pinner-top { background-color: rgba(0, 0, 0, 0.2); color: white; border-radius: 4px; } button a { color: white; text-decoration: none; } /* Form elements */ input, select, textarea { border: 1px solid #ddd; border-radius: 4px; padding: 8px; transition: border 0.3s ease; width: 100%; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 2px rgba(255, 136, 0, 0.2); } input#submit { background-color: var(--secondary-color); color: white; font-weight: bold; cursor: pointer; padding: 10px; } input#submit:hover { background-color: #008800; transform: translateY(-2px); } #lng, #lat { font-size: 0.8rem; background-color: grey; color: white; border-radius: 3px; padding: 4px 8px; } /* Modal */ section#pinner-modal { position: absolute; top: 10vh; left:10%; color: var(--text-color); padding: var(--spacing-md); text-align: left; animation: fadeIn 0.5s forwards; box-shadow: 0 4px 20px var(--shadow-color); z-index: 999; display: flex; flex-shrink: 1; border-radius: 8px; max-height: 80vh; overflow-y: auto; background-color: rgba(189, 216, 3, 0.24); backdrop-filter: blur(5px); } section#pinner-modal form { max-width: 400px; margin: 0 auto; padding: var(--spacing-md); border-radius: 8px; background-color: var(--primary-color); font-size: 100%; } section#pinner-modal::-webkit-scrollbar { width: 8px; } section#pinner-modal::-webkit-scrollbar-thumb { background-color: var(--accent-color); border-radius: 10px; } /* Map elements */ .leaflet-marker-icon { background-color: transparent !important; border: none; padding: 0; margin: 0; transition: transform 0.3s ease; } .leaflet-marker-icon:hover { transform: scale(1.2); } .eaflet-popup-content { width: 100%; } .fa, .far, .fas { font-size: 1.5rem; /* filter: drop-shadow(0 0 0.2rem var(--accent-color)); */ } .indicator { color: tomato !important; filter: drop-shadow 0 0 0.2rem var(--accent-color); } .control-button { position: fixed; bottom: 30px; /* right: 20%; */ width: 15vw; height: 15vw; /* transform: translateX(-50%); */ background-color: rgba(60, 245, 9, 0.8); border-radius: 100%; border: 4px solid rgba(255, 255, 255, 0.5); /* font-size: 4rem; */ font-weight: bolder; z-index: 100; color: white; animation: pulsePing 1s ease-in-out 0s 1 normal none; display: flex; justify-content: center; align-items: center; } .control-button .fas.fa-camera { font-size: 3rem; /* Increased size specifically for camera icon */ } .marker-cluster { background-color: rgb(249, 170, 61) !important; border-radius: 100px; box-shadow: 0 0 10px rgba(85, 38, 5, 0.7); /* Animation removed as it was causing visibility issues */ } #dash-container { max-width: 75vw; } /* Notifications */ .flashes { position: absolute; display: flex; width: max-content; z-index: 1001; border-radius: 20px; background-color: rgba(189, 216, 3, 0.6); top: 12vh; left: 10vw; padding: var(--spacing-md); border: 2px solid rgba(0, 0, 0, 0.1); box-shadow: 0 4px 15px var(--shadow-color); animation: fadeOut 15s forwards; } ul.flashes li { list-style: none; padding: 0; margin: 0; font-size: 1.2rem; color: black; } /*/html/body/main/div[1]/div[1]/div[2]/svg/g/path */ path { cursor: crosshair !important; } /* Animations */ @keyframes fadeOut { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } } @keyframes fadeIn { 0% { opacity: 0; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0% { box-shadow: 0 0 10px rgba(172, 255, 47, 0.7); } 50% { box-shadow: 0 0 15px rgba(172, 255, 47, 0.9); } 100% { box-shadow: 0 0 10px rgba(172, 255, 47, 0.7); } } @keyframes pulsePing { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } } /* Media queries for responsiveness */ @media (max-width: 811px) { section#pinner-modal { width: 90%; left: 5%; right: 5%; } img#logo { max-height: 5vh; } nav { height: 10vh; overflow: visible; } nav ul { justify-content: center; } #dash-container { max-width: 95vw; } } @media (min-width: 812px) { nav { height: 10vh; } nav ul { justify-content: flex-end; } nav ul li { padding: 0 var(--spacing-md); } nav ul li a { padding: 0.5rem 1 } .control-button { display: none; } }