@font-face {
    font-family: americanText;
    src: url(../Fonts/AmericanText.ttf);
}
@font-face {
    font-family: dmSans;
    src: url(../Fonts/DMSans-VariableFont_opsz\,wght.ttf);
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Header */
.header-wrapper {
    padding: 30px 30px;
    background-color: #6087b3;
    clip-path: ellipse(95% 100% at 6% 0);
}

.logo img {
    width: 100%;
    height: auto;
}

.navbar-toggler {
    border: 2px solid #f1f276;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-item {
    padding: 15px;
    line-height: 25px;
    font-size: 22px;
    font-weight: 700;
}
.nav-item a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #f1f276;
    overflow: hidden;
    height: 30px;
}
.nav-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #f1f276;
    transition: transform 0.25s ease-out;
}
.nav-item a:hover::after,
.nav-item a:focus::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-item.active a::after{
    transform: scaleX(1);
}

@media (max-width: 1249.98px) {
    .header-wrapper {
        clip-path: ellipse(95% 100% at 22% 0);
    }
}

@media (max-width: 991.98px) {
    .header-wrapper {
        clip-path: unset;
    }
    .navbar-collapse {
        height: 100vh;
        position: fixed;
        top: 15vh;
        background-color: #6087b3;
        left: 0;
        width: 100vw;
        z-index: 5;
    }
}

/* Home Image */
.home-image-wrapper {
    width: 100%;
    height: 100vh;
    margin-bottom: 60px;
}

.home-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-text-wrapper {
    position: absolute;
    top: 10vh;
    left: 25vw;
    width: 50vw;
    text-align: center;
    line-height: 15vh;
    background-color: rgba(96, 135, 179, 0.5);
    border-radius: 60px;
    color: #f1f276;
    font-family: americanText;
    font-size: 80px;
}

.home-link-wrapper {
    position: absolute;
    top: 90vh;
    left: 48vw;
    width: 4vw;
    height: 7vh;
    background-color: rgba(96, 135, 179, 0.5);
    border-radius: 60px;
    color: #f1f276;
}

.home-link-wrapper a {
    width: 100%;
}

span.icon,
span.icon svg {
    width: 100%;
    rotate: 90deg;
}

.content {
    margin-top: 60px
}

@media (max-width: 991.98px) {
    .home-image-wrapper {
        height: auto;
    }

    .home-image-wrapper img {
        width: 100%;
        height: auto;
    }

    .home-text-wrapper {
        position: static;
        width: 100%;
        background-color: rgba(96, 135, 179, 1);
        border-radius: 0;
        font-size: 50px;
    }
    
    .home-link-wrapper {
        display: none;
    }
}

/*
* Startkachel
*/
.card-item {
    width: 48%;
    height: 425px;
    padding-top: 25px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    transition: background-color 0.5s ease;
    border: 2px solid #6087b3;
    border-radius: 40px;
    margin-bottom: 30px;
}
  
.card-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #6087b3;
    z-index: 1;
    transition: width 0.6s ease-in-out;
}
  
.card-item:hover::before {
    width: 100%;
}
  
.card-item > * {
    position: relative;
    z-index: 2;
}
  
.card-item-image {
    display: flex;
    justify-content: space-around;
    width: 200%;
    transition: transform 0.6s ease-in-out;
}
  
.card-item:hover .card-item-image {
    transform: translateX(-50%);
}

.card-item-image-wrapper {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.card-item-icon {
    width: 300px;
    height: 300px;
}

.card-item-title {
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 40px;
}

.card-item:hover .card-item-title {
    color: #f1f276;
}

.stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3; /* Above the content + before */
}

@media (max-width: 991.98px) {
    .card-item {
        width: 60%;
        height: 225px;
        margin: 0 20% 30px;
    }

    .card-item-icon {
        width: 100px;
        height: 100px;
    }
    
    .card-item-title {
        font-size: 26px;
        hyphens: auto;
        line-height: 36px;
        align-content: center;
    } 
}

  /*
  * Text und Text mit Bild
  */
.text-image,
.text {
    text-align: center;
    font-size: 20px;
}

.text-image div, 
.text div {
    margin-bottom: 30px;
}

.text-image a,
.text a {
    color: #6087b3;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 0;
}

.text-image a::before,
.text a::before {
    content: '';
    position: absolute;
    background-color: #6087b3;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    transition: width 0.4s ease;
}
.text-image a:hover::before,
.text-image a:focus::before,
.text a:hover::before,
.text a:focus::before {
    width: 100%;
}
.text-image a:hover,
.text a:hover {
    color: #f1f276;
}

@media (max-width: 991.98px) {
    .text-image,
    .text {
        text-align: left;
    }
    .text-image img {
        max-width: 100%;
        height: auto;
    }
}

/*
* Musikanten
*/
.instrument-header {
    margin-bottom: 30px;
}

.person-item {
    margin-bottom: 30px;
}

.instrument-wrapper {
    margin-bottom: 30px;
}

.persons-image {
    width: 40%;
    margin: auto;
}

.persons-image img {
    width: 100%;
    height: auto;
}

.persons-name {
    width: 40%;
    margin: auto;
    font-size: 20px;
    font-weight: 700;
}

.persons-position {
    width: 40%;
    margin: auto;
    font-size: 18px;
}

/*
* Events
*/
.event-year {
    margin-bottom: 30px;
}

.event-legend {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-item {
    font-size: 20px;
    margin-bottom: 5px;
}

.event-item a {
    color: #6087b3;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 0;
}

.event-item a::before {
    content: '';
    position: absolute;
    background-color: #6087b3;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    transition: width 0.4s ease;
}
.event-item a:hover::before,
.event-item a:focus::before {
    width: 100%;
}
.event-item a:hover {
    color: #f1f276;
}

@media (max-width: 991.98px) {
    .event-legend {
        display: none !important;
    }

    .event-item {
        margin-bottom: 10px;
        border-bottom: 0.5px solid #6087b3;
    }
}

/*
* Footer
*/
.footer-wrapper {
    padding: 15px;
    background-color: #6087b3;
    clip-path: ellipse(95% 100% at 90% 100%);
}

.copyright,
.contact {
    padding: 15px;
    line-height: 35px;
    font-size: 18px;
    font-weight: 700;
}

.contact a {
    position: relative;
    text-decoration: none;
    color: #f1f276;
    overflow: hidden;
    height: 30px;
}

.contact a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #f1f276;
    transition: transform 0.25s ease-out;
}

.contact a:hover::after,
.contact a:focus::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-wrapper .nav-item a {
    height: unset;
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .footer-wrapper {
        clip-path: unset;
    }
}