/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
body {
  background-color: black;
  color: white;
  font-family: Verdana;
}

.medstrat_heading {
  font-family: "Old_London_Regular";
  font-size: 72px;
}

@font-face {
  font-family: 'Medstrat_Blackletter_Regular'; /* 👈 Name it anything you want */
  src: url('fonts/Medstrat_Blackletter_Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Old_London_Regular'; /* 👈 Name it anything you want */
  src: url('fonts/OldLondon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.project-icon {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}
.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-box {
  width: clamp(300px, 50%, 600px);
  margin: 0 auto;
  border: 2px solid white;
  background-color: black;
  padding: 20px 30px;
  border-radius: 0px;
  text-align: center;
}

.divider-section {
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin: 30px 0;
}
.divider-section::before,
.divider-section::after {
  content: '';
  flex: 1;
  border-bottom: 2px solid white;
}
.divider-section::before {
  margin-right: 1em;
}
.divider-section::after {
  margin-left: 1em;
}

.faq-section {
  width: clamp(300px, 80%, 700px);
  margin: 50px auto;
  color: white;
  font-family: Verdana, sans-serif;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid white;
  border-radius: 0px;
  background-color: #111;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 1em;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
  outline: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* or more depending on content */
  padding: 15px;
}