@import url("https://fonts.googleapis.com/css2?family=Montez&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* General styles for smaller screens */
@media (max-width: 768px) {

  html {
    height: 100%;
    width: 100%;
    
  }

  body {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  }
  /* body {
    margin: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    display: flex;
  
  } */

  .topbar{
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    border: #000000 solid 0px !important;
    border-bottom: 1px solid rgb(155, 62, 62) !important;
    gap: 30px;
  }

  .topbar .right-side{
    display: none;
  }

  .topbar .left-side{
    transform: scale(0.9);
    display: none;
  }

  .topbar .middle{
    transform: scale(0.8);
  }

  .middle a{
    width: auto;
  }
  
/* ----------------------------------------------- */

  .main-content{
    padding: 10px !important;
    padding-top: 20px !important;
    height: auto;
    width: 100% !important;
    display: flex !important;
    /* justify-content: center !important; */
    align-items: center !important;
    transform: scale(1);
  }

  .container{
    margin: 0px !important;
    transform: scale(0.24);
    z-index: -1 !important;
  }

  .menu-separator{
    display: none;
    margin: 0px !important;
  }

/* --------------------------------- */

  .containerlead{
    transform: scale(0.2);
  }
}


body {
  caret-color: transparent;
}

html {
  height: 100%;
  width: 100%;
}
/* body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  display: flex;

} */

html {
  height: 110%;
  overflow: hidden;
  /* background: #07060F; */
  background: rgb(12,6,23);
  background: linear-gradient(133deg, rgba(12,6,23,1) 0%, rgba(18,53,15,1) 8%, rgba(12,6,23,1) 41%, rgba(53,15,19,1) 69%, rgba(12,6,23,1) 100%);
}

.wrapper{
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.topbar{
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  overflow: hidden;
  height: 55px;
  flex: 0 0 55px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px 5px 10px;
  z-index: 0;
}

.main-content{
  flex-grow: 1;
  display: flex;
  z-index: 0;
  padding: 40px;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

.main-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}


.main-middle{
  position: absolute;
  margin-left: calc(50% - 135px);
  /* z-index: 2; vskeitimas */
  z-index: 2;
}

.main-map{
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px;
    z-index: 2;
}

.main-middle img{
  height: 214px;
  width: 250px;
  z-index: 0;
}


.logo img {
  width: 52px;
  border-radius: 50%;
  border: #ffffff 1px solid;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.left-side{
  display: flex;
  height: 100%;
  width: 150px;
  padding: 5px;
  align-items: center;
  justify-content: left;
}

.right-side{
  display: flex;
  height: 100%;
  width: 150px;
  padding: 5px;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1{
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* This is "font-black" in Tailwind */
  font-size: 1.25rem; /* This is "text-xl" in Tailwind */
  color: hsl(0 0% 98%); /* This is the --foreground color */
  padding: 5px;
}

.left h1, .right h1{
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* This is "font-black" in Tailwind */
  font-size: 1.25rem; /* This is "text-xl" in Tailwind */
  color: hsl(0 0% 98%); /* This is the --foreground color */
  padding: 5px;
}

.profile-box{
  position: relative;
  height: 95%;
  color: white;
  border: white solid 1px;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.profile-box h1{
  height: auto;
  color: white;
  font-size: 18px;
  padding: 5px;
  margin-right: 10px;
  font-weight: bold;
}

.profile-box img{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 10px;
  border: white solid 1px;
  background-color: #922d2d;
  
}

.profile-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.733);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
  border-radius: 9px;
}

.profile-box .overlay:hover{
  opacity: 1;
}

.profile-box .overlay h1{
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.profile-box:hover{
  transition: opacity 0.5s ease;
  border-color: #000000;
}

.middle{
  display: flex;
  height: 100%;
  width: auto;
  padding: 5px;
  align-items: center;
  justify-content: center;
}

.middle a{
  padding: 5px;
  font-size: 18px;
  color: rgb(153, 30, 50);
  margin-left: 5px;
  margin-right: 5px;
  font-weight: bold;
  text-decoration: none;
}

.middle a:hover{
  padding: 5px;
  font-size: 18px;
  color: #bd4040;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  text-decoration: none;
}

.logo{
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container{
  height: 500px;
  width: 1500px;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  display: flex;
  justify-content: start;
  flex-direction: column;
}

.left, .right {
    cursor: pointer;
}

.points {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  color: #f3f3f3d5;
  font-size: 48px;
  position: absolute;
  bottom: 0%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.left{
  position: relative;
}

.left img {
  top: 45px;
  position: absolute;
  width: 100%;
  height: 363px;
  object-fit: fill;
  border-radius: 0px 0px 20px 20px;
  z-index: 1;
}

.right{
  position: relative;
}

.right img {
  top: 45px;
  position: absolute;
  width: 100%;
  height: 363px;
  object-fit: fill;
  border-radius: 0px 0px 20px 20px;
  z-index: 1;
}

.containerlead{
  height: 1000px;
  width: 1500px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  display: flex;
  justify-content: start;
  flex-direction: column;

}

.menu-separator{
  position: relative;
  width: 1450px;
  height: 0px;
  border: 1px solid rgba(255, 255, 255, 0.473);
  opacity: 50%;
  margin-bottom: 20px;
  margin-top: 20px;
}


.top{
  height: 50px;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px 20px 0px 0px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  display: flex;
}

.top-left{
  width: 200px;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-left: 30px;
}

.top-right{
  width: 200px;
  height: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
  margin-right: 30px;
  font-weight: bold;
}

.top-right h1{
  margin-right: 20px;
  font-weight: bold;
  font-family: monospace; /* Ensures fixed-width font for consistent spacing */
  text-align: center; /* Align text properly */
  width: 6ch; /* Reserve space for up to "HH:MM:SS" */
  display: inline-block; /* Prevents shrinking or growing */
}

.top-middle{
  width: 200px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-left h1{
  font-size: 22px;
}

.on{
  color: #db2d2d;
}

.off{
  color: #000000;
}

.top-right h1, .top-left h1, .top-middle h3{
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* This is "font-black" in Tailwind */
  font-size: 1.25rem; /* This is "text-xl" in Tailwind */
  color: hsl(0 0% 98%); /* This is the --foreground color */
  padding: 5px;
}

.top-middle h1{
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* This is "font-black" in Tailwind */
  font-size: 1.25rem; /* This is "text-xl" in Tailwind */
  color: hsl(0, 0%, 7%); /* This is the --foreground color */
  padding: 5px;
}

.top-middle h3{
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* This is "font-black" in Tailwind */
  font-size: 1.25rem; /* This is "text-xl" in Tailwind */
  color: hsl(0 0% 98%); /* This is the --foreground color */
  padding: 5px;
}

.main{
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}


.mainlead{
  /* height: 450px; */
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  scale: 0.9;
  z-index: 1;
}


.left{
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.name{
  width: 100%;
  height: 45px;
  background-color: #000000ad;
  border-radius: 20px 20px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffffb4;
}

.right{
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.sidebar .sidebar-header {
  display: flex;
  align-items: center;
}

.last{
  margin-top: 100px;
}

.listing{
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 50px; 
  align-items: center;
}

.leftlead{
  width: 45%;
  height: 365px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  z-index: 1;
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

.leftlead::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}


.menu-separator2{
  position: relative;
  width: 95%;
  height: 0px;
  border: 1px solid rgba(255, 255, 255, 0.473);
  opacity: 50%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.menu-separator3{
  position: relative;
  width: 95%;
  height: 0px;
  border: 1px solid rgb(207, 17, 17);
  opacity: 50%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.listing img{
  height: 55px;
  width: 55px;
  border-radius: 50px;
  border: 2px #ebebeba2 solid;
}

.listing h1{
  display: flex;
  justify-content: left;
  margin-left: 120px;
  color: #ffffffe3;
  width: 30%;
}

.listing h2{
  display: flex;
  justify-content: right;
  flex-direction: row;
  color: #ffffffe3;
  width: 30%;
}
.rightlead{
  width: 45%;
  height: 365px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 20px;
  z-index: 1;
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

.rightlead::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}

#map {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

#map > div, #map canvas {
  border-radius: 20px;
}

#map.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  border-radius: 20px;
}

.expand-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  padding: 5px 10px;
  background: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.expand-btn:hover {
  background: #0056b3;
}

.maplibregl-ctrl-bottom-right.mapboxgl-ctrl-bottom-right {
  animation: fadeOut 10s forwards;
}

@keyframes fadeOut {
  0% {
      opacity: 1;
  }
  50% {
    opacity: 1;
}
  100% {
      opacity: 0;
      display: none;
  }
}