@media (max-width: 750px) {
    .smallscreen {
        display: block;
    }
    .widescreen {
        display: none;
    }
    .header_menu {
        justify-content: flex-start; 
    }
    .copyright {
        padding-bottom: .5em;
    }
    .narrow {
        width: 100%;
    }
    .box .cup_text {
        font-size: 75%;
    }
    .miniball-without-border {
        width: 20px;
        height: 20px;     
        margin-left: 0px;
        margin-right: 4px;
    }
    blockquote {
        margin: 2px;
    }
}

@media (min-width: 750px) {
    .smallscreen {
        display: none;
    }
    .widescreen {
        display: block;
    }
    .header_menu {
        justify-content: center; /* Horizontale Zentrierung */
    }
    .copyright {
        position: absolute;
        top: 0;
        left: 0;
        padding-top: .5em;
    }
    .narrow {
        width: 500px;
    }
    .bg_img .cup_text {
        padding-left: 75px;     
    }
    .bg_img .break {
        display: none;
    }
    .miniball-without-border {
        width: 27px;
        height: 27px;     
        margin-left: 0px;
        margin-right: 5px;
    }
}


html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.showBox {
    cursor: pointer;
}

section h3, .small_line_height {
    line-height: 80%;
}

.footer {
    position: relative;
}

.copyright {
    padding-left: 2em;
}

.alumni-sans-pinstripe-regular {
    font-family: "Alumni Sans Pinstripe", serif;
    font-weight: 800;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}

.dosis-regular {
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.source-sans-pro {
    font-family: "Source Sans Pro", serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "Alumni Sans Pinstripe", serif;
    padding-top: 38px;
}

iframe.maxwidth {
    width: clamp(250px, 93vw, 375px);
    border: none;
}

.emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    /*font-size: 2rem;*/
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Schatten für besseren Effekt */
    z-index: 1000;
}

.menu {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    height: 32px;
    padding: 3px;    
    /*margin-top: 3px; 
    margin-bottom: 3px;*/ 
}

.footer_menu {
    justify-content: center;
}

.menu, #menuPanel {                    
    font-size: clamp(22px, 5vw, 24px);
    white-space: nowrap;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.box {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */   
    /*height: 300px;*/
    margin-top: 3px; 
    margin-bottom: 3px;
    padding: 20px;
    position: relative;
}

.narrow {
    margin: auto;
}

.narrow .left {
    text-align: center; 
}

.narrow .center {
    text-align: center; 
}

.box_datenschutz, .box_impressum {
    display: none;
}

.label {
    position: absolute;
    top: 3px;
    left: 32px;                
    font-size: 32px;
    padding-left: 10px;                
    padding-right: 10px;
    font-family: "Alumni Sans", serif;
}

.inner {
    width: 100%;
    height: 100%;
    border-style: solid;
    border-width: 2px;    
    border-radius: 5px;
    font-family: "Lato", serif;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 180%;
}

.header_img {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: 38px;
}

