@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  background: white;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.body-card h3 {
  font-family: 'DM Serif Display', serif;
}

h3 {
  font-family: 'Baskervville', 'Abhaya Libre', serif;
}

p,
li,
button {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

ul {
  margin: 16px 0 0 0;
}

li {
  line-height: 32px;
}

a {
  text-decoration: none;
}

button {
  border: 2px solid hsl(30, 85%, 30%);
  padding: 10px 15px;
}

button:hover {
  border: 2px solid hsl(35, 95%, 20%);
}

a,
button {
  background: none;
  color: hsl(35, 85%, 30%);
  cursor: pointer;
  transition: 0.1s color;
}

a:hover,
button:hover {
  color: hsl(35, 95%, 20%);
}

iframe,
.body-card img,
video {
  border-radius: 5px;
  height: 315px;
  width: min(560px, 100%);
}

#main-wrapper {
  margin: 100px auto 0;
  max-width: 1080px;
  padding: 20px;
}

@media (max-width: 960px) {
  iframe {
    margin-bottom: 10px;
  }

  #main-wrapper {
    padding: 15px;
  }
}

#nav,
#footer {
  background: hsl(210, 15%, 97.5%);
}

#nav {
  overflow-x: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  white-space: nowrap;
  z-index: 1;
}

#nav-wrapper,
#footer-wrapper {
  display: flex;
  max-width: 1080px;
  margin: auto;
  padding: 5px 10px;
}

#nav-menu {
  user-select: none;
}

#nav-title {
  font-size: 18px;
  font-weight: bold;
  flex-grow: 1;
}

.nav-item {
  font-size: 18px;
  font-weight: normal;
  padding: 15px;
}

.nav-link {
  color: black;
}

@media (max-width: 960px) {
  #nav-title {
    font-size: 16px;
  }

  .nav-item {
    font-size: 16px;
    padding: 10px;
  }
}

#landing {
  border: 2px solid #333;
  display: flex;
  justify-content: end;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  position: relative;
}

#landing-body {
  color: white;
  mix-blend-mode: difference;
  position: absolute;
  bottom: 50px;
  left: 75px;
}

#landing-title {
  font-size: 90px;
}

#landing-subtitle {
  font-family: 'Baskervville', 'Abhaya Libre', serif;
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
}

#landing-image {
  position: absolute;
  bottom: 0;
  right: 75px;
  width: 420px;
  z-index: -1;
}

@media (max-width: 960px) {
  #landing-body {
    left: 25px;
  }

  #landing-image {
    right: 25px;
  }
}

#header {
  border-bottom: 2px solid #333;
  padding-bottom: 40px;
}

#header-title {
  font-size: 48px;
}

.body-card {
  border-bottom: 2px solid #333;
  display: flex;
  padding: 20px;
}

.wrap {
  flex-wrap: wrap;
}

.body-card h2 {
  font-size: 36px;
}

.body-card h3 {
  font-size: 28px;
}

.body-card p {
  line-height: 36px;
  margin-top: 16px;
}

.body-card iframe,
.body-card img,
.body-card video {
  flex-shrink: 0;
}

.body-card img,
.body-card video {
  object-fit: cover;
}

.card-wrapper {
  flex-grow: 1;
  max-width: 860px;
  padding-bottom: 15px;
}

.card-image {
  margin-left: 40px;
  width: 360px;
}

.column-card {
  max-width: 560px;
  padding-right: 25px;
}

.column-half {
  padding-left: 12.5px;
  width: calc(50% - 12.5px);
}

.column-half img,
.column-half video {
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
}

.left {
  padding-right: 12.5px;
  padding-left: 0;
}

@media (max-width: 960px) {
  #header {
    padding-bottom: 30px;
  }

  .body-card {
    flex-direction: column;
    padding: 20px 10px;
  }

  .card-wrapper {
    padding-bottom: 10px;
  }

  .column-card {
    padding-bottom: 20px;
    padding-right: 0;
  }

  .half {
    flex-direction: initial !important;
  }

  .column-half {
    padding-left: 6.25px;
    width: calc(50% - 6.25px);
  }

  .left {
    padding-right: 6.25px;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .half {
    flex-direction: column !important;
  }

  .column-half {
    padding: 0;
    width: 100%;
  }
}

#footer {
  display: flex;
  margin-top: 30px;
  padding: 10px 0;
}

#footer-wrapper {
  width: 100%;
}

#footer-left,
#footer-right {
  padding: 15px;
  width: 50%;
}

#footer-right {
  text-align: right;
}

#footer p {
  font-family: 'Baskervville', 'Abhaya Libre', serif;
  font-weight: bold;
  line-height: 24px;
  margin-top: 10px;
}

#social-links {
  display: flex;
  flex-direction: row-reverse;
  margin: 20px -5px 0 0;
}

.social-link {
  margin: 0 5px;
  opacity: 0.6;
  transition: 0.1s color;
  width: 35px;
}

.social-link:hover {
  opacity: 0.8;
}

@media (max-width: 640px) {
  p,
  li,
  button {
    font-size: 14px;
  }

  li {
    line-height: 28px;
  }

  #landing-title {
    font-size: 80px;
  }

  #landing-subtitle {
    font-size: 18px;
  }

  #header-title {
    font-size: 42px;
  }

  .body-card h2 {
    font-size: 32px;
  }

  .body-card h3 {
    font-size: 24px;
  }

  .body-card p {
    line-height: 32px;
  }

  #main-wrapper {
    padding: 10px;
  }

  #nav-wrapper {
    flex-direction: column;
  }

  #landing {
    height: 560px;
  }

  #landing-body {
    bottom: 44px;
    left: 10px;
  }

  #landing-image {
    right: 10px;
    width: 360px;
  }
}

.material-symbols-outlined {
  line-height: 0;
  transform: translate(-4px, 6px);
}