@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@1,100;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope&display=swap");
html {
  box-sizing: border-box;
  font-family: Georgia, Rooney, serif;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", serif;
}

/*
 Remove bullet point and
 the default left padding from 
 unordered lists
*/
ul {
  list-style-type: none;
  padding-left: 0;
}

/* Main container */
#main-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14vh 0;
}

#topHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
  height: 13vh;
}
#topHeader #site-logo {
  display: flex;
  justify-content: initial;
  align-items: flex-start;
  flex-flow: column nowrap;
  flex: 1 150px;
  margin: 0;
  padding-left: 5px;
}
#topHeader #site-logo img {
  max-width: 150px;
}
#topHeader nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-flow: row nowrap;
  flex: 1 150px;
  margin-top: 25px;
  margin-right: 10px;
}
#topHeader nav #hamburgerMenu {
  border: none;
  background-color: transparent;
  cursor: pointer;
  max-width: 45px;
}
#topHeader nav #menu {
  display: none;
}
#topHeader nav #main-menu {
  display: flex;
  justify-content: stretch;
  align-items: flex-end;
  flex-flow: column wrap;
  position: absolute;
  top: 85px;
  right: 0;
  background-color: #000814;
  visibility: hidden;
  padding: 10px 20px;
  height: 400px;
  width: 100%;
  z-index: 2;
}
#topHeader nav #menu li,
#topHeader nav #main-menu li {
  flex: 1 auto;
}
#topHeader nav #menu a:link, #topHeader nav #menu a:visited,
#topHeader nav #main-menu a:link,
#topHeader nav #main-menu a:visited {
  color: #fff;
  font-size: 1.5rem;
  font-family: "Manrope", sans-serif;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  transition: 0.5s color;
}
#topHeader nav #menu a:hover,
#topHeader nav #main-menu a:hover {
  color: gold;
}

#hero {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: column nowrap;
  padding: 0 4vw;
}
#hero h1 {
  font-size: 2.2rem;
  padding-left: 4px;
  border-left: 4px solid #000;
  order: 0;
  margin-top: 6vh;
  margin-bottom: 12px;
}
#hero h2 {
  margin-top: 2vh;
  order: 1;
  font-weight: normal;
  font-size: 1.2rem;
}
#hero #allCoursesBtn {
  order: 1;
  margin-top: 4vh;
  background-color: hsl(37deg, 91%, 22%);
  color: #fff;
}
#hero p {
  order: 3;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  margin-top: 8vh;
  letter-spacing: 0.05rem;
  line-height: 1.4rem;
}
#hero button {
  order: 4;
}
#hero #author-picture {
  margin-top: 30vh;
  order: 2;
}
#hero #author-picture img {
  border-radius: 50%;
}
#hero #author-picture figcaption {
  font-family: Verdana, serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 5px;
}

/* btn classes */
.btn {
  border: none;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  background-color: hsl(37deg, 91%, 22%);
  cursor: pointer;
  transition: 0.5s background-color;
}
.btn:hover {
  background-color: hsl(37deg, 92%, 9%);
}

