:root {
  --color-primary: #eb2f64;
  --color-primary-light: #ff3366;
  --color-primary-dark: #ba265d;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #333;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2rem 5rem rgba(0, 0, 0, 0.06);
  --line: 1px solid var(--color-grey-light-2); }

@keyframes pulsate {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: none;
    box-shadow: none; }
  50% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.3);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.3); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: none;
    box-shadow: none; } }

* {
  margin: 0;
  padding: 0; }

*,
*::before,
*::after {
  box-sizing: inherit; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }
  @media screen and (max-width: 68.75em) {
    html {
      font-size: 50%; } }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-grey-dark-2);
  background: linear-gradient(to right bottom, var(--color-primary-light), var(--color-primary-dark)) no-repeat;
  min-height: 100vh; }

.container {
  max-width: 120rem;
  min-height: 50rem;
  margin: 6rem auto;
  background-color: var(--color-grey-light-1);
  box-shadow: var(--box-shadow); }
  @media only screen and (max-width: 75em) {
    .container {
      margin: 0;
      max-width: 100%;
      width: 100%; } }

.header {
  font-size: 1.4rem;
  height: 7rem;
  background-color: #fff;
  border-bottom: 1px solid var(--color-grey-light-2);
  display: flex;
  justify-content: space-between;
  align-items: center; }
  @media only screen and (max-width: 31.25em) {
    .header {
      flex-wrap: wrap;
      align-content: space-around;
      height: 11rem; } }

.content {
  display: flex; }
  @media only screen and (max-width: 56.25em) {
    .content {
      flex-direction: column; } }

