body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.navbar {
  background: transparent !important;
  position: absolute;
  width: 100%;
  z-index: 1000;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: bold;
}

.hero {
  background: url("hero-bg.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: auto;
}

.experience-image {
  width: 50%;
}

.hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.hover-overlay {
  height: 100%;
  z-index: 90;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.hover-overlay,
.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hover img {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hover-overlay,
.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hover-1 .hover-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.hover-1-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.rounded {
  border-radius: 0.25rem !important;
}

.hover-1-description {
  -webkit-transform: translateY(0.5rem);
  transform: translateY(0.5rem);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 0;
}

.hover-overlay,
.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hover-content {
  position: relative;
  z-index: 99;
}

/* DEMO 1 ============================== */

.hover-1 img {
  width: 105%;
  position: absolute;
  top: 0;
  left: -5%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hover-1-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.hover-1-description {
  -webkit-transform: translateY(0.5rem);
  transform: translateY(0.5rem);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 0;
}

.hover-1:hover .hover-1-content {
  bottom: 2rem;
}

.hover-1:hover .hover-1-description {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.hover-1:hover img {
  left: 0;
}

.hover-1:hover .hover-overlay {
  opacity: 0;
}

/* DEMO 2 ============================== */

.hover-2 .hover-overlay {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.4)),
    to(rgba(0, 0, 0, 0.1))
  );
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.hover-2-title {
  position: absolute;
  top: 50%;
  left: 0;
  text-align: center;
  width: 100%;
  z-index: 99;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hover-2-description {
  width: 100%;
  position: absolute;
  bottom: 0;
  opacity: 0;
  left: 0;
  text-align: center;
  z-index: 99;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hover-2:hover .hover-2-title {
  -webkit-transform: translateY(-1.5rem);
  transform: translateY(-1.5rem);
}

.hover-2:hover .hover-2-description {
  bottom: 0.5rem;
  opacity: 1;
}

.hover-2:hover .hover-overlay {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.9)),
    to(rgba(0, 0, 0, 0.1))
  );
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
}

.hero-text {
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 2rem; /* mobile base */
}

.hero-text p {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 3rem; /* larger on tablets and desktops */
  }

  .hero-text p {
    font-size: 1.25rem;
  }
}
