@font-face {
    font-family: "Jost";
    src: url(../fonts/Jost-Regular.ttf);
}

@font-face {
    font-family: "JostBold";
    src: url(../fonts/Jost-Bold.ttf);
}

@font-face {
    font-family: "Kaisei";
    src: url(../fonts/KaiseiTokumin-Regular.ttf);
}

/*____________________________________________________________ GENERAL & TEXT ____________________________________________________________*/

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    font-family: "Jost", Arial, Helvetica, sans-serif !important;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #112060 !important;
}

/*Headlines ______________________*/

h1 {
    font-family: Kaisei, 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 4rem !important;
    margin-bottom: 0;
    text-transform: uppercase;
}

h2 {
    font-family: JostBold, Arial, Helvetica, sans-serif;
    font-size: 2rem !important;
}

h3 {
    font-family: JostBold, Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    margin: 0;
}

h4 {
    font-family: Jost, Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
}

h5 {
    font-family: Kaisei, 'Times New Roman', Times, serif;
    font-size: 1.4rem;
}

b {
    font-family: "JostBold", Arial, Helvetica, sans-serif;
    font-weight: 700;
}

header a,
footer a {
    text-decoration: none;
}

a {
    color: inherit;
    text-underline-offset: 10px;
}



/*Background Image Settings ______________________*/

.formdiv,
.segeln_img,
.cta,
.hero_section,
.blog_link_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*Hero Section Bouncing Arrow ______________________*/


