@font-face {
  font-family: 'Roboto';
  src: local('');
}

:root {
  --map-status-header-height: 172px !important;
}

[class*="container_seats"] #segment-tabs [class^="title"],
[class*="segmentTabs_meal"] #segment-tabs [class^="title"]
{
  position: absolute;
}

img[alt='МИР'] {
    display:none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  font-family: 'Roboto', sans-serif;

  background: #f0f0f0;
}

* {
  box-sizing: border-box;
}

#root {
  order: 2;
  position: relative;
  z-index: 2;
}

.subheader {
  position: relative;
  margin-top: -65px;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  order: 2;

  background: url('../img/header.png') no-repeat center;
  background-size: cover;
}

.subheader__gradient {
  position: absolute;
  top: 0;

  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 165px;

  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);

  opacity: 0.5;
}

.message {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;

  color: #ffffff;
}

.message > div {
  display: flex;
  flex-direction: column;
}

.message > div:first-child {
  margin-right: 15px;
}

.message__text {
  font-size: 70px;
}

.message__from {
  font-size: 24px;
  text-align: right;
}

.message__price {
  font-size: 122px;
}

.content {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 90px;
  order: 3;
}

.content__header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;

  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: #4f4f4f;
}

.content__city {
  position: relative;
  color: #4ea6f7;

  cursor: pointer;
}

.content__city:after {
  content: '';

  position: absolute;
  top: 6px;
  right: -15px;

  display: block;
  height: 12px;
  width: 12px;

  background: url('../img/expandIcon.svg');
}

.offersCards {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.offerCard {
  position: relative;

  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 285px;

  color: #ffffff;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  cursor: pointer;
}

.budapest {
  background-image: url('../img/budapest.png');
}

.prague {
  background-image: url('../img/prague.png');
}

.offerCard:first-child {
  margin-right: 10px;
}

.offerCard:last-child {
  margin-left: 10px;
}

.offerCard__shadow {
  position: absolute;
  top: 0;
  height: 142px;
  width: 100%;

  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);

  opacity: 0.6;
}

.offerCard__title {
  position: relative;
  z-index: 1;
  display: flex;
  padding-top: 20px;
  padding-left: 24px;

  font-size: 28px;
  font-weight: 500;
}

.offerCard__price {
  position: relative;

  display: flex;
  align-self: flex-end;
  align-items: baseline;
  padding: 8px 12px;
  margin-bottom: 36px;
  height: 40px;

  box-sizing: border-box;

  font-size: 19px;
  font-weight: 300;

  background: #4ea6f7;
}

.offerCard__price:before {
  content: '';

  position: absolute;
  top: 0;
  left: -15px;

  width: 0;
  height: 0;
  border-top: 40px solid #4ea6f7;
  border-left: 15px solid transparent;
}

.price__money {
  margin-left: 5px;

  font-size: 27px;
  font-weight: 500;
  line-height: 24px;
}

@media screen and (max-width: 1100px) {
  .content,
  .footer__content,
  .footer__contacts {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  body {
    background: #ffffff;
  }

  .footer {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .subheader {
    margin-top: 0px;
    min-height: 240px;
  }

  .subheader__gradient {
    min-height: 90px;
  }

  .message > div:first-child {
    margin-right: 9px;
  }

  .message__text {
    font-size: 35px;
  }

  .message__from {
    font-size: 24px;
  }

  .message__price {
    font-size: 72px;
  }

  .content__header {
    justify-content: flex-start;
  }

  .offersCards {
    flex-direction: column;
  }

  .offerCard {
    width: 100%;
    margin: 0 0 27px;
  }

  .offerCard:first-child {
    margin-right: 0;
  }

  .offerCard:last-child {
    margin-left: 0;
  }

  #root {
    order: 1;
  }
}
