/* variables: containers, margins, colors */
:root {
  --max-width: 1200px;
  --header-height: 90px;
}

/* ***** */
/* FONTS */
/* ***** */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.203d753a8055.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.c1bd726715a6.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

/* ***** */
/* RESET */
/* ***** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-family: "Montserrat", sans-serif;
}

body {
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
  color: #222;
}

p {
  font-variation-settings: "wdth" 100;
}

ul,
li {
  list-style: none;
}

a,
a:visited,
a:hover {
  color: var(--default-color);
  text-decoration: none;
}

/* ****** */
/* COMMON */
/* ****** */
p {
  font-size: 1.1em;
}

img {
  width: 100%;
  height: auto;
}

figcaption {
  font-size: 0.7em;
  margin-top: 8px;
  color: #444;
  text-align: right;
  margin-bottom: 10px;
}

/* shouldn't be here but it's ok */
.cookies {
  max-width: var(--max-width);
  margin: auto;
}

/* ***** */
/* HEADER */
/* ***** */
header {
  height: var(--header-height);
  max-width: 1200px;
  margin: auto;
  align-content: center;
}

header nav {
  display: flex;
  gap: 64px;
}

header nav a {
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

header nav a:hover {
  color: #000;
  text-decoration: underline;
}

/* ***** */
/* HERO */
/* ***** */
.hero {
  display: flex;
  margin: auto;
  padding: 0;
  flex-wrap: wrap;
  max-width: 1200px;
  gap: 30px;
}

.hero__image {
  flex: 1 1 calc(40% - 30px);
  min-width: 400px;
  display: flex;
  justify-content: center;
}

.hero__image img {
  display: block;
  object-fit: cover;
  height: 100%;
}

.hero__image h1,
.hero__image h2 {
  text-align: center;
}

.hero__content > * {
  max-width: 700px;
}

.hero__content {
  flex: 1 1 60%;
  background-color: #f0f0f0;
  padding: 64px;
}

.hero__content h2 {
  font-size: 2em;
  margin-bottom: 64px;
  font-weight: normal;
}

.hero__content h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  margin-top: 8px;
}

.hero__content p {
  margin-bottom: 16px;
  text-align: justify;
}

.dotation {
  max-width: var(--max-width);
  margin: 48px auto 64px auto;
  text-align: center;
}

.dotation .dotation__title {
  font-family: "Open Sans", Arial, sans-serif;
  letter-spacing: 0.3em;
  font-size: 3em;
  line-height: 1.7;
}

.dotation .dotation__artist {
  letter-spacing: 0.5em;
  font-size: 2em;
  line-height: 1.7;
}

/* ***** */
/* QUOTE */
/* ***** */
.quote-header {
  text-align: right;
  font-style: italic;
  margin: 64px auto 32px auto;
  max-width: var(--max-width);
  font-size: 1.7em;
  padding: 32px;
}

.quote-header span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.8em;
}

/* ***** */
/* TRIBUTE */
/* ***** */
.tribute {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px;
}

.tribute__text {
  line-height: 1.6;
  font-style: italic;
}

.tribute__text p {
  margin-bottom: 16px;
}

/* ***** */
/* BIO */
/* ***** */
.bio {
  margin: 80px 0 0 0;
}

.bio__image {
  width: 100%;
  height: auto;
  display: block;
}

.bio__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 32px;
  text-align: justify;
}

.bio__text p {
  margin-bottom: 16px;
}

/* ***** */
/* ACTIVITIES */
/* ***** */
.activities {
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0 32px;
}

.activities__gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  justify-content: center;
  align-items: flex-start;
}

.activities__gallery figure {
  flex: 1;
  text-align: center;
}

.activities__gallery figure img {
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4;
}

.activities__content h2 {
  font-size: 2em;
  margin-bottom: 32px;
  font-weight: 400;
  text-align: center;
}

.activities__content ul {
  list-style: none;
  padding: 0;
}

.activities__content ul li {
  margin-bottom: 19.2px;
  padding-left: 24px;
  position: relative;
  text-align: justify;
  line-height: 1.8;
}

.activities__content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.35em;
  line-height: 1.3;
  color: #000;
}

/* ***** */
/* SIGNATURE */
/* ***** */
.signature {
  max-width: var(--max-width);
  margin: 64px auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signature figure {
  text-align: center;
  max-width: 700px;
}

.signature figure img {
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ***** */
/* FOOTER */
/* ***** */
footer {
  border-top: 1px solid #ddd;
  background-color: #f9f9f9;
  padding: 32px 0;
  margin-top: 64px;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer__contact p,
.footer__links a,
.footer__social p {
  font-size: 0.85em;
}

.footer__contact p {
  margin: 4px 0;
  color: #444;
}

.footer__contact a {
  color: #444;
  text-decoration: none;
}

.footer__contact a:hover {
  color: #000;
  text-decoration: underline;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: #444;
  text-decoration: none;
}

.footer__links a:hover {
  color: #000;
  text-decoration: underline;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__social > p {
  font-weight: 400;
  margin: 0;
}

.footer__social-icons {
  display: flex;
  gap: 16px;
}

.footer__social-icons a {
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer__social-icons a:hover {
  transform: scale(1.1);
}

.footer__social-icons a svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

footer .dotation__title {
  font-family: "Open Sans", Arial, sans-serif;
  letter-spacing: 0.3em;
  font-size: 1.6em;
}

footer .dotation__artist {
  letter-spacing: 0.6em;
  font-size: 0.9em;
}

/* ***** */
/* MEDIA QUERIES */
/* ***** */
@media (max-width: 1200px) {
  .hero__content {
    padding: 32px;
  }
}
@media (max-width: 968px) {
  .hero__content > * {
    max-width: unset;
  }
  .activities__gallery {
    flex-wrap: wrap;
  }

  .footer__container {
    flex-wrap: wrap;
  }

  .footer__contact,
  .footer__links {
    flex: 1 1 45%;
  }

  .footer__social {
    flex: 1 1 100%;
    align-items: center;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .activities__gallery {
    flex-direction: column;
    align-items: center;
  }

  .activities__gallery figure,
  .activities__gallery .activities__portrait {
    flex: unset;
    width: 100%;
    max-width: 500px;
  }

  .tribute {
    flex-direction: column;
    text-align: center;
  }

  .tribute__text {
    padding-right: 0;
    margin-bottom: 32px;
  }

  figcaption {
    text-align: center;
  }

  .bio__text {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero__image {
    min-width: 300px;
  }

  .dotation .dotation__title {
    font-size: 2.5em;
  }

  .dotation .dotation__artist {
    font-size: 2em;
  }

  header {
    padding: 32px 48px;
  }
  header nav {
    justify-content: center;
  }

  .activities,
  .tribute,
  .quote-header {
    padding: 0 16px;
  }

  .activities__gallery {
    flex-direction: column;
  }

  .activities__gallery figure {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .activities__content ul li {
    text-align: left;
  }

  footer {
    padding: 12px 0;
  }

  .footer__container {
    flex-direction: column;
    text-align: center;
    padding: 0 16px;
  }

  .footer__contact,
  .footer__links {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer__social {
    align-items: center;
  }

  .signature {
    padding: 0 16px;
    margin: 32px auto;
  }
}
