*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    -webkit-text-size-adjust: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #faf4e6;
    max-width: 100%;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    font-family: 'Nunito-Bold', sans-serif;
    color: #ffffff;
    overflow: hidden;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(9,9,121,0) 100%);
}

.header .animate{
    color: #050505;
}

.navbar{
    display: flex;
    justify-content: space-evenly;
    flex-basis: 30%;
}


.logo-container{
    flex-basis: 5%;
}

.logo-container a{
    display: flex;
    align-items: center;
    color: #ffffff;
}

.logo-container a:link{
    text-decoration: none;
}

.logo{
    width: 3.5vw;
    height: auto;
}

.logo:hover{
    transform: scale(1.2);
    border-color: transparent;
}

.nav-item{
    transition: color 0.85s;
    padding: 2%;
    align-self: center;
    font-size: 1.6em;
    border-color: transparent;
}

.nav-item:link {
    text-decoration: none;
    color: #ffffff;
}

.nav-item:visited{
    color: #ffffff;
}

.nav-item:hover{
    background-color: #ffffff;
    color: #050505;
    border-color: transparent;
    border-radius: 7px;
}

#instagram-logo{
    background-image: url('/images/instagram-logo-light.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 1vw;
    margin-left: 2%;
}

#instagram-logo:hover{
    background-color: transparent;
    background-image: url('/images/instagram-logo-dark.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 1vw;
}

.logo{
    transition: transform .5s ease; 
}


#header-logo .animate{
    content: url('/images/camile-logo-single-dark.png');
}

#media-heading, #testimonials-header, #publications-heading{
    margin-top: 2%;
    font-family: 'Coconat-Regular', serif;
    font-size: 3.5em;
    color: #464646;
    letter-spacing: 0.1em;
    align-self: center;
}

.link-btn{
    height: 4vw;
    width: 30vw;
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 2em;
    align-content: center;
}

.main{
    display: flex;
    flex-direction: column;
}

.opening-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 52vw;
    width: 100vw;
    background-image: url('/images/background1-2-web.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.top-opening-section{
    margin-bottom: 32%;
}

.opening-logo-wrapper{
    display: flex;
    justify-content: center;
}

#opening-logo{
    width: 30%;
    margin-bottom: 1%;
}

.about-wrapper{
    height: 70vw;
    width: 100%;
    background-image: url('/images/background3-web.webp');
    background-repeat: repeat-y;
    background-size: 100%;
    display: flex;
    justify-content: center;
}

#about-section{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 65%;
    padding: 1% 2% 3% 2%;
    text-align: left;
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 1.6em;
    line-height: 185%;
    color: #464646;
}

#phrase-container{
    margin-top: 5%;
    margin-bottom: 7%;
    align-self: center;
}

#about-phrase{
    font-family: 'Coconat-Regular', serif;
    color: #cc9d9c;
    font-size: 2.3em;
    text-align: center;
}

#about-intro{
    color:#cc9d9c;
    font-size: 1.8em;
    margin-bottom: 7%;
}

#about-heading{
    margin-bottom: 4%;
}

#about-divider{
    align-self: center;
    font-weight: 900;
    margin-top: 2%;
    margin-bottom: 2%;
}

#about-1{
    margin-bottom: 3%;
}

#about-formation-heading{
    margin-bottom: 4%;
}

.services-wrapper{
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    background-color: whitesmoke;
}

.testimonials-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    align-self: center;
    padding: 2% 0 4% 0;
    position: relative;

}

.testimonials-carousel :where(.testimonial-item){
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials-carousel.dragging .testimonial-item{
    cursor: grab;
    user-select: none;
}

.testimonials-carousel.no-transition{
    scroll-behavior: auto;
}

.testimonials-carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    gap: 1.5%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    height: 25vw;
    align-items: center;
}

.testimonials-carousel::-webkit-scrollbar{
    display: none;
}


.testimonial-item{
    scroll-snap-align: start;
    display: flex;
    width: 95%;
    flex-direction: column;
    align-items: center;
    list-style: none;
    background-color: #ffffff;
    border-radius: 1vw;
    height: 90%;
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
    padding: 2% 10% 5% 10%;
    background-image: url('/images/quotation.png');
    background-repeat: no-repeat;
    background-size: 15%;
    background-position: 5% 5%;
}


#test-item-name{
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 2em;
    padding-bottom: 2%;
    font-weight: 600;
}

#test-item-city{
    font-style: italic;
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 1.2em;
    padding-bottom: 5%;
    
}

.testimonial-item p{
    font-family: 'Nunito-Light', sans-serif;
    font-size: 1.4em;
    text-align: center;
}

#previous-button, #next-button{
    height: 3.5vw;
    width: 3.5vw;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 3px 3px 16px 0px rgba(0,0,0,0.22);
}

.testimonials-wrapper :first-child{
    left: -2%;
}

.testimonials-wrapper :last-child{
    right: -2%;
}

#previous-button p, #next-button p{
    font-family: 'Nunito-Bold', sans-serif;
    text-align: center;
    font-size: 1.8em;
}

.services-section{
    height: 125vh;
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-image: url('/images/background5-web.webp');
    background-size: cover;
    background-repeat: no-repeat;
}

.services-intro{
    display: flex;
    margin-bottom: 4%;
}

#services-heading{
    margin-left: 5%;
    font-family: 'Coconat-Regular', serif;
    align-self: flex-start;
    width: 30%;
    text-align: left;
    font-size: 4em;
    color: #cc9d9c;
}

#services-intro-divider{
    background-color: #cc9d9c;
    width: 0.35vw;
    margin-left: 5%;
    margin-right: 5%;
}

#services-heading-paragraph{
    color:#464646;
    font-size: 3em;
    margin-right: 5%;
    align-self: center;
}

.bubble-wrappers{
    display: grid;
    justify-items: start;
    align-items: start;
}

.bubble-wrappers > * {
    grid-column-start: 1;
    grid-row-start: 1;
}

.services-bubble-1, .services-bubble-2{
    height: 30vw;
}

.services-bubble-1{
    background-color: #cc9d9c;
    color: #faf4e6;
    width: 60%;
    border-top-right-radius: 20vw;
    border-bottom-right-radius: 20vw;
    align-content: center;
    font-size: 2.5em;
}

.services-bubble-1 h3{
    font-size: 1.5em;
    margin-left: 10%;
    margin-bottom: 3%;
}

.services-bubble-1 ul{
    list-style: none;
    margin-left: 10%;
}

