* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
}

nav div ul.navbar-nav li a.nav-link{
  color:#151515;
}

.img-container {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #FCFCFC;
  background: rgba(0, 0, 0, 0.3); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content {
  margin-top: 11.94vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 3.7vw;
}

.text-content {
  white-space: pre-line;
}

@media screen and (max-width: 992px) {
  .content {
    flex-direction: column-reverse;
    margin-top: 5vh;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 3.7vw;
    font-size: 1rem;
  }
  .content img {
    width: 50vw;
    height: 50vw;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .content {
    flex-direction: column-reverse;
    margin-top: 5vh;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 3.7vw;
    font-size: 1.5rem;
  }
  .content img {
    width: 50vw;
    height: 50vw;
  }
}