/* Main */
/* Courses */
main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8rem 0;
}
main #online-courses {
  display: flex;
  justify-content: initial;
  align-items: flex-start;
  flex-flow: column nowrap;
  padding: 0 4vw;
}
main #online-courses header {
  font-family: "Manrope", serif;
}
main #online-courses header h2 {
  font-size: 2rem;
  border-left: 4px solid #000;
  padding-left: 5px;
}
main #online-courses .course {
  border-radius: 1rem;
  margin-top: 10vh;
  box-shadow: 1px -1px 4px rgba(100, 100, 100, 0.6), -1px 1px 4px rgba(100, 100, 100, 0.6);
  display: flex;
  justify-content: initial;
  align-items: initial;
  flex-flow: column nowrap;
  gap: 20px;
  padding: 0.8rem;
}
main #online-courses .course figure {
  margin: 0;
  height: 250px;
}
main #online-courses .course figure img {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
main #online-courses .course h3 {
  order: -1;
  font-size: 1.5rem;
}
main #about {
  display: flex;
  justify-content: initial;
  align-items: center;
  flex-flow: column nowrap;
  padding: 0 4vw;
  row-gap: 1rem;
}
main #about header {
  align-self: stretch;
  border-left: 4px solid #000;
  font-size: 1.5rem;
}
main #about figure {
  align-self: stretch;
  margin: 0;
}
main #about p {
  line-height: 1.375;
  font-size: 1.1rem;
}
main #subscribe {
  display: flex;
  justify-content: initial;
  align-items: center;
  flex-flow: column nowrap;
  padding: 0 4vw;
  row-gap: 3rem;
}
main #subscribe #contact h2 {
  font-size: 2.25rem;
  border-left: 4px solid #000;
}
main #subscribe #subscribe-form form {
  display: flex;
  justify-content: initial;
  align-items: stretch;
  flex-flow: column wrap;
  row-gap: 2rem;
}
main #subscribe #subscribe-form form input[type=text],
main #subscribe #subscribe-form form input[type=tel],
main #subscribe #subscribe-form form input[type=email] {
  height: 2.5rem;
  border-radius: 0.3rem;
  border: 0.5px solid #000;
}
main #subscribe #subscribe-form form :not(label[for=newsletterSubscription]) {
  display: flex;
  justify-content: initial;
  align-items: stretch;
  flex-flow: column nowrap;
  row-gap: 0.4rem;
}
main #subscribe #subscribe-form form label[for=newsletterSubscription] {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  column-gap: 1rem;
}

/*
Footer
*/
footer {
  display: flex;
  justify-content: initial;
  align-items: initial;
  flex-flow: column nowrap;
}
footer #socialMediaIcons {
  display: flex;
  justify-content: space-around;
  align-items: initial;
  flex-flow: row nowrap;
}
footer #socialMediaIcons .fa-brands {
  font-size: 4rem;
}
footer #socialMediaIcons .fa-facebook {
  color: #1877f2;
}
footer #socialMediaIcons .fa-instagram {
  color: #fc3442;
}
footer #socialMediaIcons .fa-twitter {
  color: #1d9bf0;
}
footer p {
  text-align: center;
}

@media all and (min-width: 870px) {
  #topHeader {
    flex-flow: column nowrap;
    align-items: stretch;
    row-gap: 2rem;
    height: auto;
  }
  #topHeader #site-logo {
    margin-top: 4px;
    align-items: center;
    flex: 2;
  }
  #topHeader nav {
    margin: 0;
    align-items: center;
  }
  #topHeader nav #hamburger-menu {
    display: none;
  }
  #topHeader nav #menu {
    display: flex;
    justify-content: space-evenly;
    align-items: initial;
    flex-flow: row nowrap;
    flex: 1;
  }
  #topHeader nav #menu li {
    flex: 1 max-content;
    text-align: center;
  }
  #topHeader nav #menu a:link, #topHeader nav #menu a:visited {
    color: #000;
    font-size: 1rem;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    border: none;
    transition: 0.5s all;
  }
  #topHeader nav #menu a:hover {
    color: hsl(37deg, 54%, 44%);
    text-decoration: underline;
  }
  #hero {
    align-items: center;
  }
  #hero h1 {
    border-left: none;
    text-align: center;
  }
  #hero #author-picture img {
    max-width: 400px;
  }
  #hero p {
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
  }
  main #online-courses {
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: initial;
    column-gap: 2%;
  }
  main #online-courses header {
    flex: 1 100%;
  }
  main #online-courses .course {
    max-width: 400px;
  }
  main #online-courses .course figure img {
    object-fit: cover;
    max-width: 400px;
    height: auto;
  }
  main #online-courses .course button {
    margin-top: auto;
  }
  main #about {
    align-items: center;
  }
  main #about #history {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  main #about #history figure {
    grid-column: 1/2;
  }
  main #about #history section {
    grid-column: 2/-1;
  }
  main #about #history section h3 {
    margin-top: 0;
  }
}

/*# sourceMappingURL=main.css.map */
