@charset "utf-8";

@keyframes drift {
  0% {
      background-position: 0 0;
  }
  100% {
      background-position: 1200px 0px; 
  }
}

body {
  background-image: url(http://headstoneworldgalveston.com/media/bg.jpg); 
  background-repeat: repeat; 
  animation: drift 375s infinite alternate; 
}

h3.text-center {
  color: #dfeff8;  
}

h5.text-center {
  color: #dfeff8;  
}

.container-fluid .container .text-center {
    color: rgba(232,240,247,1.00);
}
html, body {
  background-color: #252525;
}
footer .row .col-xl-4 {
    text-align: right;
}

.container-fluid .container #carouselExampleIndicators1 {
    opacity: 1;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    background-image: url(http://headstoneworldgalveston.com/media/clear-1.png);
}

#carouselExampleIndicators1 .carousel-indicators .active {
    background-image: url(http://headstoneworldgalveston.com/media/clear-1.png);
}

footer .row .col-xl-3 {
    text-align: left;
    --color: #000000; 
    color: var(--color); 
    background-color: rgba(216,216,216,0.78);
}

.image-container {
  overflow: hidden;
  width: 100%;
  height: auto; 
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; 
  animation-name: zoom-in, fadeIn;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  padding: 10px 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.flags-container {
  display: flex;
  justify-content: space-between;
}

.flags-container img {
  display: inline-block;
  width: 100%;
  max-width: 550px;
  height: auto;
}

.card {
  overflow: hidden;
  transition: transform 0.3s;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link:hover .card {
  transform: scale(1.03);
}


.photo-section {
  height: auto;
  background-color: #f5f5f5;
  margin: 20px 15px;
}

.urn-section {
  height: 800px;
  background-color: #f5f5f5;
  margin: 20px 15px;
  border-radius: 15px
}







.card-custom {
  height: 530px;
  padding-top: 16px; 
  padding-bottom: 16px; 
}
.card-img-top {
  width: 100%;
  height: auto;
}

.card-title,
.card-text {
  text-decoration: none;
  color: black;
}

.card-title:hover,
.card-text:hover {
  text-decoration: none;
  color: black;
}
@media (max-width: 576px) { 
  .card .card-title {
    font-size: 1.3rem; 
  }

  .card .card-text {
    font-size: 1rem; 
  }
}

@media (max-width: 575.98px) {
  #carouselExample {
      display: none;
  }
}

  .flex-header {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(45deg, #b0e0e6, rgb(146, 187, 238), powderblue);
    background-size: 200% 200%;
    animation: gradientAnimation 5s infinite;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.prevent-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0; 
}

.prevent-wrap a {
    text-decoration: none; 
    color: inherit; 
}
.prevent-wrap a:hover {
    text-decoration: none; 
    font-weight: bold;    

}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f4f4f4;
    font-family: 'Roboto', sans-serif;
}

.flex-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.flex-header .navigation a {
    margin: 0 0.5rem; 
    padding: 0.5rem; 
    text-decoration: none;
    color: #333;
    white-space: nowrap; 
}

.flex-header .navigation a:hover {
    text-decoration: none; 
    font-weight: bold;  
}

.flex-header .contact {
    font-weight: bold;
}

.flex-header {
    height: 15px; 
}
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .navigation.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.navbar {
    background: linear-gradient(55deg, rgb(144, 194, 255), rgb(197, 212, 230), rgb(144, 194, 255));
    background-size: 200% 200%;
    animation: gradientAnimation 7s infinite;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 600; 
}

@keyframes gradientAnimation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}