*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #f2e9da;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1 {
  font-weight: 100;
  font-style: italic;
  font-size: 5rem;
  color: #2e294e;
  line-height: 70px;
  margin: 50px 0;
  font-family: Helvetica, Arial, sans-serif;
}

#root,
#__next {
  isolation: isolate;
}

.me {
  width: 800px;
  transition: 2s;
}
.me:hover {
  width: 700px;
  filter: hue-rotate(-20deg);
}

main {
  display: flex;
}

p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 30px;
  width: 100%;
}

.description {
  padding-left: 30px;
  width: 550px;
  margin-bottom: 50px;
}

.hiddenimg {
  display: none;
}

.hiddentxt {
  border-bottom: 2px dotted #04202e;
  cursor: pointer;
}

.hiddenimg {
  transform: translateY(-110%);
  opacity: 0.95;
}

.hiddentxt:hover ~ .hiddenimg {
  display: block;
  position: absolute;
  z-index: 2;
}

.hiddenimg-down {
  display: none;
}

.hiddentxt-down {
  border-bottom: 2px dotted #04202e;
  cursor: pointer;
}

.hiddenimg-down {
  transform: translateY(10%);
  opacity: 0.95;
}

.hiddentxt-down:hover ~ .hiddenimg-down {
  display: block;
  position: absolute;
  z-index: 2;
}

.social-buttons {
  display: flex;
  column-gap: 20px;
}

a {
  color: #2e294e;
  text-underline-offset: 4px;
  transition: 0.3s ease-in-out;
}

a:hover,
a:active {
  transition: 0.6s ease-in-out;
  color: #14b5ff;
}

@media only screen and (max-width: 1000px) {
  body {
    overflow: scroll;
  }
  main {
    flex-direction: column;
  }
  h1 {
    font-size: 3rem;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .description {
    width: 100%;
    padding: 15px;
  }
  .hiddenimg {
    transform: translateY(-300%);
    opacity: 0.95;
  }

  .hiddenimg-down {
    transform: translateY(-200%);
    opacity: 0.95;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #373f51;
    color: #cfccd6;
  }
  h1,
  h2,
  h3,
  a {
    color: #cfccd6;
    transition: 0.3s ease-in-out;
  }
  a:hover,
  a:active {
    transition: 0.6s ease-in-out;
    color: #52b2e9;
  }
  img {
    transition: opacity 0.5s ease-in-out;
  }
  img:hover {
    opacity: 1;
  }
  .marked {
    background-color: #aa4465;
  }

  .marked:hover {
    background-color: #2c8c99;
  }

  .marked-link:hover + .marked {
    background-color: #2c8c99;
  }

  .social-images {
    opacity: 0.4;
    transition: opacity 0.5s ease-in-out;
  }
}
