:root {
  --color-primary:#cb2f64;
  --color-primary-light:#ff3366;
  --color-primary-dark:#BA265D;
  --color-gray-light-1:#faf9f9;
  --color-gray-light-2:#f4f2f2;
  --color-gray-light-3:#f0eeee;
  --color-gray-light-4:#ccc;
  --color-gray-dark-1:#333;
  --color-gray-dark-2:#777;
  --color-gray-dark-3:#999;
  --color-white:#fff;
  --line:1px solid var(--color-gray-light-3);
  --shadow-dark:0 2rem 4rem rgba(0,0,0.5);
  --shadow-light:0 1.6rem 4rem rgba(0,0,0,.2); }

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

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

body {
  background-image: linear-gradient(to right bottom, var(--color-primary), var(--color-primary-dark));
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  font-family: sans-serif; }

.container {
  background-color: var(--color-gray-light-2); }
  @media only screen and (max-width: 75em) {
    .container {
      margin: 0;
      max-width: 100%;
      width: 100%; } }

.header {
  background-color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  border-bottom: var(--line); }
  @media only screen and (max-width: 37.5em) {
    .header {
      flex-wrap: wrap;
      height: 10rem;
      align-content: space-around; } }

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

.sidebar {
  background-color: var(--color-gray-dark-1);
  flex: 0 0 18%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; }
  @media only screen and (max-width: 32.5em) {
    .sidebar {
      background-color: #fff;
      color: var(--color-gray-dark-1); } }

.hotel-content {
  background-color: var(--color-gray-light-1);
  flex: 1; }

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

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

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

.logo {
  margin-left: 2rem;
  border-bottom: 1px solid var(--color-primary);
  transition: all .5s ease;
  cursor: pointer;
  backface-visibility: hidden; }
  .logo:hover {
    transform: scale(1.1); }
  .logo__first {
    color: var(--color-primary); }

.search {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center; }
  @media only screen and (max-width: 32.5em) {
    .search {
      order: 1;
      flex: 0 0 100%;
      margin-left: -1.2rem;
      margin-bottom: 1.5rem; } }
  .search__input {
    background-color: var(--color-gray-light-3);
    padding: .8rem 2rem;
    border-radius: 10rem;
    color: inherit;
    font-family: inherit;
    width: 90%;
    transition: all .5s;
    border: none;
    margin-right: -3.5rem; }
    @media only screen and (max-width: 32.5em) {
      .search__input {
        width: 70%;
        padding: .9rem 4rem; } }
    .search__input:focus {
      outline: none;
      width: 100%;
      background-color: var(--color-gray-light-2); }
      @media only screen and (max-width: 32.5em) {
        .search__input:focus {
          width: 80%; } }
    .search__input::-webkit-input-placeholder {
      font-weight: 100;
      color: blue; }
      @media only screen and (max-width: 32.5em) {
        .search__input::-webkit-input-placeholder {
          color: var(--color-gray-dark-1);
          font-weight: 120; } }
  .search__button {
    border: none;
    background-color: var(--color-gray-light-2); }
    @media only screen and (max-width: 32.5em) {
      .search__button {
        margin-left: -3.7rem; } }
    .search__button:focus {
      outline: none; }
    .search__button:active {
      transform: translateY(2px); }
  .search__icon {
    height: 2rem;
    width: 2rem;
    fill: var(--color-gray-dark-3); }

.user-nav {
  display: flex;
  align-self: stretch;
  align-items: center; }
  .user-nav > * {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    height: 100%;
    cursor: pointer; }
    .user-nav > *:hover {
      background-color: var(--color-gray-light-2); }
  .user-nav__icon-box {
    position: relative; }
  .user-nav__icon {
    height: 2.25rem;
    width: 2.25rem; }
    @media only screen and (max-width: 32.5em) {
      .user-nav__icon {
        fill: var(--color-gray-dark-1); } }
  .user-nav__notification {
    font-size: .7rem;
    height: 1.8rem;
    width: 1.8rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    position: absolute;
    top: 1.2rem;
    left: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700; }
  .user-nav__user-photo {
    height: 4rem;
    width: 4rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 1rem; }
    @media only screen and (max-width: 32.5em) {
      .user-nav__user-photo {
        margin-right: .3rem; } }

