@import url(https://fonts.googleapis.com/css?family=Nunito);
.image-text-container {
  position: relative;
  width: 100%;
  height: 300px;
}
.image-text-container .image {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.5s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.image-text-container .bg-overlay {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
}
.image-text-container .bg-overlay .text {
  transition: 0.5s ease;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
.image-text-container .bg-overlay .text h3 {
  color: #ffffff;
}
.image-text-container .container-text {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.image-text-container .container-text .text {
  background-color: #04AA6D;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}
.image-text-container .container-text-bottom {
  transition: 0.5s ease;
  opacity: 1;
  position: absolute;
  width: 100%;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.image-text-container .container-text-bottom .text {
  background-color: rgba(0, 0, 0, 0.9);
  color: white !important;
  font-size: 16px;
  padding: 12px 32px;
}
.image-text-container .container-text-bottom .text h3 {
  color: #ffffff;
}
.image-text-container:hover .image {
  opacity: 0.3;
}
.image-text-container:hover .container-text {
  opacity: 1;
}
.image-text-container:hover .bg-overlay {
  opacity: 1;
}
.image-text-container:hover .container-text-bottom {
  opacity: 0;
}

#main-slider .carousel-inner {
  height: 650px !important;
}
#main-slider .carousel-inner .carousel-item img {
  height: 100% !important;
}

.theme-bg {
  background-color: #C0202E;
  color: #ffffff;
}

.text-right {
  right: 0;
  float: right;
}

.portfolio-img {
  width: 100%;
  height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}
