* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  color: #434343;
}

/* HEADER SECTION */

.container {
  width: 80%;
  margin: 0 auto;
}

header {
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0188d1;
}

header img {
  width: 400px;
}

header p {
  color: #fff;
  margin-top: 25px;
  font-size: 1.2rem;
  font-style: italic;
}

/* HIGHLIGHTS */

.highlights {
  display: flex;
  justify-content: center;
}
.item {
  margin: 25px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  border: 4px solid #cacaca;
  border-radius: 18px;
  font-weight: bold;
  color: #0188d1;
}

.item img {
  width: 45px;
  margin-right: 25px;
}

.item p {
  text-align: center
}
/* PRODUCT TITLE */

.product_title {
  margin: 85px 0px;
  text-align: center;
}

/* SPECS */

.product_information {
  display: grid;
  grid-template-columns: 250px 300px 500px;
  align-items: center;
  grid-column-gap: 80px;
  justify-content: center;
}

.spec {
  width: 150px;
  margin-bottom: 8px;
  border-bottom: 1px solid #cacaca;
}

.spec h4 {
  padding-bottom: 5px;
}
.spec p {
  margin-top: 5px;
  padding-bottom: 15px;
}

/* COSMETICS */

.cosmetics {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.condition {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0188d1;
  width: 150px;
  height: 150px;
  text-align: center;
  border-radius: 15px;
}

.condition h3 {
  margin-bottom: 10px;
  font-weight: normal;
  color: #fff;
}

.condition h2 {
  font-size: 3rem;
  color: #fff;
}

.description {
  text-align: center;
  margin-top: 25px;
}

.description h4 {
  color: #0188d1;
  padding: 10px 0;
}

/* WHY BUY FROM US */

.info h1 {
  text-align: center;
}

.info_item_container {
  border-left: 2px solid #cacaca;
  padding-left: 50px;
}
.info_item {
  display: flex;
  align-items: center;
  margin-top: 65px;
}

.info_item img {
  width: 45px;
  margin-right: 25px;
}

.wrapper {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 65px;
  width: 100%;
  padding: 25px 30px 30px 30px;
  border-radius: 5px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}
.wrapper nav {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}

.wrapper nav label {
  display: flex;
  padding: 5px;
  height: 100%;
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: #0188d1;
  border-radius: 5px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  margin: 0 5px;
  transition: all 0.3s ease;
}
.wrapper nav label:hover {
  background: rgba(14, 88, 27, 0.3);
}
#shipping:checked ~ nav label.shipping,
#bidders:checked ~ nav label.bidders,
#warranty:checked ~ nav label.warranty,
#tos:checked ~ nav label.tos,
#gradescale:checked ~ nav label.gradescale {
  color: #fff;
  background: #0188d1;
}
nav label i {
  padding-right: 7px;
}
nav .slider {
  position: absolute;
  height: 50px;
  width: 120px;
  left: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 5px;
  transition: all 0.3s ease;
}
nav label {
  width: 120px;
  height: 50px;
}
input[type="radio"] {
  display: none;
}
#bidders:checked ~ nav .slider {
  left: 20%;
}
#warranty:checked ~ nav .slider {
  left: 40%;
}
#tos:checked ~ nav .slider {
  left: 60%;
}
#gradescale:checked ~ nav .slider {
  left: 80%;
}
section .content {
  display: none;
  background: #fff;
}
#shipping:checked ~ section .content-1,
#bidders:checked ~ section .content-2,
#warranty:checked ~ section .content-3,
#tos:checked ~ section .content-4,
#gradescale:checked ~ section .content-5 {
  display: block;
}
section .content .title {
  font-size: 21px;
  font-weight: bold;
  margin: 30px 0 10px 0;
}
section .content p {
  text-align: justify;
}

section .content ul {
  line-height: 1.5;
}

.alert {
  color: red;
  padding: 10px 0px;
}

/* MEDIA QUERY */

@media only screen and (max-width: 600px) {

  .highlights {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .item p {
    text-align: left;
  }

  .product_information {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }

  .specs {
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 65px;
    border-bottom: 1px solid #cacaca;
  }

  .cosmetics {
    margin-bottom: 65px;
  }

  .spec {
    width: 100%;
    margin-top: 15px;
    border: none;
  }

  .info_item_container {
    border: none;
    padding: 0;
    align-items: center;
  }

  .wrapper nav {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
