html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 62.5%;
  /* 1rem = 10px */
}

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

body {
  font-family: "Roboto Slab", serif;
  font-size: 1.6rem;
  line-height: 2;
}

/* Globales */
.container {
  max-width: 128rem;
  width: 90%;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.2rem;
}

h4 {
  font-size: 2.8rem;
}

img {
  max-width: 100%;
}

/* Utilidades */
.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

.center-text {
  text-align: center;
}

/* Header */
.webp .header {
  background-image: url(../img/banner.webp);
}

.no-webp .header {
  background-image: url(../img/banner.jpg);
}

.header {
  height: 60rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.nav__link {
  display: block;
  text-align: center;
  font-size: 1.8rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-top: 3rem;
  }
}

.logo {
  color: #ffffff;
}

.logo__name {
  font-weight: 400;
  padding: 2rem;
}

@media (min-width: 768px) {
  .logo__name {
    padding: 0;
  }
}

.header__text {
  color: #ffffff;
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .header__text {
    margin-top: 15rem;
  }
}

/* Main Content */
@media (min-width: 768px) {
  .main-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 1fr;
        grid-template-columns: 2fr 1fr;
    -webkit-column-gap: 4rem;
            column-gap: 4rem;
  }
}

.entry {
  border-bottom: 0.2rem solid #343330;
  margin-bottom: 2rem;
}

.entry:last-of-type {
  border: none;
  margin: 0;
}

.button {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  color: #ffffff;
  text-align: center;
  padding: 1rem 3rem;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2rem;
  border: none;
}

@media (min-width: 768px) {
  .button {
    display: inline-block;
  }
}

.button:hover {
  cursor: pointer;
}

.button--primary {
  background-color: #45462a;
}

.button--secondary {
  background-color: #7e5920;
}

/* Index Courses */
.courses {
  list-style: none;
}

.courses .widget-course {
  border-bottom: 0.1rem solid #343330;
  margin-bottom: 2rem;
}

.courses .widget-course:last-of-type {
  border: none;
  margin: 0;
}

.courses .widget-course__label,
.courses .widget-course__info {
  font-size: 2rem;
}

.courses .widget-course__label {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}

.courses .widget-course__info {
  font-weight: 400;
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding-bottom: 2rem;
  background-color: #343330;
}

/* About us */
@media (min-width: 768px) {
  .about-us {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 2rem;
            column-gap: 2rem;
  }
}

/* Courses! */
.course {
  padding: 3rem 0;
  border-bottom: 1px solid #343330;
}

.course:last-of-type {
  border: none;
}

.course .course__label,
.course .course__info {
  font-size: 2rem;
}

.course .course__label {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
}

.course .course__info {
  font-weight: 400;
}

@media (min-width: 769px) {
  .course {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2fr;
        grid-template-columns: 1fr 2fr;
    -webkit-column-gap: 2rem;
            column-gap: 2rem;
  }
}

/* Contact */
.contact-bg {
  background-image: url(../img/contact.jpg);
  height: 40rem;
}

.error {
  background-color: #b90000;
  text-align: center;
  padding: 1rem;
  color: white;
  text-transform: uppercase;
}

.correct {
  background-color: #4ab900;
  text-align: center;
  padding: 1rem;
  color: white;
  text-transform: uppercase;
}

/* Formulary */
.form {
  background-color: #343330;
  margin: -5rem auto 0 auto;
  width: 95%;
  padding: 5rem;
  border-radius: 2rem;
}

.form .button {
  margin-left: auto;
  margin-bottom: 0;
  border-radius: 1rem;
}

.form .field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 2rem;
  gap: 2rem;
}

.form .field__label {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 9rem;
          flex: 0 0 9rem;
  font-family: "Josefin Sans", sans-serif;
  text-align: right;
  color: #ffffff;
}

.form .field__input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #343330;
}

.form .field__input--textarea {
  height: 20rem;
}
/*# sourceMappingURL=style.css.map */