body {
  padding-top: 15vh;
  font-family: "Interstate Regular";
}

main {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: center / cover no-repeat url(./img/unsplash_bearb.jpg);
}

.logo img {
  height: auto;
  width: 100%;
}
.logo {
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 80px;
}
.left-main-kontakt {
  padding: 120px 20px 40px 20px;
  max-width: 378px;
  background-color: #00acde;
  border-radius: 0 20px 20px 0;
  line-height: 26px;
  color: white;
  font-size: 16px;
  transform: translate(-17px);
  transition: 1s all;
  position: relative;
}
.left-main-kontakt a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}
.left-main-kontakt a:hover {
  color: rgb(87, 87, 87);
}
.main-block {
  position: relative;
}
.left-kontakt {
  position: absolute;
  display: flex;
  max-height: 400px;
  z-index: 1;
}
.right-date {
  position: absolute;
  /* right: -100%; */
  right: 0%;
  display: flex;
  flex-direction: row-reverse;
}
h3 {
  margin-bottom: 20px;
  font-family: "Interstate Bold";
  color: white;
}
.left-h2 {
  cursor: pointer;
  writing-mode: vertical-rl;
  padding: 20px;
  text-align: center;
  max-height: 100%;
  display: flex;
  height: 360px;
  justify-content: center;
  background-color: #00acde;
  color: white;
  font-size: 30px;
  text-transform: uppercase;
  border-radius: 00px 20px 20px 00px;
}
.right-h2 {
  text-transform: uppercase;
  cursor: pointer;
  transform: rotate(-90deg);
  padding: 20px;
  text-align: center;
  max-width: 100%;
  display: flex;
  width: 360px;
  justify-content: center;
  background-color: white;
  color: #000000;
  font-size: 30px;
  border-radius: 20px 20px 0px 0px;
  top: 167px;
  right: -166px;
  position: relative;
  /* border: 1px solid black; */
}
.right-main-date {
  padding: 40px 15% 38px 10%;
  background: white;
  border-radius: 20px 0px 0px 20px;
  transform: translate(0%);
  transition: 0.5s all;
  z-index: 1;
}
.js-btn-text {
  position: absolute;
  z-index: 2;
}
.js-btn {
  z-index: 2;
  max-width: 70px;
}

b {
  font-family: "Interstate Bold";
}
.contact-text {
  font-family: "Interstate Light";
}

.date-text {
  max-height: 324px;
  overflow-y: scroll;
  max-width: 70vw;
  background: white;
  font-family: "Interstate Light";
  padding: 0 40px 0 0;
}
.date-text p {
  margin-bottom: 20px;
}

.hidden {
  transform: translate(-120%);
}

.hidden-right {
  transform: translate(100%);
}
.date-text::-webkit-scrollbar {
  width: 6px;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
}

.date-text::-webkit-scrollbar-track {
  outline: 1px solid #c9c9c9;
  border-radius: 20px;
}
.date-text::-webkit-scrollbar-thumb {
  background-color: #c9c9c9;
  border-radius: 20px;
  outline: 1px solid #c9c9c9;
}
.close {
  position: absolute;
  width: 15px;
  height: 15px;
  background: center/ cover no-repeat url(./img/close.png);
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 6;
}
.close-r {
  position: absolute;
  width: 15px;
  height: 15px;
  background: center/ cover no-repeat url(./img/close-black.png);
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 6;
}
.logo {
  padding: 10px 20px;
}
@media screen and (max-width: 650px) {
  .right-main-date {
    padding: 40px 80px 38px 40px;
    max-width: 350px;
  }
}
@media screen and (max-width: 526px) {
  .right-h2 {
    font-size: 18px;
    right: -186px;
    top: 187px;
    padding: 6px 20px;
  }
  .right-main-date {
    padding: 40px 40px 38px 40px;
    max-width: 350px;
  }
  .left-h2 {
    font-size: 18px;
    padding: 20px 6px;
  }
  .date-text {
    max-height: 324px;
    overflow-y: scroll;
    max-width: 49vw;
    background: white;
    font-family: "Interstate Light";
    padding: 0 40px 0 0;
  }
}
