* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
main {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: 1s;
  margin-bottom: 30px;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}
.flicker-svg {
  width: 52%;
  max-width: 600px;
}

.flicker-image-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  animation: glow 1s infinite;
  animation-timing-function:ease;
}
.flicker-image-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  animation: glow2 1s infinite;
  animation-timing-function: ease-in;
}
.flicker-image-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  animation: glow3 1s infinite ;
  animation-timing-function: ease-in;
}
.flicker-image-4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  animation: glow4 1s infinite;
  animation-timing-function: ease-in;
}
@keyframes glow {
  0%, 25% {
      opacity: 1;
  }
  25.01%, 100% {
      opacity: 0;
  }
}
@keyframes glow2 {
  25%, 50% {
      opacity: 1;
  }
  0%,24.99%,50.01%, 100% {
      opacity: 0;
  }
}
@keyframes glow3 {
  50%, 75% {
      opacity: 1;
  }
  0%,49.99%,75.01%, 100% {
      opacity: 0;
  }
}
@keyframes glow4 {
  75%, 100% {
      opacity: 1;
  }
  0%,74.99%{
      opacity: 0;
  }
}
header{
  top:0px;
  width:100%;
  height: 69px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 99;
  /* box-shadow: 0 0 10px #000;
  background: rgba(0, 0, 0, 0.8); */
}
#chk1{
  display: none;
}
i{
  color: #fff;
  cursor: pointer;
}

header .logo{
  text-align: center;
}
header .search-box{
  display: flex;
  flex: 1;
  position: relative;
}
.search-box input{
  width:100%;
  height: 40px;
  border: none;
  outline: none;
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  font-size: 16px;
  padding-left: 5px;
  padding-right: 40px;
  text-align: center;
}
.search-box input::placeholder {
  color: #808080;
}
.search-box button{
  cursor: pointer;
  width:35px;
  height: 35px;
  position: absolute;
  right: 2.5px;
  color: #fff;
  transform: scale(0.9);
  border:none;
  top:2.5px;
  border-radius: 6px;
  background:#2e7d32;
}
.result-box {
  position: absolute;
  width: 100%;
  background: #2a2a2a;
  border-radius: 0 0 15px 15px;
  top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a3a3a;
  border-top: none;
}
.result-box ul {
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.result-box ul::-webkit-scrollbar {
  width: 8px;
}

.result-box ul::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.result-box ul::-webkit-scrollbar-thumb {
  background: #4a4a4a;
  border-radius: 4px;
}

.result-box ul li {
  list-style: none;
  padding: 10px 15px;
  cursor: pointer;
  color: #e0e0e0;
  transition: background-color 0.2s ease;
}
.result-box ul li:hover {
  background: #3a3a3a;
}
.result-box ul li:not(:last-child) {
  border-bottom: 1px solid #3a3a3a;
}
header ul {
  flex:2;
  display: flex;
  justify-content: space-evenly;
}
header ul li{
  list-style: none;
}

header ul li a{

  position: relative;
          font-size: 1.1em;
          top:7px;
          color: #fff;
          text-decoration: none;
          padding: 6px 20px;
          transition: .5s;
}
header ul li a:hover{

  color: #4CAF50;
  
}
ul li a span {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: -1;
          border-bottom: 2px solid #4CAF50;
          border-radius: 15px;
          transform: scale(0) translateY(50px);
          opacity: 0;
          transition: .5s;
      }
      ul li:hover a span {
          transform: scale(1) translateY(0);
          opacity: 1;
      }
header .menu{
  font-size: 2.5em;
  display: none;
}
@media(max-width:1000px){
  .search-box button{
      position: absolute;
  }
  header ul{
      position: fixed;
      top:69px;
      right: -100%;
      background: rgba(0,0,0,0.5);
      height: calc(100vh - 69px);
      width:100%;
      backdrop-filter: blur(4px);
      flex-direction: column;
      align-items: center;
      transition: right 0.5s linear;
  }
  header .menu{
      display: block;
      width:100px;
      text-align: center;
  }
  #chk1:checked ~ ul{
      right: 0;
  }
}

.map-div{
  height: 100vh;
}
.map{
  height: 100%;
  padding-top: 9vh;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #000000;
}

svg path{
  stroke: #44ff00;
}

svg path:hover{
  fill: #44ff00;
  transition: 0.6s;
  cursor:pointer;
}

.map-info{
  color: #fff;
  font-size: 1em;
  text-align: center;
}

.map-info .colour-yellow{
  color: yellow;
}

.highlight {
  stroke: black ;
  fill: #44ff00;
  transition: 1s;
}
.button-container {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  margin-top: 80vh;
  padding: 0 40px;
  
}

.slide-button {
  display: flex;
  align-items: center;
  background-color: #bea3b37e;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  overflow: hidden;
  transition: background-color 0.3s ease;
  position: relative;
}

.button-text {
  z-index: 1;
  position: relative;
  transition: transform 0.3s ease;
}

.arrow-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 9px;
  transition: transform 0.3s ease;
}

.left-arrow .arrow {
  transform: rotate(135deg);
}

.right-arrow .arrow {
  transform: rotate(-45deg);
}

.left-arrow .arrow-container {
  margin-right: 10px;
  margin-left: 0;
}

.right-arrow .arrow-container {
  margin-left: 10px;
}

.left-arrow:hover .arrow {
  transform: rotate(135deg) translateX(-5px);
}

.right-arrow:hover .arrow {
  transform: rotate(-45deg) translateX(5px);
}

.left-arrow:hover .button-text {
  transform: translateX(-5px);
}

.right-arrow:hover .button-text {
  transform: translateX(5px);
}

.slide-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  border-radius: 25px;
}

.left-arrow:hover::before {
  left: 0;
}

.right-arrow:hover::before {
  left: 0;
}