.side-nav {
  margin-top: 2rem;
  list-style: none;
  font-size: 1.7rem; }
  @media only screen and (max-width: 56.25em) {
    .side-nav {
      display: flex;
      margin-top: 0; } }
  @media only screen and (max-width: 32.5em) {
    .side-nav__link-text {
      display: none; } }
  .side-nav__item {
    padding: 1.2rem;
    color: #fff;
    position: relative; }
    .side-nav__item:not(:last-child) {
      margin-bottom: .5rem; }
    @media only screen and (max-width: 56.25em) {
      .side-nav__item {
        flex: 1; } }
    @media only screen and (max-width: 32.5em) {
      .side-nav__item {
        padding: .4rem;
        font-size: 1.5rem;
        color: var(--color-gray-dark-4); } }
  .side-nav__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
    height: 100%;
    width: 3px;
    transform: scaleY(0);
    transition: transform 0.2s, width 0.4s cubic-bezier(1, 0, 0, 1) 0.2s, background-color 0.1s; }
    @media only screen and (max-width: 32.5em) {
      .side-nav__item::before {
        display: none; } }
  .side-nav__item:hover::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;
    color: currentColor;
    display: flex;
    align-items: center;
    z-index: 10;
    padding: 1.7rem;
    position: relative; }
    @media only screen and (max-width: 56.25em) {
      .side-nav__link:link, .side-nav__link:visited {
        justify-content: center;
        padding: 1rem; } }
    @media only screen and (max-width: 37.5em) {
      .side-nav__link:link, .side-nav__link:visited {
        flex-direction: column;
        padding: .8rem; } }
  @media only screen and (max-width: 32.5em) {
    .side-nav__link:active {
      outline: none;
      background-color: none; } }
  .side-nav__icon {
    height: 1.75rem;
    width: 1.75rem;
    color: currentColor;
    margin-right: 2rem;
    fill: currentColor; }
    @media only screen and (max-width: 56.25em) {
      .side-nav__icon {
        margin-right: .6rem; } }
    @media only screen and (max-width: 37.5em) {
      .side-nav__icon {
        margin-right: 0;
        height: 1.5rem;
        width: 1.5rem; } }
    @media only screen and (max-width: 32.5em) {
      .side-nav__icon {
        height: 2.5rem;
        width: 2.5rem;
        fill: var(--color-gray-dark-1); } }
  .side-nav__legal {
    color: var(--color-gray-light-4);
    font-size: 1.2rem;
    padding: 2.5rem;
    text-align: center; }
    @media only screen and (max-width: 56.25em) {
      .side-nav__legal {
        display: none; } }

@media only screen and (min-width: 75.1em) {
  .gallery2 {
    display: none; } }

@media only screen and (max-width: 75em) {
  .gallery2 {
    display: none; } }

@media only screen and (max-width: 32.5em) {
  .gallery2 {
    display: flex;
    margin-bottom: 1rem; } }

.gallery {
  display: flex;
  align-items: center;
  overflow: hidden; }
  @media only screen and (max-width: 32.5em) {
    .gallery {
      display: none; } }
  .gallery__photo {
    width: 100%;
    height: 100%;
    overflow: hidden; }
  .gallery__item {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
    @media only screen and (max-width: 32.5em) {
      .gallery__item {
        clip-path: none; } }

.overview {
  display: flex;
  border-bottom: var(--line);
  align-items: center;
  margin-top: -.2rem; }
  @media only screen and (max-width: 32.5em) {
    .overview {
      margin-top: 0;
      margin-bottom: 1rem;
      border-bottom: none; } }
  .overview__star-icon, .overview__location-icon {
    width: 1.75rem;
    height: 1.75rem;
    fill: var(--color-primary); }
    @media only screen and (max-width: 32.5em) {
      .overview__star-icon, .overview__location-icon {
        fill: orange; } }
  .overview__star-icon--last {
    clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%); }
  .overview__location {
    display: flex;
    align-items: center;
    margin-right: 2rem; }
    @media only screen and (max-width: 32.5em) {
      .overview__location {
        display: none; } }
  .overview__location-icon {
    margin-right: 1rem; }
  .overview__stars {
    display: flex;
    margin-right: auto; }
    @media only screen and (max-width: 32.5em) {
      .overview__stars {
        margin-right: .5reme; } }
  .overview__rating {
    background-color: var(--color-primary);
    color: #fff;
    align-self: stretch;
    padding: 0 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
    @media only screen and (max-width: 37.5em) {
      .overview__rating {
        padding: 0 1.8rem; } }
    @media only screen and (max-width: 32.5em) {
      .overview__rating {
        clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
        margin-right: 3px; } }
  .overview__rating-average {
    font-size: 2.25rem; }
    @media only screen and (max-width: 37.5em) {
      .overview__rating-average {
        font-size: 1.7rem; } }
    @media only screen and (max-width: 32.5em) {
      .overview__rating-average {
        margin-top: .65rem;
        margin-left: -2.7rem;
        font-size: 2rem; } }
  .overview__rating-count {
    font-size: 1rem;
    text-transform: uppercase; }
    @media only screen and (max-width: 37.5em) {
      .overview__rating-count {
        padding: .8rem; } }
  .overview__heading {
    font-size: 2.25rem;
    text-transform: uppercase;
    font-weight: 300;
    padding: 1.5rem 3rem;
    letter-spacing: 1px; }
    @media only screen and (max-width: 56.25em) {
      .overview__heading {
        padding: 1rem 2rem;
        letter-spacing: 0;
        font-size: 1.7rem; } }

.btn-inline {
  border: none;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  font-size: inherit;
  padding-bottom: 3px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all .2s; }
  .btn-inline:hover {
    color: var(--color-gray-dark-1); }
    .btn-inline:hover span {
      margin-left: 8px; }
  .btn-inline span {
    margin-left: 3px;
    transition: margin-left .3s;
    font-size: 2.5rem;
    font-weight: 800; }
  .btn-inline:focus {
    outline: none;
    animation: pulse 1s infinite; }
    @media only screen and (max-width: 32.5em) {
      .btn-inline:focus {
        animation: none; } }

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: none; }
  50% {
    transform: scale(1.07);
    box-shadow: var(--shadow-light);
    /* padding: 1rem 2.5rem; */ }
  100% {
    transform: scale(1);
    box-shadow: none; } }