.services-bubble-2{
    position: relative;
    top: 20%;
    left: 55%;
    background-color: #f3d0ce;
    color:#464646;
    border-top-left-radius: 20vw;
    border-bottom-left-radius: 20vw;
    align-content: center;
    width: 45%;
    font-size: 3.2em;
}

.services-bubble-2 p {
    margin-left: 25%;
    margin-right: 5%;
    text-align: left;
}

#services-heading-paragraph, .services-bubble-1, .services-bubble-2{
    font-family: 'Nunito-Regular', sans-serif;
    font-weight: 600;
}

.publications-wrapper{
    height: 240vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: whitesmoke;
    box-shadow: inset -2px 8px 37px -12px rgba(0,0,0,0.23);
}

.book-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.book-container{
    display: flex;
    background: #f3d0ce;
    background-image: url('/images/camile-logo-single-web.webp');
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: -100px -100px;
    border-top-right-radius: 10vw;
    border-bottom-left-radius: 10vw;
    border: #cc9d9c 15px solid;
    margin: 2% 0 0 0;
    align-items: center;
    width: 95%;
    height: 65vh;
}

.mobile{
    display: none;
}

#book-img{
    width: 15vw;
    margin-left: 15%;
    border-radius: 18px;
    -webkit-box-shadow: 5px 5px 26px 0px rgba(0,0,0,0.27);
    -moz-box-shadow: 5px 5px 26px 0px rgba(0,0,0,0.27);
    box-shadow: 5px 5px 26px 0px rgba(0,0,0,0.27);
}

.book-description-wrapper{
    display: flex;
    flex-direction: column;
    margin-left: 7%;
    margin-right: 10%;
}

#book-heading{
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 2em;
    margin-bottom: 3%;
    color: #464646;
}

#book-description-txt{
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 1.5em;
    margin-bottom: 5%;
    color: #464646;
}

#book-link{
    text-decoration: none;
    font-family: 'Nunito-Bold', sans-serif;
    background-color: #faf4e6;
    border-radius: 2vw;
    align-self: center;
    text-align: center;
}

#book-link p{
    color: #464646;
}

#book-link:hover{
    outline: 4px #cc9d9c solid;
}

#pub-divider{
    background-color: #464646;
    width: 80%;
    min-height: 0.5vh;
    margin-top: 2.5%;
    margin-bottom: 2%;
    flex-shrink: 0%;
}


.media-container{
    margin-top: 5%;
    margin-bottom: 2%;
    padding-bottom: 4%;
    width: 100%;
    background-color: #faf4e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/images/background5-web.webp');
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0px 0px 24px 2px rgba(0,0,0,0.12);
}

.media-cards-wrapper{
    margin-top: 2%;
    width: 95%;
    flex-basis: 80%;
    display: flex;
    justify-content: space-evenly;
    position: relative;
}

.media-cards-wrapper.desktop{
    display: flex;
}

.media-cards-wrapper.mobile{
    display: none;
}


#media-card{
    background-color: whitesmoke;
    justify-content: space-between;
    margin-right: 2%;
    padding: 1%;
    display: flex;
    flex-direction: column;
    width: 25vw;
    height: 20vw;
    border-radius: 1vw;
    box-shadow: 5px 5px 15px -1px rgba(0,0,0,0.2);
    transition: transform 0.65s ease;
    text-decoration: none;
}

#media-card:hover{
    transform-origin: center;
    transform: scale(1.06, 1.06);
}

#media-card-title{
    font-size:2em;
    padding: 2%;
    font-family: 'Nunito-Bold', sans-serif;
    flex-basis: 20%;
    color: #cc9d9c;
}

#media-card-subtitle{
    padding: 1%;
    flex-basis: 5%;
    font-family: 'Nunito-regular', sans-serif;
    font-size: 1.5em;
    color: #464646;
}

#media-card-img-1, #media-card-img-2, #media-card-img-3,  #media-card-img-4, #media-card-img-5, #media-card-img-6{
    border-radius: 1vw;
    width: 90%;
    max-height: 50%;
    margin-top: 2%;
    margin-bottom: 2%;
    align-self: center;
    overflow: hidden;
    flex-basis: 75%;
}

#media-card-img-1 img{
    object-position: -170px -200px;
    width: 200%;
}

#media-card-img-2 img{
    object-position: -80px -100px;
    width: 130%;
}

#media-card-img-3 img, #media-card-img-4 img{
    width: 250%;
}

#media-card-img-5 img{
    width: 300%;
}

#media-card-img-6 img{
    width: 200%;
    position: relative;
    object-position: -250px -5px;
}

#academic-heading{
    font-family: 'Coconat-Regular', serif;
    color: #464646;
    font-size: 2.5em;
}

#curriculum-link{
    margin-top: 2%;
    font-family: 'Nunito-Bold', sans-serif;
    background-color: #f3d0ce;
    border-radius: 2vw;
    text-align: center;
    text-decoration: none;
    color: #464646;
}

#curriculum-link:visited{
    color: #464646;
}

#curriculum-link:hover{
    outline: 3px #cc9d9c solid;
}

.academic-work-section{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.academic-row-wrapper.mobile{
    display: none;
}

.academic-row-wrapper{
    padding: 2%;
    display: flex;
    width: 95%;
    justify-content: space-evenly;
}

.academic-row-1, .academic-row-2{
   flex-basis: 45%;
}

.pub-item-group{
    background-image: url('/images/camile-logo-single-transparent.png');
    background-size: 55%;
    background-position: 90% 10%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 20vh;
    width: 100%;
    padding: 4%;
    margin-top: 2%;
    border-radius: 0.65vw;
    box-shadow: 10px 10px 12px 0px rgba(0,0,0,0.11);
    background-color: #ffffff;
    transition: transform 0.65s ease;
    text-decoration: none;
    color: #464646;
}

.pub-item-group:hover{
    transform-origin: center;
    transform: scale(1.06, 1.06);
}

.pub-item-group:visited{
    color: #464646;
}

#pub-title{
    font-family: 'Coconat-Regular', serif;
    font-size: 1.5em;
}

#pub-authors, #pub-medium, #pub-link p{
    margin-top: 3%;
    font-family: 'Nunito-Light';
    font-size: 1em;
}

.contact-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/images/background4-web.webp');
    background-repeat: repeat-y;
    background-size: 100% 100%;
    height: 100vh;
}

.contact-card{
    display: flex;
    flex-direction: column;
    color: #faf4e6;
    margin-top: 3%;
    height: 90%;
    width: 90%;
    background-color: #cc9d9c;
    border-top-left-radius: 10vh;
    border-bottom-right-radius: 10vh;
    align-items: center;
}

