* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "League Spartan", sans-serif;
}

img {
  display: block;
  height: 100%;
  width: 100%;
}

ul {
  list-style: none;
}

a, a:visited {
  text-decoration: none;
}

.room {
  background-color: blue;
  display: grid;
}
@media (min-width: 992px) {
  .room {
    grid-template-columns: 1fr 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
}

@media (min-width: 992px) {
  .room__topSection {
    grid-column: 1/4;
    grid-row: 1/2;
    background-color: blueviolet;
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    min-height: 400px;
  }
}

.room__heroImg {
  background-image: url("./images/mobile-image-hero-1.jpg");
  background-size: cover;
  background-position: bottom center;
  min-height: 300px;
}
@media (min-width: 992px) {
  .room__heroImg {
    background-image: url("./images/desktop-image-hero-1.jpg");
    background-position: center center;
  }
}
.room__heroImg header {
  display: flex;
  padding-inline: 20px;
  padding-block-start: 30px;
  min-height: 125px;
  transition: 0.3s;
  position: relative;
  z-index: 100;
}
.room__heroImg header.showHeaderbg {
  background-color: hsl(0, 0%, 100%);
}
@media (min-width: 992px) {
  .room__heroImg header {
    width: 45%;
    min-height: fit-content;
    align-items: center;
    justify-content: space-between;
    color: hsl(0, 0%, 100%);
  }
}
.room__heroImg header .logo {
  font-weight: 800;
  font-size: 1.125rem;
  margin-inline-start: 7.8125rem;
  height: fit-content;
  order: 2;
}
@media (min-width: 992px) {
  .room__heroImg header .logo {
    order: 0;
    margin-inline-start: 0;
  }
}
.room__heroImg header .logo a {
  color: hsl(0, 0%, 100%);
}
.room__heroImg header .logo.hideLogo {
  display: none;
}
@media (min-width: 992px) {
  .room__heroImg header nav {
    display: flex;
    align-items: center;
  }
  .room__heroImg header nav.desktopNav {
    display: block;
  }
  .room__heroImg header nav.mobileNav {
    display: none;
  }
}
.room__heroImg header nav ul {
  display: flex;
}
.room__heroImg header nav ul > :not(:last-child) {
  margin-inline-end: 0.9375rem;
}
.room__heroImg header nav ul li a {
  color: hsl(0, 0%, 100%);
  text-transform: lowercase;
  font-size: 0.75rem;
  font-weight: 600;
  padding-block-end: 0.5rem;
  position: relative;
}
.room__heroImg header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 2px;
  background-color: hsl(0, 0%, 100%);
  transform: translateX(-50%);
  left: 50%;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}
.room__heroImg header nav ul li a:hover::after {
  visibility: visible;
  opacity: 1;
}
.room__heroImg header .mobileNav {
  display: flex;
  height: fit-content;
}
.room__heroImg header .mobileNav.styleByJs {
  justify-content: space-between;
  width: 90%;
}
.room__heroImg header .mobileNav ul {
  display: none;
}
.room__heroImg header .mobileNav ul.showNavList {
  display: flex;
  margin-inline-start: 6.25rem;
  height: fit-content;
}
.room__heroImg header .mobileNav .hamburgerMenu {
  width: 30px;
  cursor: pointer;
  height: fit-content;
}
.room__heroImg header .mobileNav .hamburgerMenu.open span:first-child {
  transform: rotate(45deg);
}
.room__heroImg header .mobileNav .hamburgerMenu.open span:nth-child(2) {
  opacity: 0;
}
.room__heroImg header .mobileNav .hamburgerMenu.open span:last-child {
  transform: rotate(-45deg);
}
.room__heroImg header .mobileNav .hamburgerMenu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  transform-origin: 5px 0px;
}
.room__heroImg header .mobileNav .hamburgerMenu span.toggleColor {
  background-color: hsl(0, 0%, 27%);
}
.room__heroImg header .mobileNav .hamburgerMenu > :not(:last-child) {
  margin-block-end: 0.3125rem;
}

.room__heroText {
  background-color: hsl(0, 0%, 100%);
}
.room__heroText > :not(:first-child) {
  display: none;
}

.article {
  display: flex;
  flex-direction: column;
  padding-inline: 1.25rem;
  padding-block: 1.875rem;
  background-color: hsl(0, 0%, 100%);
}
@media (min-width: 768px) {
  .article {
    padding-inline: 3.125rem;
    padding-block-start: 5rem;
  }
}
.article__title {
  width: 17ch;
  margin-block-end: 1.25rem;
  font-weight: 800;
}
.article__pragraph {
  width: 35ch;
  font-size: 0.75rem;
  color: hsl(0, 0%, 63%);
  margin-block-end: 1.25rem;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .article__pragraph {
    width: 100%;
  }
}
.article__action {
  display: flex;
  gap: 1.875rem;
}
.article__action h4 {
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
  font-weight: 500;
}
.article__action h4:hover {
  color: hsl(0, 0%, 63%);
}
.article__action img {
  width: 60px;
}

.room__shuffels {
  position: absolute;
  display: flex;
  right: 0;
  top: 254px;
}
@media (min-width: 992px) {
  .room__shuffels {
    top: 355px;
    right: 380px;
  }
}
.room__shuffels img {
  cursor: pointer;
  padding-inline: 1.25rem;
  padding-block: 0.9375rem;
  width: 50px;
  background-color: hsl(0, 0%, 0%);
  transition: 0.3s;
}
.room__shuffels img:hover {
  background-color: hsl(0, 0%, 63%);
}

.overlay {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.666);
  z-index: 99;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}
.overlay.showOverlay {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .room__bottomSection {
    grid-column: 1/4;
    grid-row: 2/3;
    display: grid;
    grid-template-columns: subgrid;
  }
}
.room__bottomSection .bottomSection__img .firstImg {
  grid-column: 1/2;
}
.room__bottomSection .bottomSection__img .secondImg {
  grid-column: 3/4;
}
.room__bottomSection .article {
  grid-column: 2/3;
}
.room__bottomSection .article__title {
  width: 100%;
  text-transform: uppercase;
  font-size: 0.9375rem;
}
.room__bottomSection .article__title--withSpacing {
  letter-spacing: 0.3125rem;
}
.room__bottomSection .article__pragraph--bottomP {
  width: 45ch;
}
@media (min-width: 768px) {
  .room__bottomSection .article__pragraph--bottomP {
    width: 100%;
  }
}

.attribution {
  font-size: 0.6875rem;
  margin-inline: auto;
  text-align: center;
  color: hsl(0, 0%, 0%);
}
@media (min-width: 768px) {
  .attribution {
    position: relative;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.attribution a {
  color: hsl(0, 0%, 100%);
  background-color: hsl(0, 0%, 0%);
  border-radius: 0.5rem;
  text-decoration: none;
}/*# sourceMappingURL=style.css.map */