.home {
  background: url("../images/bitp.jpg");
  background-position: center;
  background-size: cover;
  height: 100vh;
}

.overlay {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(47, 100, 197, 0.9), rgba(47, 100, 197, 0) 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.overlay a {
  text-decoration: none;
  color: white;
}

.cta {
  margin-top: auto;
  color: white;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
  transition: all 0.5 ease-out;
}

.cta-en {
  margin-bottom: auto;
  transition: all 0.5 ease-out;
}

.explore {
  margin-top: 30px;
  margin-bottom: 50px;
  border: 2.5px solid white;
  padding: 10px;
  transition: all 0.3s ease-out;
  font-weight: 500;
}

.explore:hover {
  background-color: white;
  color: #707070;
}

.second-wrapper {
  padding-top: 70px;
  background: url("../../front/images/equations.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.dep-info {
  margin: 0 100px 70px 100px;
  padding: 50px;
  box-shadow: 5px 5px 10px #c8c8c8;
  background: rgba(255, 255, 255, 0.7);
}
.dep-info h2 {
  margin-bottom: 30px;
}

.home-news {
  padding: 30px 0 50px 0;
  background-color: rgba(250, 250, 250, 0.75);
}
.home-news h2 {
  text-align: center;
  margin-bottom: 30px;
}

.news-grid {
  display: grid;
  grid-template-columns: 25% 25% 25%;
  justify-content: space-evenly;
}

.news-photo {
  width: 100%;
  margin-bottom: 10px;
  border-bottom: 4px solid #2b64c5;
}

@media only screen and (max-width: 996px) {
  .second-wrapper {
    padding-top: 50px;
  }

  .dep-info {
    margin: 0 70px 50px 70px;
  }
}
@media only screen and (max-width: 768px) {
  .second-wrapper {
    padding-top: 0;
    background-attachment: scroll;
    background-size: 250%;
    background-position: center;
  }

  .dep-info {
    margin: 0;
    box-shadow: none;
  }

  .overlay {
    background: none;
    justify-content: center;
  }

  .cta {
    padding: 0 15px;
    text-align: center;
  }
  .cta h1, .cta h2 {
    display: inline;
  }

  .news-grid {
    grid-template-columns: 80%;
  }

  .home-news {
    padding-bottom: 0px;
  }

  .news-item {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 576px) {
  .cta h1 {
    font-size: 30px;
  }

  .dep-info {
    padding: 30px;
  }
  .dep-info h2 {
    text-align: center;
  }
}
@media only screen and (max-width: 374px) {
  .dep-info {
    padding: 30px 15px;
  }

  .explore {
    font-size: 14px;
  }
}

/*# sourceMappingURL=home.css.map */