.contact-groups{
    display: flex;
    align-items: center;
    width: 100%;
    height: 75%;
    padding: 5%;
}

.contact-group-1{
    margin-left: 3%;
    flex-basis: 60%;
    align-items: center;
}

.contact-divider{
    width: 0.3vw;
    height: 100%;
    background-color: #f3d0ce;
}

.contact-group-2{
    margin-left: 10%;
    flex-basis: 40%;
    align-items: center;
}

#contact-name{
    font-family: 'Coconat-Regular', serif;
    font-size: 7em;
}

#contact-profession{
    font-family: 'Nunito-Light', sans-serif;
    font-size: 3.5em;
}

#contact-instagram{
    margin-top: 7%;
}

#contact-crn-id{
    margin-top: 7%;
}

#contact-crn-id, #contact-fito-id{
    font-family: 'Nunito-Bold', serif;
    font-size: 2.5em;
}

#contact-office, #contact-schedule{
    margin-top: 2%;
}

#contact-instagram, #contact-office, #contact-schedule{
    font-family: "Nunito-Regular", sans-serif;
    display: flex;
    flex-direction: row;
    font-size: 1.8em;
}

#contact-insta-img, #contact-schedule-img, #contact-office-img{
    width: 1.5vw;
    margin-right: 1.5%;
}

#contact-instagram:link{
    text-decoration: none;
    color: #faf4e6;
}

#contact-instagram:visited{
    text-decoration: none;
    color: #faf4e6;
}

.address-group{
    display: flex;
    flex-direction: column;
    font-family: 'Nunito-Regular', sans-serif;
    margin-left: 2%;
    margin-top: 2%;
    font-size: 2em;
}

.address-group p{
    margin-top: 2%;
}

#schedule-btn{
    display: flex;
    align-items: center;
    flex-basis: 10%;
    background-color: #faf4e6;
    border-radius: 10vw;
    border: none;
    font-family: 'Nunito-Bold', sans-serif;
    color: #464646;
    text-decoration: none;
    margin-bottom: 1.5%;
}

#schedule-btn:hover{
    outline: 5px #f3d0ce solid;
}

#schedule-btn p{
    text-align: center;
}

#schedule-btn img{
    margin-left: 10%;
    margin-right: 10%;
    width: 1.7vw;
}

#map{
    margin-top: 10%;
    border: none;
    border-radius: 0.7vw;
    height: 15vw;
}

#scripture{
    margin-top: 1%;
    font-family: 'Coconat-Regular', serif;
    font-size: 1.3em;
}

#reference{
    margin-top: 0.5%;
    font-family: 'Nunito-Light', sans-serif;
    font-size: 1.3em;
}

.footer{
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 1vh;
    height: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #464646;
}

@font-face {
    font-family: 'Nunito-Bold';
    src: url('/fonts/Nunito-Bold.otf');
}

@font-face {
    font-family: 'Nunito-Regular';
    src: url('/fonts/Nunito-Regular.otf');
}

@font-face {
    font-family: 'Nunito-Light';
    src: url('/fonts/Nunito-Light.otf');
}

@font-face {
    font-family: 'Coconat-Regular';
    src: url('/fonts/Coconat-Regular.otf');
}

@font-face {
    font-family: 'Coconat-Bold';
    src: url('/fonts/Coconat-BoldExt.otf');
}


@media (max-width: 2500px){

    .about-wrapper{
        height: 120vh;
    }

    #about-section{
        font-size: 1.5em;
    }

    #about-phrase{
        font-size: 2.1em;
    }

    .testimonials-carousel{
        height: 30vw;
    }

    .testimonial-item{
        height: 90%;
    }

    #test-text{
        font-size: 1.25em;
    }

    .services-intro{
        margin-bottom: 5%;
    }

    .services-bubble-1, .services-bubble-2{
        height: 30vw;
    }

    .services-bubble-2{
        top: 30%
    }

    .services-bubble-1 h3{
        font-size: 1.1em;
    }

    .services-bubble-1 ul{
        font-size: 0.85em;
    }

    .services-bubble-2 p{
        font-size: 1em;
    }

    #book-heading{
        font-size:2.5em;
    }

    #book-description-txt{
        font-size: 1.57em;
    }

    #media-card{
        height: 20vw;
    }

    #media-card-title-1, #media-card-title-2, #media-card-title-3, #media-card-title-4, #media-card-title-5, #media-card-title-6{
        font-size: 1.6em;
    }

    #media-card-img-1, #media-card-img-2, #media-card-img-3, #media-card-img-4, #media-card-img-5, #media-card-img-6{
        max-height: 40%;
    }

    #media-card-img-2 img{
        object-position: -70px -100px;
    }

    .publications-wrapper{
        height: 230vh;
    }

    #contact-name{
        font-size: 5.5em;
    }
    
    #contact-profession{
        font-size: 3em;
    }
    
    #contact-crn-id, #contact-fito-id{
        font-size: 2em;
    }

    #contact-instagram, #contact-office, #contact-schedule{
        font-size: 1.5em;
    }
    
    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 1.3vw;
    }
}

