/*fonts*/
@font-face {
    font-family: 'Play';
    src: url('../fonts/Play.eot');
    src: url('../fonts/Play.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Play.woff') format('woff'),
    url('../fonts/Play.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lobster';
    src: url('../fonts/Lobster.eot');
    src: url('../fonts/Lobster.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Lobster.woff') format('woff'),
    url('../fonts/Lobster.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Play';
    src: url('../fonts/Play-Bold.eot');
    src: url('../fonts/Play-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Play-Bold.woff') format('woff'),
    url('../fonts/Play-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/* /fonts */

html{
    font-size: 10px;
}


body{
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    background-color: #377d5a;
    color:  white;
    font-family: Play;
}

.mfp-figure figure{
    margin: 0;
}

.header{
    box-sizing:border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: space-between;
    background-color: black;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.link{
    color: inherit;
    text-decoration-skip-ink: none;
}

.list{
    margin: 0;
    padding-left: 30px;
    list-style-image: url("../img/list-item-mark.png");
}

.list__item {
    margin-bottom: 10px;
}

.list__item-title {
    font-weight: bold;
}

.full-page-section__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    position:  relative;
    padding-left: 95px;
    color: white;
    text-decoration: none;
    line-height: 2.2rem;
}

.logo__title{
    margin: 0;
    font-family: Lobster;
    font-size: 2.6rem;
    letter-spacing: 1px;
}


.logo__subtitle {
    font-size: 1.8rem;
}

.logo__image {
    position:  absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}


.hamburger {
    display: flex;
    flex-wrap:wrap;
    width:  50px;
    height: 28px;
    align-items:center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.hamburger__line {
    width: 25px;
    height: 2px;
    margin-bottom:5px;
    background-color:  white;
    transition: all .5s linear;
}

.hamburger:hover .hamburger__line, .hamburger.active .hamburger__line {
    background-color: #ff7588;
}

.hamburger.active .hamburger__line:first-child {
    transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active .hamburger__line:last-child {
    transform: rotate(-45deg) translate(5px,-5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    transform: rotate(45deg);
    opacity:  0;
}


.navigation {
    display:  inline-block;
}


.navigation__hamburger {
    display:  none;
}

.navigation__list {
    display: flex;
    list-style: none;
    font-size: 1.8rem;
    padding:  0;
    margin: 0;
}

.navigation__list-item {
    /* padding:  20px 10px; */
    position: relative;
    overflow: 
    hidden;
}

.navigation__list-item:after {
    content: "";
    display: block;
    position:  absolute;
    bottom: -4px;
    left: 0;
    width:  100%;
    height:2px;
    background-color: #ff7588;
    transition: bottom 0.2s linear;
}

.navigation__list-item:hover:after {
    bottom:  0;
}

.navigation__link {
    display:  inline-block;
    padding: 25px 10px;
    color: white;
    text-decoration: none;
}

.full-screen-slider {
    position:relative;
    max-height: 100vh;
    overflow: hidden;
}

.full-screen-slider__btn {
    position:  absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border: 0;
    color: white;
    background-color: #ff7588;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow:  hidden;
    text-indent: -999px;
    cursor:  pointer;
    opacity: 0.6;
    transition:  opacity 0.3s linear;
}


.full-screen-slider__btn_prev {
    left: 10px;
}

.full-screen-slider__btn_next {
    right: 10px;
}

.full-screen-slider__btn:after {
    content: '';
    display:  block;
    position:  absolute;
    left:  50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 3px solid white;
}

.full-screen-slider__btn_prev:after {
    border-right-color:  transparent;
    border-top-color:  transparent;
    transform: translate(-30%,-50%) rotate(45deg);
}

.full-screen-slider__btn_next:after {
    border-left-color:  transparent;
    border-bottom-color:  transparent;
    transform: translate(-70%,-50%) rotate(45deg);
}

.full-screen-slider__btn:hover,.full-screen-slider__btn:focus {
    opacity:  1;
}

.full-screen-slider__image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.full-screen-slider__fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
}

.full-page-section {
    padding: 7rem;
    background-position: 0 0;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


.tabs__labels {
    font-size:  0;
}

.tabs__labels_pos_center{
    text-align: center;
}

.tabs__items_service {
    background: rgba(92, 171, 115, 0.6);
    border-radius: 5px;
    border-top-left-radius: 0;
}

.tabs__item:not(:first-child){
    display: none;
}

.tabs__label {
    font-size:  initial;
    display:  inline-block;
    cursor: pointer;
}

.tabs__label_service{
    background-color: rgba(0,0,0,0.1);
}

.tabs__label_service.active{
    background-color: rgba(92, 171, 115, .6);
} 

.tabs__item {
    padding: 20px 15px 15px;
}

.tabs__item-title {
    margin: 0 0 15px 0;
    font-size: 2rem;
}

.tabs__item-content {
    display:  flex;
    align-items:  flex-start;
}

.tabs__item-text {
    font-size: 1.8rem;
}

.tabs__item-img {
    max-width:  300px;
    height:  auto;
    margin-right:  15px;
}

.tabs__label_service {
    width: 35px;
    height: 35px;
    padding: 10px 15px;
    background-image: url(../img/icons.png);
    background-repeat:  no-repeat;
    background-position:  center;
}

.tabs__label_service:first-child {
    border-top-left-radius: 5px;
}

.tabs__label_service:last-child {
    border-top-right-radius:  5px;
}

.tabs__label_service_boat {
    background-position-x: -50px;
}

.tabs__label_service_shop {
    background-position-x: -158px;
}

.tabs__label_service_eat {
    background-position-x:  -105px;
}

.tabs__label_service_additional {
    background-position-x:  -215px;
}

.tabs__label_service_time {
    background-position-x: -270px;
}

.full-page-section__title {
    text-transform: uppercase;
    font-size: 3.6rem;
}

.full-page-section__enter-text {
    font-size: 2.6rem;
}

.full-page-section__detail-text {
    font-size: 2rem;
}

.team {
    display:  flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap:  wrap;
}

.team__member {
    width: 22%;
    display:  flex;
    justify-content:  center;
    flex-wrap:  wrap;
    padding: 30px 20px;
    box-sizing:  border-box;
    background-color:  rgba(78,66,78,0.4);
    margin: 15px;
    border-radius:  5px;
}

.team__member-photo {
    display:  block;
    width:  150px;
    height:  150px;
    border-radius:  50%;
    border: 5px solid #a1859e;
    transition: border-color .3s ease-in-out;
    margin-bottom: 10px;
}

.team__member-name {
    width: 100%;
    text-align:  center;
    font-size: 2.6rem;
    font-weight:  bold;
    color:  #E0B8C5;
}

.team__member:hover .team__member-photo {
    border-color:  #df5c64;
}

.team__member-specialization {
    color:  #a1ca6c;
    font-size: 2rem;
    transition: color 0.3s ease-in-out;
}

.team__member:hover .team__member-specialization {
    color: #df5c64;
}

.tabs__label_about {
    text-transform: uppercase;
    font-size: 2rem;
    background-color: #377D5A;
    margin: 5px;
    padding: 10px 15px;
    position: relative;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.tabs__label.tabs__label_about:after {
    content:  '';
    display:  block;
    width:  0;
    height:  0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 0 solid transparent;
    border-top-color:  #377D5A;
    transition: all 0.3s ease-in-out;
}

.tabs__label.tabs__label_about.active {
    background-color: #a1ca6c;
}

.tabs__label_about.active:after {
    bottom:  -29px;
    border-width: 15px;
    border-top-color: #a1ca6c;
}

.reviews {
    padding: 20px;
    border-radius:  5px;
    background: rgba(78,66,78,0.4);
    max-height: 300px;
    overflow-y:  scroll;
}

.reviews__item {
    display:  flex;
    flex-wrap:  wrap;
    margin-bottom:  20px;
    border-bottom: 1px solid #a1ca6c;
}

.reviews__item-info {
    display:  flex;
    flex-wrap:  wrap;
    width:  100%;
    justify-content:  space-between;
}

.reviews__item-recomendation {
    width:  100%;
}

.reviews__item-date {
    color: black;
    font-weight:  bold;
}

.reviews__item-recomendation-text {
    margin-right: 15px;
}

.reviews__item-recomendation {
    display:  flex;
    align-items:  center;
    margin: 10px 0;
}

.video {
    display:  flex;
    align-items:  center;
    margin:  0;
    justify-content: space-around;
}

.video__caption {
    font-size: 3rem;
    max-width: 50%;
    line-height: 2;
}

.video-block {
    margin-bottom: 30px;
}

.video iframe{
    border: none;
    border-radius: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.gallery-block {
    display:  flex;
    flex-wrap:  wrap;
    align-items:  center;
    justify-content: flex-start;
}

.gallery-block__item {
    display: block;
    width: 22%;
    margin: 15px;
    font-size: 0;
}

.gallery-block__item-image {
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    height:  auto;
    max-height:  100%;
}

.contacts {
    max-width: 49%;
    display: inline-block;
    vertical-align: top;
}

.feedback {
    display:  inline-block;
    width: 100%;
    max-width: 49%;
    vertical-align:  top;
    box-sizing:  border-box;
    padding: 0 20px;
    text-align:  center;
}

.feedback__form {
    display: inline-block;
    padding:  20px;
    /* flex-direction:  column; */
    /* align-items:  center; */
    background-color: rgba(168, 243, 231, 0.3);
    border-radius: 5px;
    text-align: left;
}

.feedback__label {
    display: block;
    max-width: 300px;
    margin-bottom: 5px;
}

.feedback__input {
    display: block;
    width: 300px;
    box-sizing:  border-box;
    margin: 5px 0;
    font-size: 1.6rem;
    font-weight:  bold;
    padding: 10px;
    color: #ff9999;
    background-color:white;
    border: none;
    border-radius: 3px;
   -webkit-appearance:none;
}

.feedback__submit {
    display:  block;
    margin: 10px auto 0 auto;
    background-color: #ff9999;
    color: white;
    border:  none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size:  1.8rem;
    font-weight:  bold;
    cursor:  pointer;
    -webkit-appearance:none;
}

.feedback__submit_success {
   background-color: #26b131; 
}

.feedback__submit_fail {
    background-color:  red;
}

.map {
    margin-top:  50px;
    border-radius:  5px;
    overflow: hidden;
}

.contacts__list {
    font-size: 2rem;
}


.icon {
    width: 50px;
    height: 50px;
    background-image: url(../img/icons.png);
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 10px;
}

.icon_boat{
    background-position-x: -55px;
}

.icon_shop {
    background-position-x: -165px;
}

.icon_eat{
    background-position-x: -110px;
}

.full-screen-slider__fixed-list {
    margin: 0;
    padding:  0;
    list-style-type:  none;
}

.full-screen-slider__fixed-list-item {
    display: flex;
    align-items:  center;
    font-size: 1.8rem;
    font-weight:  bold;
}

.full-screen-slider__fixed-title {
    font-size:  4rem;
    font-weight:  bold;
    margin-bottom: 15px;
    display:  inline-block;
}

.open-popup-link {
    color: #ff4444;
}

#agreement:target {
    display: block;
}

.agreement {
    color: #707070;
    font-size: 2rem;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
}

@media screen and (max-width: 1200px) {
    .full-page-section__content {
        width:  100%;
        max-width: 1200px;
        margin:  0 auto;
    }

    .team__member {
        width: calc(50% - 30px);
    }

    .video {
        flex-wrap:  wrap;
    }

    .video iframe{
        width: 100%;
        margin: 0 0 15px 0;
    }

    .video__caption {
        width: 100%;
        max-width: initial;
        line-height:  normal;
    }

    .gallery-block__item {
        width: calc(33% - 30px);
    }
    .list__item-text {
        display: block;
    }
}

@media screen and (min-width: 991px) {
    .navigation__list{
        display: flex !important;
    }
}

@media screen and (max-width:991px) {
    .full-page-section {
        padding: 7rem 20px;
    }

    .navigation__hamburger {
        display:  flex;
    }

    .navigation__list {
        display: none;
        justify-content: flex-end;
        position:  absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color:  #e19988;
        background-color: rgb(225, 153, 136,0.8);
        text-align: right;
        font-size:  0;
    }
    .navigation__list-item {
        display: inline-block;
        font-size:  initial;
    }

    .navigation__list-item:after{
        background-color: #fff;
    }

    .header {
        padding: 15px 15px 15px 0;
    }

    .feedback, .contacts{
        max-width:  initial;
    }    
    .feedback {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 768px){
    html{
        font-size: 8px;
    }
    
    .full-screen-slider__fixed {
        display: none;
    }

    .tabs__item-content{
        flex-wrap: wrap;
    }

    .tabs__item-text {
        order: 0;
    }

    .tabs__item-img {
        order: 1;
        width:  100%;
        max-width:  100%;
        height:  auto;
        margin: 0;
    }
}

@media screen and (max-width: 500px){
    .navigation__list-item {
        font-size: 1.5rem;
    }
    .team__member {
        width: 100%;
    }

    .gallery-block__item {
        width: calc(50% - 30px);
    }

    .feedback{
        padding: 0;
    }

    .feedback__input {
        width: 100%;
    }

    .feedback__form {
        width: 100%;
        max-width:  100%;
        box-sizing:  border-box;
    }
    .tabs__label_service {
        padding: 0;
        width: 56px;
        height: 50px;
    }

    .tabs__label_service_boat {
        background-position-x: -55px;
    }

    .tabs__label_service_shop {
        background-position-x: -163px;
    }

    .tabs__label_service_eat {
        background-position-x:  -110px;
    }

    .tabs__label_service_additional {
        background-position-x:  -220px;
    }

    .tabs__label_service_time {
        background-position-x: -275px;
    }

    .tabs__items_service{
        border-top-right-radius: 0;
    }

    .full-screen-slider__btn{
        width: 30px;
        height: 30px;
    }

    .full-screen-slider__btn:after{
        width: 10px;
        height: 10px;
    }
    .feedback__label{
        max-width: 100%;
    }
}
