@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap');

:root {
  --primary-color: black;
  --background-color: white;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: white;
    --background-color: black;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'EB Garamond', serif;
  background-color: var(--background-color);
  color: var(--primary-color);
  line-height: 1.5;
}

a, a:visited {
  color: var(--primary-color);
}

.image-text-container {
  /* margin-bottom: 2em; */
}

.image-text-container .content {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.image-text-container .text,
.image-text-container .image {
  flex: 1;
  width: 100%;
}

.image-text-container img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .image-text-container .content {
    flex-direction: row;
  }
  
  .image-text-container .text,
  .image-text-container .image {
    flex: 1;
    width: auto;
  }
}

h1, h2 {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

p {
  margin-bottom: .5rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  height: 4rem;
}

.logo {
  color: inherit;       
  text-decoration: none;
}

.logo svg {
  height: 3rem;
  width: auto;
  cursor: pointer;
  fill: currentColor; 
}

.icon, .close-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon svg, .close-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.close-icon {
  position: fixed;
  top: .8rem;
  right: 1.5rem;
  display: none;
}


.photo-container {
  position: relative;
  width: 100%;
}

.photo-container img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-container.full-width {
  width: 100%;
}

.text-overlay {
  position: absolute;
  bottom: 2vh;
  left: 2vw;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
}

.modal a {
  display: block;
  margin: 1rem 0;
  font-size: 1.5rem;
  text-decoration: none;
}


@media (min-width: 48em) {
  .photo-container {
    width: 50%;
  }

  .photo-container.full-width {
    width: 100%;
  }
}

#about-logo {
    height: 5rem;
    width: 5rem;
    margin-top: 3rem;
}

#about-logo svg {
    color: var(--primary-color);
}

.footer {
  margin-top: 4rem;
  text-align: center;
}

.footer a {
  text-decoration: none;
}

