:root {
  --bg: #080808;
  --txt: #FEFEFE;

  --margin-S: 1rem;
  --margin-M: 2.5rem;
  --margin-L: 4rem;
  --margin-XL: 6rem;

  --box-size: 22rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: libre franklin, sans-serif;
  margin: auto;
}

p {
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

h1 {
  font-family: cormorant garamond, serif;
  font-weight: 600;
  font-size: 2.2rem;
}

h2 {
  font-family: cormorant garamond, serif;
  font-weight: 600;
  font-size: 1.6rem;
}

.container {
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 80%;
}

.background_image {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.wip_icon {
  position: fixed;
  z-index: 101;
  width: 140px;
  left: 0;
  top: 0;
}

.middle {
  align-self: center;
}

.header {
  background-color: hsl(242, 60%, 40%);
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.header_title {
  color: var(--txt);
  text-align: center;
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: montserrat, sans-serif;
  transition-duration: 180ms;
  display: inline-block;
}

.header_title.glitch_font {
  font-family: rubik glitch, serif;
}

.header_title:hover {
  transform: scale(1.1);
}

.color_black {
  color: var(--bg);
}

.introduction_section {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.introduction_box {
  color: var(--txt);
  padding: 2rem;
  margin: var(--margin-L) auto;
  display: flex;
  flex-direction: column;
}

.introduction_box.button_box {
  position: relative;
  overflow: hidden;
}

.introduction_box.top_left {
  width: var(--box-size);
  height: var(--box-size);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(./images/profilepic_bg.png);
}

.introduction_box.top_right {
  height: var(--box-size);
  width: 50%;
}

.intro_img {
  width: 85%;
}

.content_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content_left {
  display: flex;
  flex-direction: row;
}

.content_right {
  display: flex;
  flex-direction: row;
}

.button_paddings {
  padding: var(--margin-S) var(--margin-M);
  margin: var(--margin-S) 0;
  width: 10rem;
  font-weight: 600;
  text-align: center;
  user-select: none;
  border-radius: 0.4rem;
  text-decoration: none;
}

.cool_button {
  background-color: hsl(105, 90%, 49%);
  color: var(--txt);
  transition-duration: 0.3s;
  align-self: center;
}

.cool_button:hover {
  background-color: hsl(142, 100%, 77%);
  border-radius: 1rem;
  transform: scale(1.1);
}

.cool_button:active {
  animation: puff-out-ver 110ms ease-out both;
}

.cool_button_text {
  margin: 0;
  user-select: none;
}

@keyframes puff-out-ver {
  0% {
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
  }

  70% {
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hole {
  position: absolute;
  width: 4.2rem;
  height: 4.2rem;
  background-image: url("./images/bullethole.png");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 1s ease;
}

.pistol {
  position: absolute;
  width: 6rem;
  height: 6rem;
  background-image: url("images/pistol.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translate(20%, -5%);
  display: none;
  z-index: 99;
}

.super_button {
  background-color: hsl(242, 60%, 40%);
  color: var(--txt);
  transition-duration: 0.3s;
  align-self: center;
}

.super_button:hover {
  transform: scale(1.1);
  background-color: hsl(267, 71%, 58%);
}

.gif_button {
  text-decoration: none;
  font-family: montserrat, sans-serif;
}

.gif_selector {
  transition-duration: 0.2s;
  width: 4rem;
}

.gif_selector:hover {
  transform: scale(1.5);
}

.likedstuff_wrapper {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.my_work {
  width: 10rem;
}

.todo {
  text-align: center;
  margin-bottom: 2rem;
}

.todolist {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 780px) {
  .container {
    max-width: 690px;
  }
}