.paragraph {
  padding: .5rem;
  line-height: 1.7; }
  .paragraph:not(:last-of-type) {
    margin-bottom: 2rem; }

.list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
  border-top: var(--line);
  border-bottom: var(--line); }
  .list__item {
    flex: 0 0 100%;
    padding: 1rem .8rem;
    margin-bottom: .7rem;
    line-height: 1.7; }
  .list__item::before {
    content: "";
    height: 1.2rem;
    width: 1.2rem;
    display: inline-block;
    background-image: url(../css/svgs/solid/chevron-right.svg);
    background-repeat: no-repeat;
    margin-right: 1rem; }
    @supports (-webkit-mask-image: url()) {
      .list__item::before {
        background-color: var(--color-primary);
        -webkit-mask-image: url(../css/svgs/solid/chevron-right.svg);
        -webkit-mask-repeat: no-repeat;
        mask-image: url(../css/svgs/solid/chevron-right.svg);
        mask-repeat: no-repeat;
        background-image: none; } }

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

.review {
  background-color: #fff;
  margin-bottom: 2.4rem;
  padding: 3rem;
  line-height: 1.7;
  color: var(--color-gray-dark-1);
  position: relative;
  overflow: hidden;
  z-index: 10; }
  @media only screen and (max-width: 56.25em) {
    .review {
      padding: 2rem;
      margin-bottom: 1.5rem; } }
  .review__text {
    margin-bottom: 1rem;
    z-index: 10;
    position: relative; }
  .review::before {
    content: "\201C";
    font-size: 20rem;
    font-family: sans-serif;
    position: absolute;
    top: -10rem;
    left: 2.2rem;
    color: var(--color-gray-light-4);
    z-index: 1; }
    @media only screen and (max-width: 32.5em) {
      .review::before {
        font-size: 10rem;
        top: -4rem;
        left: 1.4rem; } }
  .review__user {
    display: flex; }
  .review__photo {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%;
    margin-right: 1.5rem; }
  .review__user-box {
    margin-right: auto; }
    .review__user-box span {
      font-weight: 300;
      font-size: 1.8rem; }
  .review__user-date {
    margin-right: auto;
    margin-top: -.8rem; }
    .review__user-date span {
      font-weight: 200;
      color: var(--color-dark-3);
      font-size: 1.3rem; }
  .review__user-rating {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-primary); }

.cta {
  padding: 3.5rem 0;
  text-align: center; }
  @media only screen and (max-width: 56.25em) {
    .cta {
      padding: 2.5rem 0; } }
  .cta__book-now {
    color: var(--color-gray-dark-2);
    line-height: 1.7;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 2.8rem; }
    @media only screen and (max-width: 56.25em) {
      .cta__book-now {
        margin-bottom: 2rem; } }

.btn {
  border-radius: 100px;
  background-image: linear-gradient(to right bottom, var(--color-primary-dark), var(--color-primary-light));
  border: none;
  color: var(--color-gray-light-3);
  font-size: 1.8rem;
  font-weight: 300;
  position: relative;
  padding: 1rem 2rem;
  overflow: hidden; }
  .btn > * {
    height: 100%;
    display: inline-block;
    width: 100%;
    transition: all .3s; }
  .btn__invisible {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 2rem 0;
    transition: all .4s; }
  .btn:hover .btn__invisible {
    background-color: rgba(27, 172, 27, 0.979);
    box-shadow: var(--shadow-dark);
    top: 0; }
  .btn:hover .btn__visible {
    transform: translateY(100%); }
  .btn__visible {
    display: inline-block;
    padding: 1rem 7rem; }
  .btn:focus {
    outline: none;
    animation: pulse 1s infinite; }
    @media only screen and (max-width: 32.5em) {
      .btn:focus {
        animation: none; } }