.simple-arrow {
    width: 50px;
    margin: 40px auto;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/*____________________________________________________________ CLASSES ____________________________________________________________*/

/*Padding Settings ______________________*/

.padding {
    padding: 100px 0 !important;
}

.padding-top {
    padding-top: 100px !important;
}

.padding-bottom {
    padding-bottom: 100px !important;
}

.margin-top {
    margin-top: 100px !important;
}

.margin {
    margin: 100px !important;
}

/*Colored Section Settings ______________________*/

.dark {
    background-color: #112060;
    color: #fff;
}

.light {
    background-image: linear-gradient(to top, rgb(255, 255, 255), rgba(36, 64, 146, 0.1));
}


/*____________________________________________________________ BUTTONS ____________________________________________________________*/


button {
    text-transform: uppercase;
}

.redbutton,
.darkbutton {
    background-color: #c30000;
    border: 3px solid #c30000;

    color: #fff;
    height: 80px;
    width: 450px;

    transition: ease-in 500ms;

    margin: 10px 0;
}

.redbutton:hover {
    border: 3px solid #fff;
    color: #fff;

    background-color: #00000033;
}

.darkbutton:hover {
    border: none;
    color: #fff;
    background-color: #112060;
}

form button {
    width: 100% !important;
    height: 100px !important;
    margin: 0 !important;
    padding: 0;

}

/*____________________________________________________________ Sections ____________________________________________________________*/

.hero_section {
    color: #fff;
    height: 80vh;

    background-image: url(../img/herobild.jpg);

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;

    gap: 40px;
}

.hero_section a {
    color: #fff;
}

.scroll-container {
    background-color: #112060;


    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    line-height: 0;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 1.2rem;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}



.cta {
    background-image: url(../img/ctabild.jpg);

    color: #fff;
    text-align: center;

    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cta p {
    padding: 1vw 0;
    width: 60vw;
    margin: auto;

}


/*____________________________________________________________ HEADER ____________________________________________________________*/

header {
    height: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.headerlogo {
    width: 300px !important;
}

#toggle,
.burger {
    display: none;
}

#toggle:checked~.burger {
    opacity: 0;
    pointer-events: none;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 999;
}

nav img {
    margin-right: 30px;
}


nav ul {
    display: flex;
    gap: 40px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    font-size: 1.1rem;
    list-style-type: none;
}

nav ul li a {
    color: #112060;
    transition: ease-in 500ms;

    text-decoration: underline #fff;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
}

nav ul li a:hover {
    color: #243f92;
    text-decoration: underline #243f92cc;
    text-decoration-thickness: 5px;
    text-underline-offset: 15px;
}

/*____________________________________________________________ HOMEPAGE ____________________________________________________________*/

/*Beiträge ______________________*/

.card {
    padding: 30px;

    display: flex;
    justify-content: space-between;
}

.card button {
    padding: 30px;
    height: 100%;
    margin: 0;
    border: 0;


    transition: ease-in 500ms;
}

.card p i {
    font-size: 1.2rem;
}

.beitrag .blog:nth-child(2) {
    background-color: #243f92 !important;
    color: #fff !important;
}

.blog {
    border: 1px solid rgba(36, 63, 146, 0.5);
    padding: 50px;
}

.blog_link {
    border: 1px solid rgba(36, 63, 146, 0.5);
    padding: 50px !important;
    height: 350px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.blog_link h2,
.blog_link p {
    margin: 0;
}

.blog_link button {
    width: 100%;
    margin: 0;
}

.blog_link_img {
    background-image: url(../img/blog.jpg);
    width: 500px;
    height: 100%;
}

.blog_link_content {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/*Weather ______________________*/

.weatherapp {
    margin-bottom: 10px;
}




.blog hr {
    width: 20vw;
}

/*____________________________________________________________ JUGEND ____________________________________________________________*/

.segeln {
    display: flex;
    justify-content: space-between;
}

.segeln ul {
    padding: 0;
}

.segeln li {
    list-style-type: none;
}

.segeln_img {
    background-image: url(../img/jugendsegeln.jpg);

    flex: 0 1 48%;
}

.boatlist {
    flex: 0 1 48%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 50px;
}

.jugend {
    text-align: center;
}


/*____________________________________________________________ UNSER WEG ____________________________________________________________*/

.icon {
    width: 30px;
    margin-top: 16px;
    text-align: center !important;
}

.chronik h5 {
    margin-bottom: 0;
}

.chronik_content {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.chronik_content section {
    flex: 0 1 48%;

    border: 1px solid rgba(36, 63, 146, 0.3);
    padding: 30px;
    margin: 20px 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.ehrenmitglieder {
    text-align: center !important;
}

/*____________________________________________________________VERANSTALTUNGEN ____________________________________________________________*/

.accordions .toggle-input {
    display: none;
}

.accordions .toggle-label {
    display: block;
    cursor: pointer;
    border: 1px solid #243f92;


    padding: 20px;
    margin-top: 5px;
}

.accordions .toggle-label:hover {
    color: #243f92b3;
}

.accordions .toggle-label::after {
    content: "▼";
    float: right;
}

.accordions .toggle-input:checked+.toggle-label::after {
    content: "▲";
}

.accordions .content {
    display: none;
    background-color: #243f92d0;
    color: #fff;
    border: 1px solid #243f9280;

    padding: 10px 30px;
}

.accordions .toggle-input:checked~.content {
    display: block;
}

.accordions .accordion {
    padding: 20px 0;
}

.accordions label b {
    font-size: 1.5rem;
}

.accordions h2 {
    text-align: center;
}


.accordion_row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1vw;
}

.accordion_row .accordion.width {
    margin: 0 !important;
}

.neue_event {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    margin-bottom: 10px;
}

.neue_event p {
    margin: 0;
}

.neue_event .tag {
    font-family: JostBold, Arial, Helvetica, sans-serif;
    font-weight: 800;

}

.neue_event .event_name {
    font-style: italic;

}

/*____________________________________________________________ KONTAKT ____________________________________________________________*/

input,
textarea {
    padding: 7px;
    width: 100%;

    border: 1px solid #243f924d !important;
}

textarea {
    height: 170px;
}

input,
textarea {
    margin: 15px 0;
}

form .darkbutton {
    margin-top: 20px !important;
}

.formular label p {
    margin: 0;
}

.formular {
    display: flex;
    justify-content: space-between;
}

.formdiv {
    background-image: url(../img/hafen.jpg);

    flex: 0 1 48%;
}

form {
    flex: 0 1 48%;
}

.team img {
    width: 120px;
}


.accordion_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}


.kontakt .accordion {
    flex: 1 0 48%;
}

/*____________________________________________________________ LINKS ____________________________________________________________*/

.infos .card,
.kontakt .card {
    border: 1px solid rgba(36, 64, 146, 0.5);
}

.infos .card div,
.kontakt .card div {
    display: flex;
    gap: 20px;
}


.partner h2,
.partner p {
    text-align: center;

}

.partner_links {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
}




/*____________________________________________________________ Footer ____________________________________________________________*/


footer {
    font-size: 1.15rem;
    padding: 120px 0;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


footer .logo img {
    width: 300px;
    padding-bottom: 20px;
}


footer a {
    transition: ease-in 500ms;
}

footer a:hover {
    text-decoration: underline;
}


footer hr {
    border: 1px solid #243f921a;
}

.zeit p,
.address p {
    margin-top: 0 !important;
}


/*______________________________________________ MEDIAQUERIES ______________________________________________*/


@media (min-width: 1300px) {

    /*GENERAL ______________________*/

    .width {
        width: 70vw !important;
        margin: auto !important;
    }

}

@media (max-width: 1300px) {

    /*GENERAL ______________________*/

    .width,
    .cta p {
        width: 90vw !important;
        margin: auto !important;
    }

    /*HEADER + BURGERMENU ______________________*/

    .burger {
        font-size: 3rem;
        padding: 15px;
        color: #243f92;
        display: block;
        cursor: pointer;
    }

    .menu {
        display: none;
        height: 100vh;
    }

    .menu a {
        display: block;
        font-size: 1.5rem;
        color: #243f92;
        padding: 25px;
        text-decoration: none;
    }

    #toggle:checked+.burger+.menu {
        display: block;
    }

    nav {
        align-items: center;
    }

    nav ul li a {
        text-decoration: 0 !important;
        text-decoration-thickness: 0 !important;
        text-underline-offset: 0 !important;
    }

    nav ul li:hover {
        background-color: #243f924d;

    }

    .headerlogo {
        width: 250px !important;
    }

    .burger {
        display: block;

        font-size: 1.7rem;
        cursor: pointer;
        color: #112060;
        z-index: 10;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;

        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;

        align-items: center;
        justify-content: center;
        transition: 0.6s ease-in;
        box-shadow: -5px 0 15px #0000001a;
    }

    #toggle:checked~.menu {
        right: 0;
    }


    /*FOOTER ______________________*/

    footer {
        height: 90vh;
    }

    .footer {
        flex-direction: column;
        text-align: center !important;
    }



    footer .simple-arrow {
        margin: auto;
    }

    .zeit p,
    .address p {
        margin-top: 24px !important;
    }


}


@media (max-width: 950px) {

    /*GENERAL ______________________*/

    body {
        font-size: 1.2rem;
    }

    .simple-arrow {
        width: 80px;
        margin: 40px 0;
    }

    h1 {
        font-size: 2.8rem !important;
    }

    .padding {
        margin: 70px 0;
    }

    .padding-top {
        margin-top: 70px;
    }

    .padding-bottom {
        margin-bottom: 70px;
    }

    /*HOME ______________________*/


    .hero_section button,
    .cta button {
        width: 100%;
    }

    .cta,
    .hero_section {
        text-align: left;
    }

    .cta p {
        padding: 30px 0;
    }

    .cta {
        height: 70vh;
    }

    .card {
        display: flex;
        flex-direction: column;

    }

    .card button {
        width: 100%;
        height: 100px;
    }

    .home .card button {
        width: 60vw !important;
    }




    .blog {
        height: 100vh !important;
    }


    /*SEGELN ______________________*/

    .segeln {
        flex-direction: column;
        justify-content: center;

        padding-top: 50px;
        gap: 50px;
    }


    .segeln_img {
        width: 90vw !important;
        height: 70vw !important;
        flex: none;
    }

    .boatlist {
        margin-top: 4vw;
        width: 90vw !important;
        flex: 100% !important;
    }


    /*CHRONIK ______________________*/


    .chronik_content section {
        flex-direction: column;
        flex: 100%;


        border: 1px solid rgba(36, 63, 146, 0.3);
        padding: 30px;
        margin: 20px 0;
    }


    /*EVENTS ______________________*/

    .accordion_row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .accordion_row .accordion.width {
        margin: 0 !important;
    }



    /*KONTAKT ______________________*/

    .formular {
        flex-direction: column;
    }

    form .darkbutton {
        margin-bottom: 20px !important;
    }

    .formdiv {
        background-position: bottom;
        width: 90vw !important;
        height: 50vh !important;

        margin-top: 30px !important;
        flex: none;
    }

    .team {
        padding-top: 50px;
    }

    .kontakt .accordion {
        flex-direction: column;
        flex: 100%;
    }

    .kontakt .accordion label,
    .kontakt .accordion label b {
        font-size: 1rem;
    }

    /*LINKS ______________________*/


    .partner_links {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .partner_links a:nth-child(2) {
        margin: 100px 0;
    }


    /*FOOTER ______________________*/

    .footer {
        justify-content: center !important;
        width: 90vw;
    }




    footer .simple-arrow {
        margin: 50px auto !important;

    }


}



@media (max-width: 750px) {

    .blog_link_img {
        display: none;
    }

}