.sidebar {
  flex: 0 0 18%;
  background-color: var(--color-grey-dark-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.hotel-view {
  flex: 1; }

.detail {
  display: flex;
  padding: 4.5rem;
  background-color: var(--color-grey-light-1);
  border-bottom: var(--line);
  font-size: 1.4rem; }
  @media only screen and (max-width: 56.25em) {
    .detail {
      padding: 3rem; } }
  @media only screen and (max-width: 37.5em) {
    .detail {
      flex-direction: column; } }

.description {
  flex: 0 0 60%;
  padding: 3rem;
  margin-right: 4.5rem;
  box-shadow: var(--shadow-light);
  background-color: #fff; }
  @media only screen and (max-width: 56.25em) {
    .description {
      padding: 2rem;
      margin-right: 3rem; } }
  @media only screen and (max-width: 37.5em) {
    .description {
      margin-right: 0; } }

.user-reviews {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; }
  @media only screen and (max-width: 37.5em) {
    .user-reviews {
      margin-top: 3rem; } }

.logo {
  height: 3.25rem;
  margin-left: 2rem; }

.search {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center; }
  @media only screen and (max-width: 31.25em) {
    .search {
      order: 1;
      flex: 0 0 100%;
      background-color: var(--color-grey-light-2); } }
  .search__input {
    margin-right: -3.25rem;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 100px;
    background-color: var(--color-grey-light-2);
    width: 90%;
    transition: all 0.2s; }
    .search__input:focus {
      background-color: var(--color-grey-light-3);
      width: 100%;
      outline: none; }
    .search__input::-webkit-input-placeholder {
      font-weight: 100;
      color: var(--color-grey-light-4); }
  .search__button {
    border: none;
    background-color: var(--color-grey-light-2); }
    .search__button:focus {
      outline: none;
      background-color: var(--color-grey-light-3); }
    .search__button:active {
      transform: translateY(2px); }
  .search__icon {
    fill: var(--color-grey-dark-3);
    height: 2rem;
    width: 2rem; }

.user-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  position: relative; }
  .user-nav > * {
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center; }
    .user-nav > *:hover {
      background-color: var(--color-grey-light-2); }
  .user-nav__icon-box {
    position: relative; }
  .user-nav__icon {
    height: 2.25rem;
    width: 2.25rem;
    fill: var(--color-grey-dark-2); }
  .user-nav__img {
    height: 3.75rem;
    border-radius: 50%;
    margin-right: 1rem; }
  .user-nav__notification {
    font-size: 0.8rem;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    position: absolute;
    top: 1.5rem;
    right: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center; }

.user-nav__icon-box:hover > .dropdown {
  opacity: 1;
  visibility: visible; }

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border-radius: 10px;
  list-style: none;
  min-width: 27rem;
  padding: 1rem;
  margin: 0;
  z-index: 20;
  color: var(--color-grey-dark-1);
  font-weight: 600;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s; }
  .dropdown hr {
    width: 95%;
    margin: 0 auto;
    border-radius: 1px;
    border: none;
    height: 2px;
    background-color: var(--color-grey-light-4); }
  .dropdown__photobox {
    display: flex;
    align-items: center;
    padding: 1rem; }
  .dropdown__username {
    text-transform: capitalize;
    font-size: 1.6rem; }
  .dropdown__discript {
    color: var(--color-grey-dark-2);
    font-weight: 400; }
  .dropdown__item {
    padding: 1rem 0.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    border-radius: 5px;
    cursor: pointer; }
    .dropdown__item:first-child {
      margin-top: 0; }
    .dropdown__item:last-child {
      margin-bottom: 0; }
    .dropdown__item-feedback {
      color: var(--color-grey-dark-3);
      font-weight: 200;
      font-size: 1rem; }
    .dropdown__item i:first-of-type {
      font-size: 2rem;
      display: inline-block;
      background-color: var(--color-grey-light-4);
      padding: 1rem;
      border-radius: 50%;
      margin-right: 0.6rem; }
    .dropdown__item span {
      margin-right: auto; }
    .dropdown__item:hover {
      background-color: var(--color-grey-light-1); }
    .dropdown__item .dropdown__photobox {
      padding: 0; }
  .dropdown__img {
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    margin-right: 1.5rem; }
  .dropdown__titlebox {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    margin-left: 2rem; }
    .dropdown__titlebox i {
      margin: 0.5rem; }
  .dropdown__title {
    margin-right: auto; }
  .dropdown .search__input {
    margin-right: 0;
    width: 100%; }
  .dropdown .search__button {
    position: absolute;
    right: 20px; }
  .dropdown .search__input:focus + .search__button {
    background-color: var(--color-grey-light-3); }

.user-nav__user:hover > .dropdown {
  opacity: 1;
  visibility: visible; }

.side-nav {
  margin-top: 3.5rem;
  font-size: 1.4rem;
  list-style: none; }
  @media only screen and (max-width: 56.25em) {
    .side-nav {
      display: flex;
      margin: 0; } }
  .side-nav__item {
    position: relative; }
    .side-nav__item:not(:last-child) {
      margin-bottom: 0.5rem; }
      @media only screen and (max-width: 56.25em) {
        .side-nav__item:not(:last-child) {
          margin-bottom: 0; } }
    @media only screen and (max-width: 56.25em) {
      .side-nav__item {
        flex: 1; } }
    .side-nav__item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      background-color: var(--color-primary);
      width: 3px;
      height: 100%;
      transform: scaleY(0);
      transition: transform 0.2s, width 0.4s cubic-bezier(1, 0, 0, 1) 0.2s, background-color 0.1s, -webkit-transform 0.2s; }
  .side-nav__item:hover:before, .side-nav__item--active::before {
    transform: scaleY(1);
    width: 100%; }
  .side-nav__item:active::before {
    background-color: var(--color-primary-light); }
  .side-nav__link:link, .side-nav__link:visited {
    text-decoration: none;
    padding: 1.5rem 3rem;
    text-decoration: none;
    text-transform: uppercase;
    padding: 1.5rem 3rem;
    cursor: pointer;
    color: var(--color-grey-light-1);
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center; }
    @media only screen and (max-width: 56.25em) {
      .side-nav__link:link, .side-nav__link:visited {
        justify-content: center;
        padding: 2rem; } }
    @media only screen and (max-width: 37.5em) {
      .side-nav__link:link, .side-nav__link:visited {
        flex-direction: column;
        padding: 1.5rem; } }
  .side-nav__icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 2rem;
    fill: currentColor; }
    @media only screen and (max-width: 37.5em) {
      .side-nav__icon {
        margin-right: 0;
        margin-bottom: 0.2rem;
        width: 1.5rem;
        height: 1.5rem; } }

.copyright {
  font-size: 1.2rem;
  color: var(--color-grey-light-4);
  text-align: center;
  padding: 2.5rem; }
  @media only screen and (max-width: 56.25em) {
    .copyright {
      display: none; } }

.gallery {
  display: flex; }
  .gallery__item {
    position: relative;
    overflow: hidden; }
  .gallery__img {
    width: 100%;
    display: block; }
  .gallery__content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    color: var(--color-grey-light-4);
    text-transform: uppercase;
    font-size: 3rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden; }
    .gallery__content-top {
      transform: translateY(-150%);
      transition: transform 0.4s; }
    .gallery__content-bottom {
      transform: translateY(150%);
      transition: transform 0.4s; }
  .gallery__item:hover .gallery__content {
    opacity: 1;
    visibility: visible; }
    .gallery__item:hover .gallery__content-top {
      transform: translateY(0); }
    .gallery__item:hover .gallery__content-bottom {
      transform: translateY(0); }

