body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2 {
    margin: 0 0 20px 0;
    color: #1a1a2c;
}

p {
    line-height: 1.4;
}

.flexcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh; 
}

.container-50 {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.logo {
    max-width: 66%;
    margin-bottom: 5vw;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vw;
}

.contact {
    font-size: larger;
}

.portrait {
  height: 100%;     /* Bild auf die gesamte Höhe des Containers skalieren */
  object-fit: cover; /* Bild skaliert, um den gesamten Container zu füllen */
  width: 100%;      /* Bild auf die gesamte Breite des Containers skalieren */
}

a {
    color: #1A312C;
    text-decoration: none;
    transition: color 250ms ease;
}

a:hover {
    color: #1a1a2c;
}

.link {
    display: block;
    margin-top: 20px;
    font-size: 14px;
}


/* Medienabfrage für Geräte kleiner als 1024px (z. B. Handys und kleinere Tablets) */
@media (max-width: 1024px) {
  .flexcontainer {
    grid-template-columns: 1fr; /* Auf Geräten unter 768px wird das Layout in eine Spalte geändert */
  }
  .container-50 {
    width: 100%;  /* Jeder Container nimmt die gesamte Breite auf kleinen Geräten */
  }

    .logo {
        max-width: 100%;
        margin-bottom: 50px;
    }
}