/*
Theme Name: JYC-2025-Childtheme
Template: twentytwentyfive
Version: 1.2
Author: MitSZ-PV
Description: Ein Theme für den Verein JYC Dangast-Varel e.V., basierend auf dem Wordpress-Theme twentytwentyfive.
Text Domain: jyc-2025-child
*/

/*
 *
 * Custom-CSS für das JYC-Template
 *
 */

/* JYC-Farben
    #3F6CA6 - Light Blue
    #2C4A73 - Dark Blue
    #4b90ea - Higlight
    #F2F2F2 - Light
    #0D0D0D - Dark */

/* Allgemeines */
body {
    background-color: #1b1b1b;
    color: #fff;
}

h1 {
    color: #3F6CA6;
}

h2 {
    color: #3F6CA6;
    font-weight: bold;
}

h3 {
    color: #3F6CA6;
}

a {
    color: #e7b65a;
}
 a:hover {
    color: #e7b65a;
    text-decoration: none;
}

a:visited {
    color: #A6823F;
}

strong {
    color: #4b90ea;
}

/* Tabellen */
th {
    text-align: left;
    font-weight: normal;
    background-color: #1C2D44;
}

tr:hover {
    background-color: #ffffff2d;
    font-weight: bold;
}

/* Bilder */
img {
    background-color: #1c304bd8;
    border-color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
}

.custom-logo {
    background-color: #1c304b00;
    border-style: none;
    border-radius: 0px;
    border-width: 0px;
}

.imgMenue {
    background-color: transparent;
    border-style: hidden;
    border-radius: 0px;
    border-width: 0px;
    margin-right: 2px;
    margin-bottom: -4px;
    width: 24px;
    height: 24px;
}


/* Trennstriche */
.wp-block-separator {
    margin-left: 20px;
    margin-right: 20px;
}

/* Benachrichtungen */
.jyc-toast-layer {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999999;
}

.jyc-toast {
    width: 320px;
    padding: 12px 14px;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(20px);
    transition: all .25s ease;

    font-size: 16px;
}

.jyc-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.jyc-toast-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;

    font-size: 20px;
}

.jyc-toast-header small {
    flex-basis: 100%;
    font-size: 0.75rem;
    margin-top: 8px;
    margin-right: 4px;
    opacity: 0.8;
    text-align: right;
}

.jyc-toast-close {
    background: transparent;
    border: 0;
    color: black;
    font-size: 18px;
    cursor: pointer;
}

.jyc-toast-info {
    background: #f5f5f5;
    color: #111;
    border-color: black;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
}

.jyc-toast-wichtig {
    background: #ffc107;
    color: #111;
    border-color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
}

/* Header - ggf. headerSticky im Block-Editor als CSS-Class setzen */
.headerSticky::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #1B1B1B, rgba(255, 255, 255, 0));
    pointer-events: none;

    border-style: none;
    border-radius: 10px;
    border-width: 2px;
}

.headerSticky {
    position: sticky;
    top: 0;
    z-index: 99;
    margin: 20px;
    padding-right: 20px;

    background-color: #1c304bd8;


    border-color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;

}

.headerImage {
    margin: 20px;

    border-color: white;
    border-style: solid;
    border-radius: 10px;
    border-width: 2px;
}

/* Navbar */
.navbarGroup a:hover {
    background-color: #5fa4ff;
    color: #000
}

.navbarGroup a:visited {
    color: #000
}


/* Screen-Anpassungen */

/* Scrolling Navbar Abstand */

@media screen and (min-width: 1681px) {
    .startGroup {
        scroll-margin-top: 200px;
    }
}

@media screen and (max-width: 1680px) {
    .startGroup {
        scroll-margin-top: 240px;
    }
}

@media screen and (max-width: 1095px) {
    .startGroup {
        scroll-margin-top: 320px;
    }
}



/* Icons + Schrift Navbar */
@media screen and (max-width: 1194px) {

    .navbarButton a {
        font-size: small;
    }

    .navbarButton img {
        width: 16px;
        height: 16px;
        margin-bottom: -3px;
    }

}

@media screen and (max-width: 1000px) {

    .navbarButton a {
        font-size: x-small;
    }

    .navbarButton img {
        width: 16px;
        height: 16px;
        margin-bottom: -3px;
    }

}


@media screen and (max-width: 906px) {

    .navbarButton a {
        font-size: x-small;
    }

    .navbarButton img {
        width: 16px;
        height: 16px;
        margin-bottom: -3px;
    }

    .navbarText  {
        display: none;
    }

}