:root {
  --primary: #1e8dad;
  --secondary: #f7ba43;
  --tertiary: #006ab2;
}

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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: sans-serif;
}

a {
  text-decoration: none;
  display: block;
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  height: 100%;
}

/* HEADER SECTION */
header.main-nav {
  background-color: var(--primary);
}

.logo {
  height: 3.7em;
  margin: auto;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a {
  color: white;
  padding: 0.5em 1em;
  margin: 1em 0.5em;
  border: 1px solid white;
  border-radius: 5px;
  text-align: center;
}

nav a.order-now {
  background-color: var(--secondary);
  border: none;
  text-shadow: -1px 1px #666;
}

/* LEFT COLUMN SECTION */
.l-col {
  padding: 0 2em;
  margin-top: 1.5em;
}

.title {
  margin-bottom: 1em;
}

.title h1,
.title h3 {
  text-transform: uppercase;
  font-style: italic;
}

.title h1 {
  font-size: 3em;
}

.title h3 {
  margin-left: 0.5em;
}

.title p {
  text-transform: capitalize;
  letter-spacing: 0.1em;
}

.order-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2em;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 2.7em;
}

span.country {
  font-size: 0.3em;
  color: lightgrey;
}

.shipping {
  font-size: 0.8em;
}

.btn {
  background-color: var(--secondary);
  padding: 0.7em 1.5em;
  margin: 0 auto;
  border-radius: 5px;
  color: white;
  text-shadow: -1px 1px #666;
}

select[name='os0'],
.add-to-cart {
  display: block;
  font-size: 1em;
  font-weight: 400;
  font-family: sans-serif;
  color: #fff;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 1em 0 2em;
  border-radius: 0.5em;
  background-color: var(--secondary);
  text-shadow: -1px 1px #666;
  border: none;
  cursor: pointer;
}

select[name='os0']:focus,
.add-to-cart:focus {
  border: none;
  outline: none;
}

.select-price {
  display: flex;
  justify-content: space-between;
}

/* RIGHT COLUMN SECTION */
.r-col {
  padding: 0 2em;
  margin: 1.5em 0;
}

.product {
  position: relative;
}

.product img {
  border-radius: 1em;
}

.product-text p {
  margin-bottom: 1em;
}

.product img:nth-child(2) {
  position: absolute;
  bottom: 1em;
  right: 1em;
  height: 33%;
  box-shadow: -3px 3px 5px #666;
}
/* GALLERY SECTION */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  margin: 10px;
}
.gallery-item img {
  border-radius: 15px;
}

/* FOOTER SECTION */
footer {
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  padding: 2em;
}

.circle {
  background-color: var(--tertiary);
  height: 1em;
  width: 1em;
  border-radius: 50%;
  color: white;
  padding: 3em;
  margin-right: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-features,
.trike-features {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.colors-container > p {
  color: white;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.5em;
}

.colors {
  display: flex;
  justify-content: space-around;
}

.color-box-tag {
  color: white;
  text-align: center;
}

.color-box {
  height: 2em;
  width: 2em;
  border: 1px solid white;
  border-radius: 5px;
  margin: 0 0.5em 0.5em;
}

.red-box {
  background-color: red;
}

.blue-box {
  background-color: blue;
}

.black-box {
  background-color: black;
}

.white-box {
  background-color: white;
  border: none;
}

.trike-features-list {
  color: white;
  margin-left: 1.2em;
}

/* MEDIA QUERIES */
@media screen and (min-width: 768px) {
  .wrapper {
    display: grid;
    grid-template-areas:
      'header header'
      'l-col r-col'
      'footer footer';
  }

  header.main-nav {
    grid-area: header;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .logo {
    height: 4.5em;
  }

  .l-col {
    grid-area: l-col;
    width: 50vw;
  }

  .product-desc {
    margin-top: 1em;
  }

  .title h1 {
    font-size: 4em;
    line-height: 1em;
  }

  .title h3 {
    font-size: 1.6em;
    line-height: 1em;
  }

  .title p {
    font-size: 1.4em;
  }

  .product-text {
    font-size: 1em;
  }

  .price {
    font-size: 3em;
  }

  .shipping {
    font-size: 1em;
  }

  .btn {
    font-size: 1em;
  }

  .r-col {
    grid-area: r-col;
    width: 50vw;
  }

  footer {
    grid-area: footer;
  }

  .gallery {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }

  .color-features,
  .trike-features {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1024px) {
  .logo {
    height: 6em;
  }

  .title h1 {
    font-size: 5.6em;
  }

  .title h3 {
    font-size: 2.2em;
  }

  .title p {
    font-size: 1.9em;
  }

  .product-text {
    font-size: 1.2em;
  }

  .price {
    font-size: 4em;
  }

  .shipping {
    font-size: 1.3em;
  }

  select[name='os0'],
  .add-to-cart {
    font-size: 1.3em;
  }

  .btn {
    font-size: 1.3em;
  }

  .circle {
    font-size: 1.2em;
  }

  .color-features,
  .trike-features {
    font-size: 1.3em;
  }
}

@media screen and (min-width: 1440px) {
  .logo {
    height: 8em;
  }

  nav a {
    font-size: 1.5em;
  }

  .product-desc {
    margin-top: 2em;
  }

  .title h1 {
    font-size: 7em;
  }

  .title h3 {
    font-size: 3em;
  }

  .title p {
    font-size: 2.3em;
  }

  .product-text {
    font-size: 1.6em;
  }

  .price {
    font-size: 5em;
  }

  .shipping {
    font-size: 1.6em;
  }

  select[name='os0'],
  .add-to-cart {
    font-size: 1.6em;
  }

  .btn {
    font-size: 1.6em;
  }

  .circle {
    font-size: 1.2em;
  }

  .color-features,
  .trike-features {
    font-size: 1.6em;
  }
}
