@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-VariableFont_opsz\,wght.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-style: normal; /* Explicitly define this as the normal style */
  font-display: swap;
}

/* 2. Italic Variable Font */
@font-face {
  font-family: "Inter"; /* KEEP THE NAME THE SAME */
  src: url("./fonts/Inter-Italic-VariableFont_opsz\,wght.ttf")
    format("truetype-variations");
  font-weight: 100 900;
  font-style: italic; /* Explicitly define this as the italic style */
  font-display: swap;
}
/* 1. Regular Variable Font */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/LibreBaskerville-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("./fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700; /* Supports range from Regular to Bold */
  font-style: normal;
  font-display: swap;
}

/* 2. Italic Variable Font */
@font-face {
  font-family: "Libre Baskerville";
  src:
    url("./fonts/LibreBaskerville-Italic-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("./fonts/LibreBaskerville-Italic-VariableFont_wght.ttf")
      format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}
h1,
h2,
h3,
h4,
h6 {
  font-family: "Libre Baskerville", serif;
  color: black;
  font-size: 2rem;
}
h5 {
  font-family: "Libre Baskerville", serif;
  color: #d34931;
  font-size: 1.3rem;
}
:root {
  --nav-height: 75px;
}

body {
  padding-top: var(--nav-height);
}
.navbar {
  font-family: "Libre Baskerville", serif;
  background-color: #b9e1dc;
  font-size: 18px;
  font-weight: 200;
  height: var(--nav-height);
}
.logo {
  width: 190px;
  height: auto;
  background-color: #fdffff;
}
.main-img {
  max-width: 100%;
  border-radius: 200px;
}
.name {
  font-size: 2.5rem;
}
.highlight-name {
  font-family: "Libre Baskerville", serif;
  color: #d34931;
  font-size: 2.5rem;
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social-links .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid rgb(41, 40, 40);
  border-radius: 50%;
  color: rgb(41, 40, 40);
  margin: 5px 10px;
  font-size: 1.7rem;
  transition: 0.2s linear;
  cursor: pointer;
}

.social-links .icon:hover {
  scale: 1.2;
  color: white;
  background-color: rgb(41, 40, 40);
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}

.cv-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 0.2rem solid rgb(116, 108, 131);
  border-radius: 2rem;
  color: rgb(116, 108, 131);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s linear;
}

.cv-btn:hover {
  background-color: rgb(116, 108, 131);
  color: white;
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}
.contact-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 0.2rem solid rgb(41, 40, 40);
  border-radius: 2rem; /* pill shape */
  color: rgb(41, 40, 40);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s linear;
}

.contact-btn:hover {
  scale: 1.2;
  background-color: rgb(41, 40, 40);
  color: white;
  filter: drop-shadow(0 0 10px rgb(116, 108, 131));
}
@media (max-width: 600px) {
  .logo {
    width: 90px;
    height: auto;
    background-color: #fdffff;
  }
  :root {
    --nav-height: 55px;
  }

  body {
    padding-top: var(--nav-height);
  }
  .name {
    padding-top: 20px;
    font-size: 2rem;
  }
  .highlight-name {
    font-size: 2rem;
  }
}
.about-section,
.contact-section {
  max-width: 1000px;
  margin: 60px auto;
  background: #b9e1dc;
  border-radius: 10px;
}
.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}
.card {
  display: flex;
  max-width: 35 0px;
  padding: 25px;
  border-radius: 8px;
  border: 2px solid #756c83;
}
.card:hover {
  filter: drop-shadow(0 0 5px #756c83);
  transform: scale(1.05);
}
/*
.accordion {
  --bs-accordion-btn-bg: #b6e1e0;
  --bs-accordion-btn-color: #2b4353;

  --bs-accordion-active-bg: #9cd3d3;
  --bs-accordion-active-color: black;

  --bs-accordion-border-color: #9cd3d3;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-bg: #9cd3d3;
}
.custom-accordion {
  border-radius: 20px;
  overflow: hidden;
}

.accordion-body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
}
.accordion-button {
  font-family:
    Libre Baskerville,
    serif;
  font-size: 1.15rem;
  line-height: 1.5;
} */
.highlight {
  font-family: "Libre Baskerville", serif;
  color: #d34931;
  font-size: 2rem;
}
p {
  color: black;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 1rem;
  font-family: "Inter";
}
.footer {
  text-align: center;
  background: #b9e1dc;
}
a {
  text-decoration: none;
  color: #d34931;
}
.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-family:
    Libre Baskerville,
    serif;
  color: #d34931;
}
.col {
  padding-top: 15px;
  text-align: center;
}
.icon {
  border: 6px solid #756c83;
  border-radius: 8px;
  width: 80px;
  height: 80px;
}
.icon-text {
  display: block;
  margin-top: 10px;
}
.impressum-container {
  max-width: 1000px;
  margin: 80px auto;
  text-align: left;
  background: #b9e1dc;
  border-radius: 10px;
}
.impressum-h3 {
  font-size: 1.2rem;
}
.text-impressum {
  text-align: left;
  font-size: 1rem;
}
.impressum-title {
  font-size: 1.1rem;
  margin-top: 30px;
}
.impressum {
  font-size: 1rem;
  margin-top: 5px;
}
.legal-container {
  max-width: 1000px;
  margin: 80px auto;
  text-align: left;
  background: #b9e1dc;
  border-radius: 10px;
}
.legal-h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.legal-h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.legal-h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: -5px;
}
.legal-text {
  font-size: 1rem;
  margin-bottom: 15px;
}
