/* #line{
    stroke-dasharray: 4485.109375;
    stroke-dashoffset: 4485.109375;
    HelveticaNeue.ttf
} */
@font-face {
  font-family: "HelveticaNeue";
  src: url("/fonts/HelveticaNeue.ttf") format("ttf");
}
:root {
  --slider-thumb-img: url("./assets/ship/thumb1.svg");
}
body {
  margin: 0px;
}
h1 {
  margin: 0px !important;
}
.text {
  font-size: 26px;
  font-weight: bold;
  font-family: "HelveticaNeue", sans-serif;
}
.years {
  position: absolute;
  color: white;
}
.logo {
  margin-left: -60%;
  margin-top: 5%;
  width: 30%;
  position: relative;
}
.control-left {
  width: 3%;
  position: absolute;
  top: 43%;
  left: -7%;
  cursor: pointer;
  visibility: hidden;
}
.control-right {
  width: 3%;
  position: absolute;
  top: 43%;
  right: -7%;
  transform: scaleX(-1);
  cursor: pointer;
  visibility: hidden;
}
.text-cyan {
  color: #00adb4;
}
.text-green {
  color: #0f6841;
}
.text-white {
  color: #ffffff;
  font-size: 50px !important;
}
.titles {
  position: absolute;
  top: 67%;
  width: 28%;
  left: 60%;
  text-align: center;
}
.titles .text {
  font-size: 22px !important;
}
.text-bottom {
  margin-top: -5px;
  font-weight: normal !important;
}
.text-container {
  margin-top: 3%;
  margin-left: 10%;
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1210px;
  margin: 0px auto;
}
.white {
  position: absolute;
  background: #ffffffc2;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  visibility: hidden;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  visibility: hidden;
}
.slide-container {
  position: relative;
  background: white;
  border: 5px solid;
  border-color: #0f6841;
  width: 100%;
  height: 100%;
  margin: auto;
  top: 20%;
  max-width: 55%;
  max-height: 60%;
}
.icon {
  width: 6vw;
  margin-left: -30px;
  margin-top: -30px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(1.3);
}
.close-button {
  padding-top: 3%;
  padding-right: 5%;
  cursor: pointer;
  width: 3.5%;
}
.slide-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.year {
  margin-top: 15px;
}
/* SLIDER */
.slidercontainer {
  padding-top: 70px;
  width: 100%; /* Width of the outside container */
  max-width: 1000px;
  margin: auto;
}
.dots-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: -14px;
  width: 100%;
  height: 100%;
  max-width: 950px;
}
/* The slider itself */
.slider {
  -webkit-appearance: none;
  background: linear-gradient(to right, #126942 0%, #126942 0%, #5accc1 0%, #5accc1 100%);
  border-radius: 8px;
  height: 10px;
  width: 100%;
  outline: none;
  transition: background 450ms ease-in;
}
.position-absolute {
  max-width: 1200px;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  height: 100%;
}
/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 120px; /* Set a specific slider handle width */
  height: 60px; /* Slider handle height */
  background-image: var(--slider-thumb-img);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer; /* Cursor on hover */
  margin-bottom: 45px;
  backface-visibility: hidden;
  transition: background-image 0.5s ease-in-out;
}

.slider::-moz-range-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 120px; /* Set a specific slider handle width */
  height: 60px; /* Slider handle height */
  background-image: var(--slider-thumb-img);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer; /* Cursor on hover */
  margin-bottom: 45px;
  backface-visibility: hidden;
  transition: background-image 0.5s ease-in-out;
}

/* QUERIES FOR IPAD */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
  .slider::-webkit-slider-thumb {
    background-image: url("assets/ship/thumb1.svg");
  }

  .slider::-moz-range-thumb {
    background-image: url("assets/ship/thumb1.svg");
  }
}
@media all and (device-width: 1024px) and (device-height: 768px) and (orientation: landscape) {
  .slider::-webkit-slider-thumb {
    background-image: url("assets/ship/thumb1.svg");
  }

  .slider::-moz-range-thumb {
    background-image: url("assets/ship/thumb1.svg");
  }
}

.mask {
  mask: url("assets/mask.svg") exclude;
  mask-size: cover;
  -webkit-mask: url("assets/mask.svg");
  -webkit-mask-size: cover;
  width: 100%;
  height: 100%;
}

.middle {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.start {
  position: absolute;
}
.end {
  position: absolute;
  right: 10%;
}

.close-cursor {
  cursor: no-drop;
}

/* ///////////////////////////////////////////// */
@media only screen and (max-width: 3000px) {
}
@media only screen and (max-width: 1200px) {
  .text {
    font-size: 16px;
  }
  .text-container {
    margin-top: 3%;
  }
  .icon {
    transform: scale(1.3);
    margin-top: -5%;
    margin-left: -5%;
  }
}
@media only screen and (max-width: 1000px) {
  .text {
    font-size: 14px;
  }
  .text-container {
    margin-top: 2%;
  }
  .icon {
    transform: scale(1.4);
    margin-top: -5%;
    margin-left: -5%;
  }
}
@media only screen and (max-width: 800px) {
  .text {
    font-size: 12px;
  }
  .titles .text {
    font-size: 12px !important;
  }
  .text-container {
    margin-top: -3%;
  }
  .icon {
    transform: scale(1.5);
    margin-top: -5%;
    margin-left: -5%;
  }
}
@media only screen and (max-width: 600px) {
  .text {
    font-size: 10px;
  }
  .titles .text {
    font-size: 10px !important;
  }
  .text-container {
    margin-top: -2%;
  }
  .icon {
    transform: scale(1.5);
    margin-top: -5%;
    margin-left: -5%;
  }
}
