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

h3 {
  color: white;
}

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

span:after,
span:before {
  content: "\00a0\00a0";
  text-decoration: line-through;
}
hr {
  border: 1px solid white; /* Ensure visibility against the background */
  width: 100%;
  margin: 20px 0;
}
div {
  margin: auto;
  text-align: center;
}

strong,
em {
  color: whitesmoke;
}

p {
  margin: auto;
  font-family: Optima, serif;
  text-align: center;
  padding: 30px;
  color: white;
}

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

.button {
  background-color: white;
  border: none;
  color: #8c7a66;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

/* Projects Button */
/* Center content */
.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1px;
  flex-direction: column; /* Stack buttons vertically */
}

a.no-underline {
  padding: 5px;
  text-decoration: none;
  color: inherit;
}
/* Taken from https://uiverse.io/SteveBloX/chilly-chipmunk-88 */
.button1 {
  border-radius: 8px;
  height: 40px;
  border: none;
  background: white;
  color: #222;
  padding: 15px;
  box-shadow: 0 0.7065919983928324px 0.7065919983928324px -0.625px #00000026,
    0 1.8065619053231785px 1.8065619053231785px -1.25px #00000025,
    0 3.6217592146567767px 3.6217592146567767px -1.875px #00000023,
    0 6.8655999097303715px 6.8655999097303715px -2.5px #00000020,
    0 13.646761411524492px 13.646761411524492px -3.125px #0000001b,
    0 30px 30px -3.75px #0000000d;
  font-weight: bold;
  font-family: Montserrat;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: 150ms ease-in-out;
}

.button1:active {
  scale: 0.95;
  background: black;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.26) 0px 0.637473px 1.14745px -1.125px,
    rgba(0, 0, 0, 0.24) 0px 1.93094px 3.4757px -2.25px,
    rgba(0, 0, 0, 0.192) 0px 5.10423px 9.18761px -3.375px,
    rgba(0, 0, 0, 0.03) 0px 16px 28.8px -4.5px;
}

/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
  background-color: black;
  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;
}

/* 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);
  }
}

.work {
  padding: 30px;
}

.left-appear {
  animation-name: leftFadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

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

.school {
  padding: 30px;
  /* background-clip: border-box */
}
.right-appear {
  animation-name: rightFadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes rightFadeIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(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;
  }
}
.bottomright {
  display: flex;
  justify-content: flex-end; /* Aligns items to the right */
  align-items: flex-end; /* Aligns items to the bottom */
  padding-right: 40px; /* Same right padding as button's right property */
  padding-bottom: 40px; /* Same bottom padding as button's bottom property */
}

.upbutton {
  width: 60px;
  height: 60px;
  background-color: whitesmoke;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  transition: 0.5s;
}

.upbutton:hover {
  transform: scale(1.1);
}
.upbutton:focus {
  outline: none;
}
.arrow-up {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  margin-left: auto;
  margin-right: auto;
  margin-top: 35%;
  margin-bottom: 60%;
  border-bottom: 15px solid black;
}
