@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);
}

.about-top-holders{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.about-top{
    padding: 5vh;
    display:grid;
    width:72.5%;
    grid-template-columns: 35vw 35vh;
    grid-gap: 2.5vw;
    max-height: fit-content;
    overflow: hidden;
}

.about-text-1, .about-text-2, .about-photo-1, .about-photo-2{
    max-height: 50%;
    width:30vw;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.about-photo-1 img, .about-photo-2 img{
    width: 100%;
}

.about-text-1, .about-photo-1{
    margin-top: 10vh;
}

.about-text-1, .about-text-2{
    padding-left: 3vh;
    padding-right:3vh;
    font-family: Josefin-Sans;
    line-height: 1.3;
    font-size:1.9vh;
    text-align: justify;
}

/* media query for tablet */
@media only screen and (min-width:601px) and (max-width: 1000px){
    /* Changes here */

    .about-top{
        width:90%;
        display: flex;
        flex-direction: column;
    }

    .about-text-1, .about-text-2, .about-photo-1, .about-photo-2{
        height:30vh;
        width:80vw;
        padding-top: 2vh;
    }

    .about-photo-1 img, .about-photo-2 img{
        height: 100%;
        width: auto;
    }
    
    .about-text-1, .about-photo-1{
        margin-top: 0;
    }
 }
 
 /* media query for phone*/
 @media only screen and (max-width: 600px){
    .about-top{
        width:90%;
        display: flex;
        flex-direction: column;
    }

    .about-text-1, .about-text-2, .about-photo-1, .about-photo-2{
        max-height: 100%;
        width:100%;
        padding-top: 2vh;
        overflow: hidden;
    }

    .about-photo-1 img, .about-photo-2 img{
        width: 100%;
    }
    
    .about-text-1, .about-photo-1{
        margin-top: 0;
    }
 }