@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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&family=REM:ital,wght@0,100..900;1,100..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;
    user-select: none;
	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: #131238;
}
body > * {
  width: 100%;
}

img {
  display: block;
}

.button {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 100%;
  letter-spacing: 0em;
  text-align: center;
  color: #fff;
  text-decoration: none!important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16.063rem;
  border: 4px solid #fce1f1;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #00ffad 0%, #379777 100%);
}
.header {
  position: absolute;
  top: 4.375rem;
  left:3.5rem;
  width: auto;
  z-index: 1;
}

.header__logo {
  width: 24rem;
  display: block;
  text-decoration: none;

}
.header__logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 1;
  gap: 2rem;
  padding: 3rem;
}

.image {
  width: 70rem;
  height: 53rem;
  position: absolute;
  left: 0;
  bottom: 0;
  max-height: 100%;
}
.image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
}
.image .img-mob {
  display: none;
}

.info {
  margin-top: -3rem;
  height: 38.938rem;
  width: 45.438rem;
  background-image: url(../images/text-bg.webp);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 18rem;
  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;
  align-items: flex-start;
  position: relative;
}

.info__block {
  text-align: center;
  z-index: 1;
  padding-top: 16.125rem;
  width: 100%;
  max-width: 25rem;
}

.info__title {
  font-weight: 800;
  font-size: 2rem;
  line-height: 110%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #379777;
  margin: 0 0 0.2rem 0;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #00FFAD;
  text-stroke-width: 2px;
  text-stroke-color: #00FFAD;
}
.info__subtitle {
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "REM", sans-serif;
}
.info__text {
  font-family: "REM", sans-serif;
  margin-top: 1.8rem;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #f5f7f8;
  text-shadow: -1px 1px 0 #333;
}




.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.75rem 0.4rem;
  width: 45.625rem;
  margin: auto;
}
.calendar-tile {
  width: -webkit-calc(25% - 0.3rem);
  width: calc(25% - 0.3rem);
  position: relative;
  height: 8.438rem;
  pointer-events: none;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  filter: grayscale(0.7);
}
.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(16, 141, 112, 0.6);
}
.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;
  filter: grayscale(0);
}
.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: 4.5rem;
  position: absolute;
  left: -0.5rem;
  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: 700;
  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-image: url(../images/popup-cover.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  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: 65.875rem;
  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: 50%;
  transform: translateX(-50%);
  top: 26.5rem;
  width: 100%;
  max-width: 41.563rem;
  height: 19rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

}
.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;

}

.popup__button {
  position: absolute;
  top: 48.6rem;
  left: 50%;
  transform: translateX(-50%);
}
.popup__close {
  position: absolute;
  right: -4rem;
  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;
}



.form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form__field {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1.125rem;
  position: relative;
  margin-bottom: 40px;
}
.form__field::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url(../images/mail.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.form__text.hidden {
  display: none;
}
