/*FONTS*/

@font-face {
    font-family: FuturaPT;
    src: url('../Font/FuturaPTLight_0.otf');
}

@font-face {
    font-family: Basker;
    src: url('../Font/BASKERVILLEOLDFACE.TTF');
}


@font-face {
    font-family: GreatVibes;
    src: url('../Font/GreatVibes-Regular.otf');
}

/*END FONTS*/




/*---------------------- MENU--------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 10000;
}
nav {
    width: 100%;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #000000f5;
}

.menu-item {
    text-align: center;
    height: 80px;
    position: relative;
    cursor: pointer;
}
.menu-item:nth-child(7) {
    margin-right: 4.5rem;
}
.menu-item:nth-child(1) {
    flex-grow: 2.3;
}
.menu-item:nth-child(8) {
    flex-grow: .6;
}
.menu-item:nth-child(2), .menu-item:nth-child(3), .menu-item:nth-child(4), .menu-item:nth-child(5), .menu-item:nth-child(6), .menu-item:nth-child(7) {
    flex: 1 1 0;
}
.menu-item:nth-child(2)::before, .menu-item:nth-child(3)::before, .menu-item:nth-child(4)::before, .menu-item:nth-child(5)::before, .menu-item:nth-child(6)::before, .menu-item:nth-child(7)::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 0px;
    transition: 300ms;
    background: #BAA256;
    bottom: 0;
}

.menu-item:nth-child(2):hover::before,.menu-item:nth-child(3):hover::before, .menu-item:nth-child(4):hover::before, .menu-item:nth-child(5):hover::before, .menu-item:nth-child(6):hover::before, .menu-item:nth-child(7):hover::before {
    min-height: 4px;
}
.menu-item:nth-child(2):active::before, .menu-item:nth-child(3):active::before, .menu-item:nth-child(4):active::before, .menu-item:nth-child(5):active::before, .menu-item:nth-child(6):active::before, .menu-item:nth-child(7):active::before {
    min-height: 4px;
}

.menu-item:nth-child(2).active::before, .menu-item:nth-child(3).active::before, .menu-item:nth-child(4).active::before, .menu-item:nth-child(5).active::before, .menu-item:nth-child(6).active::before, .menu-item:nth-child(7).active::before {
    min-height: 4px;
}
.menu-item:nth-child(2).active .menu-item__link, .menu-item:nth-child(3).active .menu-item__link, .menu-item:nth-child(4).active .menu-item__link, .menu-item:nth-child(5).active .menu-item__link, .menu-item:nth-child(6).active .menu-item__link, .menu-item:nth-child(7).active .menu-item__link {
    color: #BAA256;
    background-color: #ffffff1c;
}
.menu-bar {
    border-bottom: 1px solid #9F9C9A;
    background: #222222d0;
}

.menu-item:nth-child(1) {
    margin-left:1.5rem;
    position: relative;
}

.menu-item__link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    color: #9F9C9A;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Basker;
}

.menu-item:nth-child(8) .menu-item__link{
    background: #BAA256;
    color: black;
}
.menu-item:nth-child(8)::before {
    content: '';
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    border: 2px solid black;
}
.menu-item__link:hover {
    color: #BAA256;
    
}

.menu-dropdown {
    display: flex;
    height: 94px;
    width: 550%;
    position: absolute;
    top: 100%;
    opacity: 0;
    z-index: -10;
    transition: 300ms ease-in-out;
    transform: translateY(-100%);
}
.menu-item:nth-child(3) .menu-dropdown {
    left: -71%;
}
.menu-item:nth-child(5) .menu-dropdown {
    left: -271%;
}
.menu-dropdown-card {
    position: relative;
    cursor: pointer;
    flex: 1;
    overflow: hidden;
    border-bottom: 1px solid white;
    overflow: hidden;
}
.menu-dropdown-card:nth-child(1), .menu-dropdown-card:nth-child(3) {
    border-left: 1px solid #535353;
    border-right: 1px solid #535353;
    border-right: 1px solid #535353;
}
.menu-dropdown-card::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    transition: 200ms;
}
.menu-dropdown-card__mark {
    width: 100%;
    height: 100%;
    transition: 300ms;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-dropdown-card__link {
    display: block;
    padding: 8px 10px;
    border: 1px solid #BAA256;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    color: #BAA256;
    font-size: .9rem;
}
.menu-dropdown-card__link::before {
    content: '';
    position: absolute;
    top: 2px;
    right:2px;
    bottom: 2px;
    left: 2px;
    background: transparent;
    z-index: -1;
}

.menu-dropdown-card:hover .menu-dropdown-card__link::before {
    background: #BAA256;
}
.menu-dropdown-card:hover .menu-dropdown-card__link {
    color: white;
}

.menu-dropdown-card:hover::before {
    opacity: 0;
}

.menu-item:nth-child(3):hover > .menu-dropdown {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:nth-child(5):hover > .menu-dropdown {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:nth-child(3) .menu-dropdown .menu-dropdown-card:nth-child(1) .menu-dropdown-card__mark{
    background: url('../img/header/53daec2edcd5888e145d63e4_ca-sagredo-hotel-venice-venice-italy-106781-1.png') no-repeat;
    background-size: cover;
    background-position: center 90%;
}

.menu-item:nth-child(3) .menu-dropdown .menu-dropdown-card:nth-child(2) .menu-dropdown-card__mark {
    background: url('../img/header/153-MV-1.png') no-repeat;
    background-size: cover;
    background-position: center 93%;
}

.menu-item:nth-child(3) .menu-dropdown .menu-dropdown-card:nth-child(3) .menu-dropdown-card__mark {
    background: url('../img/header/1314681.png') no-repeat;
    background-size: cover;
    background-position: center 80%;
}
.menu-dropdown-card:hover .menu-dropdown-card__mark {
    transform: scale(1.2);
}

.menu-item:nth-child(5) .menu-dropdown .menu-dropdown-card:nth-child(1) .menu-dropdown-card__mark{
    background: url('../img/header/Hotel-Chaco-Amenities-HERO.png') no-repeat;
    background-size: cover;
    background-position: center 90%;
}

.menu-item:nth-child(5) .menu-dropdown .menu-dropdown-card:nth-child(2) .menu-dropdown-card__mark {
    background: url('../img/header/Gym\ 2017.png') no-repeat;
    background-size: cover;
    background-position: center 93%;
}

.menu-item:nth-child(5) .menu-dropdown .menu-dropdown-card:nth-child(3) .menu-dropdown-card__mark {
    background: url('../img/header/jd-mason-757201-unsplash.png') no-repeat;
    background-size: cover;
    background-position: center 80%;
}
.menu-item:nth-child(5) .menu-dropdown .menu-dropdown-card:nth-child(4) .menu-dropdown-card__mark {
    background: url('../img/header/toa-heftiba-578093-unsplash.png') no-repeat;
    background-size: cover;
    background-position: center 48%;
}
/* --------------------LOGO----------------- */
.home {
    width: 324px;
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #363636;
    padding-top: 12px;
    border-left: 2px solid #BAA256;
    border-right: 2px solid #BAA256;
    z-index: 3;
    transition:300ms linear;
}

