 *{
      margin:0;
      padding:0;
      box-sizing:border-box;
  }
  body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  height: 100%;
}
.btn8{
  background-color: #00008b;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  /*cursor: pointer;*/
  transition: background-color 0.3s ease;
  border-radius:30px/30px;
}
/*.btn8:hover {*/
/*  background-color: #008000;*/
 /** transform: scale(1.1) rotate(5deg);**/
/*  transform: scale(1.2);*/
/*}*/
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /*background-color: rgba(0, 0, 255, 0.5);*/
  background-color:rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

.caption2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /*background-color: rgba(0, 0, 255, 0.5);*/
  background-color:rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .col-sm-4, .col-sm-8 {
    width: 100%;
  }
  #church-div {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
  }
}
@media (max-width: 480px) {
  /* styles for small screens */
}

@media (max-width: 768px) {
  /* styles for medium screens */
}

@media (min-width: 769px) {
  /* styles for large screens */
}

@media (max-width: 768px) {
  #church-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    margin-right: 0;
    width: 80%;
  }
}
@media (max-width:600px){
    
}
#myVideo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content {
  width: 100%;
  height: auto;
  padding: 20px;
}

#church-div {
  width: 80%;
  margin: 0 auto;
}

#services {
  padding: 20px;
}

#services .row {
  display: flex;
  justify-content: center;
}

#services .col-sm-4 {
  width: 33.33%;
  margin: 10px;
}

.rounded-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  #services .col-sm-4 {
    width: 100%;
  }
}


.glyphicon {
  margin: 10px;
}


#about .row {
  display: flex;
  flex-wrap: wrap;
}

#about .col-sm-8, #about .col-sm-4 {
  width: 100%;
}

@media (min-width: 768px) {
  #about .col-sm-8 {
    width: 66.67%;
  }
  #about .col-sm-4 {
    width: 33.33%;
  }
}

#about img {
  max-width: 100%;
  height: auto;
}

#about .image-container {
  margin: 10px 0;
}

#about .carousel-container {
  width: 100%;
}


@media (max-width: 768px) {
  .col-sm-8 > div {
    flex-direction: column;
  }
  .col-sm-8 .carousel-item {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .col-sm-8 > div {
    flex-direction: column;
    align-items: center;
  }
  .carousel-item {
    width: 90% !important;
    height: auto !important;
    margin: 10px 0 !important;
  }
  .btn8 {
    position: relative !important;
    top: 0 !important;
  }
}


@media (max-width: 768px) {
  .image-container img {
    width: 90% !important;
    height: auto;
  }
}

.image-container {
  margin: 30px auto;
}