* {
  overflow-x: hidden;
}

body {
  font-family: Lato, sans-serif;
  margin: 0;
  overflow-x: none;
}

.main {
  margin-left: 4vw;
}

#nav {
  width: 100vw;
  background-color: #bb1212;
  font-weight: bold;
}

#nav ul {
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1em 0;
}

#nav ul li a {
  text-decoration: none;
  color: white;
  padding-right: 3em;
  position: relative;
  transition: all ease-in-out 250ms;
  overflow: hidden;
}

#nav ul li a:hover {
  color: rgb(236, 78, 189);
}

#nav ul li:first-child {
  margin-right: auto;
  margin-left: 3em;
}

.current {
  color: rgb(236, 78, 189);
}

@keyframes transitionIn {
  from {
    opacity: 0;
    transform: rotateX(-10deg);
  }

  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

.main {
  animation: transitionIn 0.75s;
  position: relative;
  min-height: 100vh;
}

footer {
  background-color: rgb(7, 6, 6);
  color: rgb(255, 255, 255);
  display: flex;
  position: absolute;
  width: 100%;
  z-index: 2;
}

footer:first-child {
  float: left;
}

footer ul {
  list-style: none;
  margin-left: 55em;
  display: flex;
  align-items: center;
}

footer ul li a {
  text-decoration: none;
  color: white;
  position: relative;
  transition: all ease-in-out 250ms;
  overflow: hidden;
  margin-left: 2em;
}

footer ul li a:hover {
  color: rgb(236, 78, 189);
}

@keyframes transitionRight {
  from {
    opacity: 0;
    right: -10px;
  }

  to {
    opacity: 1;
    right: 20px;
  }
}

#back-to-top-btn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 26px;
  width: 50px;
  height: 50px;
  background-color: #000000;
  color: #333;
  outline: none;
  border: 3px solid #333;
  border-radius: 50%;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-property: background-color, color;
  z-index: 1;
  animation: transitionRight 0.75s;
}

#back-to-top-btn:hover {
  color: #fff;
  cursor: pointer;
}

#back-to-top-btn:focus .fa fa-angle-double-up {
  object-fit: contain;
}

.fa fa-angle-double-up {
  object-fit: contain;
}

@media screen and (max-width: 992px) {
  footer {
    opacity: 0;
  }
}

.btn {
  border-radius: 4px;
  background-color: #f4511e;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 8em;
  transition: all 0.5s;
  cursor: pointer;
  float: right;
  margin-right: 20vw;
}

.btn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.btn span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.btn:hover span {
  padding-right: 25px;
}

.btn:hover span:after {
  opacity: 1;
  right: 0;
}

.btn span a {
  text-decoration: none;
  color: white;
}
