/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 21, 2025, 11:02:17 AM
    Author     : DELL
*/
@media (max-width: 768px) {
html, body {
    margin: 0;
    padding: 0;
}

.svg-container {
    width: 100%;
}

.svg-container svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 600;
    display: block;
}
#mapHeader {
    background-color: #f5f5f5;
    width: 50%;
    position: absolute;
    top: 0%;
    left:1%;
    color: #00aeef;
    text-align: center;
    font-size: 2vw;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1%;
    z-index: 2000;
    overflow: hidden;
    transition: all 0.3s ease; /* Smooth hover effects */
}

/* Shake animation keyframes */
@keyframes headerShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(8px); }
    50% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Apply animation only on hover */
#mapHeader:hover h1 {
    animation: 
        headerShake 1s ease-in-out,
        headerShake 0.5s ease-in-out 1s,
        headerShake 0.25s ease-in-out 1.5s,
        headerShake 0.125s ease-in-out 1.75s,
        headerShake 0.0625s ease-in-out 1.875s,
        headerShake 0.03125s ease-in-out 1.9375s,
        headerShake 0.015625s ease-in-out 1.96875s;
}
svg path{
    fill:white;
    stroke:gray;
    stroke-width:.5;
}
svg path:hover{
    fill:#0066eeff;
    transition: 0.5s;
    cursor: pointer;
}
#AFKAB,#AFBAM,#AFDAY,#AFGHA,#AFWAR,#AFPAR,#AFGHO,#AFHER{
    fill: #00aeef;
    transition: fill 0.3s ease;
    cursor: pointer;
}
#AFKAB:hover,#AFBAM:hover,#AFDAY:hover,#AFGHA:hover,#AFWAR:hover,#AFPAR:hover,#AFGHO:hover,#AFHER:hover{
    fill:#0066eeff;
    transition: fill 0.3s ease;
    cursor: pointer;
}
.pl{
    position: absolute;
    width: 10%;
}
.pl{
    top:42%;
    left:43%;
}
.pl:nth-of-type(2){
    top:39%;
    left:34%;
}
.pl:nth-of-type(3){
    top:50%;
    left:30%;
}
.pl:nth-of-type(4){
    top:55%;
    left:36%;
}
.txt{
    fill:white;
    font-size: 12px;
    text-anchor: middle;
    pointer-events: none;
    z-index: 900;
}
.custom-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 6px;
    width:200px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 100;
}
.custom-tooltip img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}
#tooltip-img{
    width: 98%;
    height: auto;
}
#tooltip-text,#tooltip-phone{
    font-family: Bahnschrift;
    background-image: url('../icon/location.png');
    background-repeat: no-repeat;
    background-size: 100px;
    font-size: 10px;
    font-family: Arial;
    text-align: center;
    text-justify: distribute;
    font-weight: bold;
}
#location{
    width:28px;
}
#phone{
    width:30px;
}
#email{
    width:15px;
}
#tooltip-email{
    font-size: 10px;
}
#controls{
    position: absolute;
    display: flex;
    right: 25%;
    top: 0%;
}
#controls button:nth-of-type(2){
}
#controls button{
    display: inline-block;
    padding: 2% 50%;
    font-size: 20px;
    font-weight: bold;
}
}
/*for desktop*/
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 21, 2025, 11:02:17 AM
    Author     : DELL
*/
@media (min-width: 768px) {
html, body {
    margin: 0;
    padding: 0;
}

.svg-container {
    width: 100%;
}

.svg-container svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 600;
    display: block;
}
#mapHeader {
    background-color: #cccccc;
    width: 15%;
    position: absolute;
    top: 0%;
    left: -10%;
    color: #00aeef;
    text-align: center;
    margin-left: 10%;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1%;
    z-index: 2;
    font-size: 1rem;
    overflow: hidden;
    transition: all 0.3s ease; /* Smooth hover effects */
}

/* Shake animation keyframes */
@keyframes headerShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(8px); }
    50% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}
#mapHeader h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: black;
}

/* Apply animation only on hover */
#mapHeader:hover h1 {
     font-size: 2rem;
    animation: 
        headerShake 1s ease-in-out,
        headerShake 0.5s ease-in-out 1s,
        headerShake 0.25s ease-in-out 1.5s,
        headerShake 0.125s ease-in-out 1.75s,
        headerShake 0.0625s ease-in-out 1.875s,
        headerShake 0.03125s ease-in-out 1.9375s,
        headerShake 0.015625s ease-in-out 1.96875s;
}
svg path{
    fill:white;
    stroke:gray;
    stroke-width:.5;
}
svg path:hover{
    fill:#0066eeff;
    transition: 0.5s;
    cursor: pointer;
}
#AFKAB,#AFBAM,#AFDAY,#AFGHA,#AFWAR,#AFPAR,#AFGHO,#AFHER{
    fill: #00aeef;
    transition: fill 0.3s ease;
    cursor: pointer;
}
#AFKAB:hover,#AFBAM:hover,#AFDAY:hover,#AFGHA:hover,#AFWAR:hover,#AFPAR:hover,#AFGHO:hover,#AFHER:hover{
    fill:#0066eeff;
    transition: fill 0.3s ease;
    cursor: pointer;
}
.pl{
    position: absolute;
    width: 10%;
}
.pl{
    top:42%;
    left:43%;
}
.pl:nth-of-type(2){
    top:39%;
    left:34%;
}
.pl:nth-of-type(3){
    top:50%;
    left:30%;
}
.pl:nth-of-type(4){
    top:55%;
    left:36%;
}
.txt{
    fill:black;
    font-size: 1vw;
    text-anchor: middle;
    pointer-events: none;
    z-index: 900;
}
.custom-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 6px;
    width:200px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 100;
}
.custom-tooltip img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}
#tooltip-img{
    width: 98%;
    height: auto;
}
#tooltip-text,#tooltip-phone{
    font-family: Bahnschrift;
    background-image: url('../icon/location.png');
    background-repeat: no-repeat;
    background-size: 100px;
    font-size: 10px;
    font-family: Arial;
    text-align: center;
    text-justify: distribute;
    font-weight: bold;
}
#location{
    width:28px;
}
#phone{
    width:30px;
}
#email{
    width:15px;
}
#tooltip-email{
    font-size: 10px;
}
#controls{
    position: absolute;
    display: block;
    right: 2%;
    top: 30%;
    background-color: black;
    color: white;
}
#controls button{
    background-color: black;
    color: white;
}
#controls button:nth-of-type(2){
    padding:3% 32%;
    
}
}
