/* @import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&family=Righteous&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"); */

:root {
  /* typography */
  --body-font-style: "Righteous", sans-serif;
  --header-font-style: "Roboto", sans-serif;
  --cursive-font-style: "Nanum Pen", cursive;

  /* Headings */
  --font-size-heading1: clamp(2rem, 4vw + 1rem, 3.5rem);
  --font-size-heading2: clamp(1.5rem, 3.5vw + 0.75rem, 3rem);
  --font-size-heading3: clamp(1.25rem, 3vw + 0.75rem, 2.5rem);
  --font-size-heading4: clamp(1.1rem, 1.5vw + 0.5rem, 1.5rem);
  --font-size-heading5: clamp(1.25rem, 4vw + 1rem, 4rem);
  --font-size-heading6: clamp(1rem, 2vw + 0.25rem, 1.5rem);

  /* Paragraph */
  --font-size-paragraph: clamp(0.875rem, 1vw + 0.5rem, 1rem);

  /* Line heights */
  --line-height-heading1: clamp(2.25rem, 5vw + 1rem, 4rem);
  --line-height-heading2: clamp(1.75rem, 4vw + 0.75rem, 3.5rem);
  --line-height-heading3: clamp(1.5rem, 3.5vw + 0.5rem, 2.875rem);
  --line-height-heading4: clamp(1.7rem, 3vw + 0.5rem, 2.25rem);
  --line-height-heading5: clamp(1.5rem, 5vw + 1rem, 4.5rem);
  --line-height-heading6: clamp(1.25rem, 2.5vw + 0.5rem, 1.75rem);

  /* Body sizes */
  --body1: clamp(1rem, 1vw + 0.025rem, 1rem);
  --body2: clamp(1rem, 1vw + 0.25rem, 1.125rem);
  --body3: clamp(1rem, 1.5vw + 0.25rem, 1.25rem);
  --body4: clamp(0.9rem, 1vw + 0.025rem, 1rem);
  --b4footer: clamp(0.5rem, 1vw + 0.25rem, 0.75rem);
  --body5: clamp(0.5rem, 1vw + 0.25rem, 0.75rem);

  /* Body line-heights */
  --line-height-body1: clamp(1rem, 2vw + 0.5rem, 1.5rem);
  --line-height-body2: clamp(1rem, 2vw + 0.5rem, 1.75rem);
  --line-height-body3: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
  --line-height-b4footer: clamp(0.75rem, 1.5vw + 0.25rem, 1.25rem);
  --line-height-body5: clamp(0.75rem, 1.5vw + 0.25rem, 1.25rem);

  /* colors */
  --red-shade: #ff3300;
  --red-accent: #fd8d70;
  --white: #ffffff;
  --black: #000000;
  --text-color-gray: #858585;
  --gradient: linear-gradient(180deg, var(--red-shade, #f30) 0%,  #000 100%);
}

* {
  padding: 0;
  margin: 0;

  box-sizing: border-box;
}

body {
  width: 100%;

  background: var(--black);
  color: var(--white);

  scroll-behavior: smooth;
}

header {
  width: 100%;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;

  padding: 1em 1em;
}

nav {
  width: 1400px;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: space-between;

  /* background-color: aquamarine; */
}

nav img {
  width: 140px;
}

.navBtns {
  list-style-type: none;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;

  gap: 1.5em;
}

.navBtns li a {
  text-decoration: none;

  color: var(--white);

  font-family: var(--header-font-style);
  font-size: var(--body1);

  transition: 0.5s all;
}

.navBtns li a:hover {
  color: gray;
}

.navBtns li button {
  padding: 0.8em 1.5em;

  font-family: var(--header-font-style);
  font-size: var(--body1);
  font-weight: 500;

  background: #1c1c1c;
  border-radius: 6px;
  border: 0.5px solid var(--text-color-gray);

  transition: 0.5s all;

  color: var(--white);
}

.navBtns li button:hover {
  background: var(--black);
  color: var(--white);
  cursor: pointer;
}

.menu {
  display: none;
}

main {
  width: 100%;
}

section {
  padding: 3.5em 0em;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;
}

.heroSection {
  width: 100%;
}

.centered {
  width: 100%;

  /* padding: 0em 1em; */

  margin: 0em 1em;
}

.heroTextContent {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  gap: 1.5em;

  /* background-color: red; */
}

.leaveAReviewCaption {
  font-family: var(--cursive-font-style);
  font-size: 1.3rem;
  font-weight: normal;

  color: var(--red-shade);
}

.heroHead {
  font-family: var(--header-font-style);
  font-size: var(--font-size-heading3);

  letter-spacing: 0.03em;
}

.heroParagraphAndBtn {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: flex-start;

  gap: 1.5em;
}

.heroParagraphAndBtn p {
  font-family: var(--header-font-style);
  font-size: var(--body1);
  font-weight: 500;

  line-height: 1.5;

  color: #4e5255;
}

.heroParagraphAndBtn button {
  font-family: var(--header-font-style);
  font-size: var(--body1);
  font-weight: 500;

  padding: 0.6em 1.5em;

  background: var(--white);

  border-radius: 6px;
  border: 1px solid var(--red-shade);

  transition: 0.5s all;
}

.heroParagraphAndBtn button:hover {
  background: var(--black);
  color: var(--white);

  border: none;

  cursor: pointer;
}

.heroBanner {
  width: 100%;

  margin-top: 1.5em;
}

.heroBanner img {
  width: 100%;

  border: 6px solid gray;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

@media (max-width: 576px) {
  .menu {
    width: 50px;
    aspect-ratio: 1/1;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 0.45em;

    border-radius: 50px;

    background-color: #1e1e1e;
  }

  .line {
    width: 25px;
    height: 2px;

    background-color: var(--white);

    border-radius: 100px;
  }
}

.titleAndBtn {
  width: 100%;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: space-between;

  font-family: var(--header-font-style);
  font-weight: 500;

  margin-bottom: 2em;
}

.titleAndBtn p {
  font-size: var(--body3);
}

.titleAndBtn a {
  font-size: var(--body3);

  text-decoration: none;
  color: var(--white);

  /* border-bottom: 2px solid var(--red-shade); */

  padding: 0.08em 0;

  position: relative;
}

.titleAndBtn a::before {
  content: "";

  width: 48px;
  height: 2.5px;

  background-color: var(--red-shade);

  border: 10px;

  position: absolute;
  bottom: -0.15em;

  transition: all 0.25s;
}

.titleAndBtn a:hover::before {
  background-color: var(--black);
  bottom: -0.05em;
}

/* .titleAndBtn  {
  border-bottom: 2px solid var(--black);

  padding: 0.06em 0;
} */

.courseList {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 2em;
}

.courseList a {
  width: 100%;
}

.course {
  width: 100%;
}

.courseImageWrap {
  width: 100%;

  border-radius: 16px;
  outline: 1px solid grey;

  padding: 1.6em;
}

.courseImage {
  width: 100%;
  aspect-ratio: 16/12.5;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  border-radius: 12px;

  /* outline: 3px solid rgb(160, 0, 0); */
}

a:nth-child(1) .course .courseImageWrap .courseImage {
  background-image: url(../assets/uiuxRev.jpg);

  transition: 0.2s;
}

a:nth-child(1):hover .course .courseImageWrap .courseImage {
  background-image: url(../assets/uiux.jpg);
}

a:nth-child(2) .course .courseImageWrap .courseImage {
  background-image: url(../assets/codingImg.jpg);

  cursor: pointer;
}

a:nth-child(2):hover .course .courseImageWrap .courseImage {
  background-image: url(../assets/codingRev.jpg);
}

a:nth-child(3) .course .courseImageWrap .courseImage {
  background-image: url(../assets/gfDesign2.jpg);

  cursor: pointer;
}

a:nth-child(3):hover .course .courseImageWrap .courseImage {
  background-image: url(../assets/gfDesign.jpg);
}

a:nth-child(4) .course .courseImageWrap .courseImage {
  background-image: url(../assets/Python.png);

  cursor: pointer;
}

a:nth-child(4):hover .course .courseImageWrap .courseImage {
  background-image: url(../assets/Python2.jpg);
}

.courseDesc {
  width: 100%;

  margin-top: 2em;

  font-family: var(--header-font-style);
}

.courseTitle {
  font-weight: 800;
}

.courseCaption {
  width: min-content;
  height: min-content;
  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  gap: 1em;

  color: grey;

  font-weight: 500;

  margin-top: 0.5em;
}

.courseCaption div {
  width: 2px;
  aspect-ratio: 1/1;

  background-color: grey;

  border-radius: 50%;
}

.enrollSteps {
  width: 100%;
}

.whyEnrollheadTextContents {
  width: 100%;
  text-align: center;
}

.enrollStepsHeadText {
  font-family: var(--header-font-style);
  font-size: var(--font-size-heading2);

  margin-top: 0.85em;
}

.enrollStepsHeadText span {
  display: block;
}

.steps {
  width: 100%;

  display: flex;
  flex-direction: row;

  flex-wrap: wrap;

  align-items: center;
  justify-content: center;

  gap: 1em;

  margin-top: 2.5em;
}

.step {
  width: 100%;
  /* min-width: 250px; */

  /* flex-grow: 1; */

  background-color: #0c0c0c;

  -webkit-mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 43%)
    add;

  mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 43%) add;

  border-radius: 18px;

  border: 1px solid #292929;

  overflow: hidden;
}

.stepDetails {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  gap: 0.8em;

  padding: 2em 2.5em 0 2em;
}

.stepCount {
  width: fit-content;
  font-family: var(--header-font-style);
  font-size: var(--body4);

  background-color: var(--red-shade);

  border-radius: 100px;

  padding: 0.15em 0.5em;
}

.stepDetails h1 {
  font-family: var(--header-font-style);
  font-size: var(--font-size-heading4);
}

.stepDesc {
  font-family: var(--header-font-style);

  color: var(--text-color-gray);

  line-height: 1.55;
}

.courseSlider {
  width: 100%;
  height: 300px;

  position: relative;

  background-color: purple;
}

.courseSlide {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.step:nth-child(1) .courseSlider .courseSlide {
  width: 100%;
  height: 100%;

  background-image: url(../assets/heroImage.png);
}

.step:nth-child(2) .courseSlider .courseSlide {
  width: 100%;
  height: 100%;

  background-image: url(../assets/Placeholder\ Image_5.png);
}

.step:nth-child(3) .courseSlider .courseSlide {
  width: 100%;
  height: 100%;

  background-image: url(../assets/PracticalLearn.png);
}

.bootcampEnquires {
  width: 100%;
}

.bootcampEnquiresFlexWrap {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  gap: 3em;
}

.enquiriesLeftContents {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 1.3em;

  font-family: var(--header-font-style);
}

.enquiresSubText {
  font-family: var(--cursive-font-style);
  color: var(--red-shade);
  font-size: var(--body2);
}

.enquiriesLeftContents h1 {
  font-size: var(--font-size-heading2);
}

.enquiresParaGraph {
  font-size: var(--body3);
  font-weight: 500;

  line-height: 1.5;
  color: var(--text-color-gray);
}

.enquiriesLeftContents a {
  width: 100%;
}

.enquiriesLeftContents button {
  width: 100%;

  font-family: var(--header-font-style);
  font-size: var(--body2);
  font-weight: 500;

  border: none;
  border-radius: 15px;

  padding: 1.5em;

  transition: 0.5s all;
}

.enquiriesLeftContents button:hover {
  background: var(--text-color-gray);
  cursor: pointer;
}

.enquiresDetails {
  width: 100%;
  height: 400px;

  border: 1px solid var(--text-color-gray);
  border-radius: 15px;

  background-image: url(./assets/designCohort3.jpg);
  background-position: center -0.7em;
  background-size: cover;
  background-repeat: no-repeat;

  /* margin-top: 1.5em; */
}

.whyEnroll {
  width: 100%;
}

.whyEnrollWrap {
  width: 100%;

  display: flex;
  flex-direction: column-reverse;

  align-items: center;
  justify-content: center;

  gap: 2.5em;
}

.whyEnrollTextContent {
  width: 100%;

  padding-left: 2em;
}

.whyEnrollTextContent > * {
  /* margin-bottom: 1em; */

  color: var(--text-color-gray);

  font-family: var(--header-font-style);

  /* line-height: 1.5; */
}

.whyEnrollHeadText {
  font-size: var(--font-size-heading2);
  color: var(--white);
}

.whyEnrollSubText {
  font-size: var(--body2);
  font-weight: 500;

  line-height: 1.5;
}

.whyEnrollSubText span {
  display: block;

  /* margin-top: 1.5em; */
}

.whyEnrollBullets{
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: space-between;

  /* background-color: #3a0055; */

  padding: 1em;
}

.whyEnrollBullets ul{
  font-family: var(--header-font-style);

  list-style: none;
  line-height: 2;
}

.whyEnrollBullets ul li::before{
  content: " ";

  width: 15px;
  aspect-ratio: 1/1;

  display: inline-block;

  background-image:  url(../assets/check-svgrepo-com.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  border: 1px solid var(--text-color-gray);

  position: relative;
  top: .15em;
  right: .8em;
}

.whyEnrollBullets ul li:nth-child(1)::before{
  content: "";

  width: 0;

  background-image: none;
  border: none;

  position: relative;
  top: 0;
  right: 0;
}

.whyEnrollBullets ul li:nth-child(1){
    position: relative;
  top: .15em;
  right: .8em;

  font-size: var(--font-size-heading6);
  font-weight: 600;

  line-height: 2.5;
  color: var(--white);
}

.imageArea {
  width: 100%;
  aspect-ratio: 16/9;

  background-image: url(../assets/structuredEnv.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-radius: 15px;
}

.leaveAReview {
  width: 100%;
}

.leaveAReviewTextContent {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  gap: 1em;
}

.leaveAReviewHeadText {
  font-family: var(--header-font-style);
  font-size: var(--font-size-heading1);

  /* letter-spacing: 0.02em; */
}

.leaveAReviewHeadText span {
  display: block;
}

.avatars {
  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  /* background-color: rebeccapurple; */
}

.avatarImgWrap {
  width: 130px;
  height: 50px;

  /* background-color: red; */

  position: relative;
}

.avatarImgWrap img {
  width: 36px;
  aspect-ratio: 1/1;

  border-radius: 100px;

  object-fit: cover;

  /* padding: 0.5em; */

  position: absolute;
  top: calc((50px - 36px) / 2);

  border: 4px solid var(--black);
}

.avatarImgWrap img:nth-child(2) {
  left: 1.7em;
}

.avatarImgWrap img:nth-child(3) {
  left: 3.4em;
}

.avatarImgWrap img:nth-child(4) {
  left: 5.1em;
}

.avatars p {
  font-family: var(--header-font-style);
  font-size: var(--body1);
  font-weight: 500;

  color: var(--text-color-gray);

  letter-spacing: -0.01em;
}

.comments {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr;

  gap: 15px;

  margin-top: 2.5em;
}

.comment {
  width: 100%;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  background-color: rgb(18, 18, 18);

  padding: 0em 2em 2em 2em;

  border-radius: 15px;
}

.comment p {
  font-family: var(--header-font-style);
  font-size: var(--body1);
  font-weight: 500;

  line-height: 1.5;

  color: var(--text-color-gray);
}

.comment svg {
  width: 70px;
  height: 70px;
}

.commenter {
  width: 100%;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: flex-start;

  gap: 1em;

  margin-top: 1.2em;
}

.commenter img {
  width: 35px;
  aspect-ratio: 1/1;

  border-radius: 100px;
  object-fit: cover;
}

.commenter p {
  color: var(--white);

  font-weight: 500;
  font-size: var(--body1);
}

footer {
  width: 100%;

  display: flex;
  flex-direction: row;

  align-items: center;
  justify-content: center;
}

.logoAndLinks {
  width: 100%;

  display: flex;
  flex-direction: row;

  flex-wrap: wrap;

  align-items: flex-start;
  justify-content: space-between;

  gap: 1.5em;
}

.logoAndLinks > * {
  /* flex-basis: calc(100% / 4); */
  flex-grow: 1;

  min-width: 250px;

  /* background-color: red; */

  /* outline: 1px solid red; */
}

.footerLogo {
  width: 150px;
}

.footLinks {
  width: 260px;
  /* max-width: 250px; */

  list-style-type: none;

  /* background-color: purple; */
}

.footLinks li,
a {
  text-decoration: none;
  color: var(--text-color-gray);

  font-family: var(--header-font-style);
  font-size: var(--body4);
  font-weight: 400;

  margin-bottom: 1em;
}

.footLinks li:nth-child(1) {
  color: var(--white);
  font-weight: 500;
}

.newsLetter {
  width: 24%;
  min-width: 250px;
  max-width: 400px;

  /* background-color: purple; */
}

.newsLetter p {
  font-family: var(--header-font-style);
  font-size: var(--font-size-heading4);
  font-weight: 500;
}

.inputWrap {
  width: 100%;

  position: relative;
}

.inputWrap label {
  position: absolute;
  top: -99999px;
}

.inputWrap input {
  width: inherit;
  padding: 1.5em;

  border: 1px solid var(--red-shade);
  border-radius: 10px;

  margin-top: 0.5em;

  font-family: var(--header-font-style);
}

.inputWrap button {
  position: absolute;
  top: calc((100% / 2) / 2);
  right: 1em;

  border-radius: 5px;
  border: 1px solid var(--red-shade);

  padding: 0.8em 1em;

  font-family: var(--header-font-style);

  transition: 0.5s all;
}

.inputWrap button:hover {
  background-color: var(--black);
  color: var(--white);

  cursor: pointer;
}

.copyrightAndHandles {
  width: 100%;

  border-top: 1px solid var(--text-color-gray);

  margin-top: 3em;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 1em;

  padding: 1em 0em;
}

.copyrightText {
  font-family: var(--header-font-style);
  font-size: var(--body4);

  text-align: center;
}

.handles {
  width: fit-content;
}

.handles img {
  width: 22px;
}

@media (min-width: 800px) {
  header {
    padding: 2.5em;
  }

  nav {
    width: 1280px;
    /* padding: 0 2.5em; */
  }

  section {
    padding: 4.5em 0em;
  }

  .centered {
    width: 100%;
    max-width: 1280px;

    /* padding: 0em 2.5em; */
    margin: 0 2.5em;

    /* background-color: red; */
  }

  .heroSectionFlexWrap {
    display: flex;
    flex-direction: row;

    align-items: center;

    gap: 4em;
  }

  .bootcampEnquiresFlexWrap {
    width: 100%;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 3em;
  }

  .enquiriesLeftContents button {
    width: 50%;
    max-width: 250px;
  }

  .enquiresDetails {
    width: 100%;
    max-width: 650px;
    height: 400px;
  }

  .imageArea {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 16/9;
  }

  .whyEnrollWrap {
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 3.5em;
  }


  .courseList {
    width: 100%;

    flex-direction: row;

    flex-wrap: wrap;
  }

  .courseList a {
    width: 40%;

    flex-grow: 1;
  }

  .course {
    width: 100%;
  }

  .steps {
    width: 100%;

    display: flex;
    flex-direction: row;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 1em;
  }

  .step {
    width: 30%;
    min-width: 220px;

    flex-grow: 1;
  }

  .stepDetails {
    width: 100%;
    height: 220px;

    /* background-color: red; */

    margin-bottom: 2em;
  }

  .leaveAReviewTextContent {
    width: 100%;

    display: flex;
    flex-direction: row;

    align-items: flex-end;
    justify-content: space-between;
  }

  .comments {
    width: 100%;

    display: grid;
    grid-template-columns: [col-start] 1fr [col-2] 1fr [col-3] 1fr [col-end];
    grid-template-rows: repeat(9, min-content);

    gap: 15px;

    margin-top: 2.5em;
  }

  .firstComment {
    grid-row: 1/6;
  }

  .fourthComment {
    grid-row: 6/10;
  }

  .secondComment {
    grid-row: 1/4;
  }

  .sixthComment {
    grid-row: 4/7;
  }

  .fifthComment {
    /* grid-column-start: 2/3; */
    grid-row: 7/9;
  }

  .thirdComment {
    grid-row: 1/5;
  }

  .seventhComment {
    grid-row: 5/9;
  }

  footer {
    margin-top: 8em;
  }

  .logoAndLinks {
    width: 100%;

    padding-top: 8em;

    border-top: 0.2px solid var(--text-color-gray);
  }

  .copyrightAndHandles {
    margin-top: 3em;

    flex-direction: row;

    justify-content: space-between;

    padding: 4em 0em;
  }
}
