: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;
  --line: 2px solid var(--color-grey_light-3);
  --shadow-dark: 0 2rem 6rem rgba(0,0,0, .3);
  --shadow-light: 0 2rem 5rem rgba(0,0,0,.06); }

* {
  margin: 0;
  padding: 0; }

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

html {
  box-sizing: border-box;
  font-size: 62.5%; }
  @media only 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-image: linear-gradient(to right bottom, var(--color-primary), var(--color-primary-dark));
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh; }
  @media only screen and (min-width: 64em) and (max-width: 68.75em) {
    body {
      background-image: none;
      min-height: 0; } }
  @media only screen and (min-width: 37.5em) and (max-width: 56.25em) {
    body {
      background-image: none; } }

.container {
  max-width: 120rem;
  margin: 8rem auto;
  box-shadow: var(--shadow-dark);
  background-color: var(--color-grey_light-1);
  min-height: 50rem; }
  @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: var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center; }
  @media only screen and (max-width: 31.25em) {
    .header {
      flex-wrap: wrap;
      height: 11rem;
      align-content: space-around; } }

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

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

.hotel-view {
  flex-grow: 1;
  background-color: #fff; }

.details {
  display: flex;
  padding: 4.5rem;
  border-bottom: var(--line);
  background-color: var(--color-grey_light-3); }
  @media only screen and (max-width: 56.25em) {
    .details {
      padding: 3rem; } }
  @media only screen and (max-width: 37.5em) {
    .details {
      flex-direction: column; } }

.description {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 60%;
  margin-right: 4.5rem;
  background-color: #fff;
  box-shadow: var(--shadow-light);
  padding: 3rem;
  font-size: 1.4rem;
  border-radius: 3px; }
  @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;
      margin-bottom: 3rem; } }

.user-reviews {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center; }

.logo {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 2.25rem;
  margin-left: 3rem;
  color: var(--color-primary-light); }

.search {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center; }
  @media only screen and (max-width: 31.25em) {
    .search {
      order: 1;
      flex-grow: 0;
      flex-shrink: 0;
      flex-basis: 100%;
      background-color: var(--color-grey_light-2); } }
  .search__input {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: .7rem 2rem;
    border: none;
    border-radius: 100px;
    background-color: var(--color-grey_light-2);
    width: 90%;
    margin-right: -3.25rem;
    transition: all .2s; }
    .search__input:focus {
      outline: none;
      width: 100%;
      background-color: var(--color-grey_light-3); }
    .search__input::-webkit-input-placeholder {
      color: var(--color-grey_dark-3); }
  .search__input:focus + .search__button {
    background-color: var(--color-grey_light-3); }
  .search__button {
    border: none;
    background-color: var(--color-grey_light-2); }
    .search__button:focus {
      outline: none; }
    .search__button:active {
      transform: translateY(2px); }
  .search__icon {
    height: 2rem;
    width: 2rem;
    fill: var(--color-grey_dark-3); }

.user-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  font-size: 1.3rem;
  position: relative; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .user-nav {
      display: flex;
      flex-grow: 1;
      justify-content: center;
      align-items: center; } }
  .user-nav__icon-menu {
    height: 2.5rem;
    width: 2.5rem; }
  .user-nav__menu {
    font-size: 1.2rem;
    z-index: 5;
    position: absolute;
    top: 8rem;
    right: 1rem;
    padding: 2.5rem 1.9rem;
    background-color: #ffff;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: all .2s; }
    .user-nav__menu img {
      height: 2rem;
      width: 2rem; }
    .user-nav__menu ul li {
      list-style: none; }
    .user-nav__menu li a {
      text-decoration: none;
      margin-left: .7rem;
      font-size: 1rem;
      font-family: 'Josefin-Sans';
      text-transform: uppercase;
      color: #000; }
  .user-nav__menu ul li a:hover {
    color: var(--color-primary);
    text-decoration: underline; }
  .user-nav__menu::before {
    content: "";
    position: absolute;
    right: 8rem;
    top: -1rem;
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg); }
  .user-nav__menu.active {
    visibility: visible;
    opacity: 1; }
    @media only screen and (min-width: 20em) and (max-width: 56.25em) {
      .user-nav__menu.active {
        visibility: hidden;
        opacity: 0; } }
  .user-nav > * {
    padding: 0 2rem;
    cursor: pointer;
    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: 3.25rem;
    width: 3.25rem;
    fill: var(--color-grey_dark-2); }
  .user-nav__notification {
    height: 1.75rem;
    width: 1.75rem;
    font-size: .8rem;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center; }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .user-nav__notification {
        top: 0; } }
  .user-nav__user-photos {
    height: 3.75rem;
    border-radius: 50%;
    margin-right: 1rem; }

.side-nav {
  font-size: 1.4rem;
  list-style: none;
  margin-top: 3.5rem; }
  @media only screen and (max-width: 56.25em) {
    .side-nav {
      display: flex;
      margin: 0; } }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .side-nav {
      font-size: 1rem;
      display: flex; } }
  .side-nav__item {
    position: relative; }
    .side-nav__item:not(:last-child) {
      margin-bottom: .5rem; }
      @media only screen and (max-width: 56.25em) {
        .side-nav__item:not(:last-child) {
          margin: 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;
    height: 100%;
    width: 3px;
    background: var(--color-primary);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.2s, width 0.4s cubic-bezier(0.01, 0, 0, 0.01) 0.2s, background-color 0.1s; }
  .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 {
    color: var(--color-grey_light-3);
    padding: 1.5rem 3rem;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    z-index: 9999;
    position: relative;
    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 .5rem; } }
  .side-nav__icon {
    height: 1.75rem;
    width: 1.75rem;
    margin-right: 2rem;
    fill: currentColor; }
    @media only screen and (max-width: 37.5em) {
      .side-nav__icon {
        margin: 0;
        height: 1.5rem;
        width: 1.5rem;
        margin-bottom: .7rem; } }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .side-nav__icon {
        display: none; } }

