@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-Regular.woff2') format('woff2'),
       url('./fonts/Montserrat-Regular.woff') format('woff'),
       url('./fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-SemiBold.woff2') format('woff2'),
       url('./fonts/Montserrat-SemiBold.woff') format('woff'),
       url('./fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./fonts/Montserrat-Bold.woff2') format('woff2'),
       url('./fonts/Montserrat-Bold.woff') format('woff'),
       url('./fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #333;
  margin: 0;
  background-color: #f8dbe4;
  background-image: url('./images/bg_thinner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}

body img {
  max-width: 100%;
  height: auto;
}

.page-header {
  width: 100%;
  padding: 20px 0;
  background-color: #f7bdd5;
  color: #fff;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.page-header__slogan {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 1px;
  margin-left: 20px;
}

.page-header__logo-container {
  width: 50px;
  margin-left: auto;
  margin-right: 20px;
}

.container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: hidden;
}

#hero {
  position: relative;
  width: 100%;
  min-height: 360px;
}

@keyframes rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

#flower {
  animation: rotate 40s linear infinite;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 480px;
}

#printer-green {
  position: absolute;
  top: -40px;
  right: -53px;
  transform: rotate(52deg);
  max-width: 190px;
}

#printer-brown {
  position: absolute;
  top: -10px;
  left: -50px;
  transform: rotate(27deg);
  max-width: 190px;
}

.photo {
  position: absolute;
  opacity: 0;
}

#photo-1 {
  top: 90px;
  left: 45px;
  transform: rotate(27deg);
  width: 90px;
}

#photo-2 {
  top: 90px;
  left: 45px;
  transform: rotate(27deg);
  width: 110px;
}

#photo-3 {
  top: 20px;
  right: 50px;
  transform: rotate(52deg);
  padding-bottom: 35px;
  width: 107px;
}

#photo-4 {
  top: 20px;
  right: 50px;
  transform: rotate(52deg);
  padding-top: 35px;
  width: 90px;
}

.star {
  position: absolute;
  opacity: 0;
  width: 24px;
}

#star-1 {
  top: 115px;
  left: 50%;
  transform: translateX(-65px) rotate(25deg);
}

#star-2 {
  top: 110px;
  left: 50%;
  transform: translateX(45px) rotate(30deg);
}

#star-3 {
  top: 230px;
  left: 50%;
  transform: translateX(-45px) rotate(-20deg);
}

#star-4 {
  top: 196px;
  left: 50%;
  transform: translateX(55px) rotate(-15deg);
}

#app {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

#product-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-left: 10px;
  margin-right: 10px;
  margin: 0 auto 70px auto;
}

.product-details-info {
  width: 40%;
  margin-bottom: 10px;
}

.product-details-name {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-details-image-container {
  width: 50%;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-details-image {
  opacity: 0;
}

.product-details-video-link {
  font-size: 10px;
  color: #222;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#product-slider {
  position: relative;
  margin-bottom: 40px;
}

.slider-ui-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.slider-arrow {
  cursor: pointer;
  width: 40px;
  z-index: 7;
}

.arrow-right {
  transform: rotate(180deg);
}

#slide-overlay {
  width: 260px;
  height: 340px;
  border-radius: 18px;
  z-index: 5;
  background-color: rgba(0,0,0,0.08);
}

.slides {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 400%;
  height: 360px;
  position: relative;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: -360px;
  z-index: 6;
}

.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 200px;
  height: 320px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  z-index: 6;
  cursor: pointer;
}

.slide-image {
  margin-bottom: 5px;
}

.product-slide-image-container {
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-slide-image-container.first {
  margin-bottom: -17px;
}

.product-slide-image-container.second {
  margin-bottom: -33px;
}

.product-slide-image-container.third {
  margin-bottom: -13px;
}

.product-slide-image-container.fourth {
  margin-bottom: -25px;
}

.slide-name {
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

.slide-color-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  height: 60px;
  margin-bottom: 2px;
}

.slide-color-button {
  width: 25%;
  height: 16px;
  border-radius: 7px;
  border: 2px solid transparent;
  margin-bottom: 9px;
  margin-left: auto;
  cursor: pointer;
  box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.2);
}

.slide-color-button.active {
  transform: scale(1.15, 1.15);
}

.slide-color-button:focus,
.slide-color-button:hover {
  transform: scale(1.15, 1.15);
}

.slide-color-button {
  transition: all 0.2s ease-in;
}

.slide-product-options {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  height: 32px;
}

#shops {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.shop-link {
  width: 90px;
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.24);
}

.shop-logo {
  width: 60px;
  height: 20px;
  margin: 6px auto;
}

.shop-price {
  background-color: #918ffc;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  padding: 5px 0;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

#curve-1 {
  position: absolute;
  top: -300px;
  visibility: hidden;
  left: 50%;
  transform: translateX(-65%);
}

.triangle-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid black;
  padding-right: 6px;
}

#explore {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: -50px;
  margin-bottom: -60px;
}

#explore-title {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 2px;
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0) rotate(-90deg);
  }
  50% {
    transform: translateY(8px) rotate(-90deg);
  }
  100% {
    transform: translateY(0) rotate(-90deg);
  }
}

.arrow-down {
  transform: rotate(-90deg);
  width: 12px;
  cursor: auto;
  animation: moveUpDown 1.5s ease-in-out infinite;
}


/* - - - - - - MEDIA QUERIES - - - - - - */