@media (max-width: 2000px){

    #media-heading, #testimonials-header, #publications-heading{
        font-size: 2.5em;
    }
    
    .link-btn{
        height: 3.5vw;
        width: 25vw;
        font-size: 1.5em;
    }

    .logo{
        width: 4.5vw;
    }

    .nav-item{
        font-size: 1.4em;
    }

    #instagram-logo{
        padding: 2.5%
    }

    .about-wrapper{
        height: 120vh;
    }

    #about-phrase{
        font-size: 1.9em;
    }

    #about-intro{
        font-size: 1.5em;
    }

    #about-section{
        font-size: 1.15em;
    }

    .testimonials-carousel{
        height: 30vw;
    }

    .testimonial-item{
        height: 90%;
    }

    #test-item-name{
        font-size: 1.2em;
    }

    #test-text{
        font-size: 1.1em;
    }

    .services-section{
        height: 70vw;
    }

    .services-intro{
        margin-bottom: 5%;
    }

    #services-heading{
        font-size: 3em;
    }

    #services-heading-paragraph{
        font-size: 2em;
    }

    .services-bubble-1, .services-bubble-2{
        height: 25vw;
    }   

    .services-bubble-1 h3{
        font-size: 1.1em;
    }

    .services-bubble-1 li{
        font-size: 0.8em;
    }
    
    .services-bubble-2{
        top: 40%;
        font-size: 2.3em
    }

    .publications-wrapper{
        height: 135vw;
    }

    #book-description-txt{
        font-size: 1.2em;
    }

    #media-card{
        height: 20vw;
    }

    #media-card-title{
        font-size: 1.5em;
    }
    
    #media-card-subtitle{
        font-size: 1.2em;
    }

    #media-card-img-2 img{
        object-position: 0 -50px ;
        width: 120%;
    }

    #media-card-img-4 img{
        width: 240%;
    }

    #media-card-img-5 img{
        width: 200%;
    }
    
    #media-card-img-6 img{
        width: 250%;
        object-position: -280px -5px;
    }

    #academic-heading{
        font-size: 2em;
    }

    #pub-title{
        font-size: 1em;
    }

    #pub-authors, #pub-medium{
        font-size: 0.9em;
    }

    .contact-group-1{
        flex-basis: 45%;
    }

    #contact-name{
        font-size: 4em;
    }
    
    #contact-profession{
        font-size: 2em;
    }
    
    #contact-crn-id, #contact-fito-id{
        font-size: 1.5em;
    }

    #contact-instagram, #contact-office, #contact-schedule{
        font-size: 1.3em;
    }
    
    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 1.5vw;
    }

    .address-group{
        font-size: 1.5em;
    }

    #schedule-btn{
        flex-basis: 8.5%;
        margin-bottom: 3%;
        font-size: 1.3em;
    }

    #schedule-btn img{
        margin-right: 10%;
    }

    #scripture, #reference{
        font-size: 1em;
    }
}

@media (max-width: 1700px){

    #media-heading, #testimonials-header, #publications-heading{
        font-size: 2.3em;
    }
    
    .link-btn{
        height: 4vw;
        width: 25vw;
        font-size: 1em;
    }

    .nav-item{
        font-size: 1em;
        margin-right: 4%;
    }

    #instagram-logo{
        padding: 2.5%
    }

    .header{
        padding: 20px 50px;
    }

    #about-phrase{
        font-size: 2em;
    }

    #about-section{
        font-size: 0.95em
    }

    .testimonials-carousel{
        height: 35vw;
    }

    .testimonial-item{
        height: 90%;
    }

    #test-text{
        font-size: 0.95em;
    }

    #test-item-city{
        font-size: 0.9em;
    }

    .services-section{
        height: 80vw;
    }

    .services-intro{
        margin-bottom: 5%;
    }

    #services-heading{
        font-size: 2.5em;
    }

    #services-heading-paragraph{
        font-size: 1.6em;
    }

    .services-bubble-1{
        height: 30vw;
    }

    .services-bubble-1 h3{
        font-size: 1.1em;
    }

    .services-bubble-1 li{
        font-size: 0.7em;
    }

    .services-bubble-2{
        height: 30vw;
        top: 40%;
        left: 50%;
        width: 50%;
    }

    .services-bubble-2 p{
        font-size: 0.8em;
    }

    .publications-wrapper{
        height: 270vh;
    }

    #publications-heading{
        font-size: 2.5em;
    }    

    #book-heading{
        font-size:1.6em;
    }

    .book-container{
        height: 40vw;
    }

    #book-description-txt{
        font-size: 0.95em;
    }

    #media-card-title{
        font-size: 1.1em;
    }

    #media-card-subtitle{
        font-size: 0.85em;
    }

    #media-card-title-1, #media-card-title-2, #media-card-title-3, #media-card-title-4, #media-card-title-5, #media-card-title-6{
        font-size: 1.2em;
    }


    #media-card-img-1, #media-card-img-2, #media-card-img-3, #media-card-img-4, #media-card-img-5 #media-card-img-6{
        height: 40%;
    }

    #media-card-img-1 img{
        object-position: -70px -30px;
    }

    #media-card-img-2 img{
        width: 180%;
        object-position: -100px -50px;
    }

    #media-card-img-3 img{
        width: 240%;
        object-position: -30px 0px;
    }

    #media-card-img-4 img{
        width: 260%;
    }

    #media-card-img-5 img{
        width: 320%;
        object-position: -50px 0px;
    }

    #media-card-img-6 img{
        width: 230%;
        object-position: -150px -10px;
    }

    .pub-item-group{
        height: 25vh;
    }

    #pub-title{
        font-size: 0.9em;
    }

    #pub-authors{
        font-size: 0.7em;
    }

    #pub-medium{
        font-size: 0.6em;
    }

    .contact-groups{
        justify-content: space-evenly;
    }

    .contact-group-1{
        flex-basis: 45%;
    }

    #contact-name{
        font-size: 5em;
    }

    #contact-profession{
        font-size: 2em;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.5em;
    }

    #contact-insta-tag, #contact-schedule-txt, #contact-office-txt{
        font-size: 0.8em;
    }

    .address-group p{
        font-size: 0.8em;
    }

    #schedule-btn{
        margin-bottom: 3%;
    }

    #schedule-btn img{
        margin-right: 14%;
    }

    #schedule-btn p{
        font-size: 0.7em;
    }

    #scripture{
        font-size: 0.9em;
    }

    #reference{
        font-size: 0.85em;
    }

}

@media (max-width: 1400px) and (max-height: 800px){
   
    .logo{
        width: 4.5vw;
    }

    .opening-section{
        background-size: 140%;
        background-position: 40% 60%;
    }

    #testimonials-header, #publications-heading, #media-heading{
        font-size: 2.2em;
    }

    .about-wrapper{
        height: 135vh;
    }

    #about-phrase
    {
        font-size: 2.2em;
    }
   
    #about-section{
        font-size: 0.9em;
    }

    .testimonials-carousel{
        height: 30vw;
    }

    .testimonial-item{
        height: 90%;
    }

    #test-item-name{
        font-size: 1em;
    }

    #test-item-city{
        font-size: 0.75em;
    }

    #test-text{
        font-size: 0.8em;
    }

    #previous-button p, #next-button p{
        font-size: 1.5em;
    }

    .services-section{
        height: 75vw;
    }

    #services-heading{
        font-size: 2.5em;
    }

    #services-heading-paragraph{
        font-size: 1.5em;
    }

    .services-bubble-1 h3{
        font-size: 1em;
    }

    .services-bubble-1 li{
        font-size: 0.6em;
    }

    .services-bubble-2 p{
        font-size: 0.65em;
    }

    #book-heading{
        font-size: 1.4em;
    }

    #book-description-txt{
        font-size: 0.9em;
    }

    #media-card-title{
        font-size: 1em;
    }

    #media-card-subtitle{
        font-size: 0.85em;
    }

    #media-card-img-1 img{
        object-position: -60px -20px;
    }

    #media-card-img-2 img{
        width: 170%;
        object-position: -100px -50px;
    }

    #media-card-img-3 img{
        width: 210%;
        object-position: -30px 0px;
    }

    #media-card-img-4 img{
        width: 290%;
    }

    #media-card-img-5 img{
        width: 300%;
        object-position: -50px 0px;
    }

    #media-card-img-6 img{
        width: 230%;
        object-position: -150px -10px;
    }

    #contact-name{
        font-size: 3em;
    }

    #contact-profession{
        font-size: 1.5em;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.2em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 1.65vw;
        margin-right: 1.5%;
    }

    .address-group{
        font-size:1.35em;
    }

    #scripture, #reference{
        font-size: 0.85em;
    }
}

