body {
  font-family: Helvetica, Helvetica, sans-serif;
  color: #404040;
  display: flex;
  justify-content: end;
  background-color: rgb(255, 254, 255);
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 100px;
}

main {
  width: calc(100% - 300px);
}

header {
  width: 250px;
  /* top: 50px; */
  left: 10%;
  position: fixed;
  z-index: 1;
}

i {
  font-size: 32px;
  margin: 0 5px;

  &:hover {
    opacity: 50%;
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 400;
}

h1{
  margin-top: 0;
}

a {
  text-decoration: none;
  color: #5e73ff;

  &>svg {
    height: 28px;

    &:hover {
      opacity: 50%;
    }
  }

  &:hover {
    opacity: 50%;
  }
}

hr {
  border: 1px solid #eaeaea;
}

section{
  &>img{
    max-width: calc((100%) / 3.1);
    max-height: 200px;
  }
}

canvas { 
  display: block; 
}

/* CLASSES */
.h1face {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.face {
  border-radius: 100%;
  max-width: 200px;
}

.container {
  max-width: 680px;
  margin: auto;
  padding-right: 100px;
}

.icons{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.controls {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 8px;
}

.links{
  position: relative;
  display: flex;
  justify-content: center;
  border: 1px solid lightblue;
  border-radius: 10px;
  padding: 10px;
  /* margin-bottom: 1.5rem; */
  gap: 2px;

  &>b{
    position: absolute; 
    top: -1rem; 
    background: rgb(255, 254, 255)
  }

  a{
    /* display: flex;
    align-items: center;
    max-width: 2rem; */
      max-height: 2rem;

    &>img, &>i{
      max-width: 2rem;
      max-height: 2rem;
    }
  }
}

/* MEDIA */
@media (max-width: 1200px) {
  header {
    left: 5%;
  }
}

@media (max-width: 1060px) {
  body {
    flex-direction: column;
  }

  main {
    width: 100%;
  }

  .container {
    padding: 0;
  }

  header {
    position: relative;
    margin: 0 auto;
    left: 0;
    top: 0;
  }

  .h1face {
    flex-direction: row;
    gap: 15px;
    margin: 0 -40px;

    h1{
      font-size: 2rem;
    }

    .face {
      max-width: 100px;
      order: -1;
    }
  }

  .icons{
    margin: 0 -50px;
    justify-content: center;
  }

  .summary{
    display: none;
  }

section{
  &>img{
    max-width: 100%;
    max-height: none;
  }
}
}