*{
    margin: 0px;
    padding:0px;
    box-sizing: border-box;

    --prime-color:  #6ab5d0;

}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto', sans-serif;
    /* limit the width zodat scherm er goed uit ziet bij grotere schermen*/
    max-width: 2400px;
    /* center the content */
    margin: 0 auto;
    background-color: #e5e9e9;
}

nav li{
    list-style: none;
    margin-right: 40px;
    font-size: 18px;
}

h1{
    margin-left: 40px;
}

header a{
    text-decoration: none;
    color: #383838;
}

header a:hover{ 
    color: var(--prime-color);
}

header{
    max-width: 2400px;
    display: flex;
    justify-content: space-between;
    background-color: gray;
    padding: 20px;
    align-items: center;
    position: fixed;
    width: 100%;
    background-color: rgb (255,255,255, 0.75);
}

nav ul{
    display: flex;
    
}

.landing{
    background-color: #383838;
    /* top right bottom left */
    padding: 130px 60px 60px 20px ;
}

.half{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows:1fr;
}

.part1 p{
    color: white;
    font-size: 3rem;
    font-weight: 100;
    margin: 25px;
}

.part1 img{
    float: left;
    /* top & bottom, right & left */
    padding: 0px 20px;
}

.part1{
    display: flex;
    flex-direction: column;
}

.part2{
    padding-top: 50px;
    text-align: right;
}

.part2 img{
    margin: 5px;
}

span{
    font-weight: 500;
    color: var(--prime-color);
}

h2{
    color: #808080;
    font-weight: 100;
    font-size: 3rem;
    text-transform: uppercase;
    margin: 10px 50px;
}

p{
    color: #808080;
    font-size: 2rem;
    font-weight: 100;
    margin: 25px 50px;
}

.about{
    background-color: white;
}

.about img{
    width: 100%;
    display: block;
}

.text{
    margin-top: 40px;
}

.projects{
    background-color: #e5e9e9;
    padding: 100px;
}

.proj-photo{
    width: 100%;
    border-radius: 10px;
    /* offset-x | offset-y | blur-radius | color  */
    box-shadow: 0px 0px 10px rgb(105,105,105);
}

button{
    display: inline-block;
    padding: 15px 25px;
    margin: 0px 50px;
    font-size: 24px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: white;
    background-color: var(--prime-color);
    border: none;
    border-radius: 15px;
}

button:hover{
    background-color: #808080;
}

hr{
    display: block;
    border-width: 1px;
    border-color: var(--prime-color);
    margin: 80px 400px;
}

.left{
    text-align: right;
}

.contact{
    background-color:#383838;
    text-align: center;
    padding: 50px;
}

.contact h2{
    font-size: 30px;
    font-weight: 500;
    columns: var(--prime-color);
    margin: 15px;
}

.contact p{
    font-size: 25px;
    margin: 50px;
}

.inline{
    display: flex;
    justify-content: center;
    gap: 50px;
}

.info{
    display: flex;

}

.info img{
    align-self: center;
}

.info p{
    margin: 0px;
}

.social img{
    opacity: 0.6;
}

.social img:hover{
    opacity: 1;
}

.footer{
    background-color: black;
    color: white;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    font-weight: 100;
}

.contact, .footer{
    /* 100vw betekent vieuw point */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* hieronder de aanpassingen voor kleinere schermen */

@media (max-width: 1080px) {
    .projects .half{
        display: flex;
        flex-direction: column;
    }

    .projects .left{
        flex-direction: column-reverse;
    }

    .projects .left{
        text-align: center;
    }
    .proj-photo{
        width: 70%;
        margin-bottom: 40px;
    }

    hr{
        margin: 80px 200px;
    }
}

@media (max-width: 950px) {
    .half{
        display: flex;
        flex-direction: column;
    }

    .part2{
        text-align: center;
    }    
}

@media (max-width: 650px) {
    hr{
        margin: 80px 100px;
    }

    .part2 img{
        width: 100px;
    }
}

@media (max-width: 600px){
    nav{
        display: none;
    }

    .inline{
        flex-direction: column;
    }

    .info img{
        width: 40px;
    }

    .footer{
        font-size: 16px;
        text-align: left;
        padding: 10px;
    }

    hr{
        margin: 40px;
    }

    .contact p{
        font-size: 20px;
        margin-left: 20px;
    }

    .contact{
        padding: 20px;
        text-align: left;
    }

    h2{
        font-size: 2rem;
        margin: 20px;
    }

    p{
        font-size: 1.5rem;
        margin: 20px;
    }

    .projects{
        padding: 50px 10px;
    }

    .part2 img{
        width: 70px;
    }

    .logo{
        padding: 0px;
    }


}

