:root {
  --primary-color: #2c3e50;
  --secondary-color: #ecf0f1;
}


p {
    text-align: right;
  }

audio {
    display: block;
    margin: 0 auto;
    padding-top: 6px;
    padding-bottom: 16px;  
  }
  iframe {
    display: block;
    margin: 0 auto;
    padding-top: 16px; 
  }
body {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}


header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}


main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

section {
  width: 100%;
  margin-bottom: 50px;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

p {
  margin-top: 0;
  text-align: justify;
}


footer {
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  text-align: center;
  margin-top: auto;
}

footer p {
  margin: 0;
}


@media screen and (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  section {
    padding: 20px;
  }
  img {
    margin: 20px 0;
  }
}

.responsive-iframe-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
}

.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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