@media (max-width: 1400px) and (max-height: 1030px){

    .link-btn{
        height: 4vw;
        width: 30vw;
        font-size: 1em;
        align-content: center;
    }

    .about-wrapper{
        height: 110vh;
    }

    #about-phrase
    {
        font-size: 2.2em;
    }
   
    #about-section{
        font-size: 0.9em;
    }

    .testimonials-carousel{
        height: 30vw;
    }

    .testimonial-item{
        height: 90%;
    }

    #test-item-name{
        font-size: 1em;
    }

    #test-item-city{
        font-size: 0.75em;
    }

    #test-text{
        font-size: 0.8em;
    }

    #previous-button p, #next-button p{
        font-size: 1.5em;
    }

    .services-section{
        height: 80vw;
    }

    #services-heading{
        font-size: 2.5em;
    }

    #services-heading-paragraph{
        font-size: 1.5em;
    }

    .services-bubble-1 h3{
        font-size: 1em;
    }

    .services-bubble-1 li{
        font-size: 0.6em;
    }

    .services-bubble-2 p{
        font-size: 0.65em;
    }

    .publications-wrapper{
        height: 225vh;
    }

    #book-heading{
        font-size: 1.4em;
    }

    #book-description-txt{
        font-size: 0.9em;
    }

    #media-card-title{
        font-size: 1em;
    }

    #media-card-subtitle{
        font-size: 0.85em;
    }

    #media-card-img-1 img{
        object-position: -60px -20px;
    }

    #media-card-img-2 img{
        width: 170%;
        object-position: -100px -50px;
    }

    #media-card-img-3 img{
        width: 210%;
        object-position: -30px 0px;
    }

    #media-card-img-4 img{
        width: 290%;
    }

    #media-card-img-5 img{
        width: 300%;
        object-position: -50px 0px;
    }

    #media-card-img-6 img{
        width: 230%;
        object-position: -150px -10px;
    }

    .contact-wrapper{
        height: 70vh;
    }

    .contact-card{
        height: 90%;
    }

    #contact-name{
        font-size: 3em;
    }

    #contact-profession{
        font-size: 1.5em;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.2em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 1.65vw;
        margin-right: 1.5%;
    }

    .address-group{
        font-size:1.35em;
    }

    #scripture, #reference{
        font-size: 0.85em;
    }
}

/*Tablet Resolutions*/
@media (max-width: 1100px){
    
    #testimonials-header, #publications-heading, #media-heading, #academic-heading{
        font-size: 2em;
    }

    .link-btn{
        height: 5vw;
        width: 30vw;
        font-size: 1.1em;
        align-content: center;
    }

    .navbar{
        flex-basis: 70%;
    }

    .nav-item{
        font-size: 1.2em;
        padding: 2% 3% 2% 3%;
    }

    #instagram-logo{
       padding: 2%;
    }

    .logo{
        width: 5.5vw;
    }

    .opening-section{
        background-size: 250%;
        background-position: 45% 50%;
        height: 100vw;
    }

    .top-opening-section{
        margin-bottom: 60%;
    }

    #opening-logo{
        width: 50%;
    }

    #about-phrase{
        font-size: 1.6em;
    }

    .about-wrapper{
        height: 85vh;
    }

    #about-section{
        font-size: 0.95em;
    }

    .testimonials-carousel{
        height: 50vw;
        grid-auto-columns: calc((100% / 2) - 10px);
        gap: 1%;
    }

    #previous-button, #next-button{
        visibility: hidden;
    }
    
    .testimonial-item{
        max-width: 100%;
    }

    #test-item-name{
        font-size: 1.3em;
    }

    #test-item-city{
        font-size: 0.9em;
    }

    #test-text{
        font-size:0.95em;
    }

    .services-wrapper{
        height: 105vh;
    }

    #services-heading{
        font-size: 2em;
    }
    
    #services-heading-paragraph{
        font-size: 1.5em;
    }

    .services-bubble-1{
        height: 30vw;
    }

    .services-bubble-1 h3{
        font-size: 0.7em;
    }

    .services-bubble-1 ul{
        font-size: 0.7em;
    }

    .services-bubble-2{
        height: 30vw;
    }

    .services-bubble-2 p{
        font-size: 0.6em;
    }

    .publications-wrapper{
        height: 385vw;
    }

    .book-container{
        height: 70vw;
    }

    #book-img{
        width: 25vw;
        margin-left: 7%;
    }

    #book-heading{
        font-size: 1.35em;
    }

    #book-description-txt{
        font-size: 1em;
    }

    .media-cards-wrapper.desktop{
        display: none;
    }

    .media-cards-wrapper.mobile{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .media-container{
        margin-bottom: 3%;
    }

    #media-card{
        padding: 2%;
        height: 30vw;
        width: 80%;
        flex-direction: row;
        margin-bottom: 2%;
        align-items: center;
    }

    #media-card-info-mobile-container{
        flex-basis: 70%;
    }

    #media-card-title{
       font-size: 1.8em;
       margin-left: 2%;
    }

    #media-card-subtitle{
        font-size: 1.2em;
        margin-left: 3%;
    }

    #media-card-img-1, #media-card-img-2, #media-card-img-3, #media-card-img-4, #media-card-img-5, #media-card-img-6{
        flex-basis: 30%;
        max-height: 100%;
        height: 90%;
        margin: 0;
    }

    #media-card-img-1 img{
        object-position: -120px -100px;
    }

    #media-card-img-6 img{
        object-position: -250px -10px;
    }

    #curriculum-link{
        font-size: 1em;
    }

    .pub-item-group{
        height: 22vw;
    }
    
    #pub-title{
        font-size: 0.9em;
    }

    #pub-authors{
        font-size: 0.7em;
    }

    #pub-medium{
        font-size: 0.7em;
    }

    .contact-wrapper{
        height: 60vh;
    }

    #contact-name{
        font-size: 4em;
    }

    #contact-profession{
        font-size: 1.7em;
    }

    #contact-crn-id{
        font-size: 1.4em;
    }

    #contact-fito-id{
        font-size: 1.4em;
    }
    
    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 2vw;
    }

    #map{
        height: 25vw;
    }

    #scripture, #reference{
        font-size: 0.8em;
        text-align: center;
        margin: 2% 5% 2% 2%;
    }
}

