* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: 0.2 linear;
}

html,
body {
  max-height: 100%;
  width: 100%;
  background-color: #e6e6e6;
  font-family: "Opulent", sans-serif;
  color: #000000;
  --blue: #25306b;
  --yellow: #e6e100;
  --red: #b52d39;
  --green: #006356;
}

/* animation-fade-in */

main {
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* header */

.header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 10;
}

.navbar {
  padding: 20px;
}

.navbar-box {
  display: flex;
  position: relative;
  align-items: inline-flex;
  justify-content: flex-end;
}

.navbar a {
  color: black;
}

a {
  color: #000000;
  text-decoration: none;
  transition: 0.2s;
  font-size: 1vw;
}

/* effects-hover */

#name a:hover {
  mix-blend-mode: normal;
  font-style: italic;
  color: var(--yellow);
}

#works a:hover {
  font-style: italic;
  color: var(--blue);
}

#info a:hover {
  font-style: italic;
  color: var(--red);
}

#contacts a:hover {
  font-style: italic;
  color: var(--green);
}

/* content */

section {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.row {
  display: flex;
  position: relative;
  margin-top: 4vh;
}

.footer {
  position: absolute;
  bottom: 20px;
}

.footer .column {
  width: 100%;
}

.column {
  width: 50%;
  padding-right: 40px;
  display: flex;
  position: relative;
  flex-direction: column;
}

.column-wrap {
  display: flex;
  position: relative;
}

.column-wrap-date {
  white-space: wrap;
  width: 25%;
}

.column-wrap-activity {
  width: 75%;
}

#bio {
  font-size: 2vw;
  line-height: 2vw;
  letter-spacing: normal;
}

#category {
  font-style: italic;
}

@media (max-width: 1000px) {
  section {
    width: 100%;
    height: 100%;
    padding: 10px;
  }

  .navbar {
    padding: 10px;
  }

  .row {
    width: 100%;
    flex-direction: column;
    margin-top: 1vh;
  }

  .column {
    padding: 40px 0px 0px 0px;
    width: 100%;
    flex-direction: column;
  }

  img {
    width: 1rem;
  }

  .column-wrap-date {
    white-space: normal;
    width: 20%;
  }

  .footer {
    font-size: 1rem;
    line-height: 1.1rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  a {
    font-size: 4vw;
    line-height: 5vw;
  }

  #bio {
    font-size: 5vw;
    line-height: 5.5vw;
    letter-spacing: normal;
  }
}
