@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Volkhov:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300..900&display=swap');



body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: rgb(17, 17, 17);
    background-image: url("https://kulturforum-rual.ch/img/bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

*{
    font-family: Roboto;
    color: white;
}







header{
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header a{
    color:white;
    font-family: Roboto;
    text-decoration: none;
    padding: 2%;
    font-size: 140%;
    text-align: center;
    justify-content: center;
}

header a:hover{
    text-decoration: underline;
}

.active{
    text-decoration: underline;
}
header img{
    width: 10%;
    padding: 1.5%;
    position: absolute;
    margin-left: -78%;
}

.main{
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}









button{
    background-color: white;
    color: black;
    border: solid rgba(255, 255, 255, 0) 2px ;
    border-radius: 20px;
    width: 15vw;
    height: 4vh;
    transition: 0.5s;
}

button:hover{
    background-color: rgba(0, 0, 0, 0.274);
    color: white;
    border: solid white 2px ;
}










footer{
    margin-top: 20vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2vw;
    margin-bottom: 0px;
    color: white;
}

footer a{
    color: white;
    padding-left: 4vw;
}

.footer-logo{
    width: 15vw;
}

.footer-social{
    display: flex;
    justify-content: flex-end;
    width: 100vw;
    padding-right: 2vw;
}

.fa-whatsapp{
    padding-left: 2vh;
}

.footer-main{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fa{
    transition: 0.2s;
}

.fa:hover{
    color: #afafaf;
}














/**/
/* Navigation Bar - Mobile*/
/**/




.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10vh;
    width: 12% !important;
}

.menu-button:hover{
    border: none;
    background-color: transparent;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}


.menu-overlay {
    position: fixed;
    top: -102vh;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.5s ease;
    z-index: 9;
}

.menu-overlay.open {
    top: 0;
}

.menu-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 2rem;
    font-family: Protest Guerrilla;
    font-weight: 100;
}

.close-button {
    position: absolute;
    bottom: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 100;
    height: 5vh;
    width: 12% !important;
    font-family: 'Roboto';
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
}


.close-button:hover{
    border: none;
    background-color: transparent;
}



/* Mobile Design */
@media (max-width: 768px) {
    header a {
        display: none;
    }
    .menu-button {
        display: flex;
    }
    .main{
    margin-top: 9vh;
    }

    button{
        width: 40% !important;
        box-sizing: border-box;
    }
    .event p{
        max-width: 80% !important;
    }

    header img{
        width: 25%;
        padding: 1.5%;
        position: absolute;
        margin-left: -65%;
        margin-top: 9vh;
    }

    footer a{
        padding: 5%;
    }

    .event{
        padding-bottom: 9% !important;
    }

    iframe{
        margin-top: 9vh;
    }

    body{
        background-image: url("https://kulturforum-rual.ch/img/bg-mobil.jpg");
    }

        footer a {
        padding: 4%;
    }

    .footer-logo{
        width: 30vw !important;
        padding-bottom: 4vh;
        padding-top: 2vh;
    }

    footer{
        margin-top: 20vh;
        background-color: #000000;
        padding: 2vw;
        margin-bottom: 0px;
        color: white;
        width: 100%;
        padding-bottom: 8vw;
        display: flex;
        align-content: center;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-social {
        padding-right: 5vw;
        padding-top: 1vh;
    }

    .footer-main{
        display: grid;
    }
}


nav a{
    text-decoration: none;
}
