

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  font-size: 0.833vw;
}

body {
  background-image: url(../images/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Kanit", sans-serif;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-x: hidden;
	height: auto;
	min-height: 100vh;
  color: #fff;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
  background-color: #242D40;
}
body > * {
  width: 100%;
}

img {
  display: block;
}


.header {
  position: absolute;
  top: 2.938rem;
  left: 4.75rem;
  width: auto;
  z-index: 1;
}

.header__logo {
  width: 18.938rem;
  display: block;
  text-decoration: none;
}
.header__logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.main {
  min-height: 61rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.image {
  width: 74.25rem;
  height: 45.25rem;
  position: absolute;
  left: 0;
  bottom: 0;
  max-height: 100%;
}
.image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}
.image .img-mob {
  display: none;
}

.info {
  height: 42.313rem;
  width: 41.063rem;
  background-image: url(../images/text-bg.webp);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 25rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: relative;
}

.info__block {
  text-align: center;
  z-index: 1;
  padding-bottom: 9em;
}

.info__title {
  font-weight: 800;
  font-size: 2.813rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #379777;
  text-shadow: -1.5px 0 #f5f7f8, 0 1.5px #f5f7f8, 1.5px 0 #f5f7f8, 0 -1.5px #f5f7f8;
  margin: 0;
}
.info__subtitle {
  font-weight: 800;
  font-size: 2.063rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  text-shadow: -2px 0 #333, 0 2px #333, 2px 0 #333, 0 -2px #333;
  margin: 0;
}
.info__text {
  margin-top: 1.8rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  text-shadow: -2px 0 #333, 0 2px #333, 2px 0 #333, 0 -2px #333;
}
.info__decor {
  width: 48.5rem;
  height: 8.875rem;
  position: absolute;
  top: 11.75rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.animated-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-animation: fadeOut 6s infinite;
          animation: fadeOut 6s infinite;
  -o-object-fit: contain;
     object-fit: contain;
}

.animated-image:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.animated-image:nth-child(2) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.animated-image:nth-child(3) {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.animated-image:nth-child(4) {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.animated-image:nth-child(5) {
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}
.animated-image:nth-child(6) {
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}


@-webkit-keyframes fadeOut {
  0%, 16.67% {
    opacity: 1;
  }
  33.33%, 100% {
    opacity: 0;
  }
}


@keyframes fadeOut {
  0%, 16.67% {
    opacity: 1;
  }
  33.33%, 100% {
    opacity: 0;
  }
}



.calendar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 0.4rem;
  width: 45.625rem;
  margin-top: 10.375rem;
  margin-left: 3rem;
}
.calendar-tile {
  width: -webkit-calc(25% - 0.4rem);
  width: calc(25% - 0.4rem);
  position: relative;
  height: 8.438rem;
  pointer-events: none;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.calendar-tile:hover  {
  -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);
}
.calendar-tile.opened .calendar-tile__num {
  opacity: 1;
}
.calendar-tile.opened .calendar-tile__num img:nth-child(1){
  display: none;
}
.calendar-tile.opened .calendar-tile__num img:nth-child(2){
  display: block;
}
.calendar-tile.opened .calendar-tile__text{
  display: none;
}
.calendar-tile.opened::before{
  content: '';
  display: block;
  width: 93%;
  height: 93%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: rgba(48,2,85,0.8);
}
.calendar-tile.actual .calendar-tile__num{
  opacity: 1;
}
.calendar-tile.actual .calendar-tile__text{
  opacity: 1;
}
.calendar-tile.actual, .calendar-tile.opened {
  pointer-events: all;
}
.calendar-tile__image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.calendar-tile__num{
  width: 3.813rem;
  height: 3.625rem;
  position: absolute;
  left: -0.2rem;
  top: -0.5rem;
  opacity: 0.5;
}
.calendar-tile__num img:nth-child(2) {
  display: none;
}
.calendar-tile__num img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.calendar-tile__text {
  opacity: 0.5;
  margin: 0;
  position: absolute;
  left: 0;
  bottom: 0.6rem;
  font-style: italic;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  text-align: center;
  width: 100%;
  text-shadow: -2px 0 #379777, 0 2px #379777, 2px 0 #379777, 0 -2px #379777;

}





.popup {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          -webkit-justify-content: center;
          justify-content: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  word-break: break-word;
  overflow: hidden;
  z-index: 99999;
}
.popup::before {
  content: '';
  display: block;
  background: -o-linear-gradient(276deg, #242d40 8.17%, #1f40c1 100%), -o-radial-gradient(82.36% 75.42%, 44.92% 34.38%, #4e0cd4 0%, rgba(78, 12, 212, 0) 100%), -o-radial-gradient(7.4% 70.25%, 37.11% 47.7%, #0c98d4 0%, rgba(12, 152, 212, 0) 100%);
  background: linear-gradient(174deg, #242d40 8.17%, #1f40c1 100%), radial-gradient(44.92% 34.38% at 82.36% 75.42%, #4e0cd4 0%, rgba(78, 12, 212, 0) 100%), radial-gradient(37.11% 47.7% at 7.4% 70.25%, #0c98d4 0%, rgba(12, 152, 212, 0) 100%);
  opacity: 0.9;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.popup.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.popup__content {
  display: block;
  position: relative;
  width: 71rem;
  height: auto;
  text-align: center;
  color: rgba(255,255,255,1.00);
  overflow: visible;
  margin: 0 auto;
}
.popup__bg {
  width: 100%;
}
.popup__bg img{
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}

.popup__bg .img-mob {
  display: none;
}

.popup__body {
  color: #fff;
  text-align: center;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 30rem;
  width: 100%;
}

.popup__quote {
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  margin-bottom: 1rem;
  text-shadow: -2px 0 #333, 0 2px #333, 2px 0 #333, 0 -2px #333;
}
.popup__title {
  font-weight: 800;
  font-size: 2.813rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #379777;
  margin-bottom: 1.1rem;
  text-shadow: -2px 0 #f5f7f8, 0 2px #f5f7f8, 2px 0 #f5f7f8, 0 -2px #f5f7f8;

}
.popup__subtitle {
  font-weight: 800;
  font-size: 2rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  margin-bottom: 0.5rem;
  text-shadow: -2px 0 #333, 0 2px #333, 2px 0 #333, 0 -2px #333;

}
.popup15 .popup__subtitle {
  font-size: 1.25rem;
}
.popup9 .popup__subtitle {
  font-size: 1.5rem;
}
.popup__desc{
  font-weight: 400;
  font-size: 0.563rem;
  line-height: 150%;
  text-align: center;
  color: #f5f7f8;
  margin-top: 1.2rem;
}
.popup__desc strong {
  font-weight: 600;
}
.popup__desc--mob {
  display: none;
}

.popup__close {
  position: absolute;
  right: 0;
  top: 15.938rem;
  width: 3.625rem;
  height: 3.625rem;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.popup__close:hover {
  opacity: 0.7;
}
.popup__close img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
