@media screen and (min-device-width: 1000px) {



    #gallerytitlepicture0{
        width: 100%;
        height: auto;
    }

    #inner{
        width: 100%;
        position: absolute;
        top: 39.76vw;
    }
    #pagepicture{
        width: 100vw;
        height: 39.76vw;
        margin-top: 4.5vw;
        background-image: url(../jpg/gallery.jpg);
        background-size: cover;
        position: relative;
        background-color: #333333;
    }
    #pagepicture h1{
        position: absolute;
        left: 10vw;
        bottom: 7vw;
        font-size: 9vw;
        color: white;
        width: 80vw;
        font-family: Britannic;
        text-shadow: 0.5vw 0.5vw 1vw #333333;
    }
    #pagepicture p{
        position: absolute;
        left: 10.5vw;
        bottom: 2.2vw;
        font-size: 4vw;
        color: white;
        width: 80vw;
        font-weight: bold;
        font-family: Rage;
        text-shadow: 0.5vw 0.5vw 1vw #333333;
    }
    #breadol{
        width: 50vw;
        display: flex;
        align-content: center;
        list-style: none;
        position: absolute;
        bottom: 17vw;
        padding: 0;
        margin: 0;
        z-index: 1;
        left: 11vw;
    }
    #breadol li{
        font-size: 1vw;
        color: #fff;
        line-height: 1vw;
    }
    #breadol li a{
        display: block;
        color: #fff;
        height: 1vw;
        padding-right: 1.5vw;
        margin-right: 1vw;
        font-weight: bold;
        position: relative;
    }
    #breadol li a::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid .5vw transparent;
        border-left: solid .5vw #fff;
        margin: 0;
        position: absolute;
        right: -.5vw; 
        transform: scale(1, 0.7);
        top: 0;
    }


    #maingallery{
        width: 100vw;
        position: relative;
        left: calc(50% - 50vw);
        padding: 3vw 0 5vw 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #maingallery > div{
        width: 40vw;
        margin: 2vw;
        height: 26.7vw;
        position: relative;
    }
    .choose-img{
        width: 40vw;
        border-radius: 1vw;
    }
    .choose-h{
        position: absolute;
        top: 10vw;
        color: white;
        font-size: 3vw;
        line-height: 3vw;
        text-align: center;
        text-shadow: 0.5vw 0.5vw 1vw #333333;
        width: 100%;
    }
    .choose-lm{
        position: absolute;
        top: 18vw;
        color: white;
        font-size: 1.2vw;
        line-height: 1.2vw;
        text-align: center;
        text-shadow: 0.5vw 0.5vw 1vw #333333;
        width: 100%;
        text-decoration: underline;
    }

}





@media screen and (max-device-width: 1000px) {


    #gallerytitlepicture0{
        width: 100%;
        height: auto;
    }

    #inner{
        width: 100%;
        position: absolute;
        top: 110.5vw;
    }
    #pagepicture{
        width: 100vw;
        height: 110.5vw;
        margin-top: 12vw;
        background-image: url(../jpg/gallery2.jpg);
        background-size: cover;
        position: relative;
        background-color: #333333;
    }
    #pagepicture h1{
        position: absolute;
        left: 10vw;
        bottom: 7vw;
        font-size: 18vw;
        color: white;
        width: 80vw;
        font-family: Britannic;
        text-shadow: 1.5vw 1.5vw 3vw #333333;
    }
    #pagepicture p{
        position: absolute;
        left: 10.5vw;
        bottom: 2.2vw;
        font-size: 8vw;
        color: white;
        width: 80vw;
        font-weight: bold;
        font-family: Rage;
        text-shadow: 1.5vw 1.5vw 3vw #333333;
    }
    #breadol{
        width: 50vw;
        display: flex;
        align-content: center;
        list-style: none;
        position: absolute;
        bottom: 43vw;
        padding: 0;
        margin: 0;
        z-index: 1;
        left: 12vw;
    }
    #breadol li{
        font-size: 3vw;
        color: #fff;
        line-height: 3vw;
    }
    #breadol li a{
        display: block;
        color: #fff;
        height: 3vw;
        padding-right: 4.5vw;
        margin-right: 3vw;
        font-weight: bold;
        position: relative;
    }
    #breadol li a::before{
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 1.5vw transparent;
        border-left: solid 1.5vw #fff;
        margin: 0;
        position: absolute;
        right: -1.5vw; 
        transform: scale(1, 0.7);
        top: 0;
    }


    #maingallery{
        width: 100vw;
        position: relative;
        left: calc(50% - 50vw);
        padding: 9vw 0 15vw 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #maingallery > div{
        width: 90vw;
        margin: 2.5vw 5vw;
        height: 60vw;
        position: relative;
    }
    .choose-img{
        width: 90vw;
        border-radius: 3vw;
    }
    .choose-h{
        position: absolute;
        top: 20vw;
        color: white;
        font-size: 7vw;
        line-height: 7vw;
        text-align: center;
        text-shadow: 1.5vw 1.5vw 3vw #333333;
        width: 90%;
        margin: 0 5%;
    }
    .choose-lm{
        position: absolute;
        top: 35vw;
        color: white;
        font-size: 4vw;
        line-height: 4vw;
        text-align: center;
        text-shadow: 1.5vw 1.5vw 3vw #333333;
        width: 100%;
        text-decoration: underline;
    }

}