:root {
  --green-gecko: #69ff47;
  --black-iris: #2b3042;
  --sky-gray: #bcc8c6;
  --bright-white: #f5f7f6;
  --black: #000;
}

/* 1. Base */
html {
  background-color: var(--black-iris);
  color: var(--bright-white);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
  min-width: 300px;
  overflow-x: hidden;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

a {
  color: var(--sky-gray);
  cursor: pointer;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--green-gecko);
  outline-offset: 4px;
}

/* 2. Shared Elements */
.wallpaper {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("../img/texture.jpg");
  background-position: center;
  background-size: cover;
}

.picture-shadow,
.picture-image {
  display: block;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.job,
.button {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.button,
.social a {
  transform-origin: center;
  transition: all 100ms ease-in-out;
  will-change: transform, box-shadow, opacity;
}

.button {
  background-color: var(--green-gecko);
  border-radius: 1000px;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  color: var(--black-iris);
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  padding: 1.25em 2em;
  text-shadow: none;
  user-select: none;
  white-space: nowrap;
  vertical-align: top;
}

.button:hover {
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
  transform: scale(1.02) translateY(-4px);
}

.button:active {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  transform: scale(0.98) translateY(-2px);
}

.social {
  display: flex;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social li {
  height: 2rem;
  width: 2rem;
  text-align: center;
}

.social a {
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  height: 2rem;
  width: 2rem;
  opacity: 0.5;
  color: inherit;
}

.social a:hover,
.social a:active {
  color: var(--green-gecko);
  opacity: 1;
  transform: scale(1.25);
}

/* 3. Structure and Content */
.content {
  display: flex;
  position: relative;
  min-height: 100vh;
  flex-wrap: wrap;
}

.side {
  max-width: 20rem;
  max-height: 20rem;
}

.about {
  max-width: 40rem;
}

.picture {
  padding-top: 100%;
  position: relative;
  width: 100%;
}

.picture-shadow {
  border-radius: 50%;
  background-image: radial-gradient(#000 0%, rgba(0, 0, 0, 0) 70%);
  position: relative;
  top: 10%;
}

.picture-image {
  border-radius: 50%;
  position: absolute;
}

.name {
  font-size: 2.25rem;
  line-height: 1.125;
  margin-bottom: 0.5rem;
}

.job {
  color: var(--sky-gray);
  font-size: 1rem;
}

.hr {
  background-color: var(--green-gecko);
  border: none;
  height: 1px;
  margin: 1.5rem 0;
  width: 4rem;
}

.description {
  font-size: 1.5rem;
}

.contact {
  display: inline-block;
  margin-top: 1.5rem;
  vertical-align: top;
}

/* 4. Responsive Design */
@media screen and (max-width: 799px) {
  .content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 1rem;
  }

  .side {
    margin-bottom: 3rem;
    width: 100%;
  }

  .about {
    text-align: center;
    padding: 0 1rem;
  }

  .description {
    font-size: 1.25rem;
  }

  .social {
    justify-content: center;
  }
}

@media screen and (min-width: 800px) {
  .content {
    align-items: center;
    justify-content: space-evenly;
    padding: 4rem;
  }

  .side {
    flex-shrink: 0;
    height: 20rem;
    margin-left: 4rem;
    order: 2;
    width: 20rem;
  }

  .about {
    flex: 1;
  }
}