.gallery{
   height: auto;
   max-width: 1000px;
   margin: 0 auto;
   padding: 0;
}

.gallery .photo{
    display: none;
}
.photo:nth-child(1) {
    display: block;
}


.gallery img{
    max-width: 100%;
    height: auto;
}

.prev{
    position: absolute;
    top: 310px;
    left: 0;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: #fff5fd;
}
.next {
    position: absolute;
    top: 310px;
    right: 0;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: #fff5fd;
}

.carrouselp{
    display: none;
}

.carrouselp:nth-child(1){
    display: block;
}


.prevp{
    position: absolute;
    top: 310px;
    left: 0;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: #fff5fd;
}
.nextp {
    position: absolute;
    top: 310px;
    right: 0;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: #fff5fd;
}

@media only screen and (max-width: 500px){

    .prev{
        position: absolute;
        top: 135px;
        left: 0;
        width: auto;
        padding: 6px 18px 6px 6px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 3px 3px 3px 3px;
        user-select: none;
        -webkit-user-select: none;
        background-color: #fff5fd;
    }
    .next {
        position: absolute;
        top: 135px;
        right: 0;
        width: auto;
        padding: 6px 6px 6px 18px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 3px 3px 3px 3px;
        user-select: none;
        -webkit-user-select: none;
        background-color: #fff5fd;
    }

    .prevp{
        position: absolute;
        top: 135px;
        left: 0;
        width: auto;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
        background-color: #fff5fd;
    }
    .nextp {
        position: absolute;
        top: 135px;
        right: 0;
        width: auto;
        padding: 16px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
        background-color: #fff5fd;
    }
}