/*Mobile Resolutions*/

@media (max-width: 900px){
    
    #testimonials-header, #publications-heading, #media-heading{
        font-size: 2em;
        text-align: center;
    }

    .link-btn{
        height: 7vw;
        border-radius: 900px;
        width: 50vw;
        font-size: 1.1em;
        align-content: center;
    }

    #curriculum-link,  #book-link{
        border-radius: 900px;
    }

    .navbar{
        display: none;
    }

    .logo{
        display: none;
    }

    .opening-section{
        background-size: 260%;
        background-position: -570px -150px;
    }

    .top-opening-section{
        margin-bottom: 60%;
    }

    #opening-logo{
        width: 55vw;
    }

    .about-wrapper{
        height: 175vw;
    }

    #about-section{
        font-size: 1em;
    }

    #about-phrase{
        font-size: 2em;
        text-align: center;
        line-height: 3vh;
    }

    .testimonials-wrapper{
        padding-top: 0;
    }

    .testimonials-carousel{
        height: 60vw;
        margin:auto;
        grid-auto-columns: calc((100%/2));
        gap: 1%;
    }

    .testimonial-item{
        height: 90%;
    }

    #previous-button, #next-button{
        height: 5.5vw;
        width: 5.5vw;
    }

    #previous-button{
        left: -3%;
    }

    #next-button{
        right: -3%;
    }
    
    #test-item-name{
        font-size: 1.3em;
    }

    #test-item-city{
        font-size: 0.9em;
    }

    #test-text{
        font-size: 0.95em;
    }

    .services-wrapper{
        height: 175vw;
    }

    .services-section{
        height: 110vw;
    }
    
    #services-intro-divider{
        width: 2vw;
    }

    #services-heading-paragraph{
        font-size: 1.3em;
    }

    .bubble-wrappers{
        margin-top: 3%;
    }

    .services-bubble-1{
        height: 40vw;
        width: 70%;
    }
    
    .services-bubble-1 h3{
        font-size: 1em;
        margin-left: 7%;
        margin-bottom: 3%;
        font-size: 0.75em;
    }

    .services-bubble-1 ul{
        margin-left: 7%;
        font-size: 0.7em;
    }
    
    .services-bubble-2{
        left: 42%;
        height: 40vw;
        width: 60%;
    }
    
    .services-bubble-2 p {
        margin-left: 25%;
        margin-right: 7%;
        text-align: left;
        font-size: 0.6em;
    }

    .publications-wrapper{
        align-items: center;
        height: 500vw;
        width: 100%;
    }

    .book-container.desktop{
        display: none;
    }

    .book-section{
        width: 95%;
    }

    .book-container{
        display: flex;
        flex-direction: column;
        background-size: 200%;
        background-position: -300px -300px;
        height: 100vw;
    }
    
    .book-mobile-top-section{
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        margin-top: 7%;
    }

    #book-img{
        width: 25vw;
        margin-left: 0;
    }
    
    #book-heading{
        align-self:  center;
        font-size: 1.5em;
        margin: 5% 3% 0 3%;
        text-align: center;
    }
    
    #book-description-txt{
        font-size: 1.2em;
        margin-top: 5%;
        margin-bottom: 7%;
        margin-left: 7%;
        margin-right: 7%;
    }

    .media-cards-wrapper.desktop{
        display: none;
    }

    .media-cards-wrapper.mobile{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #media-card-info-mobile-container{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 75%;
        padding: 0;
        flex-basis: 70%;
    }

    #media-card{
        width: 90%;
        flex-direction: row;
        align-items: center;
        height: 30vw;
        margin-bottom: 3%;
        padding: 4%;
    }

    #media-card-title-1{
        font-size: 1.5em;
        margin-left: 4%;
        margin-right: 0%;
    }
    
    #media-card-title-2{
        font-size: 1.4em;
        margin-right: 2%;
        margin-left: 4%;
    }
    
    #media-card-title-3{
        font-size: 1.5em;
        margin-right: 2%;
        margin-left: 4%;
        margin-top: 3%;
    }

    #media-card-title-4, #media-card-title-5, #media-card-title-6{
        font-size: 1.5em;
        margin-right: 2%;
        margin-left: 4%;
        margin-bottom: 15%;
    }

    #media-card-img-1, #media-card-img-2, #media-card-img-3,  #media-card-img-4, #media-card-img-5, #media-card-img-6{
        border-radius: 1vw;
        width: 100%;
        height: 75%;
        margin-top: 2%;
        margin-bottom: 2%;
        align-self: center;
        overflow: hidden;
        flex-basis: 30%;
    }

    #media-card-img-1 img{
        object-position: -20px -10px;
        width: 130%;
    }

    #media-card-img-6 img{
        object-position: -20px -5px;
        width: 130%;
    }

    #academic-heading{
        font-size: 1.5em;
    }


    .academic-row-wrapper.desktop{
        display: none;
    }

    .academic-row-wrapper.mobile{
        display: flex;
        flex-direction: column;
    }

    .contact-wrapper{
        flex-direction: column;
        align-items: center;
        justify-items: center;
        background-repeat: repeat-y;
        background-size: contain;
        height: 125vh;
    }
    
    .contact-groups{
        align-self: center;
    }

    .contact-card{
        margin-top: 7%;
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    #contact-name{
        font-size: 3.5em;
    }

    #contact-profession{
        font-size: 2.2em;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.5em;
        margin-bottom: 2%;
    }

    .contact-divider{
        width: 80vw;
        height: 0.65vh;
        margin-top: 4%;
        margin-bottom: 4%;
    }

    .contact-groups{
        flex-direction: column;
    }

    .contact-group-1{
        display: flex;
        width: 80%;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        margin-left: 0;
    }


    #contact-office, #contact-schedule, #contact-instagram{
        margin-top: 3%;
        width: 100%;
        justify-content: center;
    }

    #contact-instagram, #contact-office, #contact-schedule{
        display: flex;
        flex-direction: row;
        font-size: 1.4em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 3vw;
        margin-right: 0;
    }

    .contact-group-2{
        margin: 0;
        width: 90%;
        align-items: center;
    }

    .address-group{
        width: 100%;
        align-items: center;
        margin: 0;
    }

    #map{
        margin-top: 10%;
        border: none;
        border-radius: 0.7vw;
        height: 30vw;
        width: 70vw;
    }

    #schedule-btn{
        font-size: 1.9em;
        max-height: 10vw;
        flex-basis: 10%;
        margin-top: 0;
    }
    
    #schedule-btn img{
        width: 3vw;
        margin-right: 6%;
    }

    #scripture, #reference{
        font-size: 1em;
        margin-left: 4%;
        margin-right: 4%;
        text-align: center;
    }

}

