main {
    border: 1px solid;
    width: 100%;
    height: calc(100vh - 60px);
    margin-top: 60px;
    background-image: url(../Images/hero-image.png), url(../Images/pexels-ann-h-1762851.jpg);
    background-size: 135vh, cover;
    background-repeat: no-repeat;
    background-position: bottom left calc(50% + 80px), center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(45, 24, 24);
    z-index: 100;
    column-gap: 265px;
}

main .main-intro h1 {
    font-size: 4rem;
    line-height: 60px;
}

main p {
    font-size: 1.6rem;
    line-height: 1.75;
    max-width: 400px;
}

main a {
    font-size: 1.8rem;
    display: block;
    background-color: var(--header-main-background-color);
    width: fit-content;
    padding: 0 20px;
    text-transform: uppercase;
    margin-top: 30px;
    height: 36px;
    line-height: 36px;
}

main .main-quotes p {
    border-left: 4px solid rgb(156, 158, 229);
    padding-left: 20px;
    margin: 40px 0;
}

main .main-quotes p:nth-child(2) {
    margin-left: 100px;
}

/* CATEGORY SECTION*/

.index-category {
    width: 100%;
    padding: 60px 0;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    flex-wrap: wrap;
}

.index-category p {
    color: #111;
    text-align: center;
    padding-bottom: 40px;
    flex-basis: 100%;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.index-category-box {
    width: 20rem;
    height: 20rem;
    background-color: rgb(2, 2, 2);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.index-category-box:nth-child(2) {
    background-image: url(../Categories/One\ on\ One.jpg);   
}

.index-category-box:nth-child(3) {
    background-image: url(../Categories/Group.jpg);
}

.index-category-box:nth-child(4) {
    background-image: url(../Categories/Catch\ up.jpg);
}

.index-category-box:nth-child(5) {
    background-image: url(../Categories/exam.jpg);  
}

.dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 50%;
    transition: all ease-in-out 200ms;
}

.index-category-box:hover .dark-overlay {
    opacity: 0;
}


.index-category-box h3 {
    color: rgb(255, 255, 255);
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
    text-shadow: 2px 4px 3px #0716b7;
    z-index: 100;
}

/*ABOUT CATEGORY*/

.index-about {
    width: 100%;
    padding: 60px 0;
    background-color: #55AEE8;
    border: 1px solid;
}

.index-about-flex {
    display: flex;
    align-items: center;
    column-gap: 60px;
    justify-content: center;
}

.index-about-img img {
    width: 300px;
    border-radius: 300px;
}

.index-about-text {
    flex-basis: 450px;
}

.index-about-text p {
    padding: 20px 0;
    font-size: 1.6rem;
}

.index-about-text a {
    font-size: 1.5rem;
    display: block;
    background-color: var(--button-color);
    width: fit-content;
    padding: 0.5rem 10px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
}

/*Registration Form*/

form {
  width: 100%;
  padding: 20px;
  margin: auto;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.firstname-input, .lastname-input, .email-input {
  width: 100%;
  padding: 0.5rem;
  font-size: 1.5rem;
  background: #f2f2f2;
}

.submit {
  padding: 0.5rem;
  font-size: 1.6rem;
}

.textarea {
  background: #f2f2f2;
  width: 25rem;
  font-size: 1.5rem;
  margin: auto;
}

.form-button {
  padding: 9px 25px;
  background-color: #745962; 
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  width: 50%;
  text-align: center;
  align-self: center;
}

button:hover {
  background-color: #651e35; 
}

.footer-main-sitemap h3 {
    font-size: 1.5rem;
}

.footer-main-sitemap .footer-header hr {
    width: 60%;
}

.footer-main-sitemap .footer-categories hr {
    width: 66%;
}

.footer-main-sitemap .get-in-touch hr {
    width: 78%;
}

  /*MOBILE VERSION*/

  @media only screen and (max-width: 600px) {
    
    main {
        align-items: flex-end;
    }
    
    main .main-intro h1 {
        font-size: 3rem;
        line-height: 1.1;
        text-align: center;
        padding-bottom: 10%;
        padding-left: 50px;
        padding-right: 50px;
        color: #ffffff;
        text-shadow: 2px 2px 2px #000000;
    }

    main .main-intro {
        padding-bottom: 8vh;
    }
    
    main p {
        font-size: 1.6rem;
        padding: 0 30px;
        line-height: 1.6;
        text-align: center;
    }
    
    main a {
        margin: 30px auto;
        font-size: .9rem;}

    main .main-quotes {
        display: none;
    }

    .index-category {
      width: 100%;
      padding: 60px 0;
      background-color: aliceblue;
      display: flex;
      justify-content: center;
      row-gap: 30px;
      flex-wrap: wrap;
      flex-direction: row;
  }
  
  .index-category p {
      color: #111;
      text-align: center;
      padding-bottom: 10px;
      flex-basis: 100%;
      text-transform: uppercase;
      font-size: 1.8rem;
  }
  
  .index-category-box {
      width: calc(100% - 20px);
      height: 160px;
  }
  
  .dark-overlay {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: #000;
      opacity: 50%;
      transition: all ease-in-out 200ms;
  }
  
  .index-category-box:hover .dark-overlay {
      opacity: 0;
  }
  
  .index-category-box h3 {
      color: rgb(255, 255, 255);
      font-size: 1.8rem;
      line-height: 1.5;
      text-align: center;
      text-shadow: 2px 4px 3px #0716b7;
      z-index: 100;
  }

.index-about-flex {
    row-gap: 60px;
    flex-wrap: wrap;
}

.index-about-img {
    width: 60%;
}

.index-about-img img {
  width: 100%;
}


.index-about-text {
    flex-basis: 100%;
}

.index-about-text p {
    padding: 20px 0;
    font-size: 1.6rem;
    text-align: center;
}

.index-about-text h2 {
  text-align: center;
}

.index-about-text a {
    margin: 0 auto;
}

form h3 {
    text-align: center;
    margin-bottom: 25px;
}
  }
  
  
