/* FOR REGISTRATION BUTTON CONTAINER STYLE */
#floating-footer {
  position: absolute;
  /* top: 50%; */
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 50%);
  z-index: 8;
  width: 70%;
  display: flex;
  background-color: white;
  border-radius: 1rem;
}

#floating-footer > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

#floating-footer > div > h1 {
  font-weight: 600;
  border-bottom: 2px dashed #4D5765;
  color: rgba(13, 94, 244, 255);
  text-align: center;
  margin-bottom: 0.5rem;
}

#floating-footer > div > h2 {
  color: rgba(15, 34, 57, 255);
  text-align: center;
  margin-bottom: 3rem;
}

#floating-footer-register {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#floating-footer-right-arrow {
  width: 15px;
  display: inline-block;
  margin-left: 10px;
}

#floating-footer-dots {
  width: 550px;
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: moveDots 5s infinite alternate;
  z-index: 1;
}

#floating-footer > div {
  text-align: center;
  z-index: 5;
}

#floating-footer-president-image {
  height: 350px;
  z-index: 5;
  position: relative;
  border-radius: 1rem 1rem 1rem 0px;
  margin-left: auto;
}

/* MEDIA QUERY FOR ANIMATION STYLE IN REGISTRATION CONTAINER*/
@keyframes moveDots {
  0% {
    left: 60%;
  }
  100% {
    left: 65%;
  }
}

@media screen and (max-width: 1100px) {
    #floating-footer {
        width: 95%;
    }
}

@media screen and (min-width: 1100px) {

    #floating-footer {
        width: 90%;
    }
}

@media screen and (min-width: 1500px) {
    #floating-footer {
        width: 70%;
    }
}

@media screen and (orientation: portrait) {
  #floating-footer {
    width: 95%;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.212);
    flex-direction: column;
  }

  #floating-footer > div {
    padding: 3rem 0;
  }

  #floating-footer-dots {
    display: none;
  }

  #floating-footer > div > h1 {
    font-size: 1.2rem;
  }

  #floating-footer > div > h2 {
    font-size: 1.2rem;
  }

  #floating-footer-president-image {
    width: 100%;
    object-fit: cover;
  }
}