/* HERO */
.hero{
  background: #2c85c8;
  background-image: url("../jpg/dsl-hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 3em 0;
  width: 100%;
  margin-top: 4.4em;
}

@media screen and (min-width:768px){
  .hero{
    margin-top: 2.4em;
  }
}

.hero h1, .hero h2{
  text-align: center;
  color: white;
}

.hero h1 {
  font-weight: 600;
  margin-bottom: 0;
  line-height: 2.4rem;
}

.hero h2{
  font-weight: 200;
  margin-top: 0;
}

@media screen and (min-width: 768px){
  .hero{
    padding: 4em 0;
  }
  .hero h1, .hero h2{
    text-align: left;
  }
}

@media screen and (min-width: 992px){
  .hero{
    padding: 6em 0;
  }
}

/* MAIN CONTENT */
#dsl-content{
  padding: 1.5em 0;
  background:#e4e4e4;
}

.article, .fact, .course{
  height: 400px;
  border-radius: 0.88em;
  margin-bottom: 2em;
  position: relative;
}

.fact, .course{
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-content-container, .course-content-container{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 0.88em;
  width: 75%;
  height: 75%;
}

.fact-content, .course-content{
  text-align:  center;
  padding: 0 1em;
}

.fact-content h4, .course-content h4{
  font-size: 1.2rem;
  line-height: 1.6rem;
}

@media screen and (min-width: 768px){
  .fact-content h4, .course-content h4{
    font-size: 1.3rem;
    line-height: 1.7rem;
  }
}

.article{
  background-size: cover;
  background-position: center;
}

.article-1{
  background-image: url("../jpg/article1.jpg");
}

.article-2{
  background-image: url("../jpg/article2.jpg");
}

.article-3{
  background-image: url("../jpg/article3.jpg");
}

.article-4{
  background-image: url("../jpg/article4.jpg");
}

.article-5{
  background-image: url("../jpg/article5.jpg");
}

.article-6{
  background-image: url("../jpg/article6.jpg");
}

.article-content{
  background: rgba(28,28,28,0.8);
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 1.3em 2em 2.3em;
  border-radius: 0 0 0.88em 0.88em;
  color: #ffffff;
}

@media screen and (max-width: 768px){
  .article-content h3{
    font-size: 1.3rem;
  }
}

.article-content-button{
  margin-top: 2em;
}

.fact{
  background-color: #3873B7;
}

.fact-content-hr{
  margin: 0 auto;
  width: 20%;
  border: 2px solid #3873B7;
}

.fact-content h4 {
    color: #3873B7;
}

.course{
  background-color: #EABA6B;
}

.course-content h4 {
    color: #D14900;
}

.course-content-subtitle{
    font-weight: 200;
}

.course-content-hr{
  margin: 0 auto;
  width: 20%;
  border: 2px solid #D14900;
}

/* BUTTONS */
.outline-btn{
  border: solid 1px #ffffff;
  color: #ffffff;
  padding: 0.6em 1.2em 0.8em 1.2em;
  border-radius:30px;

}
.outline-btn:hover{
  background-color: #ffffff;
  color: #444444;
  transition: 0.5s;
}

.btn-course-link{
  width: 55%;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.7em 1.2em 0.9em 1.2em;
}

.btn-view-all {
    max-width: 18.17em;
    padding: 0.7em 1.2em 0.9em 1.2em;
    margin-top: 0;
}
