:root {
  --bg-color: #F0F0F0;
  --txt-color: #221E22;
  --yellow: #e29f01;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body,
html {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color);
}

.container {
  height: 100vh;
  display: flex;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('https://images.pexels.com/photos/1674049/pexels-photo-1674049.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260');
}

.span {
  color: rgb(12, 66, 90);
}

.col-5 {
   z-index: 97;
}

#img1 {
  background-image: url('https://images.pexels.com/photos/1671014/pexels-photo-1671014.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
}

#img2 {
  background-image: url('https://images.pexels.com/photos/9482019/pexels-photo-9482019.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 1;
}

[class*="col-"] {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  z-index: 2;
}

.info {
  color: var(--bg-color);
  text-align: right;
  /* padding: 0 80px; */
  position: relative;
  display: flex;
  overflow: visible;
  width: 100%;
  height: 80%;
  /* justify-content: center; */
  align-items: center;
}

.info h1 {
  font-size: 150px;
  font-weight: 900;
  line-height: 140px;
  text-transform: uppercase;
  transition: .5s ease-in-out;
}

.info p {
  margin: 50px 0;
  text-align: justify;
}

.info button {
  font-size: 30px;
  padding: 10px 50px;
  border-radius: 30px;
  outline: transparent;
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease-in-out;
}

.info button:hover {
  background-color: #fff;
  color: #000;
}

.product-info {
  position: absolute;
  width: 100%;
  height: fit-content;
  /* top: 0; */
  left: 0;
  padding: 0 80px;
  pointer-events: none;
}


.product-info h1 {
  text-align: left;
  letter-spacing: 8px;
}

.product-info.active h1 {
  letter-spacing: unset;
}

.product-info>span {
  position: absolute;
  right: 200px;
}

.product-info.active>span {
  right: 80px;
}

.slider {
  display: flex;
  align-items: center;
  position: relative;
  width: 50%;
  height: 80%;
  overflow: visible;

}

.slide {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.slide:nth-child(1) {
  z-index: 4;
}

.slide:nth-child(2) {
  width: 80%;
  height: 80%;
  z-index: 2;
  left: 70%;
}

.slide:nth-child(3) {
  width: 60%;
  z-index: 1;
  left: 120%;
  height: 60%;
}

.slide:nth-child(4) {
  width: 60%;
  z-index: 0;
  left: 120%;
  height: 60%;
  transform: scale(0);
}

.img-holder {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.nav {
  z-index: 99;
  color: #fff;
  display: flex;
  position: fixed;
  width: 100%;
  height: 80px;
  /* background-color: rebeccapurple; */
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-100%);
  animation: top-down 1.5s forwards;
}

.menu {
  height: 30px;
  width: 30px;
  cursor: pointer;
  z-index: 101;
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-100%);
  animation: left-to-right 1.5s forwards;
}

.cart {
  font-size: 30px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(100%);
  animation: right-to-left 1.5s forwards;
}

.art {
  z-index: 98;
  color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;

  font-size: 20px;
  font-weight: 600;
  opacity: 0;
}

.copyright {
  z-index: 98;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px;
  font-size: 13px;
}

a {
  color: unset;
}


.nav-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 101;
  top: 80px;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.nav-overlay.active {
  width: 100%;
}

.nav-overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.nav-overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.nav-overlay a:hover,
.nav-overlay a:focus {
  color: #f1f1f1;
}

.nav-overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.painting {
  position: relative;
  cursor: pointer;
}

.painting-btn {
  cursor: pointer;
  z-index: 1;
}

.painting,
.painting::before,
.painting::after {
  width: 30px;
  height: 3px;
  border-radius: .5rem;
  background-color: white;
  transition: .4s;
}

.painting::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;

}

.painting::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
}

.painting.active {
  background-color: transparent;
}

.painting.active::before {
  transform-origin: top left;
  transform: rotate(45deg);
  left: 6px;
}

.painting.active::after {
  transform-origin: bottom left;
  transform: rotate(-45deg);
  left: 6px;
}


.col-5 {
  width: 41.66%;
}

.col-7 {
  width: 58.33%;
}

@media only screen and (max-width: 1440px) {
  .info {
      align-items: flex-start;
  }

  .info h1 {
      /* font-size: 110px; */
      text-align: left;
  }

  .product-info {
      padding: 0 50px;
  }

  .slider {
      width: 50%;
      height: 60%;
      transform: translateY(20%);
  }
}

@media only screen and (max-width: 1024px) {
  .info {
      align-items: flex-start;
  }

  .info h1 {
      font-size: 110px;
      text-align: left;
  }

  .info p {
      font-size: 14px;
  }

  .info button {
      font-size: 20px;
      padding: 10px 20px;
  }

  .product-info {
      padding: 0 20px;
  }

  .slider {
      width: 80%;
      height: 50%;
      transform: translateY(20%);
  }
}

@media only screen and (max-width: 768px) {
  .info {
      align-items: flex-start;
  }

  .info h1 {
      font-size: 80px;
      line-height: 80px;
      text-align: left;
  }

  .info p {
      font-size: 14px;
  }

  .info button {
      font-size: 20px;
      padding: 10px 20px;
  }

  .product-info {
      padding: 0 20px;
  }

  .col-7 {
      display: flex;
      align-items: flex-start;
  }

  .slider {
      width: 80%;
      height: 80%;
      transform: translateY(20%);
  }
}

@media only screen and (max-width: 600px) {

  .col-5,
  .col-7 {
      width: 100%;
      height: 50%;
  }

  .container {
      flex-direction: column-reverse;
  }

  .nav {
      top: 0;
  }

  .info {
      align-items: flex-start;
  }

  .info h1 {
      font-size: 63px;
      line-height: 60px;
      text-align: left;
  }

  .info p {
      font-size: 12px;
  }

  .info button {
      font-size: 20px;
      padding: 10px 20px;
  }

  .product-info {
      padding: 0 20px;
  }

  .col-7 {
      display: flex;
      align-items: flex-start;
  }

  .slider {
      width: 80%;
      height: 80%;
      transform: translateY(20%);
      padding: 50px;
  }
}