@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: #FEFCF3;
    color: black;
}

.nav {
    width: 100%;
    background: #F5EBE0;
    display: flex;
    justify-content: space-between;
    min-height: 7rem;
    align-items: center;
    color: #eee;
    font-size: 100%;
    padding: 1rem;
    text-transform: uppercase;
}

.nav > a > img {
    height: 7rem;
}

.list {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.listItem > a {
    color: #333;
    font-size: 120%;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;    
}

.listItem > a:hover {
    color: #1f1f1f;
    text-decoration: underline;    
}

.cta {
    width: 11rem;
    padding: 0.5rem;
    font-size: 70%;
    background: #3282B8;
    border: none;
    color: #eee;
    border-radius: 0.5rem;
    text-transform: uppercase;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
}

.cta:hover {
    cursor: pointer;
    background: hsl(204, 57%, 36%);
}

.section {
    padding: 100px;
    display: flex;
    height: auto;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.sloganSection {
    box-shadow: 0px -6px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(128, 128, 128, 0.5), rgba(0, 0, 0, 0.5)), url(./img/b2edf737c14b42e285aacdecfae99d12.jpg);
    background-size: cover;
    
}

.slogan {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.slogan > h1 {
    color: #eee;
    text-shadow: 2px 2px 5px #1f1f1f;
}

.description {
    color: rgb(249, 210, 210);
    text-shadow: 2px 2px 5px #1f1f1f;
}

.aanmeldenBTN {
    margin: 10px;
    font-family: "Lato", sans-serif;
    padding: 10px 15px;
    width: 10%;
    border-radius: 5px;
    background: #3282B8;
    color: #eee;
    border: none;
    transition: 0.2s;   
    text-decoration: none; 
}

.aanmeldenBTN:hover {
    cursor: pointer;
    background: hsl(204, 57%, 36%);
}

.voordelen {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 5rem;
}

.voordeel-box {
    border: 1px solid #ccc;
    padding: 5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 2px 2px 1rem #c4c3c3;
}

.voordeel-box > span {
    color: #ffffff;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
    font-size: 150%;
    font-weight: 600;
}

.voordeel-box > a {
    color: #a5f1fd;
    text-decoration: none;
    transition: 0.2s;
}

.voordeel-box > a:hover {
    color: #40daf1;
    text-decoration: none;
}

.event, .stage, .belangen {
    background:linear-gradient(to bottom right, rgba(27, 38, 44, 0.4), 70%, rgba(50, 130, 184, 0.4)), url(https://upevents.nl/wp-content/blogs.dir/1/files/2020/09/up-events-beachclup-feest.jpg);
}

.studenten-over {
    padding: 20px;
    text-align: center;
}

.studenten {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.student {
    width: 30%;
    padding: 10px;
    background-color: #FEFCF3;
    border-radius: 5px;
    text-align: left;
    box-shadow: 3px 3px 1rem #d0cfce;
}

.student p {
    margin: 5px 0;
}

.partners {
    background-color: #F5EBE0;
    padding: 30px 20px;
    text-align: center;
}

.partner-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    margin-top: 10px;
}

.partner {
    width: 7.5rem;
    height: 7.5rem;
    background-color: #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 3px rgba(33, 33, 33, 0.479);
    background-image: url(./img/sv-unity-logo.png);
    background-size: cover;
    background-position: center;
}

.partner > img {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.partners > p {
    margin-top: 10px;
}

.meer-doen {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    gap: 3rem;
    padding: 2.5% 15% 2.5% 15%;
    flex-direction: column;
}

.more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5% 15% 0% 15%;
}

.more > p {
    width: 55ch;
}

.cta-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #697565;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.cta-btn:hover {
    background-color: #575f54;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer > a > img {
    width: 5rem;
}

.contactGegevens > ul {
    list-style: none;
    text-align: start;
}

.adres {
    display: flex;
    flex-direction: column;
    text-align: end;
}

.formContainer {
    color: #373535;
    display: flex;
    justify-content: center;
    margin: 4% 20%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

input {
    padding: 10px;
    border-radius: 5px;
    margin-top: 3px;
}

.formElement {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 1 / 4 / 2 / 5; }
.div5 { grid-area: 2 / 1 / 3 / 2; }
.div6 { grid-area: 2 / 2 / 3 / 3; }
.div7 { grid-area: 2 / 3 / 3 / 4; }
.div8 { grid-area: 2 / 4 / 3 / 5; }

.galerij {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 25px;
    list-style: none;
    width: 100%;
}

.foto > img {
    width: 100%;
    border-radius: 5px;
}

/* Media queries for responsiveness */
@media only screen and (max-width: 1200px) {
    .nav, .partners, .studenten {
        flex-direction: column;
    }

    .voordelen {
        flex-direction: column;
    }

    .formContainer {
        margin: 2% 10%;
    }

    .more {
        flex-direction: column;
    }

    .student {
        width: 45%;
    }

    .section {
        padding: 50px;
    }

    .fotos {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .voordelen, .studenten {
        flex-direction: column;
        gap: 2rem;
    }

    .student {
        width: 100%;
    }

    .nav > a > img, .partner-logo > .partner, footer > a > img {
        width: 8rem;
        height: 8rem;
    }

    .partner-logo {
        align-items: center;
        flex-direction: column;
    }

    .cta {
        font-size: 80%;
        width: 9rem;
    }

    .slogan {
        padding: 10px;
    }

    .aanmeldenBTN {
        width: auto;
    }

    .parent {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .nav, footer {
        flex-direction: column;
    }

    .cta {
        font-size: 100%;
        width: 100%;
    }

    .formContainer {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .parent {
        grid-template-columns: 1fr;
    }

    .aanmeldenBTN, .cta-btn {
        width: 100%;
    }
}
