*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Bayon', 'Poppins';
}
html{
    scroll-behavior: smooth;
}
.container{
    max-width: 1200px;
    padding: 10px 30px;
    margin: 0 auto;
}

a{
    text-decoration: none;
}
/* Header */

header{
    background-color: #b621df;
    box-shadow: -1px 8px 5px 0px rgba(0,0,0,0.18);
}
header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo img{
    width: 80px;
}
header .heading{
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}
header .navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.navbar a{
    color: #fff;
    font-size: 24px;
}
.nav-btn{
    background-color: #b621df;
    border-radius: 15px;
    border: none;
    padding: 5px 15px;
}
.nav-btn a{
    font-size: 23px;
    font-family: 'Bayon';
}
/* Slider */
main{
    position: relative;
    height: 100vh;
    font-family: 'Bayon';
    line-height: 1.1;
    letter-spacing: 1.5px;
}
.slide {
    max-width: 100%;
    height: 100vh;
    clip-path: circle(0% at 0 50%);
    position: relative;
    overflow: hidden;
}

.slide.active {
    transition: 1s;
    transition-property: clip-path;
    clip-path: circle(150% at 0 50%);
}

.slide img {
    width: 100%;
    height: 100%;
    z-index: 1;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.img-slider {
    position: relative;
    width: 100%;
}

.img-slider .slide {
    z-index: 1;
    width: 100%;
    position: absolute;
}

.slide .info {
    position: absolute;
    z-index: 2;
    top: 30%;
    color: #fff;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.info h1 {
    font-size: 45px;
    margin-bottom: 20px;
}

.info p {
    font-size: 24px;
    line-height: 1.2;
}

.slide-btns {
    position: relative;
    
}

.navigator {
    display: flex;
    z-index: 1;
    position: absolute;
    top: 520px;
    left: 50%;
    transform: translateX(-50%);
}

.navigator .btn {
    background: rgba(20, 20, 20, 0.2);
    width: 14px;
    height: 14px;
    margin: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.navigator .btn.active {
    background: #b621df;
}

.flex-btns {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-family: 'Poppins';
}

.btn-hero {
    font-size: 20px;
    font-family: inherit;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.btn-hero a {
    color: #fff;
    text-transform: uppercase;
}

.btn-1 {
    background: #b621df;
    transition: 250ms;
}

.btn-2 {
    background: #000;
    transition: 250ms;
}

.btn-1:hover {
    background: #a0c0c3;
}
.btn-1:hover > a{
    color: #fff;
}

.btn-2:hover {
    background: #b621df;
}
.slide .overlay, .timetable .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* NEWS */
.news-neues {
    margin: 40px 0;
}

.news-neues .container {
    display: flex;
    gap: 20px; /* Abstand zwischen Text und Bild */
    align-items: flex-start; /* Inhalte oben ausrichten */
    justify-content: space-between; /* Text links, Bild rechts */
    background-color: #a0c0c3; /* Hintergrundfarbe */
    border-radius: 15px; /* Abrundung der Ecken */
    padding: 20px; /* Innenabstand */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
}

/* Linker Bereich: Texte */
.news-neues .text-content {
    flex: 2; /* Linker Bereich nimmt mehr Platz ein */
    display: flex;
    flex-direction: column; /* Inhalte untereinander anordnen */
    gap: 30px; /* Abstand zwischen den Abschnitten */
    text-align: left; /* Linksbündige Ausrichtung */
}

.news-neues .holiday-message {
    text-align: left;
}

.news-neues .holiday-message h2 {
    font-size: 24px;
    color: #b621df; /* Optional: Farbe für den Titel */
    margin-bottom: 10px; /* Abstand zwischen Titel und Text */
}

.news-neues .holiday-message p {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    color: #333; /* Optional: Farbe für den Text */
    margin: 0;
}

.news-neues .news-text {
    text-align: left;
}

.news-neues .news-text .head-title {
    color: #b621df;
    font-size: 30px;
    font-family: 'Bayon';
}

.news-neues .news-text .divider {
    width: 60px;
    height: 3px;
    background-color: #b621df;
    margin-top: 5px;
    margin-bottom: 15px;
}

.news-neues .further-info {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Rechter Bereich: Bild */
.news-neues .image-container {
    flex: 1; /* Nimmt den verfügbaren Platz ein */
    display: flex;
    justify-content: center; /* Zentriere das Bild innerhalb des Containers */
    align-items: center; /* Zentriere das Bild vertikal */
}

.news-neues .image-container img {
    width: auto; /* Bild behält seine Breite proportional */
    max-height: 400px; /* Begrenzung der Höhe, z. B. auf 300px */
    object-fit: contain; /* Proportionales Skalieren ohne Verzerrungen */
    border-radius: 10px; /* Optionale Abrundung des Bildes */
}
/* Unterstrich für Titel */
.holiday-message .divider {
    width: 280px; /* Breite des Unterstrichs */
    height: 3px; /* Höhe des Unterstrichs */
    background-color: #b621df; /* Farbe des Unterstrichs */
    margin-top: 10px; /* Abstand oberhalb */
    margin-bottom: 15px; /* Abstand unterhalb */
}

/* About us */
.about-us{
  margin: 40px 0;
}
.about-us img{
    width: 40%;
}
.head-title{
    color: #b621df;
    font-size: 30px;
    font-family: 'Bayon';
}
.divider{
    width: 165px;
    height: 3px;
    background-color: #b621df;
}
.about-us .container{
    display: flex;
    
    gap: 60px;
}
.further-info{
    font-family: 'Poppins';
    margin-top: 20px;
}
/* .lessons */
.lessons{
    margin: 40px 0;
    font-family: 'Poppins';
}
.lessons .head-title{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lessons .container{
    background-color: #b621df;
    margin-top: 30px;
    padding: 30px;
    color: #fff;
    display: flex;
    gap: 30px;
    border-radius: 10px; /* Optionale Abrundung des Bildes */
}
.lessons .container:nth-of-type(even){
    background-color: #a0c0c3;
    border-radius: 10px; /* Optionale Abrundung des Bildes */
}
.container img{
    width: 40%;
}
.lessons ul{
    margin: 20px;
}
.lessons h2{
    margin-bottom: 20px;
}
.jump p{
    margin: 15px 0;
}
/* timetable */
.timetable{
    margin-top: 40px;
    background-image: url('../images/slides/IMG_5522.jfif');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #fff;
    position: relative;
}
.timetable .container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 40px;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
}
.time-item{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.flex-title{
    background-color: #a0c0c3;
    padding: 10px 30px;
    text-align: center;
    border-radius: 10px; /* Optionale Abrundung des Bildes */
}
.time-box{
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 10px; /* Optionale Abrundung des Bildes */
}
.time-title{
    font-size: 24px;
    border-bottom: 2px solid #b621df;
    color: #000;
    text-align: center;
}
.time-box ul{
    list-style: none;
    color: #000;
    font-size: 18px;
}

.cards{
  
    background-color: #a0c0c3;
    padding: 40px 0;
}
.cards .container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.card{
    background-color: #b621df;
    display: flex;
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 10px;
    color: #fff;
    font-family: 'Poppins';
    border-radius: 20px;
    box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.55);
}
.card-price{
    font-size: 40px;
    position: relative;
}
.card-price::before{
    content: 'CHF';
    position: absolute;
    top: 0;
    left: -30px;
    font-size: 14px;
    font-weight: 600;
}
.card-btn{
    background-color: #a0c0c3;
    cursor: pointer;
    margin-top: 30px ;
    font-weight: 600;
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 15px;
    transition: 300ms;
    box-shadow: 0px 1px 5px 2px rgba(0,0,0,0.15);
}
.card-btn:hover{
    background-color: #85a3a6;
}
.card-btn a{
    color: #fff;
}
/* Contact */
.contact{
    padding: 40px 0;
    background-color: #b621df;
}
.contact .head-title{
    color: #fff;
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}
.contact .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
}
.icons-side{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.icons-side i {
    font-size: 24px;
    color: #b621df;
    margin-right: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50%;
}
.social a i{
    background: none;
    color: #a0c0c3;
    font-size: 30px;
}
.icons-side span{
    font-size: 24px;
}
form .name{
    display: flex;
    gap: 20px;
}
form input, textarea{
    width: 100%;
    padding: 10px 5px;
    resize: none;
}
textarea{
    
    width: 100%;
    padding: 10px 5px;

}
.inp-btn input{
    background-color: #a0c0c3;
    border: none;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.map{
    background-color: #a0c0c3;
    padding: 30px 0;
}
.map iframe{
    width: 100%;
}

footer{
    background-color: #b621df;
    padding: 20px 0;
    text-align: center;
}
footer .container .logo img{
    width: 150px;
}
.copy{
    color: #fff;
    font-size: 18px;
}
@media screen and (max-width: 560px) {
    .icons-side i{
        font-size: 18px;
        padding: 0;
        background: none;
        color: #fff;
    }
    .icons-side span{
        font-size: 18px;
    }
    .icons-side{
        margin-bottom: 40px;
    }
    .about-us .container{
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
    }
    .about-us .container img{
        width: 100%;
    }
    .lessons .container{
        background-color: #b621df;
        margin-top: 30px;
        padding: 30px;
        color: #fff;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    .lessons .container img{
        width: 100%;
    }
    header .navbar{
        display: none;
    }
    .logo{
        text-align: center;
    }

    /* News-Sektion: Flexbox anpassen */
    .news-neues .container {
        flex-direction: column; /* Text und Bild untereinander */
        align-items: center; /* Zentriert die Inhalte */
    }

    .news-neues .text-content {
        text-align: center; /* Text zentriert auf kleinen Geräten */
    }

    .news-neues .holiday-message h2,
    .news-neues .news-text .head-title {
        font-size: 22px; /* Kleinere Schriftgröße für Titel */
    }

    .news-neues .holiday-message p,
    .news-neues .further-info {
        font-size: 16px; /* Kleinere Schriftgröße für Fließtext */
    }

    .news-neues .image-container {
        width: 100%; /* Bild nimmt volle Breite ein */
        margin-top: 20px; /* Abstand zum Textbereich */
    }

    .news-neues .image-container img {
        max-height: 550px; /* Kleinere Höhe für das Bild */
        object-fit: contain; /* Proportionale Skalierung */
    }
}