.background_img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg_img {
    display: flex;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;

    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.bg_img.active {
    opacity: 1;
    visibility: visible;
}

.cup_text {    
    width: 100%; 
    left: 0; 
    display: flex; 
    font-family: "Alumni Sans", serif;
}

.bg_img .cup_text {
    position: absolute; 
}

.bg_img .cup_text.bottom {
    bottom: 50px;     
} 

.bg_img .cup_text.top {
    top: 20px; 
} 

h2.cup_title {
    border-right: 1px solid black;
    font-size: 190%;
    font-weight: bold;
    padding-right: 1em;
    font-family: Dosis;
    text-align: right;
}

.cup_column {
    padding: 0 1.5em;
    display: flex;
    align-items: center;
}

.cup_column:has(.cup_title) {
    padding-right: 0;
}

.miniball {
    width: 16px;
    height: 16px;     
    margin-left: 10px;
    margin-right: 10px;
    border-width: .5px;
    border-style: solid;
    border-color: rgba(255,255,255,.3);
    border-radius: 50%;
}

.img_24 {
    width: 24px;
    height: 24px;     
    margin-top: 8px;        
    margin-left: 8px;
}

a {
    text-decoration: none;
}

.icon {
    width: 24px;
    height: 24px;
    display: inline-block; /* Damit es sich in den Textfluss einfügt */
    margin: 0 5px;
}

.icon-bible {
    background: url('../resource/icons8-buch-48.png') no-repeat center !important;
    background-size: 24px !important;
}

.icon-timelist {
    background: url('../resource/icons8-eigenschaftszeit-48.png') no-repeat center !important;
    background-size: 24px !important;
}

.icon-calendar {
    background: url('../resource/icons8-abreißkalender-48.png') no-repeat center !important;
    background-size: 24px !important;
}

.icon-register {
    background: url('../resource/icons8-fügen-sie-benutzer-zur-gruppe-hinzu-mann-mann-48.png') no-repeat center !important;
    background-size: 24px !important;
}

.input-teamleader {
    background: url('../resource/icons8-mannschaft-48.png') no-repeat 10px center !important;
}

.input-phone {
    background: url('../resource/icons8-telefon-48.png') no-repeat 10px center !important;
}

.input-mail {
    background: url('../resource/icons8-email-48.png') no-repeat 10px center !important;
}

.input-church {
    background: url('../resource/icons8-kathedrale-48.png') no-repeat 10px center !important;
}

.input-name {
    background: url('../resource/icons8-name-48.png') no-repeat 10px center !important;
}

.input-message {
    background: url('../resource/icons8-inschrift-48.png') no-repeat 10px center !important;
}

.input-bg {
    background-size: 16px !important;
}

form button {
    width: 340px !important;
}

input, textarea {
    width: 290px !important;
    padding: 10px 10px 10px 35px !important;
    border-style: solid !important;
    border-width: 2px !important;
    border-radius: 5px !important;
}

.ui-input-text::after { 
    width: 89% !important;
}

.ui-page-theme-a, .menu, #menuPanel, .copyright {    
    text-shadow: none !important;
}

input, textarea, .inner {
    border-color:  #717171  !important;
}  

.arrow {
    border-color: white;
}

.menu, #menuPanel, .copyright, blockquote {
    background-color: #717171 !important; /*#344558;*/
}

.box, .label, .ui-page-theme-a  {
    background-color: #bbb !important; /*#344558;*/
}

.cup_text{
    background-color: rgba(244,244,244,0.7);
}

a:link  { color: #717171; }

.box, .label, .innner, .input-bg, .activeLink, .copyright, .copyright a {
    color: black !important; 
}

.menu a:not(.activeLink), #menuPanel a:not(.activeLink) {
    color: #bbb !important;
}

a:hover, .menu a:hover, #menuPanel a:hover { 
    color: #5dade2 !important; 
}

.cup_text {
    border: 2px solid transparent;
}

.cup_text:hover {
    border-color: #5dade2;
}

.arrow, blockquote {
    color: white;
}

.dot {
    background-color: white;
}

.highlight {    
    color: #2980b9; //#e74c3c;
}

.navigation-dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.dot {
    cursor: pointer;
    height: 5px;
    width: 5px;
    margin: 0 7px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.5s ease;
}

.dot.active {
    height: 12px;
    width: 12px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    cursor: pointer;
    font-size: 30px;
    z-index: 1;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.labelIcon {
    display: none;
}

italic {
    font-style: italic;
    text-indent: 2em;
}

.mini {
    font-size: 12px;
}

.ui-focus {
    box-shadow: none !important; 
}

blockquote {
    padding: 10px;
    border-left: 5px solid #2980b9; //#e74c3c;
}

.highlight {
    font-weight: bold;
}

.centerbox {
    display: flex; 
    justify-content: center;
}

.left {
    text-align: left !important;
}

h2 {
    line-height: 1.3;
}

.alert-box {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fefefe;
    border: 2px solid #333;
    padding: 20px 30px;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    font-family: sans-serif;
    border-radius: 8px;
}

.alert-box button {
    margin-top: 10px;
    padding: 6px 12px;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    border-left: 3px solid #ccc;
    padding-left: 1rem;
}

.event {
    position: relative;
    padding-left: 1rem;
}

.event::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 7px;
    width: 12px;
    height: 12px;
    background-color: #2980b9;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #2980b9;
}

.event.past {
    opacity: 0.4;
}

.event.present .label_timeline, .event.present .time {
    background-color: #dff0ff;
}

.label_timeline {
    padding-right: 5px;
}

.time {
    padding-left: 5px;
}

.event.future {
    opacity: .8;
}

.time {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2980b9;
    text-transform: uppercase;
}

.label_timeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.icon_timeline {
    font-size: 1.2rem;
}