@charset "UTF-8";
/*
COLORS

Grey light 1: #faf9f9
Grey light 2: #f4f2f2
Grey light 3: #f0eeee
Grey light 4: #ccc

Grey dark 1: #333
Grey dark 2: #777
Grey dark 3: #999

*/
:root {
  --color-white: #fff;
  --color-primary: #eb2f64;
  --color-primary-light: #ff3366;
  --color-primary-dark: #ba265d;
  --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;
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2rem 5rem rgba(0, 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;
  background-image: linear-gradient(to right bottom, var(--color-primary-light), var(--color-primary-dark));
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: var(--color-Grey-dark-2);
}

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

.header {
  height: 7rem;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-Grey-light-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
}
@media only screen and (max-width: 31.5em) {
  .header {
    flex-wrap: wrap;
    height: 12rem;
    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: 0 0 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hotel-view {
  background-color: var(--color-white);
  flex: 1;
}

.detail {
  display: flex;
  padding: 4.5rem;
  background-color: var(--color-Grey-light-2);
  border-bottom: 1px solid var(--color-Grey-light-2);
  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;
  }
}

.desc {
  background-color: white;
  box-shadow: var(--shadow-light);
  padding: 3rem;
  flex: 0 0 60%;
  margin-right: 4.5rem;
  font-size: 1.4rem;
}
@media only screen and (max-width: 75em) {
  .desc {
    padding: 2rem;
    margin-right: 3rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .desc {
    margin-right: 0;
    margin-bottom: 3rem;
  }
}

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

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

.search {
  flex: 0 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 37.5em) {
  .search {
    order: 1;
    flex-basis: 100%;
    background-color: var(--color-Grey-light-2);
  }
}
.search__input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: var(--color-Grey-light-2);
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 10rem;
  width: 90%;
  margin-right: -4rem;
  text-transform: capitalize;
}
@media only screen and (max-width: 31.5em) {
  .search__input {
    width: 80%;
  }
}
.search__input:focus {
  outline: none;
  width: 100%;
  background-color: var(--color-Grey-light-3);
  transition: all 0.2s;
}
.search__input::placeholder {
  font-weight: 100;
  color: var(--color-Grey-light-4);
}
.search__input:focus + .search__btn {
  background-color: var(--color-Grey-light-3);
}
.search__btn {
  border: none;
  background-color: var(--color-Grey-light-2);
}
.search__btn:focus {
  outline: none;
}
.search__btn:active {
  transform: translateY(0.2rem);
}
.search__icon {
  height: 2rem;
  width: 2rem;
  fill: var(--color-Grey-dark-3);
}

.user-nav {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.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: 2.25rem;
  width: 2.25rem;
  fill: var(--color-Grey-dark-3);
}
.user-nav__notification {
  font-size: 0.8rem;
  line-height: 1.5;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  position: absolute;
  top: 1.5rem;
  right: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.user-nav__user {
  text-transform: capitalize;
}
.user-nav__user-photo {
  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: 75em) {
  .side-nav {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.side-nav__item {
  position: relative;
}
.side-nav__item:not(:last-child) {
  margin-bottom: 1rem;
}
@media only screen and (max-width: 75em) {
  .side-nav__item:not(:last-child) {
    margin-bottom: 0;
  }
}
.side-nav__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background-color: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.2s, width 0.4s cubic-bezier(1, 0, 0, 1) 0.2s, background-color 0.4s;
}
.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: white;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 37.5em) {
  .side-nav__link:link, .side-nav__link:visited {
    flex-direction: column;
    justify-content: center;
  }
}
.side-nav__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 2rem;
  fill: currentColor;
}

.legal {
  font-size: 1.2rem;
  font-weight: inherit;
  text-align: center;
  color: var(--color-Grey-light-4);
  padding: 2.5rem;
}
@media only screen and (max-width: 75em) {
  .legal {
    padding: 0;
    display: none;
  }
}

.gallery {
  display: flex;
}
.gallery__photo {
  max-width: 100%;
  display: block;
}

.overview {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-Grey-light-2);
}
.overview__heading {
  font-size: 2.25rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.5rem 3rem;
}
@media only screen and (max-width: 37.5em) {
  .overview__heading {
    font-size: 1.8rem;
    padding: 1.25rem 2rem;
  }
}
.overview__stars {
  margin-right: auto;
  display: flex;
}
.overview__icon-star, .overview__icon-location {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--color-primary);
}
.overview__location {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}
.overview__icon-location {
  margin-right: 0.5rem;
}
.overview__rating {
  background-color: var(--color-primary);
  color: white;
  margin-left: 3rem;
  align-self: stretch;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 37.5em) {
  .overview__rating {
    padding: 0 1.5rem;
  }
}
.overview__rating-average {
  font-size: 2.25rem;
  font-weight: 300;
}
@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 {
  border: none;
  color: var(--color-primary);
  font-size: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-inline:hover {
  color: var(--color-Grey-dark-1);
}
.btn-inline:focus {
  outline: none;
  animation: pulstate 1s infinite;
}

@keyframes pulstate {
  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;
  border-top: 1px solid var(--color-Grey-light-3);
  border-bottom: 1px solid var(--color-Grey-light-3);
  display: flex;
  flex-wrap: wrap;
}
.list__item {
  flex: 0 0 50%;
  margin-bottom: 0.7rem;
}
.list__item::before {
  content: "";
  display: inline-block;
  height: 1rem;
  width: 1rem;
  margin-right: 0.7rem;
  background-color: var(--color-primary);
  mask-image: url(../img/chevron-thin-right.svg);
  mask-size: cover;
}

.recommend {
  font-size: 1.3rem;
  color: var(--color-Grey-dark-3);
  display: flex;
  align-items: center;
}
.recommend__count {
  margin-right: auto;
}
.recommend__friends {
  display: flex;
}
.recommend__photo {
  box-sizing: content-box;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -1.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: 75em) {
  .review {
    padding: 2rem;
    margin-bottom: 3rem;
  }
}
.review__text {
  font-size: inherit;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}
.review__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.review__photo {
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 50%;
  margin-right: 1.2rem;
}
.review__user-box {
  margin-right: auto;
}
.review__user-name {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.review__user-date {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-Grey-dark-3);
}
.review__rating {
  color: var(--color-primary);
  font-size: 2rem;
}
.review::before {
  content: "“";
  position: absolute;
  top: -9rem;
  left: -0.8rem;
  font-size: 20rem;
  color: var(--color-Grey-light-2);
  font-family: sans-serif;
  z-index: 1;
}

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

.btn {
  border: none;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 300;
  border-radius: 100px;
  background-image: linear-gradient(to right, var(--color-primary-light), var(--color-primary));
  color: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.btn > * {
  display: inline-block;
  height: 100%;
  width: 100%;
  transition: all 0.2s;
}
.btn__visiable {
  padding: 2rem 7.5rem;
}
.btn__invisiable {
  padding: 2rem 0;
  position: absolute;
  left: 0;
  top: -100%;
  transition: all 0.2s;
}
.btn:hover {
  background-image: linear-gradient(to left, var(--color-primary-light), var(--color-primary));
}
.btn:hover .btn__visiable {
  transform: translateY(100%);
}
.btn:hover .btn__invisiable {
  top: 0;
}
.btn:focus {
  outline: none;
  animation: pulstate 1s infinite;
}
.btn:active {
  transform: scale(1.2);
  animation: pulstate 1s infinite;
}

/*# sourceMappingURL=style.css.map */
