html, body {
    margin: 0;
    height: 100%;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/my-custom-font.woff2') format('woff2'),
       url('fonts/my-custom-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.mainProfile {
    position: relative; 
    width: 100%;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.profilePic {
    width: 300px;
    height: 300px;
    background: gray;
    border-radius: 90px;
    margin-top: 40px; 
    margin-left: 25px;

    border: 5px solid rgb(128, 128, 128, 0.2);
}

.recText {
    margin-top: 40px; 
    text-align: center;
    font-family: 'Copperplate', 'Copperplate Gothic Light', 'Copperplate Gothic Bold', sans-serif;
}

.profileParagraph {
   width: 100%;
   max-width: 700px;
   font-size: 25px;
   font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
   text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
   text-align: center;
   margin-top: 20px; 
}
.profileSect {
    animation: slide-from-top 1s ease-in forwards;
}

@keyframes slide-from-top {
    from {transform: translateY(-30%); opacity: 0;}
    to {transform: translateY(0%);
    opacity: 1;}
}



.topprofileBox {
    animation: ease-from 1.54s ease-in forwards;
}

@keyframes ease-from {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes slide-from-right {
    from {transform: translateX(30%); opacity: 0;}
    to {transform: translate(0%); opacity: 1;}
}

/* .backImage {
    animation: fade 5s ease-in;
    
}

@keyframes fade {
    from {opacity: 0.2; }
    to {opacity: 1;}
} */


.topprofileBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 75px;
}


.pcLogo1, .pcLogo2 {
    height: 120px;
    padding: 25px;
    z-index: 6;
}
.pcLogo1 {
    margin-top: 70px;

}
.pcLogo2 {
    margin-bottom: 130px;
}

.innerLogosMobile {
    display: none;
}



.mercyLogo {
    height: 120px;
    width: auto;
}
.studioLogo {
    height: 100px;
    width: auto;
    margin-top: 8px;
}

.codeLogos {
    animation: slide-from-left 1s ease-in;
}

@keyframes slide-from-left {
    from {transform: translate(-40%);
    opacity: 0;
    }
    to {transform: translate(0%);
    opacity: 1;
    }
}


.codeLogos {
    width: 340px;
    height: 220px;
}


.funFacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.funfactsOne, .funfactstwo {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.funfactsOne {
    animation: slide-from-right 1s ease-in;
    animation-fill-mode: both; 
    animation-timeline: view();
    animation-range: entry -150% contain 5%;
}
.funfactstwo {
    animation: slide-from-left 1s ease-in;
    animation-fill-mode: both; 
    animation-timeline: view();
    animation-range: entry -150% contain 5%;
}


.factsPar {
   width: 100%;
   max-width: 500px;
   font-size: 25px;
   font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
   text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
   text-align: center;
}

.imagePlaceholder, .churchPicture {
    width: 400px;        
    height: 250px;        
    background-color: gray;
    border-radius: 40px;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.4);
    border: 5px solid rgb(128, 128, 128, 0.2);
    transition: transform 0.3s ease;
    /* cursor: zoom-in; */
}
/* .imagePlaceholder.zoomed, .churchPicture.zoomed {
    top: 155%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
  cursor: zoom-out; 
  z-index: 1000; 
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
 
  
} */

.churchPicture {
    border-radius: 40px;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.4);
    height: 250px;
    width: 400px;
    border: 5px solid rgb(128, 128, 128, 0.2);
}

.projectstextinPar {
    color: gray;
}


.defText {
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
    text-align: center;
}
.pictureText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:10px

}

@media (max-width: 768px) {
    .funfactsOne, .funfactstwo {
        flex-direction: column; 
    }
    .innerLogosMobile {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    z-index: 4;
    }

    .innerLogosMobile {
        animation: slide-from-right 1s ease-in;
    }

    .topprofileBox {
        margin-right: 0px;
    }
    .pcLogo1, .pcLogo2 {
        display: none;
    }
    
    .profileParagraph, .factsPar {
        font-size: 22px;
        max-width: 90%;
    }

    .profilePic {
        width: 200px;
        height: 200px;
        border-radius: 70px;
        margin-left: 60px;
    }
    
    .imagePlaceholder, .churchPicture {
        width: 100%;
        max-width: 340px;
        height: 210px;
    }
}

.tLogo {
    height: 20%;
    width: 20%;
    animation: ease-from 1s ease-in;
}

.credit {
    padding-bottom: 15px;
}