* {

  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial;
  background-position: right bottom, center;
  background-repeat: no-repeat;
  padding: auto;
  font-size: 1rem;

}

main {
  width: 80%;
  height: 100%;
  padding: auto;
  margin-right: auto;
  margin-bottom: 30px;
  margin-top: 30px;
  margin-left: auto;
}

main p {

  margin-top: 60px;
  text-align: left;
}


h1 {
  margin-bottom: 20px;
  opacity: 0.5;
  height: 80px;
  border-radius: 50px;
  color: #616a74;
  line-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    pulse 3s ease infinite alternate,
    nudge 5s linear infinite alternate;

}

.bg-section {
  position: relative;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: auto;
  z-index: 1;
}

#video-background {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: -100;
  object-fit: cover;
}

.dropcap {
  float: left;
  width: 0.7em;
  font-size: 300%;
  font-family: algerian, courier;
  line-height: 100%;

}

.element {
  width: 80px;

  margin: 60px auto;
  display: block;

  animation:
    pulse 3s ease infinite alternate,
    nudge 5s linear infinite alternate;
  border-radius: 20%;
}


@keyframes pulse {

  0%,
  100% {
    background-color: red;
  }

  50% {
    background-color: white
  }
}

main div h1 img {
  opacity: 1.5;

}



.element1 {
  width: 80px;
  height: 80px;


  animation:
    pulse 3s ease infinite alternate,
    nudge 5s linear infinite alternate;
  border-radius: 20%;
}




@keyframes nudge {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-50px, 0);
  }

  66% {
    transform: translate(50px, 0);
  }
}

