:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: rgba(255, 255, 255, 0.87);
  background-color: #faecd7;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  
}

::-webkit-scrollbar {
  width: 4px;           
  height: 4px;         
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

a {
  font-weight: 500;
  color: #1a1815;
  text-decoration: inherit;
}
a:hover {
  color: #cc7708;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}


.work-img {
  width: auto;
  height: 240px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

.intro {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: center;
  text-align: center;
}

form {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  align-items: stretch;
  justify-items: flex-start;
  padding: 2.25em;
  gap: .675em;
  width: 50%;
  height: auto;
  background-color: #f0e0cc;
  border-radius: .675em;
  height: fit-content;
  max-width: 600px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .25em;
  flex: 1 1 250px;
  width: 100%;
}

.sender-info {
  display: flex;
  flex-direction: row;
  gap: 1.25em;
  width: 100%;
  flex-wrap: wrap;
}

label {
  color: #807d79;
  font-weight: 500;
  font-size: .75em;
  text-align: left;

}

.button-submit {
  align-self: flex-end;
  width: auto;
  margin-top: 2em;
}

.form-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.form-end  .form-field{
  flex: 0 0 auto;
  width: 100%;
}

textarea{
  resize: none;
}

input::placeholder,
textarea::placeholder {
  font-family: Arial, Helvetica, sans-serif;
  color: #807d79;
  font-size: 0.9em;
  font-weight: 400;
  opacity: 1;
}

.square-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: top;
}

.info {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.site-logo{
  font-size: 2em;
  line-height: 1.1;
  font-weight: 700;
  color: black;
  cursor: pointer;
}

.header-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5em;
 
}

.social-links {
  display: flex;
  gap: .75em;
}

main {
  gap: 2em;
  padding-top: 1em;
  padding-bottom: 2em;
  flex: 1;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
}


.left-column {
  display: flex;
  flex-direction: column;
  width: 50%;
  flex: 1;
  align-items: center;
}

.right-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 3em;
  width: 50%;
}

.interest-item {
  color: black;
  text-align: left;
}

h4 {
  color: black;
  margin: 0;
}

h5 {
  color: black;
  margin: 0;
}

.byline {
  display: flex;
  flex-direction: column;
}

.author {
  margin: 0;
  color: black;

}

.work-header {
  display: flex;
  flex-direction: column;
  gap: .25em;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 4.5em;
}

.tagline {
  font-weight: 700;
  color: #363432;
  font-size: 2em;
  line-height: 120%;
  text-align: center;
  margin: 0;
  max-width: 600px;
}

.book-img {
  height: 240px;
  width: 160px;
  object-fit: cover;

}

.section-title {
  text-align: center;
  width: 100%;
}

.books-section {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: stretch;
  width: 100%;
}

.book-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

h2 {
  color: #595755;
  font-weight: 700;
  font-size: .75em;
  text-transform: uppercase;
  text-decoration: underline;
  letter-spacing: .05em;
}

.body-copy {
  font-weight: 400;
  color: #363432;
  line-height: 150%;
}

footer {
  background-color: #12100e;
  padding: 3em;
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 2em;
  text-align: right;
}

h3 {
  margin: 0;
  color: #918e8c;
  font-size: 1em;
}

.interest-content {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.hobbies {
  display: flex;
  align-items: center;
  gap: 2em;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.carousel {
  position: relative;
  width: 400px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-img {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  object-fit: cover;
}

.hobbies {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5em;
}

.footer-links a {
  color: #e0dedc;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


html, body {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  height: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
}


