/* 


.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.merriweather-light {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-style: normal;
}

.merriweather-regular {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: normal;
}

.merriweather-bold {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-style: normal;
}

.merriweather-black {
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-style: normal;
}

.merriweather-light-italic {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-style: italic;
}

.merriweather-regular-italic {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
}

.merriweather-bold-italic {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-style: italic;
}

.merriweather-black-italic {
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-style: italic;
}
*/

  html, body {
    overflow-x: hidden;
    margin:0;
    background-color: #8C0000;
  }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
  
html {
    scroll-behavior:smooth;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 51px;
    line-height: 1.4;
}

h2 {
  font-family: "Merriweather", serif;
  font-size: 39px;
  line-height: 1.2;
  text-align: center;
  color: #8C0000;
}

h3 {
  font-family: "Merriweather", serif;
    font-size: 26px;  
    line-height: 1.6;
}

h4 {
  font-family: "Merriweather", serif;
    font-size: 26px;  
    line-height: 1.2;
    font-weight: 400;
}

p {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
  }

.revealUp1{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.25s;
}

.revealUp1.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp2{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.50s;

}

.revealUp2.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp3{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.75s;

}

.revealUp3.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp1Load{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.25s;
}

.revealUp1Load.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp2Load{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.50s;

}

.revealUp2Load.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp3Load{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.75s;

}

.revealUp3Load.active{
    transform: translateY(0);
    opacity: 1;
}

.revealUp4{
    position: relative;
    transform: translateY(15px);
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 2s;
}

.revealUp4.active{
    transform: translateY(0);
    opacity: 1;
}

.revealFade{
    position: relative;
    opacity: 0;
    transition: 0.75s all ease-in-out;
    transition-delay: 0.25s;
}

.revealFade.active{
    opacity: 1;
}

button {
    padding: 15px 35px;
    background-color: #8C0000;
    border: 0px;
    border-radius: 15px;
    font-family: "Press Start 2P", system-ui;
    line-height: 1.8;
    text-align: center;
    color: #FEEEEE;
    -moz-transition: all .9s ease-in-out;
    -o-transition: all .9s ease-in-out;
    -webkit-transition: all .9s ease-in-out;
    transition: all .9s ease-in-out;
    cursor: pointer;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
}

button:hover {
    background-color: #F76C68;
    color: #8C0000;
    -moz-transition: all .9s ease-in-out;
    -o-transition: all .9s ease-in-out;
    -webkit-transition: all .9s ease-in-out;
    transition: all .9s ease-in-out;
}

.noDecoration {
    text-decoration: none;
    color: #8C0000;
    -moz-transition: all .9s ease-in-out;
    -o-transition: all .9s ease-in-out;
    -webkit-transition: all .9s ease-in-out;
    transition: all .9s ease-in-out;
}

.noDecoration:hover {
    text-decoration: none;
    color: #F76C68;
}

.noDecoration2 {
  text-decoration: none;
  color: #FEEEEE;
  -moz-transition: all .9s ease-in-out;
  -o-transition: all .9s ease-in-out;
  -webkit-transition: all .9s ease-in-out;
  transition: all .9s ease-in-out;
}

.noDecoration2:hover {
  text-decoration: none;
  color: #F76C68;
}

