@font-face {
  font-family: 'eurostileregular';
  src: url('fonts/eurosti-webfont.woff2') format('woff2'),
       url('fonts/eurosti-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'aesthetix-caligraphy';
  src: url('fonts/Aesthetix.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color:#ffffff;
}

a:hover {
  color: #1C86EE;
  transition: all 0.3s ease;
}

html, body {
  width: 100vw;
  min-height: 100vh;
  padding: 0;
  margin: 0 auto;
  overflow-x: hidden;
  background: #000000;
  font-family: 'eurostileregular', sans-serif;
  color: #F4F9E9;
}

  .container {
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: space-between;
  }
  .upper {
    width: 100vw;
    max-width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items:center;
  }
  .profile {
    width: 90vw;
    max-width: 500px;
    height: auto;
    text-align: center;
  }
  
  .avatar {
    width: 150px;
    height: 150px;
  }
  
  h1 {
    font-family: 'aesthetix-caligraphy', sans-serif;
    font-size: 40px;
    line-height: 14px;
    color: #8b8b8b;
  }

  h2 {
    font-family: 'eurostileregular', sans-serif;
    font-size: 21px;
    color: #ffffff;
  }
  
  .links {
    display: flex;
    flex-direction: column;
    color: #000000;
    text-decoration: none;
    width: 80%;
    padding-bottom: 2rem;
    gap: 1rem;
  }

  .latestlink {
    display: flex;
    flex-direction: column;
    color: #000000;
    text-decoration: none;
    width: 80%;
    padding-bottom: 1rem;
    padding-top: 2rem;
    gap: 1rem;
  }

  .latestlink a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #1C86EE;
    color: #000000;
    border: #000000 1px solid;
    border-radius: 10px;
    height: 3rem;
    text-align: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
  }
  
  .latestlink a:hover {
    background: #000000;
    border:#1C86EE 1px solid;
    color: #1C86EE;
    transition: all 0.3s ease;
  }

  .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    color: #000000;
    border: #000000 1px solid;
    border-radius: 10px;
    height: 3rem;
    text-align: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
  }
  
  .links a:hover {
    background: #000000;
    border:#ffffff 1px solid;
    color: #ffffff;
    transition: all 0.3s ease;
  }

  .sociallinks {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-decoration: none;
    height: 56px;
    width: 100%;
  }
  
  @media (min-width: 600px) {
    .container {
      max-width: 500px;
      margin: 0 auto;
      padding: 20px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .sociallinks a {
      opacity: .6;
      transition: all 0.3s ease;
    }
  
    .sociallinks a:hover {
      opacity: 1;
      transition: all 0.3s ease;
    }
  
    .sociallinks img:hover {
      margin-bottom: 4px;
      transition: all 0.3s ease;
    }

  }
  