/* The Modal (background) */

.main__sec {
  background: url(../assets/images/pexels-laarkstudio-7423708.jpg);
  background-size: cover;
  min-height: 90vh;
  position: relative;
}

.main__sec > h1 {
  position: absolute;
  top: 70%;
  right: 20%;
  transform: translate(50%, -50%);
  color: #fff;
  font-size: 5rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1111111111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

p,
h1,
h3,
h4,
h5 {
  color: #000;
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  margin: auto auto;
  border: 1px solid #888;
  width: 70%;
  height: 90%;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.modal-content > .modal-nav > .img {
  width: 5rem;
}

.modal-content > .modal-nav {
  /* background-color: #dcd2d2; */
  padding: 5px 5%;
  width: 100%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.btns {
  margin-top: 1rem;
  background-color: #aaa;
  padding: 20px;
  flex-wrap: wrap;
  gap: 1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.btns > button {
  padding: 5px;
}

.h3 {
  margin: 0.5rem 0;
  font-size: 2rem;
  text-align: center;
}

.news {
  width: 100%;
  margin: 0 auto;
  margin-top: 2rem;
  background-color: #BF3100;
  padding: 15px 5%;
}

.perc {
  width: 60%;
}

.img {
  width: 40%;
  height: 250px;
  object-fit: cover;
}

.not {
  height: auto;
  width: 20%;
}

.two-stuff {
  padding: 15px 5%;
  margin: 0 auto;
  background-color: #fff;
}

.chainz {
  gap: 1rem;
}

.scprkts {
  background: #BF3100;
  padding: 15px 5%;
}

.span {
  font-size: 1.5rem;
}

.start {
  justify-content: flex-start;
  align-items: flex-start;
}

.fiv {
  width: calc(100% / 2);
}

.fiv > h4 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.consum {
  gap: 2rem;
}

.imgs {
  flex-direction: row;
  flex-wrap: wrap;
  width: 55%;
  /* gap: .5rem; */
}

.imgs > img {
  width: calc(100% / 2);
}

.hot-and-cold {
  width: 100%;
}

.that {
  flex-wrap: wrap;
  gap: 1rem;
}

.that > span {
  background-color: #BF3100;
  padding: 5px;
  border-radius: 5px;
}

.margin {
  margin: 1rem auto;
}

.white {
  padding: 15px 5%;
}

@media (max-width: 64em) {
  .main__sec > h1 {
    right: 50%;
    font-size: 3rem;
  }
  .modal-content {
    width: 96%;
  }

  .main__sec *.flex {
    flex-direction: column;
  }

  .fiv.flex.imgs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .fiv.flex.imgs > img {
    height: 150px;
    padding: 0.5rem;
  }

  .perc,
  .fiv,
  .img {
    width: 100%;
  }

  .that.flex {
    flex-direction: row;
  }

  .news,
  .white {
    padding: 1rem;
  }
}
