@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow: hidden;
}

main,
svg {
  max-width: 100vw;
  max-height: 100vh;
}

path {
  fill: #b50d1c;
  opacity: 0.1;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

path:hover, path.active {
  opacity: 0.5;
}

.subtitle {
  position: absolute;
  display: none;
  font-size: 15px;
  left: 50%;
  bottom: 10%;
  transform: translate(-50%, -50%);
  padding: 10px;
  background: rgba(181, 13, 28, 0.75);
  transition: all 0.5s ease-out;
  color: white;
  border-radius: 5px;
  z-index: 15;
}
.subtitle.show {
  display: block;
}

.desc {
  position: absolute;
  top: 20px;
  left: 50%;
  padding: 0;
  height: 75%;
  overflow-y: scroll;  
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.desc::-webkit-scrollbar {
    display: none;
}


.desc-src {
  display: none;
}
.slides {
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
input[type="range"] {
}

.rangecontainer {
  width: 100%;
  max-width: 400px;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  accent-color: #b50d1c;
}

.range:hover {
  opacity: 1;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #b50d1c;
  cursor: pointer;
}

.range::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #b50d1c;
  cursor: pointer;
  border: none;
}

.ruler {
  display: flex;
  justify-content: space-between;
}

h1 {
  font-size: 24px;
  color: #b50d1c;
  margin-bottom: 20px;
  border-bottom: 2px solid #b50d1c;
  padding-bottom: 10px;
  display: none;
}