:root {
  --logoColor1: #9bce77ff;
  --logoColor2: #59bb99ff;

  --backgroundGrey: rgb(250, 250, 250);

  --sidePadding: 10%;
  --mobileSidePadding: 2%;
}

@font-face {
  font-family: 'Exo2';
  src: url('fonts/Exo2-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Exo2';
  src: url('fonts/Exo2-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Exo2', sans-serif;
}

main {
    display: flex; /* Aktiviert Flexbox */
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
    height: 100vh; /* Nimmt die volle Höhe des Viewports ein */
    margin: 0;
    background-color: white;
}

.business-card {
  width: 350px;
  padding: 40px 20px 70px 20px;
  background: url(media/so-white.png);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.business-card .logo img {
  width: 70%;
  height: auto;
  margin-bottom: 15px;
}

.details-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 25px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;

}

.business-card h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.business-card p {
  margin: 5px 0;
  font-size: 16px;
  color: #555;
}

.business-card a {
  color: #007bff;
  text-decoration: none;
}

.business-card a:hover {
  text-decoration: underline;
}

footer {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #555;
    margin-bottom: 25px;
  }
  
  footer a {
    color: #007BFF;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }

/* Responsive Design */
@media (max-width: 768px) {
  body {
    background: url(media/so-white.png);
  }
  main {
    background: transparent;
  }

  .business-card {
    width: 100%; 
    max-width: 300px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .business-card:hover {
    transform: none;
    box-shadow: none;
  }
}
