* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #e9e9e9;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: transparent;
  z-index: 11;
  transition: 500ms ease;
}

.navbar.scrolled {
  background-color: #27a1e2;
}

.active a {
  border-bottom: 2px solid white;
}

/* Carrosel */
.carousel {
  width: 100%;
  background: black;
}

.carousel-item img {
  opacity: 0.5;
  width: 100vw;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.carousel-caption h1 {
  font-size: 90px;
  font-weight: 400;
  color: white;
  text-align: center;
}

.carousel-caption h2 {
  color: white;
  font-weight: 600;
  font-size: 150%;
  text-align: center;
}

/* Main */
.row .btn {
  background-color: #2c91c9;
  color: white;
  outline: none;
  border: none;
  text-decoration: none;
}

.row .btn:hover {
  background-color: white;
  color: #2c91c9;
  border: 1px solid #2c91c9;
  transition: 0.5s;
}

#welcome .row h1 {
  color: #058f3d;
}

.fade-in {
  opacity: 0;
  transition: opacity 500ms ease-in;
}

.fade-in.appear {
  opacity: 1;
}

.from-left {
  transform: translateX(100%);
  transition: transform 500ms ease-in;
}

.from-right {
  transform: translateX(-100%);
  transition: transform 500ms ease-in;
}

.from-left.appear,
.from-right.appear {
  transform: translateX(0%);
}

main p {
  max-width: 87%;
}

main img {
  border-radius: 12px;
}

/* Footer */
footer {
  color: white;
  width: 100%;
}

footer p,
footer a {
  color: #a9a9a9;
}

footer a:hover,
.fab:hover {
  text-decoration: none;
  color: #2c91c9;
  transition: 0.3s;
}

/* Media Queries */
@media (min-width: 1134px) {
  .carousel-item img {
    height: 100vh;
    width: 100vw;
  }
}

@media (max-width: 1133px) {
  #welcome img {
    width: 950px;
  }

  footer img {
    width: 250px;
  }
}

@media (max-width: 1107px) {
  #welcome img {
    width: 930px;
  }

  footer img {
    width: 230px;
  }
}

@media (max-width: 1020px) {
  #welcome img {
    width: 800px;
  }

  footer img {
    width: 200px;
  }
}

@media (max-width: 1000px) {
  #welcome img {
    width: 600px;
  }

  footer img {
    width: 150px;
  }

  .carousel-caption h1 {
    font-size: 450%;
    font-weight: 400;
    color: white;
    text-align: center;
  }

  .carousel-caption h2 {
    color: white;
    font-weight: 600;
    font-size: 100%;
    text-align: center;
  }
}

@media (max-width: 800px) {
  #welcome img {
    width: 400px;
  }

  .carousel-caption h1 {
    font-size: 20px;
  }

  .carousel-caption h2 {
    font-size: 10px;
  }

  main p {
    max-width: 80%;
  }
}

@media (max-width: 430px) {
  #welcome img {
    width: 250px;
  }
}
