@font-face {
  font-family: cocogoose;
  src: url(fonts/cocogoose/Cocogoose\ Pro-trial.ttf);
}

@font-face {
  font-family: lato;
  src: url(fonts/Lato/Lato-Regular.ttf);
}

@font-face {
  font-family: latoBold;
  src: url(fonts/Lato/Lato-Bold.ttf);
}

@font-face {
  font-family: latoItalic;
  src: url(fonts/Lato/Lato-Italic.ttf);
}

@font-face {
  font-family: latoLight;
  src: url(fonts/Lato/Lato-Light.ttf);
}

body {
  margin: 0.0001px;
  padding: 0.0001px;
}

header {
  position: absolute;
}

.social-network {
  position: absolute;
  top: -200px;
  background-color: #272a31;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}

nav {
  padding-left: 20px;
  height: 70px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo {
  display: none;
}

strong {
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 35px;
}

.hamburger-menu {
  padding: 3px;
  border-radius: 3px;
  font-size: 30px;
  color: #272a31;
}

.hamburger-menu:hover {
  background-color: #ec5242;
  border: 3px;
  box-shadow: 0 4px 8px 0 rgb(236 82 66 / 60%), 0 6px 20px 0 rgb(236 82 66 / 19%);
}

nav ul {
  position: fixed;
  top: 0;
  left: -110%;
  width: 100vw;
  height: 100vh;
  background-color: #272a31;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  transition: 0.5s;
  z-index: 2;
}

nav ul li {
  color: white;
  font-family: lato, Arial, Helvetica, sans-serif;
  opacity: 0.6;
  transition: 1s;
  border-bottom: 3px solid #ec5242;
}

a {
  text-decoration: none;
  color: white;
}

nav ul li a {
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 30px;
}

a:hover,
nav ul li:hover {
  opacity: 1;
}

.closeButtonContainer {
  border-bottom: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 25px;
}

.visible {
  left: 0;
}

.logo a,
p {
  margin: 0;
  color: #ec5242;
  font-family: lato, Arial, Helvetica, sans-serif;
  font-size: 24px;
}

.home-page {
  background-image: url(assets/math.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  width: 100%;
  height: 667px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-text {
  background-color: #d3d3d39f;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

h1 {
  margin: 0;
  color: #ec5242;
  font-family: cocogoose, Arial, Helvetica, sans-serif;
  font-size: 50px;
  width: 98%;
  text-align: center;
}

h2 {
  margin: 0;
  color: #272a31;
  font-family: lato, Arial, Helvetica, sans-serif;
  font-size: 30px;
}

.home-text h1,
.home-text h2,
.home-text p {
  text-align: left;
  width: 90%;
  max-width: 500px;
}

.home-text p {
  color: #272a31;
  font-size: 20px;
  border: 2px solid #fff;
  padding: 5px;
}

.home-text p.light-text {
  font-family: latoLight, Arial, Helvetica, sans-serif;
  color: #ec5242;
  font-size: 40px;
  border: none;
  width: 90%;
}

.home-text h1 {
  font-size: 34px;
}

.home-text h2 {
  font-family: cocogoose, Arial, Helvetica, sans-serif;
  font-size: 28px;
}

.button {
  background-color: #ec5242;
  font-family: lato, Arial, Helvetica, sans-serif;
  padding: 20px 12px;
  border-radius: 10%;
  border: 1px solid white;
  transition: 0.7s;
  max-width: 150px;
  text-align: center;
}

.home-text .button {
  background-color: #ec534200;
  color: #272a31;
  font-size: 20px;
  border: none;
  width: 90%;
  max-width: 500px;
  padding: 0;
  text-align: left;
}

.button:hover {
  border: 3px solid #ec5242;
  background-color: #272a31;
  box-shadow: 0 4px 8px 0 rgb(236 82 66 / 60%), 0 6px 20px 0 rgb(236 82 66 / 19%);
}

.about {
  background-color: #272a31;
  background-image: url(assets/Roulette70.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.about h2 {
  max-width: 450px;
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 30px;
  text-align: center;
  width: 95%;
  color: #fff;
}

hr {
  width: 40px;
  border-color: #ec5242;
}

.contact-container p {
  text-align: center;
  color: #d3d3d3;
}

.contact-text p {
  font-size: 20px;
}

.home-text .email-about-html,
.about-html-logo p,
.about-html-soon p,
.about-html-logo p a {
  color: #272a31;
  font-family: lato, Arial, Helvetica, sans-serif;
  text-align: center;
  width: 80%;
  border: none;
  font-size: 15px;
}

.about-html-teachers p,
.about-html-SAT p {
  position: absolute;
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: #fff;
}

.about-html-SAT p {
  top: 62%;
}

.author div p {
  font-size: 10px;
  color: #272a31;
}

.about div {
  width: 90%;
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.about div ul li {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 25px;
  background-color: #d3d3d341;
  width: 100%;
  height: 70px;
  font-family: latoLight, Arial, Helvetica, sans-serif;
}

.about div ul li i {
  color: #d3d3d3;
  font-size: 22px;
}

.about div ul li h3 {
  font-family: latoBold, Arial, Helvetica, sans-serif;
  color: #ec5242;
}

.about div ul li p {
  color: #d3d3d3;
  font-size: 12px;
  max-width: 45%;
}

.courses-container {
  background-color: #fff;
  width: 100%;
  height: auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.courses-container h1,
.about-html-logo h1,
.about-html-soon h1 {
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 33px;
  color: #272a31;
}

.courses,
.math,
.physics,
.chemistry {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

.courses {
  max-width: 1000px;
}

.math,
.physics,
.chemistry {
  background: -webkit-linear-gradient(#fff, #d3d3d3);
  background: -moz-linear-gradient(#fff, #d3d3d3);
  background: linear-gradient(#fff, #d3d3d3);
}

.card {
  width: 80%;
  max-width: 350px;
  height: 100px;
  border-radius: 10px;
  background-image: url(assets/IMG_1041.JPG);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #272a31;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 60%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  transition: 0.5s;
}

.card:hover {
  border: none;
  height: 300px;
  box-shadow: none;
}

.background-card {
  width: 100%;
  height: 100%;
  background-color: #d3d3d3ab;
  border-radius: 10px;
  transition: 0.5s;
  position: relative;
}

.background-card:hover {
  background-color: #fff;
}

.contact-container h2 {
  font-family: cocogoose, Arial, Helvetica, sans-serif;
  color: #ec5242;
  text-align: center;
  width: 90%;
}

.card .background-card h2 {
  color: #272a31;
  font-family: latoBold, Arial, Helvetica, sans-serif;
  font-size: 20px;
  position: absolute;
  top: 5px;
  left: 10px;
  transition: 0.5s;
}

.card:hover > .background-card > h2 {
  left: 33%;
}

.card > .background-card > .display-while-hover {
  display: none;
}

.card:hover > .background-card > .display-while-hover {
  display: block;
  font-size: 15px;
  font-family: latoItalic, Arial, Helvetica, sans-serif;
  width: 90%;
  color: #ec5242;
  padding: 10px;
  text-align: left;
  position: absolute;
  left: 30%;
}

.card:hover > .background-card > p.display-while-hover {
  color: #272a31;
  font-family: lato, Arial, Helvetica, sans-serif;
  max-width: 240px;
  top: 60px;
}

.card:hover > .background-card > a.display-while-hover {
  top: 30px;
}

.card:hover > .background-card > a.display-while-hover:hover {
  font-size: 20px;
  font-family: latoBold, Arial, Helvetica, sans-serif;
  opacity: 1;
}

.card:hover > .background-card > img.display-while-hover {
  width: 100px;
  height: 100px;
  top: 0;
  left: 0;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
  order: 1;
}

.contact-container {
  background-color: #272a31;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(assets/IncessantBlabber-Stylized-atom.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.form-suggestion {
  padding: 10px 0;
  min-height: 700px;
  height: auto;
  gap: 20px;
}

.contact-text {
  width: 100%;
  height: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-form {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.all-courses {
  background-image: url(assets/toluene.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

input,
textarea {
  width: 90%;
  border: 0;
  border-bottom: 3px solid #ec5242;
  padding: 5%;
  margin-bottom: 20px;
  font-family: lato, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
  resize: vertical;
  max-height: 300px;
}

input::placeholder,
textarea::placeholder {
  color: #979493;
}

#button {
  color: #fff;
  width: 100%;
}

.author {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #fff;
  padding: 20px 0;
}

.home-page-about-html {
  height: 500px;
}

.author .logo,
.home-text .logo,
.about-html-logo .logo {
  display: block;
}

.home-text-about-html {
  gap: 40px;
}

.author div p a {
  display: none;
}

.home-text .logo a {
  font-size: 50px;
}

.home-text .logo a strong {
  font-size: 70px;
}

.author .logo a {
  color: #272a31;
}

.home-text p.about-htlm {
  background-color: #fff;
  text-align: center;
}

.about-html-logo,
.about-html-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 99.9%;
  height: 300px;
  gap: 10px;
  border: 1px solid #d3d3d3;
}

.about-html-soon {
  height: 700px;
}

.about-html-soon div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.about-html-logo div.logo-container {
  width: 80%;
  height: 40%;
  border: 1px solid #d3d3d3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-text a.email-about-html {
  text-decoration: underline;
}

.about-html-teachers,
.about-html-SAT {
  width: 90%;
  height: 250px;
  max-width: 400px;
  background-color: #ec5242;
  position: relative;
}

.about-html-SAT img {
  width: 100%;
}

@media (min-width: 768px) {
  header {
    position: static;
    background-color: #fff;
  }

  .social-network {
    position: static;
  }

  nav ul {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
    justify-content: space-evenly;
  }

  .social-network ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    width: 80%;
    justify-content: flex-end;
    align-items: center;
  }

  a {
    text-decoration: none;
    color: #272a31;
  }

  nav ul li a {
    font-family: lato, Arial, Helvetica, sans-serif;
    font-size: 15px;
  }

  nav ul li {
    display: block;
    transition: 0.5s;
    border-bottom: none;
    opacity: 1;
  }

  .about div ul li {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    height: 100%;
  }

  .about div ul li:hover {
    border: 2px solid #fff;
  }

  a:hover,
  nav ul#menu li:hover {
    opacity: 1;
    color: #ec5242;
  }

  .social-network ul li a {
    font-family: lato, Arial, Helvetica, sans-serif;
    color: #d3d3d3;
  }

  nav {
    justify-content: space-evenly;
  }

  .hamburger-menu,
  .closeButtonContainer,
  #closeButton {
    display: none;
  }

  .logo {
    display: block;
  }

  nav ul li a.sign-up {
    padding: 10px 20px;
    color: #ec5242;
    border: 5px solid #ec5242;
    background-color: #fff;
  }

  .home-text h1 {
    font-size: 71px;
    max-width: 700px;
  }

  .home-text p {
    max-width: 690px;
  }

  .home-text h2,
  .home-text .button {
    max-width: 700px;
  }

  .about {
    height: 500px;
  }

  .about h2 {
    padding: 0;
    width: 90%;
    max-width: 800px;
    text-align: center;
  }

  hr {
    width: 250px;
  }

  .about div {
    width: 70%;
    max-width: 800px;
    height: 40%;
  }

  .about div ul {
    flex-direction: row;
    gap: 3px;
    height: 100%;
  }

  .contact-text p {
    font-size: 30px;
  }

  .author div p {
    font-size: 12px;
    color: #d3d3d3;
  }

  .about div ul li p {
    max-width: 90%;
    text-align: center;
  }

  .courses,
  .math,
  .physics,
  .chemistry {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .show-more {
    display: none;
  }

  .contact-container {
    flex-direction: row;
    justify-content: center;
  }

  .contact-text {
    max-width: 40%;
    gap: 50px;
  }

  .contact-text h2 {
    font-size: 45px;
  }

  .contact-form {
    max-width: 40%;
  }

  form {
    width: 70%;
  }

  input,
  textarea {
    width: 100%;
    height: 30px;
  }

  .author {
    background-color: #272a31;
  }

  .author div p a {
    display: block;
    color: #d3d3d3;
  }

  .author .logo a {
    color: #d3d3d3;
  }

  .about-html-soon {
    height: 430px;
  }

  .about-html-soon div {
    flex-direction: row;
    width: 700px;
  }
}

@media (min-width: 800px) {
  nav ul {
    gap: 60px;
  }
}

@media (min-width: 1200px) {
  .home-text {
    position: relative;
  }

  .home-text p.light-text {
    position: absolute;
    top: 95px;
    left: 250px;
  }

  .home-text h1 {
    position: absolute;
    top: 173px;
    left: 250px;
  }

  .home-text p {
    position: absolute;
    top: 400px;
    left: 250px;
  }

  .home-text p.about-htlm {
    position: static;
  }

  .home-text p.email-about-html {
    position: static;
  }

  .home-text h2 {
    position: absolute;
    top: 480px;
    left: 250px;
  }

  .home-text .button {
    position: absolute;
    top: 540px;
    left: 250px;
  }
}
