* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-size: 16px; */
  font-family: Arial, Helvetica, sans-serif;
}

header {
  background-color: #35424a;
  border-bottom: 3px solid #d12121;;
}
.header-container {
  color: white;
  display: flex;
  flex-wrap: wrap;
  height: 6rem;
  justify-content: space-between;
  align-items: center;
  margin: 0 10vw;
}

span {
  color: #d12121;
}

ul li {
  color: white;
  display: inline;
  list-style-type: none;
  padding: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

a {
  color: white;
  text-decoration: none;
}
/* #home {
  color: #a9508b;
  font-weight: bold;
} */
#home:hover,
#services:hover,
#about:hover {
  font-weight: bold;
  cursor: pointer;
  color: #cccccc;
}

h1,
h1 span {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.8rem;
}

#home:hover {
  font-weight: bold;
  cursor: pointer;
  color: #cccccc;
}

main {
  background-image: url(../images/showcase.jpg);
  background-repeat: no-repeat;
  height: 63vh;
  color: white;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 5.05rem;
}

main p {
  font-size: 1.25rem;
  line-height: 1.8rem;
  font-weight: 400;
  margin: 4vh 10vw 0;
}

.section-subscribe {
  color: white;
  display: flex;
  flex-wrap: wrap;
  height: 6rem;
  justify-content: space-between;
  padding: 0 11vw;
  align-items: center;
  background-color: #35424a;
  flex-wrap: wrap;
  /* margin-bottom: 50px; */
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2rem;
}

#placeholder {
  font-size: 0.8rem;
  /* padding: 0.4rem 0;   */
  width: 260px;
  height: 40px;
}

button {
  background-color: #d12121;
  color: white;
  padding: 0.5rem;
  font-size: 0.8rem;
  border: none;
  width: 100px;
  height: 40px;
}

.section-course {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-area: "html css graphic";
  /* margin: 1.5rem 8rem; */
  background-color: #f4f4f4;
  padding: 1.5rem 8rem;
}

.html, .css, .design {
  grid-area: "html";
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* margin: 50px 15px; */
}

.css {
  grid-area: "css";
}

.design {
  grid-area: "graphic";
}

h4 {
  margin: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6rem;
}

.section-course p {
  font-size: 0.9rem;
  line-height: 1.5rem;
  font-weight: 400;
  padding: 0 2rem;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 3px solid #a9508b;
  height: 8rem;
  background-color: rgb(255, 250, 240);
}

footer p {
  font-size: 0.9rem;
  line-height: 1.4rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .header-container {
    height: 11rem;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0 0;
    /* margin: 0 7vw; */
  }

  .header-right, .header-left {
    margin: 0 3vw;
  }

  .section-subscribe {
    height: 11rem;
  }

  main {
    height: 58vh;
  }

  main p {
    margin: 2.5vh 10vw 0;
  }

  .section-course {
    padding: 1.5rem 0rem;
  }

  .section-course p {
    padding: 0 0.5rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 350px) {
  .header-container {
    font-size: 15px;
  }
  h1,
  h1 span {
    font-size: 1.6rem;
  }
  main {
    height: 50vh;
  }
  h2 {
    font-size: 2.8rem;
    line-height: 3rem;
  }
  main p {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
  h2 {
    font-size: 1rem;
  }
}