.vocab-item {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/* Start Nav */

.topNav {
    display: grid;
    justify-content: center;
    background-color: #FEEEEE;
    align-items: center;
    padding: 15px;
    height: 170px;
    z-index: 99;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
      "logo";
    padding: 30px 60px;
    margin: 15px 80px 0 80px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5);  /* Right */
  }

  .topNav2 {
    display: grid;
    justify-content: center;
    background-color: #FEEEEE;
    align-items: center;
    padding: 15px;
    height: 170px;
    z-index: 99;
    grid-template-columns: 40% 20% 20% 20%;
    grid-template-rows: 100%;
    grid-template-areas: 
      "logo about faq button";
    padding: 30px 60px;
    margin: 15px 80px 0 80px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5);  /* Right */
  }

  #navItem {
    font-size: 18px;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -webkit-transition: all .25s;
    transition: all .25s;
    align-content: center;
  }

  .navLogo {
    grid-area: logo;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .navAbout {
    grid-area: about;
    text-align: center!important;
    color: #8C0000;
  }

  .navFaq {
    grid-area: faq;
    text-align: center;
    color: #8C0000;

  }

  .navButton {
    grid-area: button;
    text-align: center;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    display: block;
}

  .logo {
      max-height: 100px;
      margin-left: auto;
      margin-right: auto;
  }

  .topNav .icon {
    display: none;
  }

  .mobileNav {
    display: none;
  }

/* End Nav */

ul {
    margin-left: 60px;
    margin-right: 60px;
}

ol {
  margin-left: 60px;
  margin-right: 60px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1.4;
}

#headlineImage {
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.imageRight {
  max-width: 350px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  float: right;
  margin: 30px 0 30px 60px;
}

.imageLeft {
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  float: left;
  margin: 30px 60px 30px 0;
}

/* Progress bar css Start */

.progress-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
  position: relative; /* Position relative for text centering */
}

.progress-bar {
  height: 100%;
  width: 50%; /* This will be updated by JS */
  background-color: #F76C68;
  transition: width 0.3s ease;
}

#progress-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #8C0000;
}

.progress-wrapper {
  text-align: center;
  align-items: center;
  gap: 10px; /* Space between "Course Progress" text and the bar */
}

/* Progress bar css end */

.hero {
    display: grid;
    background-color: #FEEEEE;
    position: relative;
    justify-content: center;
    grid-template-columns: 7% 35% 53% 7%;
    grid-template-rows: 45% 55%;
    grid-template-areas: 
    "headline headline headline headline"
    ". image bullets .";
    column-gap: 24px;
    row-gap: 40px;
    padding: 30px 120px 120px 120px;
    margin: 0px 80px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.5), /* Left */
              0px 20px 20px -10px rgba(0, 0, 0, 0.5);  /* Right */

}

.headline {
    grid-area: headline;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #333333;
}

.headline h1 {
    color: #8C0000;
}

