body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui,
    helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial,
    sans-serif;
  background-image: linear-gradient(to bottom, #151a46, #0d0221);
  background-repeat: no-repeat;
}

* {
  box-sizing: border-box;
}

:root {
  --yellow: #f9c80e;
  --magenta: #f908ce;
  --cyan: #2de2e6;
  --white: white;
  --grey: rgba(255, 255, 255, 0.8);
  --dark-grey: #343a40;
  --darker-grey: #101113;
}

.h1 {
  color: var(--yellow);
  text-align: center;
}

.h2 {
  color: var(--magenta);
  text-align: center;
}

.link {
  color: var(--yellow);
}

.page-container {
  position: relative;
}

.content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.avatar {
  display: block;
  border-radius: 50%;
  margin: 0 auto;
}

.description {
  max-width: 500px;
  color: var(--white);
  text-align: center;
  margin: 16px auto;
}

.main-section {
  margin: 60px 0;
}

.company-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.company-list li {
  color: white;
  font-weight: bold;
}

.company-logo {
  height: 30px;
}

.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 800px;
  gap: 20px;
}

@media screen and (max-width: 800px) {
  .projects-container {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.project {
  width: 100%;
  border: 1px solid black;
  border-radius: 6px;
  background-color: var(--dark-grey);
}

.project:hover {
  transform: scale(1.03);
  transition-duration: 300ms;
  box-shadow: 0px 0px 12px 2px var(--cyan);
}

.project-header {
  padding: 10px 15px;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  display: flex;
  justify-content: space-between;
}

.project-title {
  margin: 0;
  font-weight: normal;
}

.open-button {
  color: white;
  display: inline-block;
  background: var(--dark-grey);
  padding: 5px 10px;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid var(--yellow);
  border-radius: 2px;
}

.project-description {
  margin: 0;
  padding: 10px;
  color: var(--grey);
}

.social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social svg {
  fill: var(--white);
}

.tag {
  border-radius: 20px;
  font-size: 14px;
  text-transform: uppercase;
  background-color: var(--yellow);
  color: var(--white);
  padding: 2px 12px;
}

.tag.offline {
  background-color: var(--darker-grey);
}

@keyframes rocket-animation {
  0% {
    transform: translate(0, 0) scale(0.5) rotate(-135deg);
  }

  20% {
    transform: translate(-45vw, 0) rotate(-200deg);
  }

  50% {
    transform: translate(-45vw, 95vh) rotate(-315deg);
  }

  75% {
    transform: translate(20vw, 95vh) rotate(-315deg);
  }

  90% {
    transform: translate(45vw, 95vh) rotate(-90deg) scale(1);
  }

  100% {
    transform: translate(0, 0) rotate(-90deg) scale(0.5);
  }
}

.rocket {
  top: 0;
  left: 50%;
  position: absolute;
  z-index: -1;
}

.animate-rocket {
  animation: rocket-animation 20s linear infinite;
  transition: linear;
}
