* {
  margin: 0;
  font-family: sans-serif;
}

body {
  background-color: tan;
}

.main {
  height: 92vh;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.self-portrait {
  width: 500px;
  display: inline-block;
  border-radius: 10px;
}

.container {
  width: 1000px;
  display: flex;
  gap: 20px;
}

h1 {
  color: teal;
  padding-bottom: 20px;
}

p {
  text-indent: 30px;
}

.text {
  font-size: 17px;
  line-height: 30px;
}

.name {
  text-indent: 0;
}

.bottomnav {
  overflow: hidden;
  background-color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.bottomnav a {
  float: left;
  display: block;
  color: gray;
  text-align: center;
  margin: 0;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.bottomnav a:hover {
  text-decoration: underline;
  color: black;
}
 
.bottomnav .icon {
  display: none;
}

.social-media {
  float: right;
  text-decoration: none;
}

.head-shot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

@media screen and (max-width: 600px) {
  .bottomnav a:not(:first-child) {
    display: none;
  }

  .bottomnav a.icon {
    float: right;
    display: block;
    color: gray;
  }

  .social-media {
    float: none;
    text-decoration: none;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    color: teal;
    padding-bottom: 10px;
  }

  p {
    text-indent: 15px;
  }

  .text {
    font-size: 12px;
    line-height: 30px;
  }

  .signature {
    display: block;
    float: right;
    padding-right: 20px;
    width: 50px;
  }

  .container {
    width: 400px;
    display: block;
    gap: 20px;
    padding: 10px;
  }

  .self-portrait {
    width: 250px;
  }

  .signature {
    display: block;
    float: right;
    padding-right: 20px;
    width: 50px;
  }

  .bottomnav.responsive {
    position: absolute;
  }

  .bottomnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .bottomnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .carousel-button {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .1);
  }

  .carousel-button.prev {
    left: .5rem;
  }

  .carousel-button.next {
    right: .5rem;
  }

  .info-panel.open {
    width: 150px;
    padding: 20px;
  }

  .slide>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}