@import url('../Styles/global-styles.css');


/* === CSS RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: sans-serif;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}


/* navigation */

/* NAVIGATION */
.nav-main {
    width: 100%;
    position: fixed;
    z-index: 999;
    font-family: 'Blackcraft', sans-serif;
    font-size: 2vw;
    height: fit-content;
    transition: transform 0.3s ease;
}
.hide {
    transform: translateY(-100%);
}

.nav-main-header {
    background-color: #3F4A51;
    transition: transform 0.3s ease;
    list-style: none;
    display: flex;
    flex-direction: row;
    height: fit-content;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.4);
    
    justify-content: space-around;
    align-items: center;

    height: 10vh;

}
.nav-main-header li {
    min-width: 20px;
    transform: scale(0.8);
}
.nav-main-header li a {
    text-decoration: none;
    color: #B124DB;
    
}
.nav-main-header li a:hover {
    color: #b124b1;
}

/* Map CSS */

.map-container {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;

    position: sticky;
    border: 2px solid #333;

    cursor: grab; /* style of cursor*/

    /* bg but bigger */
    
    background-image: url(./Assets/background.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: repeat;

}
.map-inner {
    position: absolute;
    width: 4226px;
    height: 3450px;
    transform-origin: 0 0;

    /* bg */
    background-image: url(map_bg.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    


    /* cursor */
    cursor: grabbing;
}



/* Map Marker CSS */
.map-marker {
    position: absolute;
    transition: all 0.2s ease;
    z-index: 10;
}
.map-marker:hover{
    transform:rotate(3deg);
}



.connection-line {
    stroke: red;
    stroke-width: 3;
    stroke-dasharray: 5,5; /* Optional: makes it dashed */
}