/* Mobile version */
@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
@import url("https://fonts.cdnfonts.com/css/cocogoose");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: lato, sans-serif;
  color: #595c61;
}

/* Navigation Bar Design */
nav {
  display: none;
}

.open-menu {
  height: 100vh;
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 100px;
  background-color: #313131;
}

.open-menu a {
  color: #fff;
  text-decoration: none;
}

.topmost-bar {
  width: 100%;
  margin-bottom: 80px;
}

.topmost-bar i {
  color: #fff;
}

#exit-button {
  display: block;
  position: relative;
  top: -90%;
  left: 85%;
  color: #ec5242;
}

#exit-button:hover {
  cursor: pointer;
}

.topmost-bar ul {
  width: 100%;
  display: -webkit-box;
  display: flex;
  justify-content: space-evenly;
}

.topmost-bar ul li {
  list-style: none;
  margin-bottom: 20px;
}

.logo a {
  color: #ec5242;
  text-decoration: none;
}

.topmost-bar ul li a {
  color: #fff;
  text-decoration: none;
}

.top-navbar {
  width: 80%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.logo {
  display: -webkit-box;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.logo span {
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  margin-left: 5px;
}

.top-navbar ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.top-navbar ul li {
  list-style: none;
}

.top-navbar #campaign {
  font-size: 1rem;
  border: 2px solid gray;
  padding: 15px 25px;
  margin-top: 29px;
}

/* Header design */
#menu {
  margin-top: 30px;
  margin-left: 15px;
}

#home {
  display: none;
}

header .menu {
  color: #595c61;
  cursor: pointer;
}

header #welcome {
  text-align: center;
  color: #ec5242;
  font-family: lato, sans-serif;
  margin: 35px 0 5px 0;
  font-size: 1.2rem;
}

header h1 {
  text-align: center;
  color: #ec5242;
  font-family: cocogoose, sans-serif;
}

header h1 .h1-span {
  text-align: center;
  color: #ec5242;
}

header #main-p {
  text-align: center;
  border: 2px solid #f3f0f0;
  background-color: #fff;
  font-size: 0.8rem;
  font-family: lato, sans-serif;
  font-weight: 500;
  padding: 10px;
  line-height: 1.5;
  margin-top: 20px;
}

header #contact {
  text-align: center;
  margin: 20px 0 10px 0;
  padding: 0 20px;
  font-size: 0.8rem;
}

#email {
  text-align: center;
  font-size: 0.8rem;
  text-decoration: underline;
  font-weight: 800;
  padding-left: 150px;
}

#email:hover {
  cursor: pointer;
}

/* Main */
main #logo-section {
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 2px solid #eeeded;
}

main #logo-section h2 {
  text-align: center;
  width: 80%;
  font-size: 1.2rem;
}

main #logo-section .red-line {
  width: 50px;
  height: 2px;
  background-color: #ec5242;
  opacity: 0.6;
  margin: 15px 0 30px 0;
}

main #logo-section p {
  font-size: 0.8rem;
  width: 80%;
  text-align: center;
}

main #logo-section .logo-container {
  border: 2px solid #eeeded;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 3px;
  margin-top: 30px;
  padding: 20px 40px;
  width: 100%;
}

main #logo-section .logo-container span {
  color: #ec5242;
}

main #logo-section .logo-container div {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

main #logo-section .logo-container div span {
  color: black;
  font-family: cocogoose, sans-serif;
}

main #students {
  padding: 40px 30px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

main #students h2 {
  text-align: center;
  font-size: 1.2rem;
}

main #students .red-line {
  width: 50px;
  height: 2px;
  background-color: #ec5242;
  opacity: 0.6;
  margin: 15px 0 30px 0;
}

main #students p {
  text-align: center;
  font-size: 0.8rem;
  width: 80%;
}

main #students .containers {
  width: 100%;
  height: 200px;
  margin-top: 20px;
}

main #students .containers .red-div {
  background-color: rgba(187, 32, 32, 0.7);
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0 6px;
}

main #students .containers .red-div h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: cocogoose, sans-serif;
}

main #students .containers .red-div span {
  color: rgba(253, 251, 251, 0.8);
}

main #students #container-1 {
  background-image: url(../images/naassom-azevedo-Q_Sei-TqSlc-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

main #students #container-2 {
  background-image: url(../images/brooke-cagle-g1Kr4Ozfoac-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

main section#partners {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #434344;
  padding: 30px 10px;
}

main section#partners h2 {
  color: #fff;
}

main section#partners .red-line {
  width: 50px;
  height: 2px;
  background-color: #ec5242;
  opacity: 0.6;
  margin: 15px 0 30px 0;
}

main section#partners #partners-container {
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}

