
:root{
--color-primary: rgb(112, 250, 218);
--color-secondary: rgb(54,141,158);
--ocker: rgb(219,199,44);
}

@font-face
{
  font-family: "Cheese Sauce";
  font-style: normal;
  font-weight: 100 900;		
  font-display: swap;
  src: url("../fonts/Cheese\ Sauce.ttf") format("truetype");
}

.about_heading
{
  font-family: "Cheese Sauce";
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 4rem;
  line-height: 2.25rem;
  margin-bottom: 2.5rem;
}

.about_picture-container{
  border-radius: 9999px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  width: 20rem;  
  height: 20rem; 
  max-width: 100%;
}

.about_picture{
  object-fit: cover;
  height: 100%; 
  width: 100%;   
}


.about_text{
  color: black;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.about_points
{
  color: var(--color-secondary);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.25rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 9999px;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  background-color: rgba(112,250,218 ,0.3);
}

/* Media Query für mittlere Bildschirme (1024px bis 768px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .about_picture-container {
    width: 18rem;
    height: 18rem;
    margin-bottom: 2rem; /* Mehr Abstand nach unten */
  }
  
  .about_heading {
    font-size: 3rem;
    text-align: center; /* Zentrieren der Überschrift */
  }
}

/* Media Query für kleine Bildschirme (unter 768px) */
@media (max-width: 767px) {
  .about_picture-container {
    width: 16rem;
    height: 16rem;
    margin-bottom: 2rem; /* Ausreichend Abstand nach unten */
  }
  
  .about_heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  /* Sicherstellen, dass der Textbereich die volle Breite einnimmt */
  .flex-col.md\:flex-row.items-center > div:last-child {
    width: 100%;
  }
}

/* Zusätzlicher Schutz für sehr kleine Bildschirme */
@media (max-width: 480px) {
  .about_picture-container {
    width: 14rem;
    height: 14rem;
  }
  
  .about_heading {
    font-size: 2rem;
  }
  
  .about_text {
    font-size: 1rem;
  }
}
