.floatLeft { float: left; }

.floatRight { float: right; }

.clear { clear: both; line-height: 0; height: 0; }

.alignCenter { text-align: center; }

body {
  font: 14px Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #00B7FF;
}

header {
  /* width: 100%; */
  position: relative;
  margin: 0;
  padding: 0;
}

header img {
  width: 100%;
  margin: 0;
  padding:0;
}

.pressrelease {
  font-size: 24px;
  background-color: black;
  color: white;
  padding: 100px 15%;
  margin: 0; 
  background-image: url('/images/zal.jpg');
}

.buy-ticket-button-simple {
  margin: 0px auto 60px auto;
  text-align: center;
  width: 100%;
}

.videos {
  width: 80%;
  margin: 30px auto;
}

.video {
  width: 46%;
  text-align: center;
  float: left;
}

.video:nth-child(even) {
  margin: 30px 4% 30px 0;
}

.video:nth-child(odd) {
  margin: 30px 0 30px 4%;
}

/* Появление блоков. Разметка ставит .reveal, скрипт добавляет .reveal-visible.
   Тайминги — в переменных, чтобы отдельные блоки настраивались без дублирования правил. */
:root {
  --reveal-duration: 420ms;
  --reveal-distance: 24px;
  --reveal-easing: ease-out;
}

.reveal {
  opacity: 0;
  translate: 0 var(--reveal-distance);
  transition:
    opacity var(--reveal-duration) var(--reveal-easing),
    translate var(--reveal-duration) var(--reveal-easing);
}

.reveal-visible {
  opacity: 1;
  translate: none;
}

/* Ниже переопределяются только переменные: если задавать здесь opacity и translate,
   правило перебьёт .reveal-visible по специфичности и потребует !important. */
header img.reveal {
  --reveal-duration: 540ms;
  --reveal-distance: 6px;
}

.buy-ticket-button-long.reveal {
  --reveal-duration: 480ms;
  --reveal-distance: 10px;
}

/* Всплывающее окно с iframe */
.popover {
  width: 800px;
  max-width: calc(100% - 40px);
  height: 90vh;
  max-height: calc(100% - 40px);
  padding: 0;
  margin: auto;
  border: none;
  border-radius: 4px;
  background: white;
  overflow: hidden;
}

.popover:focus {
  outline: none;
}

.popover::backdrop {
  background: rgba(0, 0, 0, 0.87);
}

.popover-frame {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 40px;
  border: none;
  background: white;
}

.popover-close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: black;
  font-size: 28px;
  line-height: 36px;
  cursor: pointer;
}

.popover-close:focus-visible {
  outline: 2px solid #999;
  outline-offset: -2px;
}

/* фон не должен скроллиться под открытым окном */
html.popover-open,
html.popover-open body {
  overflow: hidden;
}

.socialLink {
  height: 40px;
  margin: 4px;
}

.map {
  margin-top: 50px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
    .reveal-visible {
      opacity: 1;
      translate: none;
      transition: none;
    }
}

@media (max-width : 640px) {
  .attention-text {
  		display: none;
  	}

  .pressrelease {
  		/* width: 90%; */
  		margin: 0 auto;
      font-size: 16px;
      padding: 16px;
  	}

  .buy-ticket-button-simple {
    margin: 8px auto 40px auto;
    text-align: center;
    width: 100%;
  }

  .buy-ticket-button-long {
  		/* margin: 0px auto;
  		position: absolute;
  		text-align: center;
  		top: 6vh;
      width: 100%; */
      display: none;
  	}

  .buy-ticket-button-long a {
  		/* margin-left: 30%;
  	  font-size: 14px;
      padding: 6px 20px;
  	  border-radius: 28px;
  	  font-weight: bold; */
  	}

  .buy-ticket-button-long a:hover {
  		transition: none;
  	  }

  /* .videos { width: 92%; } */
  .video {
      /*border: 1px solid #ccc;*/
      width: 100%;
      margin: 10px 0 !important;
      text-align: center;
    }

  .popover {
      width: 100%;
      max-width: 100%;
      height: 100%;
      max-height: 100%;
      border-radius: 0;
    }

  .popover-frame {
      padding: 36px 10px 10px 10px;
    }
}
