html,
body {
  height: 100%;
  background-position: bottom;
  margin: auto;
  color: white !important;
  font-family: Optima, serif !important;
  font-size: 1.1em;
}

span {
  width: 50px;
  height: 50px;
  margin: auto;
}

span:after,
span:before {
  content: "\00a0\00a0";
  text-decoration: line-through;
}

div {
  margin: auto;
  text-align: center;
}

div.gallery {
  border: 1px solid white;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

hr {
  border: 1px solid white; /* Ensure visibility against the background */
  width: 100%;
  margin: 20px 0;
}
/* Necessayr for the sizing of the box in the text field */
.card {
  height: 300px;
  overflow: hidden;
}
.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

* {
  box-sizing: border-box;
}
h2 {
  text-align: center;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* The URL page */
.container {
  display: flex;
}
.container div {
  flex: 1; /*grow*/
}

.button {
  /* background-color: skyblue; */
  border: none;
  color: #8c7a66;
  padding: 0px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}
.specbutton {
  text-decoration: none;
  color: whitesmoke;
}

.button a:hover {
  color: red;
  font-size: 20px;
}

/*Bottom part of the website*/

/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  border-radius: 10px;
}

/* Change the color of links on hover */
.navbar a:hover {
  background-color: darkred;
  border-radius: 10px;
  color: white;
}

/* Add a color to the active/current link */
.navbar a.active {
  background-color: whitesmoke;
  color: black;
}

.github {
  filter: invert(100%);
}

.infoName {
  font-size: 130%;
  text-align: center;
}

/* JS Stuff  */
.logo-appear {
  animation-name: logoFadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-appear {
  animation-name: navbarFadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes navbarFadeIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mid-appear {
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mid {
  text-align: center;
}

/* Special button */
/* Not being used right now */
.buttonnew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10rem;
  transition: all 0.02s;
  font-weight: bold;
  color: rgb(37, 37, 37);
  z-index: 0;
  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

.buttonnew:hover {
  background: rgb(193, 228, 248);
  color: rgb(33, 0, 85);
}

.buttonnew:active {
  transform: scale(0.97);
}

.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hoverEffect div {
  background: rgb(222, 0, 75);
  background: linear-gradient(
    90deg,
    rgba(222, 0, 75, 1) 0%,
    rgba(191, 70, 255, 1) 49%,
    rgba(0, 212, 255, 1) 100%
  );
  border-radius: 40rem;
  width: 10rem;
  height: 10rem;
  transition: 0.4s;
  filter: blur(20px);
  animation: effect infinite 3s linear;
  opacity: 0.5;
}

.buttonnew:hover .hoverEffect div {
  width: 8rem;
  height: 8rem;
}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
