/* Tablet and smaller devices */
@media (max-width: 1165px) {
    div#foto{
        left: 160px;
    }
    div#about > h1#about-me{
        left: 400px;
        top: -32px;
        font-size: 40px;
    }
    p#about-tekst{
        font-size: 16px;
        left: 450px;
        width: 40vw;
        top: 20%;
    }
    div#skills{
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    span.skill{
        width: 140px;
        height: 140px;
    }
    img#logo{
        width: 200px;
        top: -100px;
    }
    div#contact-container > h1{
        font-size: 30px;
    }
    div#contact-container > p{
        font-size: 20px;
    }
    img#footer-logo{
        width: 80px;
        top: -40px;
    }
}
div#services-container > h1{
    font-size: 70px;
}

@media (max-width: 947px){
    div#foto{
        width: 200px;
        height: 320px;
    }
    div#foto{
        left: 20px;
    }
    nav{
        width: 80vw;
        font-size: 15px;
    }
    div#about > h1#about-me{
        left: 250px;
        top: -32px;
        font-size: 40px;
    }
    p#about-tekst{
        left: 290px;
        font-size: 14px;
        width: 60vw;
    }
    div#skills{
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
        width: 50vw;
        margin: auto;
        margin-bottom: 30px;
    }
    span.skill{
        margin: 10px;
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
    div#about {
        margin-bottom: 10px;
    }
    span.carousel-item {
        font-size: 30px;
    }
    h1#first {
        font-size: 70px;
        margin-bottom: 10px;
    }
    
    h1#second {
        color: #3F3E50;
        font-size: 44px;
    }
    div#contact-container > a > button{
        font-size: 15px;
    }
    div#services-container > h1{
        font-size: 40px;
    }
    div.balken > h1{
        font-size: 34px;
    }
}

@media (max-width: 700px) {
    #pijltwee, #pijleen {
        transform: scale(0.7);
    }
    div#foto {
        left: 10px;
    }
    div#about > h1#about-me {
        left: 250px;
        top: -32px;
        font-size: 50px;
    }
    p#about-tekst {
        left: 260px;
        width: 55vw;
    }
    div#skills {
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
        width: 60vw;
        margin: auto;
        margin-bottom: 30px;
    }
    span.skill {
        margin: 10px;
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
    div#about {
        margin-bottom: 10px;
    }
    span.carousel-item {
        font-size: 30px;
    }

    .no-hover:hover {
        pointer-events: none; 
    }
    div#music-container > h1 {
        font-size: 30px;
    }
}

@media (max-width: 590px){
    img#logo{
        width: 150px;
        top: -80px;
    }
    div#container {
        height: 300px;
    }

    h1#second {
    color: #3F3E50;
    font-size: 20px;
    }
    div#about{
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: 500px;
        margin-top: 100px;
    }
    div#foto{
        width: 150px;
        height: 250px;
        border-radius: 15px;
        top: 100px;
        border: 5px solid #F52660;
    }
    div#about > h1#about-me{
        left: 150px;
        top: 20px;
        font-size: 50px;
    }
    p#about-tekst{
        width: 54vw;
        left: 200px;
        top: 100px;
    }
    div#skills{
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
        width: 80vw;
        margin: auto;
        margin-bottom: 30px;
    }
    span.skill{
        margin: 10px;
        width: 80px;
        height:80px;
        font-size: 10px;
    }
    div#contact-container > h1{
        font-size: 30px;
        text-align: center;
    }
    div#contact-container{
        margin-bottom: 20px;
    }
    div#services-container{
        margin-bottom: 0px;
    }
    div#contact-container > a > button{
        width: 35vw;
    }
    div.balken > h1{
        font-size: 22px;
        text-align: center;
        width: 50vw;
    }
    div.balken > a > p{
        font-size: 14px;
        width: 60vw;
        text-align: center;
    }
    div.balken{
        height: 96px;
    }
    #pijltwee, #pijleen {
        transform: scale(0.5);
    }
    #pijleen{
        top: -11px;
    }
    #pijltwee{
        top: -32px;
    }
    div#footer > p{
        font-size: 13px;
    }
    div#socials-container > a > img{
        width: 30px;
    }
    @media (max-width: 490px){
        div#about{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-direction: column;
            height: 800px;
            margin-top: 100px;
        }
        div#foto{
            width: 250px;
            height: 350px;
            position: unset;
        }
        div#about > h1#about-me{    
            font-size: 40px;
            position: unset;
        }
        p#about-tekst{
            position: unset;
            text-align: center;
            width: 85vw;
            line-height: 20px;
        }
    }