.home::before {
    content: '';
    position: absolute;
    border-top: 50px solid #363636;
    border-left: 161px solid transparent;
    border-right: 161px solid transparent;
    bottom: -49px;
    width: 0;
    height: 0;
    z-index: 2;
    transition:300ms linear;
}

.home::after {
    content: '';
    position: absolute;
    border-top: 53px solid #BAA256;
    border-left: 164px solid transparent;
    border-right: 164px solid transparent;
    bottom: -53px;
    left: -3px;
    width: 0;
    height: 0;
    z-index: 1;
    transition:300ms linear;
}

.home.active::before {
    border-top: 50px solid white;
}

.home-slidebar-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
  top: 88px;
  z-index: 10;
  height: auto;
  width: 100%;
}

.menu-3 {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }
  
  .menu-3:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition:300ms;
  }
  
  .menu-3 span {
    position: absolute;
    width: 50%;
    height: 3px;
    background: white;
    transition: 600ms;
  }
  
  .menu-3 span:nth-child(1) {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
  }
  .menu-3 span:nth-child(2) {
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menu-3:hover span:nth-child(1) {
    transform: rotate(90deg);
    top: 40%;
    left: 25%;
  }
  
  .menu-3:hover span:nth-child(2) {
    width: 30%;
    transform: rotate(45deg);
    top: 51%;
    left: 23%;
  }
  
  .menu-3:hover:before{
    width: 30%;
    transform: rotate(-225deg);
    top: 51%;
    left: 47%;
  }

.home-explore {
    max-height: 0;
    width: 100%;
    transition: max-height 400ms linear;
    overflow: hidden;
}

.home.active {
    background: white;
}
.home.active .home-slidebar-btn {
    display: none;
}

.home-explore-close .fas.fa-times {
    color: #535353;
    margin-top: 1rem;
}
.home-explore-title {
    margin: 1rem 0 2.2rem;
}
.home-explore-title span {
    text-transform: uppercase;
    color: #363636;
}

.home-explore-lists a {
    display: block;
    font-size: 1.2rem;
    text-decoration: none;
    color: #535353;
    margin: 15px 0;
}
.home-explore-lists a:hover {
    text-decoration: underline;
}
.home-explore-lists a:nth-child(9) {
    text-decoration: underline;
    text-transform: uppercase;
    /*padding-bottom: 2rem;*/
}


@media (max-width: 1695px) {
    .home {
        width: 274px;
    }
    
    .home::before {
        border-top: 50px solid #363636;
        border-left: 135px solid transparent;
        border-right: 138px solid transparent;
    }
    
    .home::after {
        border-top: 53px solid #BAA256;
        border-left: 138px solid transparent;
        border-right: 141px solid transparent;
    }
    .menu-item__link {
        font-size: .9rem;
    }
}


@media (max-width: 1485px) {
    .home {
        width: 208px;
    }
    
    .home::before {
        border-top: 40px solid #363636;
        border-left: 105px solid transparent;
        border-right: 105px solid transparent;
        bottom: -39px;
    }
    
    .home::after {
        border-top: 42px solid #BAA256;
        border-left: 107px solid transparent;
        border-right: 106px solid transparent;
        bottom: -42px;
    }
    .home.active::before {
        border-top: 40px solid white;
    }
    .menu-item__link {
        font-size: .8rem;
    }
}

@media (max-width: 1136px) {
    .menu-item__link {
        font-size: .7rem;
    }
}