* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

html,
body {
  height: 100%;
}

h1 {
  margin-bottom: 20px;
}

p {
  margin-top: 15px;
  margin-bottom: 15px;
}

.header {
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
}

.heading {
  position: absolute;
  left: 10px;
  top: 0px;
  left: 20px;
  color: rgb(2, 2, 2);
  font-size: 18px;
}

.slogan {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgb(102, 102, 102);
  font-size: 12px;
}

.links {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links a {
  display: block;
  margin: 0 5px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 18px;
}

.body {
  position: relative;
  top: 100px;
  min-height: calc(100vh - 100px);
  width: 100%;
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
}

.content {
  background-color: rgb(255, 255, 255);
  padding-bottom: 2em;
}

.portrait {
  top: 20px;
  left: 50%;
  transform: translateX();
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.portrait img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.text {
  position: sticky;
  right: 20px;
  left: 20px;
  line-height: 200%;
  margin-left: 150px;
  margin-right: 150px;
  text-align: center;
  background-color: rgb(255, 255, 255);
}

.gap {
  height: 80px;
}

.social-media {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-media a {
  display: inline-block;
  margin: 0 20px;
  transition: all 0.2s ease-in-out;
}

.social-media a:hover {
  transform: scale(1.2);
}

.social-media img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2em;
}

.footer a {
  color: #000000;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .slogan {
    display: none;
  }

  .header .heading,
  .header .slogan {
    position: static;
  }

  .links {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .text {
    margin-left: 15px;
    margin-right: 15px;
  }

  .footer {
    font-size: 10px;
    bottom: 5px;
  }
}
