@import url('./reset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');
@import url('./fonts.css');

/* Basic Styling */
body {
  width: 100%;
  font-family: 'Noto Sans', sans-serif;
  color: #2b292d;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Grotesk', sans-serif;
}

p {
  font-size: 16px;
  color: #727272;
}

/* Utilities */
.section {
  padding: 80px 0;
}

.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price strong {
  font-size: 22px;
}

.price button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url('../asset/images/cart.png');
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 200ms ease-in-out;
}

.price button:hover {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url('../asset/images/cart_hover.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.price button:active {
  transform: scale(0.98);
}

.price h5 {
  font-size: 16px;
}

.price h5 span {
  color: #727272;
}

/* Global Navigation */
#global-nav {
  padding: 32px 0;
}

.title a {
  display: block;
  text-align: center;
}

.title img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 32px;
}

.category {
  display: none;
  font-size: 16px;
}

.category ul {
  display: flex;
  justify-content: space-between;
}

.category a {
  font-size: 16px;
  text-align: center;
  text-transform: capitalize;
  transition: all 200ms ease-in-out;
}

.category ul:hover a {
  color: #727272;
}

.category li:hover a {
  color: #2b292d;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #0095be;
}

.category li:last-child a {
  padding: 6px 14px;
  color: #fff;
  background-color: #0095be;
  border-radius: 50px;
  transition: all 200ms ease-in-out;
}

.category li:last-child:hover a {
  color: #0095be;
  background-color: #fff;
  text-decoration: none;
  border: 1px solid #0095be;
}

/* Landing */
.landing-title {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.landing-title h2 {
  color: #0095be;
  font-size: 40px;
  margin-bottom: 24px;
}

.landing-title h2 span {
  color: #2b292d;
}

.landing-title p {
  margin-bottom: 24px;
}

.landing-title a {
  display: block;
  padding: 6px 77px;
  color: #fff;
  background-color: #f1ac44;
  border-radius: 50px;
  font-size: 15px;
  transition: all 200ms ease-in-out;
}

.landing-title a:hover {
  color: #f1ac44;
  background-color: #fff;
  border: 1px solid #f1ac44;
  border-radius: 50px;
}

.poke-image {
  width: 2000px;
  height: 2000px;
  position: absolute;
  top: -1800px;
  right: -1000px;
  background-image: url(../asset/images/main_circle.png);
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;
}

.poke-image img {
  display: none;
}

/* Introduction */
#introduction img {
  display: block;
  width: 100%;
  border-radius: 0 50px;
  margin-bottom: 16px;
}

#introduction h4 {
  font-size: 26px;
  margin-bottom: 16px;
}

#introduction h4 span {
  color: #f1ac44;
}

#introduction p {
  font-size: 16px;
  margin-bottom: 24px;
}

#introduction p span {
  font-style: italic;
}

#introduction .row:first-child {
  margin-bottom: 40px;
}

#introduction a {
  padding: 6px 42px;
  color: #fff;
  background-color: #f1ac44;
  border-radius: 50px;
  transition: all 200ms ease-in-out;
}

#introduction a:hover {
  color: #f1ac44;
  background-color: #fff;
  border: 1px solid #f1ac44;
}

/* Order */
#order .row:first-child h3 {
  font-size: 28px;
  color: #f1ac44;
  margin-bottom: 16px;
}

#order .row:first-child h4 {
  font-size: 26px;
}

#order .row:first-child {
  margin-bottom: 24px;
}

.card {
  padding: 32px 30px;
  box-shadow: 4px 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.card-image img {
  width: 80%;
}

.card-desc h5 {
  font-size: 16px;
  margin-bottom: 16px;
}

.card-desc p {
  font-size: 15px;
  line-height: 1.46666;
  letter-spacing: -0.01%;
  text-transform: capitalize;
  margin-bottom: 16px;
}

/* Customizing Order */
#order-custom .row:first-child,
#order-custom .row:nth-child(2) {
  margin-bottom: 24px;
}

#order-custom .row:first-child h4 {
  font-size: 26px;
}

#order-custom .price {
  justify-content: start;
}

#order-custom .price:first-of-type {
  margin-bottom: 16px;
}

#order-custom .price button,
#order-custom .price h5 {
  margin-right: 16px;
}

/*Tab Menu*/
#tab {
  width: 100%;
}

.hidden {
  display: none;
}

.tab-menu {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tab-menu label {
  display: block;
  height: 40px;
  margin-right: 20px;
  text-align: center;
  font-family: 'Grotesk', sans-serif;
  font-size: 16px;
  line-height: 40px;
  font-weight: 700;
  background-color: #fff;
  box-shadow: 5px 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  cursor: pointer;
  flex-grow: 1;
}

.tab-menu label:last-child {
  margin-right: 0;
}

/*Tab Menu - Base*/
#base ~ .base {
  display: none;
}

#base:checked ~ .base {
  display: block;
}

#base:checked ~ .tab-menu label[for='base'] {
  color: #fff;
  background-color: #0095be;
}

/*Tab Menu - Protein*/
#protein ~ .protein {
  display: none;
}

#protein:checked ~ .protein {
  display: block;
}

#protein:checked ~ .tab-menu > label[for='protein'] {
  color: #fff;
  background-color: #0095be;
}

/* Tab Menu - Sauce */
#sauce ~ .sauce {
  display: none;
}

#sauce:checked ~ .sauce {
  display: block;
}

#sauce:checked ~ .tab-menu > label[for='sauce'] {
  color: #fff;
  background-color: #0095be;
}