.image {
    grid-area: image;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bullets {
    grid-area: bullets;
    text-align: left;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
}


.body {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "text";
    column-gap: 24px;
    row-gap: 40px;
    padding: 0px 120px 90px 120px;
    margin: 0px 80px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.bodyText {
    grid-area: text;
    text-align: left;
    color: #333333;
}

.terms {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    padding: 30px 120px;
    text-align: center;
    margin: 30px 0;
    background: #8C0000;
    color: #FEEEEE;
}

.guarantee {
    padding: 30px 60px;
    text-align: center;
    margin: 60px 0;
    background: #8C0000;
    color: #FEEEEE;
    border: 10px dashed #FEEEEE;
}

.guarantee h2 {
    color: #FEEEEE;
}

.about {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px 30px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.aboutText {
  grid-area: text;
}

.footer {
  display: grid;
  background-color: #8C0000;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 60% 40%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "logo text";
  column-gap: 24px;
  padding: 60px 60px 90px 60px;
  margin: 0px 80px;
}

#footerLogo {
  max-width: 60%;
}

.email {
  grid-area: text;
  color: #FEEEEE;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.footerLogo {
  grid-area: logo;
  text-align: center;
}

.faq {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px 0px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.faqText {
  grid-area: text;
}

.lessons {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px 0px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.lessonText {
  grid-area: text;
}

.lessonButtons {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "button1 button2";
  padding: 0px 120px 190px 120px;
  margin: 0px 80px 30px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}


.previousButton {
  grid-area: button1;
  text-align: left;

}

.nextButton {
  grid-area: button2;
  text-align: right;
}


.contact {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px 30px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.contactText {
  grid-area: text;
}

.form2 {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  border-radius: 5px;
}

/* Style for form input fields */
.input2[type="text"],
.input2[type="email"],
.textarea2 {
  width: 100%;
  padding: 10px;
  margin-bottom: 0px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box; /* Make sure padding is included in width */
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  font-family: "Istok Web", sans-serif;
}

#form-button2 {
  width: 100%;
  padding: 15px;
  margin: 10px auto;
  background-color: #8C0000;
  box-shadow: 0px 0px 0px 0px rgba(85, 92, 152, 0.5);
  outline: none;
  border: 0;
  border-radius: 5px;
  text-align: center;
  color: #FEEEEE;
  -moz-transition: all .9s ease-in-out;
  -o-transition: all .9s ease-in-out;
  -webkit-transition: all .9s ease-in-out;
  transition: all .9s ease-in-out;
  cursor: pointer;
  font-size: 22px;
}

#form-button2:hover {
  background-color: #F76C68;
  box-shadow: 0px 0px 1px 1px rgba(85, 92, 152, 0.5);
  border-radius: 5px;    
  color: #8C0000;
  -moz-transition: all .9s ease-in-out;
  -o-transition: all .9s ease-in-out;
  -webkit-transition: all .9s ease-in-out;
  transition: all .9s ease-in-out;
}

/* Style for form error messages */
.error {
  color: red;
  font-size: 0.8em;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Checkout CSS Start */

.checkout {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 60% 40%;
  grid-template-rows: 18% 72%;
  grid-template-areas: 
  "headline headline"
  "text form";
  column-gap: 54px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px 0px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.checkoutHeadline {
  grid-area: headline;
}

.checkoutText {
  grid-area: text;
}

.checkoutForm {
  grid-area: form;
}

/* Checkout CSS End */

/* Academy CSS Start */

.academyHomeButtons {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "button1 button2 button3";
  column-gap: 24px;
  padding: 0px 120px 190px 120px;
  margin: 0px 80px 30px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.bigButton {
  padding: 60px 30px;
  border-radius: 30px;
  border: solid 2px #E6CDCD;
  background-color: #E6CDCD;
  text-align: center;
  color: #8C0000;
  text-decoration: none;
  transition: all .9s ease-in-out;
  -moz-transition: all .9s ease-in-out;
  -o-transition: all .9s ease-in-out;
  -webkit-transition: all .9s ease-in-out;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.bigButton:hover {
  border: solid 2px #8C0000;
  background-color: #FEEEEE;
  text-decoration: none;
}

.academyHomeButton1 {
  grid-area: button1;

}

.academyHomeButton2 {
  grid-area: button2;
}

.academyHomeButton3 {
  grid-area: button3;
}


/* Academy CSS End */

/* Resources CSS Start */

.resources {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  grid-template-areas: 
    "headline headline headline"
    "button1 button2 button3"
    "button4 button5 button6";
  column-gap: 24px;
  row-gap: 60px;
  padding: 60px 120px 90px 120px;
  margin: 0px 80px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.bigButton2 {
  display: block;
  padding: 60px 30px;
  border-radius: 30px;
  border: solid 2px #E6CDCD;
  background-color: #E6CDCD;
  text-align: center;
  color: #8C0000;
  text-decoration: none;
  transition: all .9s ease-in-out;
  -moz-transition: all .9s ease-in-out;
  -o-transition: all .9s ease-in-out;
  -webkit-transition: all .9s ease-in-out;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.bigButton2:hover {
  border: solid 2px #8C0000;
  background-color: #FEEEEE;
  text-decoration: none;
}

.resources-headline {
  grid-area: headline;
}

.resources-button1 {
  grid-area: button1;
}

.resources-button2 {
  grid-area: button2;
}

.resources-button3 {
  grid-area: button3;
}

.resources-button4 {
  grid-area: button4;
}

.resources-button5 {
  grid-area: button5;
}

.resources-button6 {
  grid-area: button6;
}

/* Resources CSS End */


/* Chatbox CSS Start */

#chat-container { 
  max-width: 600px; 
  margin: auto; 
  padding: 20px; 
}

#chat-box { 
  border: 1px solid #ccc; 
  padding: 10px; 
  height: 300px; 
  overflow-y: auto; 
  margin-bottom: 10px; 
}

#user-input { 
  width: 100%; 
  padding: 10px; 
}

/* Chatbox CSS End */


@media screen and (min-width: 769px) and (max-width: 1024px) {

  .topNav, .topNav2 {
    padding: 60px 20px 20px 20px;
    margin: 0px 15px;
  }
  
  .hero {
    display: grid;
    background-color: #FEEEEE;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 25% 47% 28%;
    grid-template-areas: 
    "headline"
    "bullets"
    "image";
    column-gap: 24px;
    row-gap: 10px;
    padding: 60px 20px 190px 20px;
    margin: 0px 15px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.5), /* Left */
              0px 20px 20px -10px rgba(0, 0, 0, 0.5);  /* Right */
  }

  .body {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "text";
    column-gap: 24px;
    row-gap: 40px;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.about {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 30px 20px 20px 20px;
  margin: 0px 15px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.footer {
  display: grid;
  background-color: #8C0000;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 60% 40%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "logo text";
  column-gap: 24px;
  padding: 30px 20px 20px 20px;
  margin: 0px 15px;
}

.faq {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 30px 20px 20px 20px;
  margin: 0px 15px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.contact {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "text";
  column-gap: 24px;
  padding: 30px 20px 20px 20px;
  margin: 0px 15px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}

.academyHomeButtons {
  display: grid;
  background-color: #FEEEEE;
  overflow: hidden;
  position: relative;
  justify-content: center;
  grid-template-columns: 33% 33% 33%;
  grid-template-rows: 100%;
  grid-template-areas: 
  "button1 button2 button3";
  column-gap: 24px;
  padding: 30px 40px 20px 40px;
  margin: 0px 15px;
  box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
            10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
            0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
}



}


@media (max-width: 768px) {

  h1 {
      font-family: "Montserrat", sans-serif;
      font-size: 31px;
      line-height: 1.4;
  }

  h2 {
    font-family: "Merriweather", serif;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
    color: #8C0000;
  }

  h3 {
    font-family: "Merriweather", serif;
      font-size: 17px;  
      line-height: 1.6;
  }

  h4 {
    font-family: "Merriweather", serif;
      font-size: 18px;  
      line-height: 1.2;
      font-weight: 400;
  }

  p {
      font-family: "Montserrat", sans-serif;
      font-size: 16px;
      line-height: 1.4;
      margin: 0;
      padding: 0;
    }

  .topNav .navAbout, .topNav .navFaq, .topNav2 .navAbout, .topNav2 .navFaq {
      display: none;
  }

  .navButton {
      display: none;
  }


  .topNav {
    display: grid;
    justify-content: center;
    background-color: #FEEEEE;
    align-items: center;
    height: 40px;
    z-index: 99;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
      "logo";
    padding: 60px 20px 90px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5);  /* Right */ 
  } 

  .topNav2 {
    display: grid;
    justify-content: center;
    background-color: #FEEEEE;
    align-items: center;
    height: 170px;
    z-index: 99;
    grid-template-columns: 40% 60%;
    grid-template-rows: 100%;
    grid-template-areas: 
      "logo hamburger";
    padding: 60px 20px 90px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5);  /* Right */
  }


  .logo {
    max-height: 60px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-logo {
      display: block;
      position: absolute;
      max-height: 70px;
  }

  .mobileNav {
      display: block;
      
  }

  .menuItem {
      display: block;
      margin: 2rem 2rem;
      font-size: 1.8rem;
      font-family: "Montserrat", sans-serif;
      color: white;
      text-decoration: none;
  }

  .material-icons {
      background-color: transparent;
      color: #8C0000;
  }

  .hamburger {
      position: absolute;
      z-index: 100;
      top: 1rem;
      right: 1rem;
      padding: 60px 20px 0 15px;
      cursor: pointer;
  }

  .closeIcon {
      display: none;
      position: fixed;
      font-family: "Montserrat", sans-serif;
      font-size: 22px;
      text-align: left;
      padding: 30px 40px 0 0;
      margin-right: 0px;
      color: #FEEEEE;
  }

  .menu {
      position: fixed;
      transform: translateY(-100%);
      transition: transform 0.2s;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 99;
      background-color: #8C0000!important;
      color: white;
      list-style: none;
      padding-top: 4rem;
  }

  .showMenu {
      transform: translateY(0);
      background-color: #8C0000!important;
      color: #ffffff;
      backdrop-filter: blur(50px);
  }

  .menuIcon {
      padding: 0;
      margin: 0;
      background-color: transparent;
      border: 0;
      font-size: 22px;
      text-align: center;
  }

  .noDecoration {
      text-decoration: none;
      color: #ffffff;
      font-size: 18px;
      font-family: 'Raleway', sans-serif;
      line-height: 1.4;
  }

  .imageRight {
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    float: right;
    margin: 30px 0 30px 60px;
  }
  
  .imageLeft {
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    float: left;
    margin: 30px 60px 30px 0;
  }

  ul {
    margin-left: 20px;
    margin-right: 20px;
  }

  ol {
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.4;
  }

  .hero {
    display: grid;
    background-color: #FEEEEE;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 25% 47% 28%;
    grid-template-areas: 
    "headline"
    "bullets"
    "image";
    column-gap: 24px;
    row-gap: 10px;
    padding: 60px 20px 90px 20px;
    margin: 0px 15px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.5), /* Left */
              0px 20px 20px -10px rgba(0, 0, 0, 0.5);  /* Right */

  }

  .body {
      display: grid;
      background-color: #FEEEEE;
      overflow: hidden;
      position: relative;
      justify-content: center;
      grid-template-columns: 100%;
      grid-template-rows: 100%;
      grid-template-areas: 
      "text";
      column-gap: 24px;
      row-gap: 40px;
      padding: 30px 20px 20px 20px;
      margin: 0px 15px;
      box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
                10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
                0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
  }

  .guarantee {
    padding: 30px 20px;
    text-align: center;
    margin: 60px 0;
    background: #8C0000;
    color: #FEEEEE;
    border: 10px dashed #FEEEEE;
  }

  .terms {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
    background: #8C0000;
    color: #FEEEEE;
}

  .about {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "text";
    column-gap: 24px;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
  }

  .footer {
    display: grid;
    background-color: #8C0000;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 60% 40%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "logo text";
    column-gap: 24px;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
  }

  .faq {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "text";
    column-gap: 24px;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
  }

  .contact {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    grid-template-areas: 
    "text";
    column-gap: 24px;
    padding: 30px 20px 20px 20px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
  }

  .input2[type="text"],
  .input2[type="email"],
  .textarea2 {
    width: 100%;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Make sure padding is included in width */
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    font-family: "Istok Web", sans-serif;
  }

  .academyHomeButtons {
    display: grid;
    background-color: #FEEEEE;
    overflow: hidden;
    position: relative;
    justify-content: center;
    grid-template-columns: 100%;
    grid-template-rows: 33% 33% 33%;
    grid-template-areas: 
    "button1" 
    "button2" 
    "button3";
    column-gap: 0px;
    row-gap: 24px;
    padding: 30px 40px 160px 40px;
    margin: 0px 15px;
    box-shadow: -10px 10px 10px -10px rgba(0, 0, 0, 0.5), /* Left */
              10px 10px 10px -10px rgba(0, 0, 0, 0.5),  /* Right */
              0 10px 10px rgba(0, 0, 0, 0.5);           /* Bottom */
  }

}