:root {
    --colour: #3d0909;
    --bg-colour: #000;
}

body {
    background-color: var(--bg-colour);
    font-family: sans-serif;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
}

.pfp-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.name {
    margin-right: 2px;
    margin-top: 10px;
    font-size: 22px;
    color: var(--colour);
}

.desc {
    margin-top: 15px;
    font-size: 14px;
    color: var(--colour);
}

.icon-container {
    align-items: center;
}

.icon {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
}

.icon1 {
    margin-left: 5px;
    margin-right: 8px;
    transition: color 0.44s ease-in-out;
}

.icon2 {
    transition: color 0.44s ease-in-out;
}

.icon1:hover {
    color: #300808;
}

.icon2:hover {
    color: #300808;
}

a:link {
    color: var(--colour);
}

a:visited {
    color: var(--colour);
}

#overlay-toggle {
    position:absolute;
    display: none;
  }

  .overlay {
    z-index: 1;
    background-color: hsl(0, 0%, 0%);
  }

  .overlay label {
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vw;
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
  }

  .no-hover {
    display: block;
  }

  .hover {
    display: none;
  }

  .fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50.28%);
    min-height: 100vh;
    min-width: 100vw;
  }

  #overlay-toggle:checked ~ .overlay {
    animation-fill-mode: forwards;
    animation-name: fade, hide;
    animation-delay: 0s, 800ms;
    animation-duration: 1s, 0.5ms;
  }

  #overlay-toggle:checked ~ .overlay label {
    animation-fill-mode: forwards;
    animation-name: fade;
    animation-delay: 0s;
    animation-duration: 300ms;
  }

  @media(hover: hover) {
    .hover {
      display: block;
    }
    .no-hover {
      display: none;
    }
  }

  @keyframes fade{
    to {
      opacity: 0;
    }
  }
  
  @keyframes hide {
    to {
      visibility: hidden;
    }
  }