.overview {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid var(--color-grey-light-2); }
  .overview__heading {
    font-size: 2.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1;
    padding: 1.5rem 3rem; }
    @media only screen and (max-width: 37.5em) {
      .overview__heading {
        font-size: 1.8rem;
        padding: 1.25rem 2rem; } }
  .overview__icon-star, .overview__icon-location {
    width: 1.75rem;
    height: 1.75rem;
    fill: var(--color-primary); }
  .overview__stars {
    display: flex;
    margin-right: auto; }
  .overview__location {
    display: flex;
    align-items: center; }
  .overview__icon-location {
    margin-right: 0.5rem; }
  .overview__rating {
    background-color: var(--color-primary);
    color: #fff;
    margin-left: 3rem;
    padding: 0 2.25rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }
    @media only screen and (max-width: 37.5em) {
      .overview__rating {
        padding: 0rem 1.5rem; } }
    .overview__rating-average {
      font-size: 2.25rem;
      font-weight: 300;
      margin-bottom: -3px; }
      @media only screen and (max-width: 37.5em) {
        .overview__rating-average {
          font-size: 1.8rem; } }
    .overview__rating-count {
      font-size: 0.8rem;
      text-transform: uppercase; }
      @media only screen and (max-width: 37.5em) {
        .overview__rating-count {
          font-size: 0.5rem; } }

.btn-inline:link, .btn-inline:visited {
  color: var(--color-primary);
  font-size: inherit;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 1.5px;
  border-bottom: 1px solid currentColor;
  transition: all 0.2s; }

.btn-inline span {
  margin-left: 3px;
  transition: margin-left 0.3s; }

.btn-inline:hover {
  color: var(--color-grey-dark-1); }
  .btn-inline:hover span {
    margin-left: 8px; }

.btn-inline:active {
  transform: scale(1.1);
  box-shadow: 0rem 0.5rem 3rem rgba(0, 0, 0, 0.1); }

.paragraph:not(:last-of-type) {
  margin-bottom: 2rem; }

.list {
  list-style: none;
  margin: 3rem 0;
  padding: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  border-top: var(--line);
  border-bottom: var(--line); }
  .list__item {
    flex: 0 0 50%;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center; }
    .list__item::before {
      content: '';
      display: inline-block;
      height: 1rem;
      width: 1rem;
      margin-right: 0.7rem;
      background-image: url(../img/chevron-thin-right.svg);
      background-size: cover; }
      @supports (-webkit-mask-image: url()) or (mask-image: url()) {
        .list__item::before {
          background-color: var(--color-primary);
          -webkit-mask-image: url(../img/chevron-thin-right.svg);
          mask-image: url(../img/chevron-thin-right.svg);
          -webkit-mask-size: cover;
          mask-size: cover;
          background-image: none; } }

.recommend {
  font-size: 1.3rem;
  color: var(--color-grey-dark-3);
  display: flex;
  align-items: center;
  justify-content: space-between; }
  .recommend__friends {
    display: flex; }
  .recommend__img {
    box-sizing: content-box;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 3px solid #fff; }
    .recommend__img:not(:last-child) {
      margin-right: -2.5rem; }

.review {
  background-color: #fff;
  box-shadow: var(--shadow-light);
  padding: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden; }
  @media only screen and (max-width: 56.25em) {
    .review {
      padding: 2rem;
      margin-bottom: 3rem; } }
  .review__txt {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10; }
  .review__user {
    display: flex;
    align-items: center; }
  .review__user-box {
    margin-right: auto; }
  .review__user-name {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.4rem; }
  .review__user-date {
    font-size: 1rem;
    color: var(--color-grey-dark-3); }
  .review__rating {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 300; }
  .review__img {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%;
    margin-right: 1.5rem; }
  .review::before {
    content: '\201C';
    position: absolute;
    top: -2.75rem;
    left: -1rem;
    line-height: 1;
    font-size: 20rem;
    color: var(--color-grey-light-2);
    z-index: 1; }

.cta {
  padding: 3.5rem 0;
  text-align: center; }
  @media only screen and (max-width: 56.25em) {
    .cta {
      padding: 2.5rem 0; } }
  .cta__book-now {
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 2.5rem; }

.btn:link, .btn:visited {
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 1.5rem 6rem;
  background-image: linear-gradient(to right bottom, var(--color-primary-light), var(--color-primary-dark));
  border-radius: 100px;
  display: inline-block;
  position: relative;
  overflow: hidden; }

.btn > * {
  transition: all 0.3s; }

.btn__visible {
  display: inline-block;
  transform: translateY(0); }

.btn__invisible {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -50px;
  color: white;
  width: 100%; }

.btn:hover {
  background-image: linear-gradient(to left bottom, var(--color-primary-light), var(--color-primary-dark)); }

.btn:hover .btn__visible {
  transform: translateY(50px); }

.btn:hover .btn__invisible {
  top: 50%;
  transform: translate(-50%, -50%); }
