html,
body {
  position: relative;
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

#videobg {
  background: url(video.jpg) no-repeat;
  background-size: cover;
  margin-top: 10px;
}

section .underline {
  width: 100px;
  height: 5px;
  background-color: #4e03e1;
  display: block;
  text-align: center;
  margin: 15px auto;
}

/* Photo Galery */

.container-flud {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Photo Galery */

#myCarousel {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .carousel-inner .carousel-item > div {
    display: none;
  }

  .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

@media (min-width: 768px) {
  .carousel-inner .carousel-item-right.active,
  .carousel-inner .carousel-item-next,
  .carousel-item-next:not(.carousel-item-start) {
    transform: translateX(25%) !important;
  }

  .carousel-inner .carousel-item-left.active,
  .carousel-item-prev:not(.carousel-item-end),
  .active.carousel-item-start,
  .carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-25%) !important;
  }

  .carousel-item-next.carousel-item-start,
  .active.carousel-item-end {
    transform: translateX(0) !important;
  }

  .carousel-inner .carousel-item-prev,
  .carousel-item-prev:not(.carousel-item-end) {
    transform: translateX(-25%) !important;
  }
}

/* Events */

.box {
  position: relative;
  overflow: hidden;
  font-family: "Lato", sans-serif;
  text-align: center;
}

.box:before {
  content: "";
  position: absolute;
  background: linear-gradient(to right, #8e2de2, #4a00e0);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.4s linear;
}

.box:hover:before {
  opacity: 0.8;
}

.box img {
  width: 100%;
  header: auto;
  transition: all 0.4s linear;
}

.box:hover img {
  opacity: 0.3;
  transform: scale(3);
}

.box .box-content {
  color: #fff;
  width: 100%;
  transform: translateY(-50%) scale(0);
  position: absolute;
  top: 50%;
  left: 0;
  transition: all 0.4s linear;
}

.box:hover .box-content {
  transform: translateY(-50%) scale(1);
}

.box .box-content .title {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.box .box-content .post {
  font-size: 16px;
  text-transform: capitalize;
}

.box .icon {
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  right: 8px;
  bottom: 10px;
}

.box .icon .btn {
  display: inline-block;
  margin: 0 1px;
  opacity: 0;
  transform: scale(1.3);
  transition: all 0.4s linear;
}

.box:hover .icon .btn {
  opacity: 1;
  transform: scale(1);
}

/* Results */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.column {
  float: left;
  width: 30%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
  padding: 0 16px;
}

.container::after,
.row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

.btn {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #0b05b0;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.btn:hover {
  background-color: #2c2978;
  color: white;
}

/* Offered Services */
#service {
  background: #f8f9fa;
}

#intro {
  background: #f8f9fa;
  margin-top: 50px;
}

.card-event {
  width: 100%;
  height: 321px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.card-event:hover {
  transform: translateY(-5px) scale(1.005) translatez(0);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11);
}

.card-event:hover .overlay {
  transform: scale(4) translatez(0);
}

.card-event .overlay a {
  text=decoration: none;
}

.card-event p {
  font-size: 16px;
  color: $4c5656;
  margin-top: 30px;
  z-index: 1000;
  transition: colot 0.3s ease-out;
}

/* Footer */

.footer {
  background: #edf2f7;
  padding: 5px 0px;
  font-family: "Play", sans-serif;
  text-align: center;
}

.footer .row {
  width: 100%;
  margin: 1% 0%;
  padding: 0% 0%;
  color: gray;
  font-size: 1em;
  display: inline-block;
}

.footer .row a {
  text-decoration: none;
  color: gray;
  transition: 0.5s;
}

.footer .row a:hover {
  color: #fff;
}

.footer .row ul {
  width: 100%;
}

.footer .row ul li {
  display: inline-block;
  margin: 0px 30px;
}

.footer .row a i {
  font-size: 2em;
  margin: 0% 1%;
}

@media (max-width: 720px) {
  .footer {
    text-align: left;
    padding: 5%;
  }
  .footer .row ul li {
    display: block;
    margin: 10px 0px;
    text-align: left;
  }
  .footer .row a i {
    margin: 0% 3%;
  }
}
