/* Mobile-first CSS */

body {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 200;
  font-style: normal;
  background-color: #d49488;
  background-image: url("assets/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #4a1616;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #000000;
  color: #ffffff;
  padding: 8px 12px;
  z-index: 100;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

p {
  padding: 0;
  margin: 0;
}

a:link,
a:visited {
  color: #4a1616;
  text-decoration: none;
}

.menu-container {
  display: flex;
  flex-direction: row;
  gap: 90px;
}

.menu-container h1 {
  font-family: "Bad Script", cursive;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  padding: 10px 15px;
}

.menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5px 0;
  gap: 5px;
  font-size: 12px;
}

.intro-container {
  background-color: #f2d880;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0px;
  padding: 10px;
  gap: 5px;
}

.derri-portrait {
  border: 4px solid white;
  max-width: 90px;
  margin: 5px 10px;
}

.rotate-left {
  rotate: -15deg;
}

.rotate-right {
  rotate: 10deg;
}

@keyframes slideRight {
  0% { transform: translateX(-80px); }
  100% { transform: translateX(0px); }
}

.floating-text {
  animation: slideRight 2s linear forwards;
}


.intro-text {
  font-family: "Bad Script", cursive;
  padding-left: 20px;
  font-size: 12px;
}

.intro-text p {
  color: #000000;
}

.main-content {
  display: flex;
  flex-direction: row;
  margin: 10px;
  gap: 20px;
}

.bio-header {
  font-family: "Bad Script", cursive;
  font-size: 16px;
  font-weight: 300;
}

.main-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 60%;
  color: #000000;
}

.main-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: left;
  justify-items: center;
  gap: 10px;
}

.icons {
  width: 30px;
  height: auto;
}

.about-img {
  max-width: 125px;
  height: auto;
  object-fit: contain;
}

.book-intro-container {
  background-color: #f2d880;
  display: flex;
  flex-direction: row;
  padding: 5px;
  gap: 5px;
}

.book-img {
  max-width: 125px;
  height: auto;
  object-fit: contain;
}

.quotes-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 5px;
  font-size: 10px;
}

.book-quote {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 5px;
  color: #4a1616;
}

.quote-text {
  display: block;
}

.quote-img {
  width: 10px;
  height: auto;
  object-fit: contain;
  margin: 0 10px;
  vertical-align: top;
}

.order-book {
  font-family: "Libre Franklin", sans-serif;
  border: 1px solid #dfc7c6;
  border-radius: 10px;
  margin: auto;
  padding:7px;
  background: #4a1616;
  font-size: 9px;
  line-height: normal;
  width: fit-content;
}

.order-book a:link,
.order-book a:visited {
  color: #dfc7c6;
  text-decoration: none;
}

.book-title {
  font-family: "Bad Script", cursive;
  font-size: 16px;
  font-weight: 100;
  padding: 5px 0 0 0;
}

.book-text {
  display: flex;
  flex-direction: column;
  padding: 5px 15px;
  gap: 8px;
  color: #000000;
}

.book-text-emphasis {
  color: rgb(60, 59, 59);
}

.contact-page {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin: 10px 15px 20px 15px;
  padding: 0 10px;
  gap: 20px;
  border-top: 5px solid #f2d880;
  border-radius: 5px;
}

.contact-page h2 {
  padding: 10px 0 0 0;
  margin: 0;
  font-size: 18px;
}

.contact-page p {
  margin: 0;
  padding: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-weight: 400;
}

.contact-field {
  width: 150px;
}

.message-field {
  height: 100px;
}

.contact-me {
  background-color: #4a1616;
  color: #dfc7c6;
  font-family: "Libre Franklin", sans-serif;
  font-size: 9px;
  font-weight: 200;
  border-radius: 10px;
  margin-top: 5px;
  padding: 5px 10px;
  width: fit-content;
}

.required-field {
  color: red;
  font-weight: bold;
}

.thanks-title {
  background-color: #eed9ea;
  padding: 20px 0;
  font-family: "Bad Script", cursive;
  font-size: 25px;
  font-weight: 100;
  text-align: center;
  color: #272262;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin: 10px;
  font-size: 10px;
}

.footer-text {
  font-family: "Bad Script", cursive;
}

/* Responsive CSS for iPad and larger screens */
@media screen and (width >= 700px) {
  body {
    font-size: 15px;
  }

  .mobile-only {
    display: none;
  }

  .menu-container {
    display: flex;
    flex-direction: row;
    padding: 5px;
    gap: 175px;
  }

  .menu-container h1 {
    font-size: 26px;
  }

  .menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 20px;
    gap: 30px;
    font-size: 14px;
  }

  .intro-container {
    flex-direction: row;
    justify-content: center;
    padding: 30px;
    gap: 20px;
  }

  .intro-text {
    font-size: 15px;
  }

  .main-content {
    margin: 15px;
    gap: 35px;
  }

  .bio-header {
    font-size: 20px;
  }

  .main-content {
    gap: 40px;
  }

  .main-text {
    max-width: 70%;
  }

  .main-sidebar {
    gap: 30px;
  }

  .about-img {
    max-width: 175px;
  }

  .icons {
    width: 40px;
  }

  .book-img {
    max-width: 175px;
  }

  .quotes-box {
    width: 100%;
    gap: 30px;
    margin-top: 30px;
    font-size: 14px;
  }

  .quote-img {
    margin: 0 5px;
  }

  .order-book {
    font-size: 12px;
  }

  .book-title {
    font-size: 20px;
  }

  .book-text {
    padding: 0 50px;
    font-size: 16px;
  }

  .contact-page {
    padding: 0 20px;
  }

  .contact-page h2 {
  font-size: 24px;
}

  .contact-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .form-label {
    font-weight: 400;
    padding-top: 10px;
  }
  .contact-field {
    width: 250px;
  }

  .message-field {
    height: 100px;
    width: 85%;
  }

  .contact-me {
    font-size: 12px;
    margin-top: 10px;
  }

  .thanks-title {
    padding: 30px 0;
    font-size: 35px;
    font-weight: 200;
  }

  .footer-content {
    margin-right: 20px;
    font-size: 12px;
  }
}

/* Responsive CSS for the largest screens */
@media screen and (width >= 1000px) {
  body {
    font-size: 18px;
  }

  p {
    padding: 0 0 10px 0;
  }

  .menu-container {
    padding: 20px;
  }

  .menu {
    gap: 50px;
    font-size: 17px;
  }

  .intro-container {
    gap: 100px;
  }

  .derri-portrait {
    max-width: 150px;
  }

  .intro-text {
    font-size: 20px;
    max-width: 1000px;
  }

  .main-content {
    padding: 0 20px;
    gap: 50px;
  }

  .main-text {
    max-width: 70%;
  }

  .bio-header {
    font-size: 30px;
  }

  .about-img {
    max-width: 250px;
  }

  .quotes-box {
    font-size: 16px;
  }

  .contact-page {
    padding: 30px 45px;
  }

  .contact-field {
    width: 350px;
  }

  .message-field {
    height: 200px;
  }

  .thanks-title {
    padding: 50px 0;
    font-size: 55px;
  }

  .footer-content {
    align-items: flex-end;
    font-size: 16px;
  }
}
