* {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
}

html {
  /*background-image: url("docs/bg.png");*/
  background-size: 400px;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: auto;
  padding: 3rem 5rem;
  font-family: "times new roman", "times", serif;
  font-size: 2em;
  line-height: 1.2em;
  color: #020b00;
  text-shadow: 0px 0px 4px rgba(0, 255, 0, 0.15), -10px -10px 2px rgba(255, 200, 55, 0.15);
  min-width: 100%;
  box-sizing: border-box;
}

body::after {
  content: "";
  display: block;
  position: fixed;
  top: 10px;
  left: 3px;
  height: calc(100% - 20px);
  width: 96%;
  border-left: 10px solid;
  border-bottom-left-radius: 6%;
  border-right: 5px solid;
  border-top-right-radius: 3%;
  transform: skew(0.5deg, 1deg);
  pointer-events: none;
  /*opacity: 0.75;*/
}

em {
  transform: skewX(-20deg);
  display: inline-block;
}
em .topTitle {
  padding: 0.3em 0.6em;
}
em .topTitle::after {
  content: "";
  border-top: 1px solid;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 3px solid;
  border-top-left-radius: 30%;
  border-bottom-right-radius: 30%;
  border-bottom-left-radius: 0.9em;
  border-top-right-radius: 0.9em;
}

img {
  display: block;
  max-width: 100%;
}

a img {
  filter: drop-shadow(-10px -10px 2px rgba(255, 200, 55, 0.15)) drop-shadow(0px 0px 4px rgba(0, 255, 0, 0.15));
}

h1 img {
  height: 8rem;
}

h2, p {
  margin-bottom: 1.2em;
}

.about main {
  transform: scaleX(90%);
}

main {
  max-width: 35em;
  margin: 3rem 0;
}

nav {
  text-transform: uppercase;
  font-size: 0.65em;
  letter-spacing: 7px;
  transform: scaleY(150%);
}
nav > div {
  display: flex;
  justify-content: space-between;
}
nav a {
  text-decoration: inherit;
  transition: all .75s;
}
nav a:hover {
  text-shadow: -5px 5px 3px rgba(0, 255, 255, 0.75), 5px -5px 3px rgba(255, 255, 0, 0.75);
  letter-spacing: 8px;
}
nav::before {
  content: "";
  border-bottom: 1.5px solid;
  display: block;
  height: 0.6rem;
  border-bottom-left-radius: 100%;
  transform: rotate(0.5deg);
  opacity: 0.75;
  border-bottom-right-radius: 100%;
  margin: 2.5rem 0 0.5rem 0;
}

body > header::after {
  content: "";
  border-bottom: 3px solid;
  display: block;
  height: 3rem;
  width: calc(100% + 5rem);
  margin-left: -5rem;
  border-bottom-right-radius: 100%;
  transform: rotate(1deg);
  /*opacity: 0.75;*/
}

hr {
  width: 50%;
  margin: 1.2em auto;
  background: none;
  color: inherit;
  border: none;
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  border-bottom: 1px solid;
  border-bottom-right-radius: 100%;
  height: 18px;
  transform: rotate(1deg);
  /*opacity: 0.75;*/
}

body > footer::before {
  content: "";
  border-bottom: 14px solid;
  display: block;
  height: 3rem;
  width: calc(100% + 5rem);
  margin-left: -1.2rem;
  border-bottom-left-radius: 140%;
  transform: skewY(-4deg);
  margin-top: -2rem;
  margin-bottom: 2.5rem;
}

body > footer .links {
  display: flex;
  align-items: center;
  gap: 1rem;
}
body > footer .links img {
  width: 8rem;
}

/* E X P E R T S */
.experts main > h2 {
  text-align: center;
}

