/* __________________________________________ HEADER */
header {
  background-color: #003107;
  background-image: url(/img/cursos/time.jpg);
  height: 100vh;
  background-position: top;
  background-size: cover;
}

header iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 60px;
}

/* __________________________________________ MAIN */
.ml {
  margin: 15px 0 20px 0;
  font-size: 2em;
}

.title {
  text-align: center;
}

i.fa-quote-left {
  position: relative;
  bottom: 5px;
}

i.fa-quote-right {
  position: relative;
  top: 5px;
}
/* __________________________________________ COURSE GOALS */
#course-goals-background {
  background-color: transparent;
}

.course-goals {
  border: 3px solid grey;
  max-width: 900px;
  margin: 30px auto;
  padding: 50px;
  background: url(../img/cursos/textura_papel.jpg);
  text-align: center;
  position: relative;
}

.course-goals:before,
.course-goals:after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 16px;
  left: 5px;
  width: 60%;
  height: 20%;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  max-width: 600px;
}

.course-goals:after{
  right: 5px;
  left: auto;
  transform: rotate(3deg);
 }

.course-goals-row {
  text-align: left;
}

.course-goals-column {
  margin: 10px 30px;
}

.course-goals-column p {
  margin: 20px;
}

.course-goals-column i{
  display: inline-block;
  margin-right: 10px;
}

.course-goals h3 {
  margin: 5px auto;
}


/* __________________________________________ SUBSCRIBE BTN */

.btn-subscribe-wrap{
  text-align: center;
  margin: 40px 0;
}

.btn-subscribe {
  display: inline-block;
  color: white;
  background-color: rgb(199, 94, 163);
  box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.253);
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  -webkit-transition: background-color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out;
  -o-transition: background-color 0.3s ease-out;
  transition: background-color 0.3s ease-out;
}

.btn-subscribe:hover {
  background-color: #45cac3;
}

/* __________________________________________ DOCENTES */
#docentes {
  max-width: 600px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.docente-card {
  text-align: center;
  margin-top: 20px;
  color: black;
}

.docente-card p:first-of-type {
  font-size: 1.5em;
}

.docente-img{
  display: inline-block;
  border: 8px solid white;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.219);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.docente-m {
  background-image: url('../img/cursos/mateo.png');
  margin-top: 40px;
}

.docente-s {
  background-image: url('../img/cursos/sandra.png');
  margin-top: 20px;
}


/* __________________________________________ TEMARIO */
#temario {
  max-width: 700px;
  margin: 0 auto;
  display: none;
}
#temario-button {
  display: inline;
  color: rgb(199, 94, 163);
  font-size: 1em;
  cursor: pointer;
}

#temario p{
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}


/* __________________________________________ QUOTES */

#cards {
  display: block;
  margin: 0 auto 20px auto;
  text-align: center;
}

.card {
  display: inline-flex;
  font-size: .9em;
  justify-content: space-around;
  background-color: #EAF2F7;
  align-items: center;
  padding: 10px;
  margin: 30px;
  box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.144);
  border-radius: 3px;
  width: 250px;
  height: 250px;
}

.card div {
  padding: 20px;
}

.card i,
.card p {
  display: inline;
}

/* __________________________________________ FAQ */
#faq {
  padding-bottom: 0;
}

#faq-show-all {
  display: block;
  text-align: center;
  color: rgb(199, 94, 163);
  font-size: .8em;
  cursor: pointer;
}

.faq-wrap {
  max-width: 50%;
  margin: 3px auto;
}

.faq-wrap:last-of-type {
  color: red !important;
}

.faq-question {
  background-color: #E6E7E8;
  padding: 10px 15px;
  cursor: pointer;
}

.faq-answer{
  display: none;
  padding: 10px;
}


.faq-question div{
  border: 2px solid var(--main-color);
  padding: 0px 5px;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 5px;
}

.faq-question h3, .faq-question div{
  display: inline;
  color: var(--main-color);
}


/* __________________________________________ CALESILLA */
.calesilla {
  margin: 100px auto 0 auto;
  width: 60%;
  padding-bottom: 50px;
}


.slick-dots li.slick-active button:before {
  font-size: 15px;
}

.slide-info {
  width: 40%;
  color: white;
  padding: 10px;
  display: block;
  position: absolute;
  background-color: black;
}

/* __________________________________________ MEDIA QUERIES */

@media screen and (max-width: 1200px) {
  header {
    background-position: left;
  }

  header iframe {
    top: 25%
  }

  #proximo {
    padding: 0;
    text-align: center;
    display: block;
  }

  #cards {
    width: 70%;
  }
}

@media screen and (max-width: 992px) {
  header {
    height: 50vh;
  }

  #zarcillo_header {
    display: none;
  }

  .text-wrap {
    padding: 20px 8px;
  }

  .calesilla {
    width: 100%;
  }

  #cards {
    width: 100%;
  }

  #redes {
    display: none;
  }

  .course-goals {
    margin: 10px;
    padding: 20px 0;
  }

  .course-goals-column {
    margin: 0 10px;
  }

  .faq-wrap {
    max-width: 100%;
  }

  .btn-subscribe-wrap{
    margin-top: 20px;
  }

}

@media screen and (max-width: 768px) {
  .calesilla {
    display: none;
  }

  ul{
    margin: 0 20px;
  }

  header iframe {
    width: 512px;
    height: 288px;
    margin-top: 0;
  }

}

@media screen and (max-width: 675px) {
  .slick-slide div {
    position: relative;
    top: 10%;
    font-size: 1.2em;
  }
}

@media screen and (min-width: 768px) {
  .course-goals-row {
    display: flex;
  }

  .course-goals h3 {
    max-width: 70%;
  }

  .faq-answer{
    padding: 10px 50px;
  }

}

@media screen and (min-width: 580px) {
  #docentes {
    display: flex;
    justify-content: space-evenly;
  }

  .docente-m {
    margin-top: 0;
  }
  
  .docente-s {
    margin-top: 0;
  }
}

@media screen and (max-width: 600px) {
  header {
    height: 300px;
    background: #F6F2F2;
  }

  header iframe {
    top: 196px;
    width: 370px;
    height: 220px;
  }

}
