html {
    height: 100%;
    background-color: #16191b;
}

body {
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

body.loaded {
    opacity: 1;
}

body {
    min-height: 100dvh;
    margin: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
    background-color: #16191b;
    color: #e1e5e7;
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
    font-style: normal;
    display: flex;
    flex-direction: column;
}

#container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
    font-size: 21px;
    font-weight: 400;
    margin: 0 0 15px 0;
    outline: 0;
    max-width: 80%;
    width: 100%;
}

p, a {
    font-size: 14px;
    max-width: 80%;
}

a {
    opacity: .6;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    transition: none;
}

a:hover {
    opacity: .9;
}

span {
    margin-top: 50px;
}

/* span a:nth-child(2) {
  margin: 0 60px;
}

span a:nth-child(3) {
  margin-right: 60px;
} */

.links {
  display: flex;
  gap: 7rem;
}

span a {
    font-size: 13px;
    animation-timing-function: ease-in-out;
    animation: .25s;
    transition: .25s;
}

#signature {
    width: 140px;
    margin-top: 70px;
}

#contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.left-links a {
    font-size: 11px !important;
}

.right-links {
    display: flex;
    gap: 1.5rem;
}

.right-links a {
    font-size: 11px !important;
}

#contact-info a {
    font-size: 11px !important;
    text-decoration: none;
    color: inherit;
    font-family: inherit;
    margin: 0;
}

#work-info {
    opacity: 1;
    position: relative;
}

#work-info::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

#work-info:hover::after {
  width: 100%;
}

#greeting {
  transition: opacity 1s ease-in-out;
  opacity: 1;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.fade-out {
  opacity: 0;
}

@media (min-width:800px) {
    h1, p {
        max-width: 40%;
    }
}

@media (min-width:1200px) {
    h1, p {
        max-width: 24%;
    }
}

@media (max-width: 600px) {
  .linkedin-link, 
  .github-link {
    display: none;
  }

  #contact-info {
    justify-content: center;
  }

  .links {
    gap: 2rem;
  }
}
