/* Global Styles */

@font-face {
  font-family: "martina-plantijn";
  src: url("../fonts/martina-plantijn-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "martina-plantijn";
  src: url("../fonts/martina-plantijn-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "martina-plantijn";
  src: url("../fonts/martina-plantijn-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "martina-plantijn";
  src: url("../fonts/martina-plantijn-bold-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}

:root {
  --cotton: 245, 243, 240;
  --darkCotton: 230, 228, 225;
  --deepNavy: 0, 0, 32;
  --color-primary: rgb(var(--cotton));
  --color-primary-2: rgb(var(--cotton), 0.5);
  --color-primary-dark: rgb(var(--darkCotton));
  --color-accent: rgb(var(--deepNavy));
  --color-accent-2: rgb(var(--deepNavy), 0.5);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: var(--color-accent);
  font-family: "BradfordLLTrialWeb", "martina-plantijn", "Times New Roman",
    Times, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  list-style: none;
  text-decoration: none;
  text-align: justify;
}

body {
  overflow-x: hidden;
  background: var(--color-primary);
  transition: background-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.standardImg {
  border-radius: 2rem;
  min-height: 300px;
  object-fit: cover;
}

.fog {
  content: "";
  pointer-events: none;
  z-index: 9;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* width: 100%; */
  height: 4rem;
  background: linear-gradient(
    180deg,
    rgba(245, 243, 240) 0%,
    rgba(245, 243, 240, 0.74) 19%,
    rgba(245, 243, 240, 0.54) 34%,
    rgba(245, 243, 240, 0.38) 47%,
    rgba(245, 243, 240, 0.28) 57%,
    rgba(245, 243, 240, 0.19) 65%,
    rgba(245, 243, 240, 0.13) 73%,
    rgba(245, 243, 240, 0.08) 80%,
    rgba(245, 243, 240, 0.04) 86%,
    rgba(245, 243, 240, 0.02) 91%,
    rgba(245, 243, 240, 0.01) 96%,
    rgba(245, 243, 240, 0) 100%
  );
}

main {
  padding: 2.5rem 0 4rem 0;
}

em {
  font-style: italic;
}

button {
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 496px;
  padding: 4rem 1rem 1.5rem 1rem;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  color: var(--color-accent-2);
  background-color: var(--color-primary-dark);
  border-radius: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 2rem;
}

header img {
  border-radius: 0rem;
}

.landing {
  display: flex;
  flex-direction: column;
  text-align: justify;
  gap: 2.5rem;
}

.imgWDesc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

.desc p {
  color: var(--color-accent-2);
}

.desc p:first-child {
  font-size: 0.75rem;
}

.desc p:last-child {
  font-size: 0.625rem;
}

/* Typography */

/* h1 {
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
  font-size: 3rem;
  line-height: 1.2;
} */

h2 {
  font-size: 1.5rem;
}

/* h3 {
  padding: 1rem 0 0.7rem 0;
  border-top: 1px solid var(--color-accent-2);
  margin-top: 1.4rem;
  font-size: 1.3rem;
  font-weight: 350;
  line-height: 1;
} */

a {
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

a:hover {
  color: rgba(var(--deepNavy), 0.7);
}

.inTextLink {
  color: var(--color-accent-2);
  font-style: italic;
}

.subscript {
  font-size: 0.625rem;
}

.iconContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  border-radius: 0rem;
}

.sectionHeading {
  font-size: 2.5rem;
  font-style: italic;
}

.contentGroup {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.jobs {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.job {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  gap: 0.5rem;
  /* padding: 1rem; */
  margin: -1rem;
  margin-top: -0.75rem;
  margin-bottom: -0.85rem;
  padding: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.85rem;
  transition: background-color 250ms cubic-bezier(0.645, 0.045, 0.355, 1);
  /* cursor: pointer; */

  /* &:hover {
    background-color: rgba(var(--deepNavy), 0.05);
    border-radius: 0.5rem;
    border: 1rem;
  } */
}

/* .job {
  transition: background-color 250ms cubic-bezier(0.645, 0.045, 0.355, 1),
    margin 250ms cubic-bezier(0.645, 0.045, 0.355, 1),
    padding 250ms cubic-bezier(0.645, 0.045, 0.355, 1);
} */

/* .job:hover {
  background-color: rgba(var(--deepNavy), 0.04);
} */

.jobHeading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.date {
  color: rgba(var(--deepNavy), 0.35);
}

.jobDescription {
  font-size: 0.875rem;
  color: var(--color-accent-2);
}

.sectionHeadingContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.headingLine {
  width: 100%;
  height: 1px;
  margin-top: 0.5rem;
  background-color: var(--color-accent);
  /* outline: 1px var(--color-accent) solid; */
}

/* @media screen and (max-width: calc(650px + 2em)) {

  * {
    font-size: 12.5px;
  }

  h1 {
    font-size: 2.6em;
  }

  h1::before {
    font-size: 12.5px;
  }

  h2 {
    font-size: 1.8em;
  }
} */

@media (max-width: 640px) {
  .container {
    padding-top: 2rem;
  }
}
