html, body {
    height: 100%;
}

body {
    font-family: "greycliff-cf", sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    margin: 0;
    padding: 0;
    overflow: scroll;
    scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar {  /* Webkit Browser */
    display: none;
  }

header {
    position: relative; 
    width: 100%;  
    background-color: transparent; 
}

.logo{
    position: fixed;
    letter-spacing: 0.1em ;
    top: 10px;  
    right: 10px;  
    font-size: 1.2em;
    font-weight: 400;
    text-decoration: none;
    color: #000; 
    padding: 10px;
    z-index: 10;

}
a{
    color: #3686D8;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 700;
}

.textlink{
    color: #3686D8;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
}

a:hover{
    color: #85B9EF;
}

p{
    font-size: 0.9em;
    font-weight: 400;
}

h1 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 100px 0 30px 10%;
}

h2 {
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.1em ;
    margin-top: 30px;
    text-transform: uppercase;
}

h3{
    font-size: 1em;
    font-weight: 700;
    margin-top: 10px;
}

h4 {
    font-size: 1em;
    font-weight: 700;
    margin-top: 10px;
}

h5{
    font-size: 1.4em;
    font-weight: 700;
    line-height: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.quote{
    font-size: 1em;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #3686D8;
}

ul {
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
}

li{
    font-size: 0.9em;
    margin-bottom: 1em;
}
.full-width-bar {
    width: 100vw;
    height: 40px;
    background-color: #85B9EF; 
}
.arrow {
    margin-left: 50px; 
}

.color-blue {
    color: #3686D8;
}


/*ABOUT*/
.about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 2rem 0;
    max-width: 100%;
}

.about .content {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.about .images {
    width: 66%;
    display: flex;
    flex-direction: column;
}

.about .images img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    margin: 0;
    padding: 0;
}

.about .text {
    width: 25%;
    padding-top: 20%;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
}

.about .text h2 {
    width: 100%;
}

.about .lower-content {
    display: flex;
    justify-content: space-between;
    width:auto;
    margin-left: 15%;
    margin-top: 10%;
    gap: 3rem;
}

.about .lower-content img {
    height: auto;
}


/*BANNER*/
.banner{
    background-color: #85B9EF;
    color: #fff;
    padding-left: 2%;
}
.banner  span{
    padding: 0 0.6rem;
}


/*OFFERING*/
.offering {
    padding: 2rem 10%;
}

.offering-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}


.offering-content.reverse {
    flex-direction: row-reverse;
}

.offering-text {
    width: 500px;
}

/*normal*/
.offering-content:not(.reverse) .offering-text {
    margin-left: 0;
}

/*reverse*/
.offering-content.reverse .offering-text {
    margin-left: auto;
    margin-right: 0; 
}

.offering-image {
    flex: 1;
}

.offering-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.offering-image.square-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.offering-image.square-centered img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border: #85B9EF 4px solid;
}


/*CLASSES*/
.studio-classes{
    margin-bottom: 30px;
    color: #3686D8;
}

.studio-classes a{
    font-size: 1em;
    
}


/*EVENTS*/
.events {
    position: relative;
    padding: 6rem 10%;
    background-image: url("images/hug-bw.jpg");
    background-size: 200%;
    background-position: right center;
    background-repeat: no-repeat;
  }
  
  .events .content {
    position: relative;
    z-index: 2;
  }
  
  .events h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
   .event{
    margin-bottom: 2rem;
   }


/*GALLERY*/
.gallery {
    width: 100%;
    padding: 0;
    margin: 2rem 0 2rem 0;
    overflow: hidden;
  }
  
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .gallery-row img {
    height: 400px;               
    flex: 1 0 calc(16.66% - 6.66px);
    object-fit: cover;
    min-width: 0;               
  }


/*EDUCATION*/
.education {
    padding: 40px 10%;
}

.education .content {
    display: flex;
    justify-content: space-between; 
    gap: 40px; 
}

.education .column {
    width: 50%;
}


/*PARTNERS*/
.partners{
   padding: 40px 0; 
}

.partners .grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); 
    grid-auto-rows: 180px; 
    width: 100vw; 
    gap: 0;
}

.square {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.square img {
    max-width: 70%;
    max-height: 70%;
}

.aethoscolor {
    background-color: #97B7B6; 
}

.casacolor{
    background-color: #C9B9A7; 
}

.black{
    background-color: #000; 
}
.blue{
    background-color: #85B9EF; 
}


/*CONTACT*/
.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 10% 100px 10%;
    max-width: 100%;
}
.contact .content {
    display: flex;
    width: 100%;
    align-items: center;
}
.contact .text {
    width: 66%;
    display: flex;
    flex-direction: column;
    padding-right: 100px;
}
.contact .image {
    border: 4px solid #85B9EF; 
    width: 50%;
    display: flex;
    flex-direction: column;
}
.contact .image img {
    width: 100%; 
    height: auto;
}
.contact-link {
    font-size: 2em;
    font-weight: bold;
    color: #000000;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 2px solid black; 
    padding-bottom: 5px; 
    text-decoration: none; 
}

.contact-link span {
    word-spacing: 5px;
}

.contact-link:hover {
    color: #85B9EF;
    border-bottom: 2px solid #85B9EF;
    text-decoration: none;
}

/*FOOTER*/
footer {
    background-color: black;
    padding: 20px;
    text-align: center;
    color: #fff;
}

footer a{
font-size: 0.9em;
color: #fff;
padding: 0 20px;
}

/*IMPRINT*/
.impressum-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

/*Media Queries*/

@media (max-width: 900px) {
    /*About*/
    .about .content {
        flex-direction: column;
    }

    .about .text {
        width: 90%;
        max-width: 700px;
        padding: 20px 10%;
        padding-top: 40px;
        box-sizing: border-box;
    }

    .about .about-images {
        width: 90%;
        max-width: 700px;
        box-sizing: border-box;
    }

    .about .bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-left: 0;
        gap: 10px;
    }

    .about .bottom img {
        width: calc(50% - 5px);
    }
    
    /*Offerings*/
    .offering-text{
        width: 200px;
    }
    
    .offering.last{
        margin-bottom: 2rem;
    }


    /*Events*/
    .events .content {
        flex-direction: column;
        align-items: center;
    }
    .events .text {
        width: auto;
        padding-left: 0;
    }

    /*Education*/
    .education .content {
        flex-direction: column;
        gap: 0;
    }
    .education .column {
        width: 100%;
    }

    .education .text,
    .education .text-right {
        width: 100%;
        padding: 1rem 10%;
        box-sizing: border-box;
    }

    .education .text-right {
        margin-top: 1rem;
    }
}

@media (max-width: 800px) {

    h5{
        font-size: 1em;
        line-height: 1.2rem;
        letter-spacing: 0.02em;
    }

    .partners .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .contact .text {
        padding-right: 2rem;
      }

    .contact .text .contact-link{
        gap: 4px;
      }
    
    .contact .image {
        width: 50%;
    }
}


@media (max-width: 600px) {
    .offering {
        padding: 20px 10%;
    }

    .offering.last{
        margin-bottom: 2rem;
    }

    .offering-content {
        display: block;
    }
    
    .offering-text{
        width: 100%;
    }

    .offering-image{
        margin-top: 1rem;
    }

    .gallery-row img {
        height: 200px;
        flex: 1 1 calc(50% - 8px);
    }
}


@media (max-width: 500px) {
    .partners .grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

