/*
  Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Variables */
:root {
  --background-color-paper: rgba(247, 231, 206, 0.5);
  --text-color-red: rgba(71, 2, 14, 1.0);
  --text-color-green: #233728;
  --font-family-benne-reg: benne-reg;
}

/* Import Font */
@font-face {
  font-family: benne-reg;
  src: url(./font/Benne-Regular.otf);
}

/* Global Styles */
body {
  color: var(--text-color-green);
  font-family: var(--font-family-benne-reg);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
}

.main {
  background-color: var(--background-color-paper);
  padding: 1rem 2rem 1rem 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: lighter;
  text-align: center;
}

.info-image {
  max-width: 30rem;
  height: 30rem;
  border-radius: 1rem;
}

.info-text {
  font-size: 1.25rem;
  max-width: 45rem;
}

/* Header Styles */
.header {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem 1rem 3rem;
  background-color: var(--background-color-paper);
}

.header-title {
  font-weight: lighter;
}

.header a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--text-color-red);
}

.nav-links {
  display: flex;
  list-style: none;
  padding-left: 0%;
  gap: 2.5rem;
}

.nav-links li {
  color: var(--text-color-green);
  font-size: 1.5rem;
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 1rem;
  gap: 3rem;
}

/* Homepage Styles */
.testimonial {
  font-size: 1.125rem;
  margin: .75rem auto .75rem auto;
  max-width: 75vw;
  text-align: center;
}

/* Footer Styles */
.footer {
  background-color: white;
  padding: 1rem 2rem 1rem 2rem;
  font-size: 1.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin-left: 1rem;
  margin-bottom: 0;
}

.logo {
  height: 100px;
  width: auto;
  padding: 1rem;
}

/* Rates Page Styles */
.indexing,
.contact,
.proofreading,
.copyediting {
  max-width: 50rem;
}

/* Portfolio Styles */
.project-list-container {
  margin: 1rem 0 3rem 1rem;
}

.project-list {
  padding-left: 0%;
}

.project-list li {
  list-style: none;
  font-size: 1.25rem;
  margin: 1.5rem 0 1.5rem 0;
}

/* PACBI Styles */
.pacbi-list {
  margin-bottom: 1rem;
}

.pal-flag {
  width: 100%;
  height: 220px;
  background-image: url('./images/pal-flag.jpg');
  background-position: center center;
}

/* For Small Screens */
@media all and (max-width: 500px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}