/* Grundlegendes Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'ApexNewBook', sans-serif;
  background-color: #f5f5f5;
  color: #3D4A52;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
}

.logo-container,
.acp-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.logo-container img,
.acp-logo-container img {
  height: 60px;
}

/* Main Content */
main {
  flex: 1;
  display: flex;
}

/* Sections */
.left-section, .right-section {
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 100%;
  filter: brightness(80%);
  transition: filter 0.3s ease-in-out;
}

.left-section:hover,
.right-section:hover {
  filter: brightness(100%);
}

.left-bg, .right-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.left-bg {
  background-image: url('../Icons/background\ skejlo.png');
}

.right-bg {
  background-image: url('../Icons/background\ acp.png');
}

/* Cards */
.card-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.card-right,
.card-left {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  text-align: center;
  width: 240px;
  height: 222px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  gap: 24px;
  max-width: 100%; 
}

.card-left {
  width: 240px;
  height: 222px;
}
.card-right {
  width: 282px;
  height: 222px;
  color: #fff;
}

.card-left h2 {
  font-size: 20px;
  font-weight: 100;
  white-space: nowrap;
}
.card-right h2 {
  font-size: 20px;
  font-weight: 100;
  white-space: nowrap;
}

/* Schriftstile in Buttons */
.green-button {
  background-color: #4DD55D;
  color: #3D4A52;
  width: 176px;
  height: 50px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  padding: 16px 24px;
  font-size: 18px;
  white-space: nowrap;
}

.red-button {
  background-color: #F00F40;
  color: #fff;
  width: 218px;
  height: 50px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  padding: 16px 24px;
  font-size: 18px;
  white-space: nowrap;
}

/* Hover-Effekte für Buttons */
.green-button:hover,
.red-button:hover {
  transform: scale(1.1); 
  transition: transform 0.3s ease-in-out;
}

/* Footer */
footer {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 10px;
}

footer a {
  color: #3498db;
  text-decoration: none;
}

@font-face {
  font-family: 'ApexNewBook';
  src: url('../fonts/Apex/ApexNew-Book.otf') format('book');
}

@media (max-width: 900px) {

  header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .logo-container,
  .acp-logo-container {
    width: 100%;
  }

  main {
    flex-direction: column;
  }

  .left-section,
  .right-section {
    width: 100%;
    padding: 20px 10px;
    height: auto;
  }

  .card-container {
    gap: 16px;
  }

  .card-left,
  .card-right {
    width: 100%;
    max-width: 320px;
  }
}