@media (max-width: 770px){

    #testimonials-header, #publications-heading, #media-heading{
        font-size: 2em;
        text-align: center;
    }

    .link-btn{
        height: 10vw;
        border-radius: 900px;
        width: 50vw;
        font-size: 1.3em;
        align-content: center;
    }

    #opening-logo{
        width: 50vw;
        margin-bottom: 60%;
    }

    .opening-section{
        background-size: 230%;
        background-position: -450px -150px;
        height: 100vw;
    }

    .top-opening-section{
        margin-bottom: 100%;
    }
    
    .about-wrapper{
        height: 160vw;
    }

    #about-phrase{
        font-size: 2.3em;
    }

    #about-section{
        font-size: 0.9em;
    }

    .testimonials-wrapper{
        width: 80%;
        height: 100vw;
        overflow: hidden;
    }

    .testimonials-carousel{
        height: 80vw;
        grid-auto-columns: calc((100% / 2.5));
        gap: 5%;
    }
    
    .testimonial-item{
        height: 70vw;
    }

    #previous-button, #next-button{
        visibility: hidden;
    }

    .services-wrapper{
        height: 280vw;
    }

    .services-intro{
        flex-direction: column;
        align-items: center;
        margin-bottom: 4%;
    }

    .services-section{
        height: 250vw;
        flex-wrap: nowrap;
    }

    #services-heading{
        align-self: center;
        font-size: 6vw;
        margin-top: 5%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 6%;
        width: 80%;
        text-align: center;
    }

    #services-intro-divider{
        width: 80%;
        height: 0.8vw;
        margin-bottom: 6%;
    }

    #services-heading-paragraph{
        font-size: 4vw;
        margin: 0;
        width: 80%;
        text-align: center;
    }

    .services-bubble-1{
        border-top-right-radius: 30vw;
        border-bottom-right-radius: 30vw;
        height: 50vw;
        width: 95%;
    }

    .services-bubble-1 ul{
        font-size: 0.95em;
    }

    .services-bubble-2{
        border-top-left-radius: 30vw;
        border-bottom-left-radius: 30vw;
        height: 50vw;
        top: 115%;
        width: 95%;
        left: 7%;
    }

    .services-bubble-2 p{
        font-size: 0.7em;
    }

    .publications-wrapper{
        height: 710vw;
    }

    .book-container.mobile{
        margin-left: 0;
        height: 150vw;
        justify-content: space-evenly;
    }

    .book-mobile-top-section{
        flex-direction: column;
        align-items: center;
    }

    #book-img{
        width: 30vw;
        margin-left: 0;
        margin-bottom: 0;
    }

    #book-heading{
        margin-left: 0;
        text-align: center;
        font-size: 1.6em;
    }

    #book-description-txt{
        text-align: center;
        font-size:  1.3em;
    }

    #media-card{
        height: 40vw;
        margin-right: 0;
    }

    #media-card-img-1, #media-card-img-2, #media-card-img-3, #media-card-img-4, #media-card-img-5, #media-card-img-6{
        flex-basis: 40%;
    }

    #media-card-title-2{
        font-size: 1.2em;
    }

    #media-card-img-2 img{
        width: 60vw;
        object-position: -150px -150px;
    }

    #media-card-title-3{
        margin-top: 0;
        margin-right: 0;
        font-size: 1.3em;
    }

    #media-card-img-3 img{
        width: 60vw;
        object-position: -30px -10px;
    }

    #media-card-title-3, #media-card-title-5{
        margin-bottom: 10%;
    }

    #media-card-title-4{
        font-size: 1.5em;
    }

    #media-card-title-5{
        font-size: 1.2em;
    }

    #media-card-title-6{
        font-size: 1.2em;
    }

    #media-card-info-mobile-container{
        height: 35vw;
        flex-basis: 60%;
    }

    #media-card-subtitle{
        font-size:1.2em;
    }

    #academic-heading{
        font-size: 1.3em;
        margin-bottom: 4%;
        text-align: center;
    }

    #curriculum-link{
        margin-bottom: 4%;
        font-size: 1.3em;
    }

    .contact-wrapper{
        height: 200vw;
        background-size: 100%;
    }

    #contact-name{
        font-size: 3.5em;
        text-align: center;
    }

    #contact-profession{
        font-size: 2em;
    }

    #contact-instagram, #contact-schedule, #contact-office{
        font-size: 1.8em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        margin-right: 3%;
        width: 4vw;
    }

    .contact-divider{
        flex-shrink: 0;
        height: 1vw;
    }

    #map{
        border-radius: 3vw;
    }

    .pub-item-group{
        height: 35vw;
    }

    #schedule-btn img{
        width: 3.5vw;
        margin-left: 10%;
    }

    #schedule-btn p{
        font-size: 0.65em;
    }

}