main section#partners #partners-container span {
  color: #979494;
  font-size: 1.2rem;
}

main section#partners #partners-container span i {
  margin-right: 5px;
}

/* Footer */
footer {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 25px 30px;
}

footer .logo {
  display: -webkit-box;
  display: flex;
  color: black;
}

footer .logo div#logo-name {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 0.8rem;
  font-family: cocogoose, sans-serif;
  margin-left: 3px;
}

#footer-p {
  font-size: 0.6rem;
  width: 35%;
  line-height: 1.5;
}

@media (max-width: 380px) {
  header h1 {
    font-size: 1.8rem;
  }

  header #next-class {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e9e7e7;
    background-color: #faf7f7;
    box-shadow: 0 0 8px 3px #c4c1c1;
    position: relative;
    z-index: 1;
  }

  nav a {
    text-decoration: none;
    color: #595c61;
  }

  nav a:hover {
    color: #ec5242;
  }

  .topmost-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: #313131;
    padding: 10px 0;
  }

  .topmost-bar ul {
    width: 80%;
    min-width: 768px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    text-align: center;
  }

  #exit-button {
    display: none;
  }

  .topmost-bar ul li {
    list-style-type: none;
  }

  .topmost-bar ul li a {
    text-decoration: none;
    color: #fff;
    text-align: center;
  }

  .top-navbar .logo span a {
    color: #ec5242;
    text-decoration: none;
  }

  .top-navbar .logo div a {
    display: flex;
    flex-direction: column;
    color: black;
    text-decoration: none;
    font-family: cocogoose, sans-serif;
    margin-left: 3px;
  }

  .topmost-bar ul li a:hover {
    color: #ec5242;
  }

  .top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    min-width: 768px;
    padding: 15px 0;
    height: 30px;
  }

  footer .logo {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
  }

  .top-navbar .logo {
    display: flex;
    margin-top: -60px;
  }

  .top-navbar ul {
    display: flex;
    width: 55%;
    justify-content: flex-end;
    gap: 10%;
    margin-top: -40px;
  }

  .top-navbar ul li {
    list-style-type: none;
  }

  #campaign {
    border: 5px solid #ec5242;
    padding: 10px;
  }

  .top-navbar #campaign {
    font-size: 1rem;
    border: 2px solid gray;
    padding: 15px 25px;
    margin-top: -3.5rem;
    color: #ec5242;
  }

  .top-navbar #campaign span i {
    margin-right: 5px;
  }

  .top-navbar #campaign:hover {
    cursor: pointer;
    -webkit-box-shadow: 0 0 15px 3px #ec5242;
    box-shadow: 0 0 15px 3px #ec5242;
  }

  header #menu {
    display: none;
  }

  header {
    height: 100vh;
    background-position: center 25%;
    padding: 100px 0;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  header #home {
    display: block;
    position: relative;
    top: -5%;
    left: 35%;
  }

  header #home a#home-link {
    text-decoration: none;
    color: #595c61;
  }

  header #home a i.fa-home {
    margin-right: 5px;
  }

  header #welcome-words {
    display: none;
  }

  header h1 {
    font-size: 3.5rem;
    width: 50%;
    min-width: 700px;
  }

  header .red-line {
    width: 50px;
    height: 2px;
    background-color: #ec5242;
    opacity: 0.6;
    margin: 15px 0 30px 0;
  }

  header #main-p {
    width: 55%;
    font-size: 1rem;
    padding: 20px 30px;
    line-height: 2;
  }

  header #contact {
    font-size: 1rem;
    padding: 30px 0;
  }

  header #email {
    font-size: 1rem;
    letter-spacing: 1px;
    padding-top: 15px;
  }

  main #logo-section {
    padding: 60px 0 100px 0;
  }

  main #logo-section h2 {
    font-size: 1.5rem;
  }

  main #logo-section p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  main #logo-section .logo-container {
    width: 30%;
    min-width: 500px;
    padding: 50px 30px;
  }

  main #students {
    padding: 50px 0 200px 0;
  }

  main #students h2 {
    font-size: 1.5rem;
  }

  main #students p {
    margin-bottom: 50px;
    font-size: 1rem;
  }

  main #students #red-container {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  main #students #red-container .containers {
    width: 30%;
    min-width: 350px;
    height: 300px;
  }

  main #students #red-container .containers span {
    color: #fff;
    font-weight: 600;
  }

  main section#partners {
    display: none;
  }

  footer {
    background-color: #313131;
    padding: 80px 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  footer .logo #logo-span {
    color: #fff;
    font-size: 1.5rem;
  }

  footer .logo #logo-name {
    color: #fff;
    font-size: 1.5rem;
  }

  footer #footer-p {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 50px;
  }
}
