@font-face {
    font-family: Montserrat;
    src: url(./fonts/Montserrat\ Bold\ 700.ttf);
}

@font-face {
font-family: Montserrat-Medium;
src: url(./fonts/Montserrat\ Medium\ 500.ttf);
}

@font-face {
    font-family: Josefin-Sans;
    src: url(./fonts/Josefin-Sans.ttf);
}

.photos-top{
    display:flex;
    flex-direction:column;
    width: 100%;
    height: auto;
    overflow: hidden;
    align-items:center;
    justify-content: flex-start;
    padding-bottom: 5vh;
    padding-top: 5vh;
}

.photos-images{
    display:grid;
    grid-template-columns: 15vw 15vw 15vw;
    width:50vw;
    grid-gap: 2.5vw;
    /* background-color: aqua; */
}

.photos-images img{
    width: 100%;
    border-radius:2vw;
}

.photos-bottom .photos-images img{
    height: 100%;
}

.img-up{
    transform: translate(0, -34%);
}
.photos-bottom{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.photos-bottom-holder{
    width: 80vw;
    display:flex;
    align-items:center;
    justify-content:space-around;
    flex-wrap: wrap;
}

.photo-left{
    padding: 0vw;
    height: 40vh;
    max-width:50vw;
    height: auto;
}

#photos-pairs-bottom{
    grid-template-columns: 10vw 10vw 10vw;
    width:32vw;
    grid-gap: 2vw;
}

/* media query for tablet */
@media only screen and (min-width:601px) and (max-width: 992px){
    /* Changes here */

    .photos-top{
        padding-bottom: 1vh;
    }

    .photos-images{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: unset;
        max-height: unset;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        height: 100%;
        overflow: hidden;
    }

    .photos-images img{
        max-width: 90%;
        height: auto;
    }

    .photo-left{
        max-width: unset;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 90vw;
        height: auto;
        max-height: unset;
        justify-content: center;
        align-items: center;
        padding-bottom: 1vh;
    }

    .photos-bottom-holder .photos-left img{
        width: 90vw;
        height: auto;
        
    }

    .img-up{
        transform: none;
    }

    #photos-pairs-bottom{
        max-width: unset;
        width: 100vw;
        overflow: visible;
    }

    #photos-pairs-bottom img{
        max-width: unset;
        width: 90vw;
    }

    img{
        border-radius:5vw;
    }
 }
 
 /* media query for phone*/
 @media only screen and (max-width: 600px){

    .photos-top{
        padding-bottom: 1vh;
    }

    .photos-images{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: unset;
        max-height: unset;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        height: 100%;
        overflow: hidden;
    }

    .photos-images img{
        max-width: 90%;
        height: auto;
    }

    .photo-left{
        max-width: unset;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 90vw;
        height: auto;
        max-height: unset;
        justify-content: center;
        align-items: center;
        padding-bottom: 1vh;
    }

    .photos-bottom-holder .photos-left img{
        width: 90vw;
        height: auto;
        
    }

    .img-up{
        transform: none;
    }

    #photos-pairs-bottom{
        max-width: unset;
        width: 100vw;
        overflow: visible;
    }

    #photos-pairs-bottom img{
        max-width: unset;
        width: 90vw;
    }

    img{
        border-radius:5vw;
    }
 }