







/* Phone: Portrait */ @media (max-width: 768px) and (orientation: portrait) {



    
    .header-middle h1,
    .header-left img {
        transition: opacity 0.3s ease-in-out;
    }

    

h1 {

    font-size: 30pt;
    margin-top: 15px;
}



h3 {



    font-size: 25pt; /* Responsive font size */
    line-height: 1; /* Adjust line spacing for readability */
    margin: 0;

}




  p {
    margin: 0;
    font-size: 13pt; /* Responsive font size */
    line-height: 1.25;
    
  }

  

body {
    position: relative; /* Ensures the sticky header references the right context */
}
  

header {
    position: sticky; /* Ensures children position relative to this */
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100px;
}

.header-left,
.header-middle {
    position: absolute; /* Allows overlapping */
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
    align-items: center;
    justify-content: center;
}

.header-left {
    margin-top: 15px;

    z-index: 2; /* Ensures it's layered above header-middle */
}

.header-middle {
    z-index: 1; /* Keeps it slightly beneath header-left */
}

.header-right {
    width: 0;
}

.logo {
    height: 50px;
    width: 50px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}


.top-deck {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
}

.top-deck-profile {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
}

.intro {
 

    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    width: 300px;
    height: 400px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 25px;
    opacity: 1;
    text-align: center; /* Ensures text stays centered */

}

.intro-profile {
 

    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    width: 300px;
    height: 900px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 25px;
    text-align: center; /* Ensures text stays centered */

}
.intro-container {

    height: 500px;
}

.intro-container-profile {

    height: 1000px;
}
.intro-image {
    
    height: 400px;
    width: 300px;

    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;

}
.intro-image img {
    position: absolute;
    top: -50px;

    left: -12.5%;
    width: 125%;
    height: 125%;



}


.intro-image-profile {
    
    height: 900px;
width: 300px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;

}

.intro-image-profile img {
    position: absolute;
    top: -50px;

    left: -12.5%;
    width: 125%;
    height: 125%;



}






/* gallery */
.break {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.gallery {

    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 400px;

}

.gallery-profile {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 350px;

}



.image-container {
    height: 400px;
    
}


.fig-container-profile {
    height: 250px;
    width: 300px;
        margin-top: 50px;
        margin-bottom: 50px;

}







.fig-container {

    
    height: 300px;



}




.figure {
    width: auto;
    height: 200px;
}






.figcaption {
font-size: 13pt;
margin-left: 5%;
margin-right: 5%;
width: 90%;
}


}

.figure-profile {
    width: 100%;
    height: auto;


}




/* Phone: Landscape */ @media (max-width: 932px) and (orientation: landscape) {







/* Header Scrolls Offscreen */
header {
    position: absolute;

}

/* Navbar Scrolls Up, Then Sticks */
.navbar {
    position: absolute;
    top: 100px; /* Starts below the header */

}

.navbar.fixed {
    position: fixed;
    top: 0;
}



.top-deck {
    margin-top: 150px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
}

.top-deck-profile {
    margin-top: 0;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: auto;
    margin-bottom: 0px;
}



.intro {
 

    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    width: 400px;
    height: 300px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 25px;
    opacity: 1;
    text-align: center; /* Ensures text stays centered */

}

.intro-profile {
 

    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    width: 400px;
    height: 700px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 25px;

    text-align: center; /* Ensures text stays centered */


    opacity: 1;
}

.intro-container {

    height: 400px;
}

.intro-container-profile {

    height: 800px;
}

.intro-image {
    width: 400px;
    height: 300px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;

}
.intro-image img {
    position: absolute;
    top: -50px;

    left: -12.5%;
    width: 125%;
    height: 125%;



}


.intro-image-profile {
    
    width: 400px;
    height: 700px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 50px;
    margin-bottom: 50px;

}
.intro-image-profile img {
    position: absolute;
    top: -50px;

    left: -400px;
    width: auto;
    height: 800px;


}




/* gallery */
.break {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

.gallery {

    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 500px;

}

.gallery-profile {
margin-top: 150px;
margin-bottom: 0px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    height: 400px;

    

}



.image-container {
    height: 100%;
    
}










.fig-container {

    height: 400px;
    width: 400px;



}


.figure-profile {

    
    height: auto;
    width: 100%;



}




.figure {
    width: 400px;
    height: auto;
}



.fig-container-profile {
    width: 400px;
    height: 300px;
        margin-top: 50px;
        margin-bottom: 50px;

}



.figcaption {
font-size: 13pt;
margin-left: 5%;
margin-right: 5%;
width: 90%;
}


}