@media only screen and (min-width: 768px) {

  #flower {
    max-width: 680px;
    transform: translateX(-62%);
  }

  .page-header__slogan {
    font-size: 24px;
    margin-left: auto;
    transform: translateX(70px);
  }
  
  .page-header__logo-container {
    width: 75px;
  }

  #hero {
    min-height: 460px;
  }

  #printer-green {
    top: -57px;
    right: -53px;
    max-width: 250px;
  }
  
  #printer-brown {
    top: -15px;
    left: -50px;
    max-width: 250px;
  }
  
  #photo-1 {
    top: 90px;
    left: 45px;
    width: 120px;
  }
  
  #photo-2 {
    top: 90px;
    left: 45px;
    width: 140px;
  }
  
  #photo-3 {
    top: 20px;
    right: 50px;
    padding-bottom: 35px;
    width: 135px;
  }
  
  #photo-4 {
    top: 20px;
    right: 50px;
    padding-top: 35px;
    width: 110px;
  }
  
  .star {
    width: 34px;
  }
  
  #star-1 {
    top: 110px;
    left: 50%;
    transform: translateX(-65px) rotate(25deg);
  }
  
  #star-2 {
    top: 106px;
    left: 50%;
    transform: translateX(75px) rotate(30deg);
  }
  
  #star-3 {
    top: 266px;
    left: 50%;
    transform: translateX(-35px) rotate(-20deg);
  }
  
  #star-4 {
    top: 220px;
    left: 50%;
    transform: translateX(75px) rotate(-15deg);
  }

  .product-details-info {
    width: 180px;
    padding-top: 30px;
  }

  .product-details-name {
    font-size: 24px;
  }

  .product-details-image-container {
    width: 230px;
    height: 230px;
  }

  #product-slider {
    width: 100%;
    margin: 0 auto;
  }

  .slider-ui-container {
    width: 96%;
    height: 300px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .slider-ui-container {
    justify-content: space-between;
  }
  
  .slider-arrow {
    width: 4%;
  }

  #slide-overlay {
    width: 21.5%;
    height: 300px;
    margin-right: auto;
    margin-top: 40px;
    margin-left: 16px;
  } 

  .slides {
    justify-content: space-between;
    align-items: flex-start;
    width: 86%;
    height: auto;
    padding: 30px 0;
    flex-wrap: wrap;
    margin-top: -300px;
    margin-left: auto;
    margin-right: auto;
  }

  .slide {
    width: 25%;
    height: 300px;
  }

  #curve-1 {
    top: -390px;
    transform: translateX(-62%);
  }

  #product-details {
    width: 560px;
    margin-bottom: 50px;
  }

  #explore {
    margin-right: -192px;
  }

}


@media only screen and (min-width: 1127px) {

  .container {
    width: 1127px;
    overflow-x: visible;
  }

  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  #flower {
    max-width: none;
    left: 20px;
  }

  .page-header__slogan {
    font-size: 32px;
    transform: translateX(70px);
  }
  
  .page-header__logo-container {
    width: 100px;
    margin-left: auto;
    margin-right: 40px;
  }

  #hero {
    min-height: 560px;
  }

  #printer-green {
    top: -85px;
    right: -43px;
    max-width: none;
  }
  
  #printer-brown {
    top: -20px;
    left: -20px;
    max-width: none;
  }

  #photo-1 {
    top: 90px;
    left: 45px;
    width: 160px;
  }
  
  #photo-2 {
    top: 90px;
    left: 45px;
    width: 200px;
  }
  
  #photo-3 {
    top: 20px;
    right: 50px;
    padding-bottom: 35px;
    width: 195px;
  }
  
  #photo-4 {
    top: 20px;
    right: 50px;
    padding-top: 35px;
    width: 160px;
  }

  .star {
    width: 46px;
  }

  #star-1 {
    top: 104px;
    left: 50%;
    transform: translateX(-125px) rotate(25deg);
  }
  
  #star-2 {
    top: 101px;
    left: 50%;
    transform: translateX(75px) rotate(30deg);
  }
  
  #star-3 {
    top: 312px;
    left: 50%;
    transform: translateX(-125px) rotate(-20deg);
  }
  
  #star-4 {
    top: 252px;
    left: 50%;
    transform: translateX(75px) rotate(-15deg);
  }

  #product-details {
    width: 820px;
    margin-bottom: 30px;
  }

  .product-details-info {
    width: 410px;
    margin-bottom: 20px;
  }

  .product-details-name {
    font-size: 40px;
  }

  .product-details-image-container {
    width: 290px;
    height: 290px;
  }

  .product-details-video-link {
    font-size: 13px;
  }

  #product-slider {
    width: 75%;
    flex-wrap: nowrap;
  }

  .slide {
    width: 25%;
    height: 320px;
    padding: 20px;
  }

  .product-slide-image-container.first img {
    margin-bottom: 6px;
  }

  .slide-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 25px;
    width: 100%;
  }
  
  .slide-color-buttons {
    height: 60px;
  }
  
  .slide-color-button {
    width: 25%;
    height: 16px;
  }

  .slide-product-options {
    height: 62px;
  }

  .shop-link {
    width: 160px;
    margin: 0 10px;
    border-radius: 6px;
  }
  
  .shop-logo {
    width: 80px;
    height: 30px;
    margin: 11px auto;
  }
  
  .shop-price {
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    padding: 5px 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }

  #curve-1 {
    left: 70px;
    top: -460px;
    transform: none;
  }

  #explore {
    margin-right: -192px;
    margin-bottom: -60px;
  }

  .arrow-down {
    width: 20px;
  }

  #explore-title {
    font-size: 18px;
  }
  #explore {
    margin-right: -192px;
    margin-bottom: -60px;
  }
}