* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  font-size: 16px;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background-color: #2c2c31;
}
::-webkit-scrollbar-thumb {
  background-color: #9e9ea0;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background-color: #121215;
  color: #eaeaea;
  font-family: "Roboto", sans-serif;

  display: grid;
  grid-template-areas: "profile timeline";
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 100vh;
}

nav {
  padding: 64px;
  padding-top: 70px;
  grid-area: timeline;

  overflow-y: scroll;
  animation: enter 1.5s ease-in-out;
}

nav a{
  padding-bottom: 20px;
  border-bottom: 1px solid #fdfcfc31;
}

.contato{
  margin-right: 5px;
  width: 150px;
  text-align: center;
  border: 1px solid #633bbc;
  text-decoration: none;
  color: #fff;
  padding:  5px 10px;
  border-radius: 15px;
}
.memory {
  display: flex;
  flex-direction: column;
  gap: 16px;

  text-decoration: none;
  margin-bottom: 64px;
}
.memory small {
  color: #bebebf;
  font-size: 0.75rem;
}
.memory h2 {
  font-size: 2rem;
  color: #eaeaea;
}
.memory img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 8px;
}
.memory p {
  font-size: 1.2rem;
  color: #bebebf;
  line-height: 28px;
}

aside {
  grid-area: profile;
  background-image: url(assets/background.svg);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto 100%;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  
  border-right: 1px solid;
  border-image: linear-gradient(#727275, #2c2c31) 1;
}
aside * {
  animation: enter 1.5s ease-in-out;
}

#logo {
  width: 10%;
}
#profile {
  width: 160px;
  height: 160px;
  border-radius: 50%;

  border: 4px solid transparent;
  background: linear-gradient(#d39e33, #ed5636, #633bbc) padding-box,
    linear-gradient(260deg, #d39e33, #ed5636, #633bbc) border-box;
}

aside p {
  font-size: 2rem;
  text-align: center;
}

aside span {
  font-size: 0.75rem;
  color: #9e9ea0;
}

.verde{
  color: #00BA67;
}

.letra_menor{
  font-size: .8em;
}
.corVerde{
  color: #00BA67;
}

.header{
  background-color: #1E182D;
  position: absolute;
  top: 1%;
  /* right: 10%;   */
  width: 55%;
  right: 5%;  
  border-radius: 20px;
}

.header ul{
  display: flex;
  justify-content: space-around;
  padding: 10px;
  width: 100%;
}

.header li{
  margin-right: 10px;
  list-style: none;
  cursor: pointer;
}
.active{
  /* text-decoration: underline; */
  color: #00BA67;
}
@media (max-width: 768px) {
  :root {
    font-size: 12px;
  }
  body {
    grid-template-columns: 1fr;
    grid-template-rows: 0.2fr 0.8fr;
    grid-template-areas: "profile" "timeline";
  }

  aside {
    border-right: none;
    padding: 52px 12px;
  }

  nav {
    overflow-y: visible;
    padding-top: 20px;
  }
  .memory img {
    object-fit: contain;
  }

  .header{
  background-color: #1E182D;
  position: absolute;
  top: 1%;
  /* right: 10%;   */
  width: 90%;
  right: 5%;  
  border-radius: 20px;
}
}