@media (max-width: 480px){
   
    #testimonials-header, #publications-heading, #media-heading{
        font-size: 2em;
        text-align: center;
    }

    .link-btn{
        height: 15vw;
        border-radius: 900px;
        width: 70vw;
        font-size: 1.3em;
        align-content: center;
    }
    
    #opening-logo{
        width: 80vw;
        margin-bottom: 0;
    }

    .opening-section{
        background-size: 500%;
        background-position: 45% -150px;
        height: 200vw;
    }

    .top-opening-section{
        margin-bottom: 130%;
    }
    
    .about-wrapper{
        height: 210vh;
    }

    #about-phrase{
        font-size: 1.3em;
        margin-top: 7%;
        margin-bottom: 7%;
    }

    #about-section{
        font-size: 0.93em;
    }

    .services-wrapper{
        height: 185vh;
    }

    .testimonials-wrapper{
        height: 65vh;
        width: 90%;
        justify-content: center;
    }

    .testimonials-carousel{
        height: 130vw;
        margin-top: 0;
        margin-bottom: 0;
        grid-auto-columns: calc((100% / 4));
        gap: 1%
    }

    .testimonial-item{
        width: 100%;
        height: 120vw;
        font-size: 1em;
    }

    #services-heading{
        font-size: 2em;
    }

    #services-heading-paragraph{
        font-size: 1.2em;
    }

    .services-bubble-1{
        height: 65vw;
        border-top-right-radius: 40vw;
        border-bottom-right-radius: 40vw;
    }

    .services-bubble-1 h3{
        font-size: 0.6em;
    }

    .services-bubble-1 li{
        font-size: 0.5em;
    }

    .services-bubble-2{
        height: 65vw;
        border-top-left-radius: 40vw;
        border-bottom-left-radius: 40vw;
        font-size: 1.9em;
    }

    .publications-wrapper{
        height: 950vw;
    }
        
    .book-container.mobile{
        height: 170vw;
    }

    #book-heading{
        font-size: 1.3em;
    }

    #book-description-txt{
        font-size: 1em;
    }

    #book-link p{
        font-size: 0.95em;
    }


    #media-card{
    height: 55vw;
    }

    #media-card-title{
        font-size: 1.4em;
    }

    #media-card-subtitle{
        font-size: 1em;
    }

    #media-card-img-2 img{
        background-size: 100%;
        object-position: -100px -40px;
    }

    #academic-heading{
        font-size: 1.1em;
        margin-left: 3%;
        margin-right: 3%;
    }

    .pub-item-group{
        height: 55vw;
    }
    
    .contact-wrapper{
        height: 230vw;
    }

    .contact-card{
        margin-top: 7%;
        height: 95%;
    }

    .contact-group-1{
        width: 90%;
    }

    #contact-name{
        font-size: 3em;
        margin-bottom: 2%;
    }

    #contact-profession{
        font-size: 1.3em;
        margin-bottom: 3%;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.2em;
    }

    #contact-fito-id{
        margin-bottom: 4%;
    }

    #contact-insta-tag, #contact-schedule-txt, #contact-office-txt{
        font-size: 0.55em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 4.5vw;
    }

    #address-title, #address-1, #address-2{
        font-size: 0.7em;
    }

    #schedule-btn{
        flex-basis: 20%;
        max-height: 15vw;
        font-size: 1.7em;
    }

    #schedule-btn img{
        width: 5.5vw;
        margin-left: 7%;
    }

    #scripture, #reference{
        font-size: 0.8em;
    }
}

@media (max-width: 395px){
   
    #testimonials-header, #publications-heading, #media-heading{
        font-size: 1.8em;
        text-align: center;
    }

    .link-btn{
        height: 15vw;
        border-radius: 900px;
        width: 70vw;
        font-size: 1.25em;
        align-content: center;
    }
    
    #opening-logo{
        width: 80vw;
    }

    .opening-section{
        background-size: 500%;
        background-position: 45% -180px;
        height: 200vw;
    }

    .top-opening-section{
        margin-bottom: 100%;
    }
    
    .about-wrapper{
        height: 210vh;
    }

    #about-phrase{
        font-size: 1.2em;
        margin-top: 7%;
        margin-bottom: 7%;
    }

    #about-section{
        font-size: 0.86em;
    }

    .services-wrapper{
        height: 185vh;
    }

    .testimonials-wrapper{
        height: 65vh;
        width: 90%;
        justify-content: center;
    }

    .testimonials-carousel{
        height: 100%;
        margin-top: 0;
        margin-bottom: 0;
        grid-auto-columns: calc((100% / 4));
        gap: 1%
    }

    .testimonial-item{
        width: 100%;
        height: 90%;
        font-size: 1em;
    }

    .services-section{
        height: 265vw;
    }

    #services-heading{
        font-size: 2em;
    }

    #services-heading-paragraph{
        font-size: 1.1em;
    }

    .services-bubble-1{
        height: 65vw;
        border-top-right-radius: 40vw;
        border-bottom-right-radius: 40vw;
    }

    .services-bubble-1 h3{
        font-size: 0.55em;
    }

    .services-bubble-1 li{
        font-size: 0.45em;
    }

    .services-bubble-2{
        height: 65vw;
        border-top-left-radius: 40vw;
        border-bottom-left-radius: 40vw;
        font-size: 1.7em;
    }

    .publications-wrapper{
        height: 990vw;
    }
        
    .book-container.mobile{
        height: 180vw;
    }

    #book-heading{
        font-size: 1.2em;
        margin-left: 3%;
    }

    #book-description-txt{
        font-size: 1em;
    }

    #media-card{
        height: 55vw;
        border-radius: 3vw;
    }

    #media-card-title, #media-card-subtitle{
        margin-left: 6%;
    }

    #media-card-title{
        font-size: 1.2em;
    }

    #media-card-subtitle{
        font-size: 1em;
    }

    #media-card-img-2 img{
        background-size: 100%;
        object-position: -100px -40px;
    }

    #academic-heading{
        font-size: 1.1em;
        margin-left: 3%;
        margin-right: 3%;
    }

    .pub-item-group{
        height: 60vw;
        border-radius: 3vw;
    }
    
    .contact-wrapper{
        height: 260vw;
    }

    .contact-card{
        margin-top: 7%;
        height: 95%;
    }

    .contact-group-1{
        width: 90%;
    }

    #contact-name{
        font-size: 3em;
        margin-bottom: 2%;
    }

    #contact-profession{
        font-size: 1.3em;
        margin-bottom: 3%;
    }

    #contact-crn-id, #contact-fito-id{
        font-size: 1.2em;
    }

    #contact-fito-id{
        margin-bottom: 4%;
    }

    #contact-insta-tag, #contact-schedule-txt, #contact-office-txt{
        font-size: 0.55em;
    }

    #contact-insta-img, #contact-schedule-img, #contact-office-img{
        width: 5.5vw;
    }

    #address-title, #address-1, #address-2{
        text-align: center;
        font-size: 0.7em;
    }

    #map{
        height: 45vw;
    }

    #schedule-btn{
        font-size: 1.5em;
    }

    #schedule-btn img{
        width: 5.5vw;
        margin-left: 7%;
    }

    #scripture, #reference{
        font-size: 0.8em;
    }
}