/* Base styles */
body {
  margin: 0;
  font-family: 'GaramondCondensed', serif;
  background-color: #fff;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


@font-face {
  font-family: 'Brun';
  src: url('fonts/Brown-Regular.woff2') format('woff2'), url('fonts/Brown-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'GaramondCondensed';
  src: url('fonts/ITCGaramondStd-BkCond.woff2') format('woff2'), url('ITCGaramondStd-BkCond.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

}

.container {
  text-align: center;
  padding-bottom: 64px; /* spacing above footer */
  padding-top: 32px;
}

.logo {
  max-width: 210px;
  width: 100%;
  margin: 0 auto 32px;
  display: block;
}

.video-wrapper {
  margin: 0 16px;
}

.video-wrapper video {
  width: 100%;
  max-width: 512px;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
}

.description {
  color: black;
  font-size: 24px;
  margin-top: 32px;
  padding: 0 20px;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #061EFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: 'Brun';
  letter-spacing: 0.05em;
  animation-name: backgroundColorPalette;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear; 
}

@keyframes backgroundColorPalette {
  0% {
    background: #061EFF;
  }
  25% {
    background: #a85385;
  }
  50% {
    background: #fff800;
  }
  75% {
    background: #ff9f2c;
  }
  100% {
    background: #061EFF;
  }
}



.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  padding: 16px 32px;
  box-sizing: border-box;
}


.footer {
  /* existing styles */
  justify-content: center; /* already present */
}

.footer-content {
  margin: 0 auto;
}


.footer-text {
  text-align: center;
}


a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mobile-break {
  display: none;
}

.footer-icon {
  width: 16px;
  height: 16px;
  margin: 0 auto;
  padding-top: 5px;
}

/* Desktop styles */
@media (min-width: 768px) {

  .footer {
    height: auto; /* Let height adjust to content */
    font-size: 12px;
    line-height: 18px;
  }

  .description {
    font-size: 28px;
    max-width: 640px;
    margin: 24px auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .footer-text {
    text-align: center;
  }

  .footer-icon-wrapper {
    margin-top: 2px;
  }

}




/* Mobile styles */












@media (max-width: 767px) {
  
  .footer-content {
      display: flex;
      flex-direction: row; /* make sure it’s horizontal */
      justify-content: space-between;
    }


  .footer {
    height: 64px;
    font-size: 11px;
    line-height: 17px;
  }

  .footer-text {
    text-align: left;
    width: 50%;
  }

  .footer-icon-wrapper {
    display: flex;
    align-items: center;
    width: 25%;
    justify-content: center;
  }



  .description {
    font-size: 19px;
    line-height: 25px;
    max-width: 400px;
    margin:24px auto 0 auto;
  }

  .mobile-break {
    display: inline;
  }

  .logo {
    width: 45%;
    margin: 0 auto 64px;
    display: block;
  }

  .video-wrapper video {
    max-width: 360px;
  }

}