.expert {
  display: flex;
  gap: 2rem;
  margin-top: 100px;
  position: relative;
}
.expert::before {
  content: "";
  position: absolute;
  height: 60px;
  top: 0;
  bottom: 100%;
  width: 100%;
  margin-top: -60px;
  border-top: 1px solid;
  border-top-right-radius: 100% 42px;
  width: 101%;
  margin-left: -18%;
  transform: rotate(-3deg);
}
.expert .leftColumn {
  width: 20%;
  max-width: 150px;
}
.expert .leftColumn .portrait {
  padding-bottom: 110%;
  background-size: cover;
  background-position: top;
  border-top-right-radius: 90px 90px;
  border-left: 2px solid;
  border-right: 3px solid;
  position: relative;
  border-top-left-radius: 30px 40px;
  border-bottom-left-radius: 50% 50px;
  border-bottom-right-radius: 70px 40px;
  opacity: .8;
}
.expert .leftColumn .portrait::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  height: 150%;
  width: 10px;
  border-right: 2px solid black;
  border-bottom-right-radius: 100%;
}
.expert .rightColumn {
  width: 75%;
}
.expert .rightColumn .nameInfo {
  display: flex;
  justify-content: space-between;
}
.expert .rightColumn .nameInfo .name {
  letter-spacing: -1px;
  font-size: 2.9rem;
}
.expert .rightColumn .nameInfo .additionalInfo {
  text-align: right;
  font-size: 1rem;
  line-height: 1em;
  font-style: italic;
  transform: scaleX(90%);
}
.expert .rightColumn .additionalText {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.2em;
  margin-left: 2rem;
  margin-top: 1.5rem;
}
.expert .rightColumn .links {
  font-size: 1.5rem;
  margin-top: 1rem;
}
.expert .rightColumn .links a {
  padding: .2em .5rem;
  transform: scaleX(80%);
  border: 1px solid;
  border-radius: 100%;
  display: inline-block;
  line-height: 1em;
  transition: all .75s;
}
.expert .rightColumn .links a:hover {
  color: #00007f;
  text-shadow: 10px 20px 2px rgba(0, 0, 255, 0.1);
}
.expert .rightColumn .biography {
  font-size: 1rem;
  line-height: 1.25em;
  columns: 2;
  margin-top: 50px;
  position: relative;
}
.expert .rightColumn .biography::before {
  content: "";
  position: absolute;
  height: 60px;
  top: 0;
  bottom: 100%;
  width: 100%;
  margin-top: -84px;
  border-top: 2px solid;
  border-top-right-radius: 100% 6px;
  width: 101%;
  margin-left: 19%;
  transform: rotate(180deg);
}

@media all and (max-width: 640px) {
  body {
    padding: 3rem 2rem;
    font-size: 1.5em;
  }

  body::after {
    width: 94%;
    border-top-right-radius: 33%;
  }

  body > footer::before {
    width: calc(100% + 2rem);
  }

  h1 img {
    height: 5rem;
  }

  body > footer .links {
    gap: 2rem;
    justify-content: center;
  }

  body > footer .links img {
    width: 6rem;
  }

  nav {
    text-align: center;
    line-height: 1.2em;
  }
  nav div {
    display: block;
  }
  nav div a {
    display: block;
  }

  .expert {
    display: block;
  }
  .expert .leftColumn {
    width: auto;
    max-width: 125px;
  }
  .expert .leftColumn .portrait::after {
    content: none;
  }
  .expert .rightColumn {
    width: auto;
    margin-top: 1rem;
  }
  .expert .rightColumn .nameInfo {
    display: block;
  }
  .expert .rightColumn .nameInfo .name {
    transform: scaleX(85%);
    margin: 0px -10%;
  }
  .expert .rightColumn .nameInfo .additionalInfo {
    margin-top: .5rem;
    font-size: 0.9rem;
  }
  .expert .rightColumn .biography {
    columns: inherit;
    font-size: .9rem;
  }
  .expert .rightColumn .biography::before {
    width: 86%;
  }
}