/* Tab Menu - Topping */
#topping ~ .topping {
  display: none;
}

#topping:checked ~ .topping {
  display: block;
}

#topping:checked ~ .tab-menu > label[for='topping'] {
  color: #fff;
  background-color: #0095be;
}

/* Tab Item*/
.tab-item ul {
  display: flex;
  justify-content: space-between;
  margin-right: 20px;
  text-align: center;
  /* overflow-x: scroll; add a function for scroll horizontally */
}

.tab-item label {
  cursor: pointer;
}

.tab-item img {
  display: block;
  width: 100px;
  height: auto;
  margin-bottom: 16px;
}

.tab-item strong {
  font-size: 15px;
}

/* Check Out */
#check-out strong,
#check-out a {
  display: block;
  text-align: center;
  font-family: 'Grotesk', sans-serif;
  font-size: 26px;
}

#check-out strong {
  margin-bottom: 24px;
}

#check-out a {
  width: 100%;
  padding: 6px 0;
  font-weight: 700;
  color: #fff;
  background-color: #f1ac44;
  border-radius: 50px;
}

/* Reviews */
#reviews .row:first-child {
  margin-bottom: 24px;
}

#reviews .row:first-child h4 {
  font-size: 26px;
}

#reviews .row:first-child h4 span {
  color: #f1ac44;
}

.reviews .col-12 {
  display: flex;
  height: 230px;
}

.reviews .col-12:first-child {
  margin-bottom: 40px;
}

.review-image {
  display: none;
  width: 100%;
  height: 100%;
  margin-right: 20px;
  border-radius: 0 50px;
  flex-grow: 1;
}

.review-desc {
  height: 100%;
  padding: 32px 30px;
  background-color: #f8f9f3;
  border-radius: 20px;
  flex-grow: 2;
}

.review-desc strong {
  display: block;
  font-size: 18px;
  margin-bottom: 16px;
}

.review-desc img {
  display: block;
  margin-bottom: 20px;
}

.review-desc p {
  font-size: 16px;
}

#reviews .col-12:first-child .review-image {
  background: url('../asset/images/review_01.jpeg');
  background-position: -23px center;
  background-size: cover;
  background-repeat: no-repeat;
}

#reviews .col-12:last-child .review-image {
  background: url('../asset/images/review_02.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Footer */
#footer {
  padding: 100px 0;
  background-color: #727272;
  color: #e9e9e9;
  text-align: center;
}

#footer .col-4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#footer img {
  width: 100%;
  max-width: 190px;
  margin-bottom: 50px;
}

#footer a {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: -1%;
}

/* 992이상 */
@media screen and (min-width: 992px) {
  /* Basic Styling */
  p {
    font-size: 20px;
    line-height: 1.35;
  }

  /* Utilities */
  .price strong {
    font-size: 26px;
  }

  .price button {
    width: 45px;
    height: 45px;
  }

  .price button:hover {
    width: 45px;
    height: 45px;
  }

  .price h5 {
    font-size: 22px;
  }

  /* Global Navigation */
  .title a {
    text-align: left;
  }

  .category {
    display: block;
  }

  .category a {
    text-align: right;
  }

  /* Landing */
  #landing {
    padding: 80px 0;
  }

  .landing-title {
    display: block;
    height: auto;
    padding: 200px 0;
    text-align: left;
  }

  .landing-title h2 {
    margin-bottom: 32px;
    font-size: 64px;
    line-height: 1.125;
  }

  .landing-title p {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .landing-title a {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 18px;
  }

  #landing .col-lg-7 {
    position: relative;
  }

  .poke-image {
    top: -1000px;
    right: -1150px;
  }

  .poke-image img {
    display: block;
    width: 800px;
    position: absolute;
    top: 800px;
    left: 200px;
    z-index: 1;
  }

  /* Introduction */
  #introduction img {
    margin-bottom: 0;
  }

  #introduction p {
    margin-bottom: 32px;
  }

  #introduction .row:first-child {
    margin-bottom: 50px;
  }

  #introduction .row:last-child .col-12:first-child {
    order: 2;
  }

  #introduction .row:last-child .col-12:last-child {
    order: 1;
  }

  /* Order */
  #order .row:first-child h3 {
    font-size: 36px;
  }

  #order .row:first-child h4 {
    font-size: 32px;
  }

  #order .row:first-child {
    margin-bottom: 32px;
  }

  .card-image {
    margin-bottom: 24px;
  }

  .card-desc h5 {
    font-size: 22px;
  }

  .card-desc p {
    font-size: 18px;
    line-height: 1.44444;
  }

  /* Customizing Order */
  #order-custom .row:first-child,
  #order-custom .row:nth-child(2) {
    margin-bottom: 32px;
  }

  #order-custom .row:first-child h4 {
    font-size: 32px;
  }

  /* Tab Menu */
  .tab-menu {
    margin-bottom: 32px;
  }

  .tab-menu label {
    height: 50px;
    line-height: 50px;
    margin-right: 30px;
    font-size: 22px;
  }

  .tab-item ul {
    margin-right: 30px;
  }

  .tab-item img {
    width: 150px;
  }

  .tab-item strong {
    font-size: 18px;
  }

  /* Check Out */
  #check-out strong,
  #check-out a {
    font-size: 32px;
  }

  #check-out strong {
    margin-bottom: 32px;
  }

  /* Reviews */
  #reviews .row:first-child {
    margin-bottom: 32px;
  }

  #reviews .row:first-child h4 {
    font-size: 36px;
  }

  #reviews h4 {
    font-size: 32px;
  }

  .review-image {
    display: block;
  }
}
