.headertext {
    position: fixed;
    top: 10px;
    right: 10px;
    border: 1px solid black;
    height: 40px;    
    padding: 10px;
    background-color: white;
    opacity: 0.5;
    vertical-align: middle;
}

.headertext:hover {
    opacity: 1;
}

.foto {
    background-attachment: fixed;
    height: 600px; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.nextPhoto {
    position: absolute;
    font-size: 1.5em;
    bottom: 20px;
    right: 10px;
}

.marginbox {
    height: 150px;
}

.seperator {
    height: 20px;
    background-color: black;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

.captionbox {
    position: relative;
    background-color: grey;
    width: 400px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid black;
    color: white;
    margin-left: 150px;
}

.title {
    font-size: 2em;
}

.txt {
    font-size: 1em;
}

.newyork {
    background-image: url("../image/newyork.jpg");
}

.groundhoppen {
    background-image: url("../foto-album/fotos/m5.jpg");
}

.girona {
    background-image: url("../image/girona.jpg");
}

.denbosch {
    background-image: url("../image/denbosch.jpg");
}

.madrid {
    background-image: url("../image/madrid.jpg");
}

body {
    margin: 0;
}

@media only screen and (max-device-width: 640px), 
only screen and (max-device-width: 667px), 
only screen and (max-width: 480px) 
/* iPhone 6 and iPhone 6+ portrait and landscape */
{
    .captionbox {
        height: 150px;
        width: 600px;
        margin-left: 20px;
    }

    .title {
        font-size: 3em;
    }

    .txt, .nextPhoto {
        font-size: 2em;
    }
}
