.photobox {
    margin: auto;
    display: flex;
    justify-content: center;
}

.photo { 
    position: absolute;
    height: 95%;
    left: 285px; 
}

.captionbox {
    background-color: #1B1B1B;
    border: 1px solid #1B1B1B;
    width: 200px;
    height: 300px;
    padding: 20px;
    margin: 0 20px;
    position: fixed;
    left: 0;
}

#counter {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 300px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.title, .cptntxt, #counter, .home {
    color: white;
}

.controls {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 2em;
    right: 20px;
}

.back {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 2em;
    left: 20px;
}

@media screen 
    and (min-width: 480px)
    and (max-width: 1200px)
{

}

@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 */
{
    .photobox { display: block; }
    .captionbox, .caption { 
        position: relative;
        display: block;
        width:100%;
        margin: 0;
        height: 250px;
        font-size: 2em;
    }
    .photo { 
        position: relative;
        width: 100%;
        left: 0;
    }
    #counter {
        display: none;
    }
    .controls {
        right: 70px;
    }
    body {
        background-color: #1B1B1B;
    }
}

@media screen and (min-width: 1200px)
{
    
}


