@font-face {
    font-family: "WaitingfortheSunrise";
    src: url(../fonts/WaitingfortheSunrise.woff);
}

@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-Regular.woff);

}
@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-Bold.woff);
    font-weight: bold;

}

body {
    background-color: #D8D7CA;
    margin: 0px;
    padding: 0px;
}

header{
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 565px;

}

.header-section {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: column;
    width: 1100px;
    background-image: url(../images/Background-chrabeli.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 565px;
}

.logos-frei{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30%;
}

.header-chraebeli {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 50%;
    width: 100%;
}

.badenfahrtSorten-logo{
    margin-right: 50px;
}

.chraebeli-logo{
    width: 200px;
    height: 200px;
}

.section-title{
    display: flex;
    justify-content: center;
    align-items: center;
    width:100vw;

}

.content-title{
    font-family: 'WaitingfortheSunrise';
    width: 1100px;
    height: 190px;
}

.rotate-title-1{
    font-size: 60px;
    transform: rotate(-4deg);
    margin:0px;
    color: #0D2243;
}

.rotate-title-2{
    margin: 0px;
    font-size: 60px;
    transform: rotate(-4deg);
    color: #839BB1;
}

.check-area{
    width: 100vw;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    
}

.checkbox-form{
    justify-content: center;
    flex-direction: column;
}

.checkbox-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.checkbox-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 350px;
    margin: 40px;
}

label {
    font-size:25px;
    font-family: 'Poppins';
    margin-bottom: 20px;
    color:#2C4860;
}

input[type='radio']{
    width: 30px;
    height: 30px;
    margin-top: 15px;
    margin-bottom: 15px;

}

input[type='submit']{
    font-family: 'Poppins';
    font-weight: bold;
    width: 200px;
    height: 50px;
    background-color: #2C4860;
    color:#ffffff;
    border-color: #ffffff;
    font-size: 25px;
    margin: 10px; 

}

.submit-area{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    
}

.article-section{
    font-family: 'Poppins';
    width: 100vw;
    display: flex;
    justify-content: center;
    padding-bottom: 200px;
    margin-top:30px;

}

article{
    width: 1000px;
    background-color: #2C4860;
    color: #ffffff;
    padding: 30px 50px;
    border: 3px solid #ffffff;

}

article h3 {
    font-size: 25px;
}

article p {
    font-size: 25px;
}

footer {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100vw;
    height: 80px;
    background-color: #2C4860;
}

.footer-section {
    font-family: 'Poppins';
    justify-content: center;
    align-content: center;
    color: #ffffff;

}

.session-section{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins';
    font-size: 20px;
    color: #ffffff;
    background-color: #0D2243;
}

@media only screen and (max-width: 1100px) {
    .header-section{
        background-position: top;
        background-size: cover;
        width: 90%;
        height: 500px;
    }

    header{
        height: 500px;
    }


    .checkbox-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 350px;
        margin: 20px;
    }

    .checkbox-content img{
        width: 180px;
    }

    .chraebeli-logo{
        width: 150px;
        height: 150px;
    }

    .badenfahrtSorten-logo{
        margin-right: 25px;
    }

    .rotate-title-2 {
        font-size: 35px;
    }

    .rotate-title-1 {
        font-size: 35px;
        
    }

    .content-title{
        width: 80%;
        height: 150px;
    }

    article{
        width: 70%;
        margin: 0;
    }

    article p{
        font-size: 18px;
    }

    .article-section{
        padding-bottom: 50px;
    }

  }

  @media only screen and (max-width: 800px) {
    .chraebeli-logo{
        width: 120px;
        height: 120px;
    }

    .checkbox-content img{
        width: 150px;
    }
  }

  @media only screen and (max-width: 600px) {
    .header-section {
        display: flex;
        justify-content: space-between;
        align-content: center;
        flex-direction: column;
        width: 600px;
        /* background-image: url(../images/Badenerchraebeli-Background-mobile.png); */
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        height: 430px;
    }

    header{
        height: 430px;
    }

    .section-title{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 120px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .content-title{
        width: 90%;
        height: auto;
    }

    .chraebeli-logo{
        width: 150px;
        height: 150px;
    }

    .checkbox-row{
        width: 100%;
    }

    .checkbox-content{
        margin: 10px;
        height: 250px;
    }

    .checkbox-content img{
        width: 90px;
    }

    label {
        font-size:20px;
        font-family: 'Poppins';
        margin-bottom: 20px;
    }

    .rotate-title-2 {
        font-size: 2.2em;
    }

    .rotate-title-1 {
        font-size: 2.2em;
        
    }

    .article-section{
        padding-bottom: 50px;
    }

    article {
        width: 85%;
        padding: 10px;
    }

    article h3 {
        font-size: 18px;
    }

    article p {
        font-size: 14px;
    }

  }

  @media only screen and (max-width: 480px) {
    .rotate-title-2 {
        font-size: 1.7em;
    }

    .rotate-title-1 {
        font-size: 1.7em;
        
    }
  }

  @media only screen and (max-width: 400px) {
    .header-section {
        display: flex;
        justify-content: space-between;
        align-content: center;
        flex-direction: column;
        width: 100vw;
        
        background-position: center;
        background-size: center;
        background-repeat: no-repeat;
        height: 300px;
    }

    header{
        height: 295px;
    }

    .chraebeli-logo{
        width: 120px;
        height: 120px;
    }

    .section-title{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 120px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .content-title{
        height: auto;
    }

    .rotate-title-2 {
        font-size: 1.8em;
    }

    .rotate-title-1 {
        font-size: 1.8em;
        
    }

    label{
        font-size: 15px;
    }

    .checkbox-content{
        margin: 10px;
        height: 200px;
    }

    .submit-area{
        margin: 15px;
    }

    .article-section{
        margin-top: 5px;
    }

    article{
        width: 85%;
    }

    footer{
        height: 30px;
    }

    .footer-section{
        font-size: 10px;
    }
  }

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

    header{
        height: 300px;
    }

    .header-section{
        min-height: 300px;
    }

    .chraebeli-logo{
        min-width: 100px;
        min-height: 100px;
    }

    .section-title{
        min-width: 320px;
        height: 155px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .content-title{
        height: auto;
    }


    .submit-area{
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .check-area{
        min-width: 320px;
    }


    .rotate-title-2 {
        font-size: 1.4em;
    }

    .rotate-title-1 {
        font-size: 1.4em;  
    }

    .article-section{
        min-width: 320px;
    }

    footer{
        min-width: 320px;
    }


  }