/* importing all the fonts needed */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=Bitter&family=Libre+Baskerville&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Libre Baskerville', serif;
  line-height: 1.7;
  /* establishing the colors in the gradient */
  background: linear-gradient(217deg, rgba(255,0,0,.8), rgba(255,0,0,0) 70.71%), linear-gradient(127deg, rgba(0,255,0,.8), rgba(0,255,0,0) 70.71%), linear-gradient(336deg, rgba(0,0,255,.8), rgba(0,0,255,0) 70.71%);
  background-size: 250% 250%;
  /* gradient animation speed adjustment */
  animation: gradient-animation 10s ease infinite;
  color: #f0f0f0;
}

/* gradient animation transitioning */
@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img {
  border-radius: 10%;
  border: 5px solid #333333;
}

header {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  text-align: center;
  font-size: 2.5em;
  font-family: 'Baloo 2', cursive;
  /* establishing borders */
  border-bottom: 3px solid rgba(255, 255, 255, 0.4);
  border-top: 3px solid rgba(255, 255, 255, 0.4)
}

header a {
  color: #f0f0f0;
  text-decoration: none;
  /* text shadow */
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
}

nav {
  /* text centering */
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  /* establishing border */
  border-bottom: 3px solid rgba(255, 255, 255, 0.4);
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 20px;
  font-size: 1.3em;
  font-family: 'Bitter', serif;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  /* lifting text when hovered over */
  transform: translateY(-2px);
}

.container {
  padding: 50px 30px;
  text-align: center;
  margin: 20px auto;
  max-width: 750px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
      margin: 20px auto;
      max-width: 800px;
    }

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