*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  background: url('../img/main-bg.png') top center no-repeat;
  background-color: #0A090A;
}

.container {
  margin: 0 auto;
  max-width: 1140px;
  padding: 3.3% 0 4.7% 0;
}

/* header */
.header {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 24px;
}

.search {
  display: flex;
  align-items: center;
  flex: 0.74;
}

.search-input {
  background-color: rgba(196,196,196, .5);
  border-radius: 5px;
  padding: 12px 0 12px 18px;
  border: none;
  font-weight: 400;
  font-size: 14px;
  color: #AEAEAE;
  flex: 1;
}
.search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #AEAEAE;
}
.search-input::-moz-placeholder { /* Firefox 19+ */
  color: #AEAEAE;
  opacity: 1;
}
.search-input:-ms-input-placeholder { /* IE 10+ */
  color: #AEAEAE;
}
.search-input:-moz-placeholder { /* Firefox 18- */
  color: #AEAEAE;
  opacity: 1;
}

.search-button {
  background-color: transparent;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
}

.user {
  display: flex;
  align-items: center;
}

.user-bookmark {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.user-avatar {
  margin-left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* main */
.main {
  margin-top: 37%;
  min-height: 163px;
}

.title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 48px;
  color: #FFFFFF;
}

.title-en {
  margin-top: 7px;
  font-weight: 400;
  font-size: 20px;
  color: #787878;
}

/* main-info */
.info {
  margin-top: 38px;
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.movie {
  display: flex;
  align-items: center;
}

.tag {
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  background: #FFFFFF;
  border-radius: 3px;
  padding: 5px 10px;
  margin-right: 20px;
}

.country {
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  margin-right: 33px;
}

.play, .more {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-decoration: none;
}

.play:before {
  content: '';
  width: 30px;
  height: 30px;
  background: url(../img/play.svg) 100% no-repeat;
  margin-right: 15px;
}

.more:after {
  content: '';
  width: 30px;
  height: 30px;
  background: url(../img/play.svg) 100% no-repeat;
  transform: rotate(90deg);
  margin-left: 15px;
}

/* main-content */
.content {
  display: flex;
  justify-content: space-between;
  margin-top: 108px;
  min-height: 884px;
  background: #FFFFFF;
  border-radius: 3px;
  color: #000000;
  padding: 3.7% 4.3% 7%;
}

/* short-info */
.short-info {
  flex: 0.221;
}

.poster {
  display: block;
  margin-top: -35%;
}

.button {
  background: #FF8F27;
  padding: 10px 44px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  margin-top: 20px;
  border: none;
}

.actors-title {
  font-weight: 900;
  font-size: 16px;
  margin-top: 31px;
  padding-left: 15px;
}

.actors-list {
  list-style: none;
  margin-top: 10px;
  padding-left: 15px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-decoration: underline;
}

/* full-info */
.full-info {
  flex: 0.779;
}

/* wrapper-menu */
.wrapper-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 21px;
}

.tabs {
  flex: 0.921;
  display: flex;
  justify-content: space-between;
}

.tabs__item {
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
}

.tabs__item--active {
  color: #FF8F27;
}

.bookmark-icon {
  flex: 0.079;
  text-align: end;
  max-width: 12px;
  max-height: 17px;
}

/* wrapper-content */
.wrapper-content {
  display: flex;
  margin-top: 5%;
}

.tabs-content {
  display: none;
  flex: 0.636;
}

.visible {
  display: block;
}

.text {
  margin-top: 23px;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
}

.text:first-child {
  margin-top: 0;
}

.text-title {
  margin-top: 33px;
  font-weight: 900;
  font-size: 16px;
  line-height: 140%;
}

.subscribe {
  flex: 0.364;
  text-align: end;
}

.subscribe-title {
  font-weight: 900;
  font-size: 16px;
}

.subscribe-form {
  margin-top: 5%;
  display: flex;
  justify-content: flex-end;
}

.subscribe-input {
  background: rgba(241, 241, 241, 0.5);
  border-radius: 5px 0 0 5px; 
  padding: 13px 0 13px 24px;
  border: none;
  font-weight: 400;
  font-size: 14px;
  color: #9B9B9B;
}
.subscribe-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #9B9B9B;
}
.subscribe-input::-moz-placeholder { /* Firefox 19+ */
  color: #9B9B9B;
  opacity: 1;
}
.subscribe-input:-ms-input-placeholder { /* IE 10+ */
  color: #9B9B9B;
}
.subscribe-input:-moz-placeholder { /* Firefox 18- */
  color: #9B9B9B;
  opacity: 1;
}

.subscribe-button {
  background: #FF8F27;
  border-radius: 0px 5px 5px 0px;
  border: none;
  padding: 11.5px 12px 12.5px 12px;
}

.banner {
  display: inline-block;
  margin-top: 15%;
}

/* @media */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .tabs__item {
    font-size: 16px;
  }
  .short-info {
    margin-right: 3%;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 740px;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs__item {
    flex-basis: 25%;
    line-height: 200%;
  }
  .wrapper-menu {
    max-height: 64px;
  }
  .wrapper-content {
    flex-wrap: wrap;
  }
  .tabs-content {
    flex-basis: 100%;
  }
  .subscribe {
    margin-top: 5%;
  }
  .text {
    font-size: 14px;
  }
  .actors-list {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  .more, .bookmark-icon {
    display: none;
  }
  .tabs {
    flex: 1;
  }
  .tabs__item {
    flex-basis: auto;
  }
}

@media (max-width: 578px) {
  .container {
    max-width: 90%;
  }
  .header {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
    order: 3;
    margin-top: 5%;
  }
  .movie {
    flex-wrap: wrap;
  }
  .play {
    flex-basis: 100%;
    margin-top: 10%;
  }
  .content {
    flex-wrap: wrap;
  }
  .actors-title, .actors-list {
    display: none;
  }
  .short-info {
    margin-right: 0;
    min-width: 100%;
  }
  .full-info {
    margin-top: 5%;
    flex-basis: 100%;
  }
  .wrapper-menu {
    max-height: 252px;
  }
  .tabs__item {
    flex-basis: 100%;
    font-size: 18px;
  }
  .poster {
    display: inline-block;
    width: 100%;
    margin-top: -20%;
  }
  .button {
    width: 100%
  }
  .text {
    font-size: 16px;
  }
}
