main {
  background-color: #D3DACE;
  display: grid;
  justify-content: center;
}

.challenge-container {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  display: grid;
  grid-template-rows: [header-start] 120px [header-end box-start] 200px [box-end main-start] 420px [main-end footer-start] 120px [footer-end];
  grid-template-columns: repeat(3, [col-start] 1fr [col-end]) 200px [grid-end];
  grid-gap: 20px;
  grid-template-areas: " . head head ." "cards-wrapper cards-wrapper cards-wrapper side" "main main main side" "footer footer footer footer";
}
.challenge-container > * {
  background-color: orangered;
  padding: 20px;
  color: white;
  font-size: 30px;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.challenge-container .main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  overflow: hidden;
}
.challenge-container .header {
  grid-area: head;
}
.challenge-container .project {
  background-color: #FFB703;
}
.challenge-container .small-box-1 {
  background-color: #FFB703;
}
.challenge-container .small-box-2 {
  background-color: #A7C7E7;
}
.challenge-container .small-box-3 {
  background-color: #9ED9A0;
}
.challenge-container a.btn {
  display: inline-block;
  padding: 0.6em 1.4em;
  background-color: #C3B1E1;
  color: black;
  border-radius: 2em;
  border: solid rgb(152.5, 121.75, 203.75) 2px;
  text-decoration: none;
  font-size: 0.9em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.challenge-container a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.challenge-container .cards-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
.challenge-container .cards-wrapper::-webkit-scrollbar {
  height: 8px;
}
.challenge-container .cards-wrapper::-webkit-scroll-thumb {
  border-radius: 4px;
}
.challenge-container .cards-wrapper .small-box-1,
.challenge-container .cards-wrapper .small-box-2,
.challenge-container .cards-wrapper .small-box-3 {
  flex: 0 0 auto;
  min-width: 250px;
  scroll-snap-align: start;
}
.challenge-container .cards-wrapper {
  grid-area: cards-wrapper;
}
.challenge-container .projects-section {
  grid-area: main;
}
.challenge-container .sidebar {
  grid-area: side;
  background-color: #B08968;
}
.challenge-container .footer {
  grid-area: footer;
}

.cards-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.item {
  padding: 20px;
  font-size: 30px;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: black;
}
.item--1 {
  background-color: #FFB703;
  grid-row: 2/3;
  grid-column: 2/3;
  z-index: 10;
}
.item--2 {
  background-color: #9ED9A0;
  grid-column: 1/-1;
}
.item--3 {
  background-color: #C3B1E1;
  grid-column: 1/3;
  grid-row: 2/3;
}
.item--4 {
  background-color: #FFB6C1;
}
.item--5 {
  background-color: #A7C7E7;
  grid-area: 1/3/3/4;
}
.item--6 {
  background-color: #B08968;
  grid-row: 1/2;
  grid-column: 2/3;
}
.item--7 {
  background-color: orangered;
}

@media (max-width: 1024px) {
  .challenge-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "head" "cards-wrapper" "main" "side" "footer";
  }
  .cards-wrapper {
    flex-wrap: nowrap;
  }
}
@media (max-width: 768px) {
  .challenge-container {
    width: 100%;
    grid-gap: 15px;
    grid-template-columns: 1fr;
    grid-template-areas: "head" "cards-wrapper" "main" "side" "footer";
  }
  .challenge-container > * {
    font-size: 18px;
    padding: 10px;
  }
  .projects-section {
    display: block;
  }
  .main-content iframe {
    width: 100%;
    height: 280px;
  }
}
/*
.challenge-container {
    width: 1000px;
    margin: 30px auto ;

    display: grid;
    grid-template-rows: [header-start] 100px [header-end box-start]
    200px [box-end main-start] 400px [main-end footer-start] 100px [footer-end];

    grid-template-columns: repeat(3, [col-start] 1fr [col-end]) 200px [grid-end];
    grid-gap: 30px;
  & > * {
    background-color: orangered;
    padding: 20px;
    color: white;
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  .header {
    grid-column: col-start 1 / grid-end;
  }
  .sidebar {
    grid-column: col-end 3 / grid-end;
    grid-row: box-start / main-end ;
  }
  .main-content {
    grid-column: col-start 1 / col-end 3;
  }
  .footer {
    grid-column: 1 / grid-end;
  }
}

.item {
    padding: 20px;
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: whitesmoke;

    &--1 {
        background-color: $Orange;
        // grid-row-start: 2;
        // grid-row-end: 3;
        // grid-column-start: 2;
        // grid-column-end: 3;

        grid-row: 2 / 3;
        grid-column: 2 / 3;
        z-index: 10;
    }
     &--2 {
       background-color: $green; 
      //  grid-column: 2 / span 2;
      grid-column: 1 / -1;
    }
     &--3 {
       background-color: $violet; 
       grid-column: 1 /3;
       grid-row: 2 / 3 ;
    }
     &--4 {
       background-color: $pink; 
    }
     &--5 {
       background-color: $blue; 
      //  grid-row: 1 /2;
      //  grid-column: 3 /4 ;
      grid-area: 1/3/3/4;

    }
     &--6 {
       background-color: $Brown; 
       grid-row: 1/2;
       grid-column: 2/3;
    }
    &--7 {
      background-color: orangered;

    }

} *//*# sourceMappingURL=fifthpage.css.map */