html {
  font-family: poppins, sans-serif;
}

body {
  margin: 0;
  font-size: 62.5%;
  background-color: rgb(226, 255, 224);
}

p {
  margin: 0;
}

/* ************************************************************** */
/* Header section */
/* ************************************************************** */
.sec-header {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper {
  /* width: min-content;
    margin: auto; */
}

.crc-logo {
  height: 12rem;
}

.form-link {
  width: min-content;
  margin: 1.2rem 2.4rem;
  background-color: #42aa5f;
  border-radius: 0.4rem;
}

.register-link {
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 2.4rem;
  padding: 1.8rem 2.4rem;
  font-weight: 600;
}

/* ************************************************************** */
/* Course section */
/* ************************************************************** */
.sec-course {
  padding: 1.2rem 2.4rem;
}

.sec-title {
  font-family: poppins;
  font-size: 4.2rem;
  font-weight: 300;
}

.div-courses {
  margin: 0.6rem 1.2rem;
}

.course {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  right: 2.4rem;
  margin-bottom: 2.4rem;
  background: linear-gradient(to bottom left, #a5ff82, #b2ff73);
  padding: 0.8rem;
  border-radius: 0.6rem;
}

.course-img {
  width: 28rem;
  border-radius: 0.4rem;
}

.course-title {
  font-size: 2.4rem;
  font-weight: 600;
}

ul {
  font-size: 1.2rem;
}

.btn-register {
  display: inline-block;
  appearance: none;
  background-color: #2ea44f;
  font-family: poppins;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 4px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 6px 16px;
  text-decoration: none;
}

.btn-register:hover {
  background-color: #2c974b;
}

.btn-register:focus {
  box-shadow: rgba(46, 164, 79, 0.4) 0 0 0 3px;
  outline: none;
}

@media only screen and (max-width: 600px) {
  body {
    margin: 0;
  }

  .crc-logo {
    height: 6.4rem;
  }

  .sec-title {
    font-size: 2.4rem;
  }

  .form-link {
    margin: 1.2rem 0;
    border-radius: 0.3rem;
  }

  .register-link {
    font-size: 1.2rem;
  }

  .sec-course {
    padding: 0;
    margin: 1.2rem;
  }
  .div-courses {
    margin: 0;
  }
  .course {
    display: grid;
    border-radius: 0.4rem;
  }
  .course-img {
    width: 100%;
    border-radius: 0.4rem;
  }
  .course-title {
    font-size: 1.4rem;
    font-weight: 800;
  }

  li {
    font-size: 1.1rem;
  }
  .btn-register {
    margin-bottom: 0.4rem;
  }
}