.legal {
  font-size: 1.3rem;
  padding: 2.5rem;
  color: var(--color-grey_light-4);
  text-align: center;
  font-family: 'Josefin Sans'; }
  @media only screen and (max-width: 56.25em) {
    .legal {
      display: none; } }

.gallery {
  display: flex; }
  .gallery__photo {
    width: 100%;
    display: block; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .gallery {
      height: 100%;
      display: block; } }

.overview {
  display: flex;
  border-bottom: 2px solid var(--color-grey_light-2);
  align-items: center; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .overview {
      justify-content: space-around; } }
  .overview__heading {
    font-size: 2.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1.5rem 3rem; }
    @media only screen and (max-width: 37.5em) {
      .overview__heading {
        font-size: 1.8rem;
        padding: 1.25rem 2rem; } }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__heading {
        font-size: 1.5rem; } }
  .overview__icon {
    margin-right: auto; }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__icon {
        display: flex;
        margin-left: auto; } }
  .overview__icon-stars, .overview__icon-location {
    width: 1.75rem;
    height: 1.75rem;
    fill: var(--color-primary); }
  .overview__location {
    font-size: 1.2rem;
    display: flex;
    align-items: center; }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__location {
        position: relative;
        right: 0rem; } }
  .overview__icon-location {
    margin-right: .5rem; }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__icon-location {
        position: relative;
        right: -1rem; } }
  .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: 0 1.5rem; } }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__rating {
        align-self: stretch;
        padding: 0 2.5rem;
        overflow-x: hidden; } }
  .overview__rating-average {
    font-size: 2.25rem;
    font-weight: 300;
    margin-left: -3px; }
    @media only screen and (max-width: 37.5em) {
      .overview__rating-average {
        font-size: 1.8rem; } }
  .overview__rating-count {
    font-size: .9rem;
    text-transform: uppercase; }
    @media only screen and (max-width: 37.5em) {
      .overview__rating-count {
        font-size: .6rem; } }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .overview__rating-count {
        font-size: .9rem; } }

.btn-inline {
  border: none;
  font-size: 1.3rem;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all .2s; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .btn-inline {
      position: relative;
      right: 0; } }
  .btn-inline span {
    margin-left: 3px;
    transition: margin-left .2s; }
  .btn-inline:hover {
    background-color: var(--color-grey_dark-3); }
    .btn-inline:hover span {
      margin-left: 9px; }
  .btn-inline:focus {
    outline: none;
    animation: pulsate 1s infinite; }

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

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

.list {
  list-style: none;
  margin: 3rem 0;
  padding: 3rem 0;
  border-top: var(--line);
  border-bottom: var(--line);
  display: flex;
  flex-wrap: wrap; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .list {
      flex-direction: column; } }
  .list__item {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 50%;
    margin-bottom: .7rem; }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .list__item {
        flex: 3; } }
  .list__item::before {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: .7rem;
    background-image: url(../img/SVG/chevron-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/SVG/chevron-right.svg);
        -webkit-mask-size: cover;
        mask-image: url(../img/SVG/chevron-right.svg);
        mask-size: cover;
        background-image: none; } }

.recommend {
  font-size: 1.3rem;
  color: var(--color-grey_dark-2);
  display: flex;
  align-items: center; }
  .recommend__count {
    margin-right: auto; }
  .recommend__friends {
    display: flex; }
  .recommend__photo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 3px solid #fff;
    box-sizing: content-box; }
    .recommend__photo:not(:last-child) {
      margin-right: -2rem; }

.review {
  background-color: #fff;
  box-shadow: var(--shadow-light);
  padding: 3rem;
  margin-bottom: 3.5rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden; }
  @media only screen and (max-width: 56.25em) {
    .review {
      padding: 2rem;
      margin-bottom: 3rem; } }
  .review__text {
    font-size: 1.4rem;
    color: var(--color-grey_dark-2);
    z-index: 9999;
    position: relative; }
  .review__user {
    display: flex;
    align-items: center;
    margin-top: 1.5rem; }
  .review__photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    margin-right: 1.5rem; }
  .review__user-box {
    margin-right: auto; }
  .review__user-name {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .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::before {
    content: "\201C";
    position: absolute;
    color: var(--color-grey_light-3);
    font-family: sans-serif;
    font-size: 20rem;
    top: -8.6rem;
    left: -1rem;
    z-index: 9; }

.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;
    color: var(--color-grey_dark-2); }
    @media only screen and (min-width: 20em) and (max-width: 30em) {
      .cta__book-now {
        font-size: 1.5rem;
        font-size: 300; } }

.btn {
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  border-radius: 100px;
  background-image: linear-gradient(to right, var(--color-primary-light), var(--color-primary-dark));
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden; }
  @media only screen and (min-width: 20em) and (max-width: 30em) {
    .btn {
      width: 70%; } }
  .btn > * {
    width: 100%;
    height: 100%;
    display: inline-block;
    transition: all .2s; }
  .btn-visible {
    padding: 2rem 7.5rem; }
  .btn-invisible {
    padding: 2rem 0;
    position: absolute;
    top: -100%;
    left: 0;
    cursor: pointer; }
  .btn:hover .btn-visible {
    transform: translateY(100%); }
  .btn:hover .btn-invisible {
    top: 0; }
  .btn:focus {
    animation: pulsate 1s infinite; }
  .btn:hover {
    background-image: linear-gradient(to top right, var(--color-primary-light), var(--color-primary-dark)); }
