@font-face {
  font-family: Karbon;
  src: url(https://www.durvalumab.de/wp-content/themes/begehbare-studie/dist/fonts/Karbon-Regular.otf);
  font-weight: normal;
}

@font-face {
  font-family: Karbon-Bold;
  src: url(https://www.durvalumab.de/wp-content/themes/begehbare-studie/dist/fonts/Karbon-Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: Karbon-Medium;
  src: url(https://www.durvalumab.de/wp-content/themes/begehbare-studie/dist/fonts/Karbon-Medium.otf);
  font-weight: normal;
}

@font-face {
  font-family: Karbon-Semibold;
  src: url(https://www.durvalumab.de/wp-content/themes/begehbare-studie/dist/fonts/Karbon-Semibold.otf);
  font-weight: bold;
}

@font-face {
  font-family: Karbon-Light;
  src: url(https://www.durvalumab.de/wp-content/themes/begehbare-studie/dist/fonts/Karbon-Light.otf);
  font-weight: normal;
}

.ap-header__brand h1 {
  font-family: 'Karbon-Bold' !important;
  color: #003262 !important;
  font-size: 2rem !important;
}

.ap-header__brand h2 {
  font-family: 'Karbon-Light' !important;
  color: #003262 !important;
  font-size: 1.5rem !important;
}

@media (min-width: 992px) {
  .ap-header__brand h1 {
    font-family: 'Karbon-Bold' !important;
    color: #003262 !important;
  }

  .ap-header__brand h2 {
    font-family: 'Karbon-Light' !important;
    color: #003262 !important;
  }
}

@media (min-width: 1200px) {
  .ap-header__brand h1 {
    font-family: 'Karbon-Bold' !important;
    color: #003262 !important;
    font-size: 2.5rem !important;
  }

  .ap-header__brand h2 {
    font-family: 'Karbon-Light' !important;
    color: #003262 !important;
    font-size: 2rem !important;
    max-width: 80%;
  }
}

.ap-header-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 1rem;
  width: 100%;
  align-items: center;
}

.ap-header-logo-grid a,
.ap-header-logo-grid a img {
  width: 100%;
}

.logo-imfinzi {
  grid-column: 1;
}

.logo-tremelimumab {
  grid-column: 2;
}

.logo-imjundo {
  grid-column: 3;
}

@media (min-width: 768px) {
  .ap-header-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 30%;
    display:flex;
  }

  .ap-header-logo-grid a,
  .ap-header-logo-grid a img {
    width: auto;
  }

  .logo-imfinzi {
    grid-column: 1;
  }

  .logo-tremelimumab {
    grid-column: 2;
  }

  .logo-imjundo {
    grid-column: 1 / span 2;
    justify-self: center;
  }
}

@media (min-width: 992px) {
  .ap-header-logo-grid {
    width: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
      display:flex;
  }
  .ap-header-logo-grid a,
  .ap-header-logo-grid a img {
    width: 100%;
  }

  .logo-imfinzi {
    grid-column: 1;
  }

  .logo-tremelimumab {
    grid-column: 2;
  }

  .logo-imjundo {
    grid-column: 3;
  }
}

.ap-grid {
  gap: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  justify-content: center;
}

/* .ap-grid .ap-studie:last-child {
  width: 50%;
  grid-column: span 2;
  justify-self: center;
} */

@media (min-width: 768px) {
  .ap-grid {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1fr;
  }
  .ap-grid .ap-studie:last-child {
    width: 100%;
    grid-column: span 1;
  }
}

.ap-studies .ap-studie:hover .studie_hover {
  opacity: 1 !important;
  transition: 0.5s ease-in-out;
}

.ap-studies .ap-studie:hover .studie_preview {
  opacity: 0 !important;
  transition: 0.5s ease-in-out;
}

.ap-text-bold {
  font-family: 'Karbon-Bold' !important;
  color: #003262;
}

.ap-text {
  font-family: 'Karbon';
  font-style: normal;
  font-size: 17px;
  line-height: 22px;
  color: #003262;
  opacity: 0.5;
}

@media (min-width: 1200px){
.studie-footer .container{
    max-width: 1250px;
    }
}

@media (min-width: 1450px){
.studie-footer .container{
    max-width: 1600px;
    }
}
