/* layout */
body {
  background-image: url("img/vscode_blurred.png");
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
}

.bg-overlay {
  font-family: "Rubik", sans-serif;
  text-align: center;
  color: #6f6;
  background: rgba(0, 0, 0, 0.3);
}

main {
  overflow: hidden;
}

main h2 {
  padding-top: 1em;
  margin-top: 0.5em;
}

main p {
  text-align: left;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
}

section p,
h3 {
  color: white;
}

main img {
  width: 95%;
  height: auto;
  box-shadow: 10px 10px 20px #f71735;
}

.card {
  background-color: rgba(0, 0, 0, 0.6);
  height: fit-content;
}

img.profile-pic {
  width: 25%;
  height: auto;
  border-radius: 50%;
  box-shadow: 10px 10px 20px #f71735;
}

div.about {
  width: 60%;
  margin: 1.5rem auto;
  font-size: 1.25rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
}

h1 {
  font-family: "Press Start 2P", cursive;
  letter-spacing: -0.01em;
  transform: scale(2, 10);
  word-spacing: -1em;
  cursor: pointer;
  margin-top: 30%;
}

h1:hover {
  color: #afa;
  transition-timing-function: ease-in;
  transition: 0.25s;
}

#header-tagline {
  cursor: pointer;
  font-size: 2.5em;
  margin-top: 4em;
}

h2 {
  font-size: 3rem;
}

h3 {
  padding-top: 1em;
}

h2,
h3 {
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.container {
  width: 95%;
  margin: 0 auto;
  max-width: 2085px;
}

hr {
  border: 1px solid #08bdbd;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 90%;
}

article ul li {
  margin-bottom: 15px;
  padding-top: 15px;
}

ul.main-nav li {
  padding-top: 1rem;
  line-height: 2.5em;
  font-size: 1.25rem;
}

nav > ul {
  width: 95%;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #6f6;
}

/* pulse text effect */

@-webkit-keyframes pulseText {
  0% {
    text-shadow: 0px 0px 8px rgba(0, 255, 0, 0.7);
  }
  100% {
    text-shadow: 0px 0px 22px rgba(0, 255, 0, 1);
  }
}
@-moz-keyframes pulseText {
  0% {
    text-shadow: 0px 0px 8px rgba(0, 255, 0, 0.7);
  }
  100% {
    text-shadow: 0px 0px 22px rgba(0, 255, 0, 1);
  }
}
@-o-keyframes pulseText {
  0% {
    text-shadow: 0px 0px 8px rgba(0, 255, 0, 0.7);
  }
  100% {
    text-shadow: 0px 0px 22px rgba(0, 255, 0, 1);
  }
}
@keyframes pulseText {
  0% {
    text-shadow: 0px 0px 8px rgba(0, 255, 0, 0.7);
  }
  100% {
    text-shadow: 0px 0px 22px rgba(0, 255, 0, 1);
  }
}

.pulseText {
  -webkit-animation-name: pulseText;
  -moz-animation-name: pulseText;
  -o-animation-name: pulseText;
  animation-name: pulseText;
  -webkit-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  -o-animation-duration: 0.8s;
  animation-duration: 0.8s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -moz-animation-direction: alternate;
  -o-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  -o-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  border: 0px;
}

main,
nav {
  font-size: 1.2em;
}

a:hover {
  font-size: 2rem;
  color: rgb(226, 248, 226);
  transition-timing-function: ease-in;
  transition: 0.25s;
}

header {
  height: 100vh;
}

article {
  width: 600px;
  margin: 0.5rem;
  padding: 1.5rem;
}

article ul.flex-container {
  display: flex;
  justify-content: space-between;
}

article ul.flex-container.container {
  margin: 1em;
}
/* layout */

article ul li {
  border: none;
}

/* nav */

#nav li a {
  border-radius: 25%;
  background-color: rgba(0, 0, 0, 0.6);
}

ul.main-nav li {
  background-color: inherit;
  color: inherit;
  border: none;
}

div.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

nav.top {
  font-size: 1.5em;
}

li.logo-li {
  flex-grow: 3;
  text-align: left;
  margin: 0;
  padding: 0;
}

#logo {
  border-radius: 50%;
  box-shadow: #6f6 0px 0px 5px 5px;
}

nav {
  height: 2.5em;
  padding-top: 1em;
  margin-bottom: 2em;
}

.flex-container {
  display: flex;
}

nav li {
  color: #6f6;
  margin: 0 15px;
  background-color: inherit;
  font-size: 1rem;
}

.button {
  color: #6f6;
  font-weight: bold;
  background-color: #000;
  padding: 15px;
  border-radius: 25%;
  border: 3px solid #6f6;
}

.button:hover {
  padding: 16px;
  color: #000;
  text-decoration: none;
  background-color: #afa;
  box-shadow: 10px 10px 100px #f71735;
  transition-timing-function: ease-in;
  transition: 0.25s;
}

div.header-container {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

section#contact.container {
  width: 60%;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.25em;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: none;
  transform: translateX(0);
  transition: all 1s;
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}
