*{
    margin: 0;    
}

body{
    background-color: whitesmoke;
    position: relative;
}

nav{
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}
nav img{
    max-height: 50px;
}
.ryanBannerContainer{
    margin-top: 70px;
    background-color: black;
    position: relative;
    color: white;
    
}
.ryanBanner{
    background-image:url('img/mainPic.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    min-height: 700px;
    max-height: 100%;
    max-width: 100%;
}
.nameTitle{

    position: absolute;
    bottom: 0;

    padding-left: 5%;
    
}
.nameTitle h1{
    color: orange;
    font-size: 70px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 40px;
}
@media screen and (max-width: 940px){
    .nameTitle h1{
        font-size: 60px;
    }
    .nameTitle h3{
        font-size: 23px;
    }
}
@media screen and (max-width: 730px){
    .nameTitle h1{
        font-size: 50px;
    }
    .nameTitle h3{
        font-size: 17px;
    }
}
.ryanQuote{
    position: absolute;
    top: 0;
    padding: 5%;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    right: 0;
    max-width: 40%;
    text-align: center;
}
.stroked{
    -webkit-text-stroke-width: 10px;
    -webkit-text-stroke-color: black;
}

.flexibleBox{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center; 
}
@media screen and (max-width: 768px){
    .flexibleBox{
        display: inline-flex;
        flex-direction: column;
    }
}
.smallerBox1{
    flex: 1;
    padding: 2%;
    display: inline-flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.photoGroupTitle{
    text-align: center;
    margin: 1%;
    padding: 1%;
}
@media screen and (max-width: 940px){
    .photoGroupTitle img{
        max-width: 400px;
        width: 80%;
        height: auto;
    }
}
@media screen and (max-width: 600px) {
    .photoGroupTitle img {
        max-width: 200px;
        width: 90%;
        height: auto;
    }
}



.gallery-flex {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2rem 0;
}
.gallery-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* NOTE: You can uncomment the following to make it single column, however, the images will be out of order. */
@media (max-width: 940px) {
    .gallery-flex {
        flex-direction: column;
    }
}




.clickImage{
    border-radius: 5px;
    margin: 5%;
    max-width: 100%;
    
    width: auto;
    height: auto;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 10px rgba(255, 255, 255);
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 940px){
    /* .clickImage{
    width: 25%;
    } */
}
.clickImage:hover{
    transform: scale(1.1);
    transition: 0.5s;
    cursor: pointer;
}
#lightbox{
    position: fixed;
/*    z-index: 1000;*/
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    
}
#lightbox.active{
    display: flex;
    justify-content: center;
    align-content: center;
}
#lightbox img{
    margin: 3%;
    

/*    max-width: 85%;*/
/*    background-size: cover;*/
    border-radius: 15px;
    border-style: solid;
    border-color: black;
    
    
    
}
@media screen and (max-width: 940px){
    #lightbox img{
    margin: 20%;
    }
}



.gallery-columns {
    column-count: 2;
    column-gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-columns img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    break-inside: avoid;
}
/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .gallery-columns {
        column-count: 1;
    }
}









.roundedThinBorderLess{
    margin: 2%;
/*
    border: solid;
    border-width: thin;
    border-color: gray;
    border-radius: 8px;
*/
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 1.0); 
}



.shortDescription{
    color: white;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
h2.shortDescription{
    color: rgb(255, 203, 112);
}
h3.shortDescription{
    text-align: left;
}







.footExtension{  /*Add space to content above footer so that content doesn't go underneath footer.*/
    padding-top: 40px;
}
footer {    
    position: absolute;  /*Keep footer at bottom effectively*/
    bottom: 0;  /*Keep footer at bottom effectively*/
	background-color: black;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
    /* Text */
	text-align: center;
	font-size: 8px;
    color: gray;
} 
footer p{
    padding-top: 40px;
    padding-bottom: 40px;
}


.horizontalLayout{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.verticalLayout{
    display: block;
    text-align: center;
    min-width: 50%;
}
.tiltRight{
    max-height: 150px;
}
.tiltLeft{
    max-height: 150px;
}



.BGgradient{
    background:  linear-gradient(rgb(0, 0, 0), rgb(115, 220, 255));
    color: white;
}
.circlePic{
    border-radius: 50%;
    width: 100px;
    margin: 2%;
}
.infoMain{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
}
.intro{
    display: block;
    max-width: 600px;
    margin: 2%;
    padding: 2%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
    min-height: 400px;
    min-width: 400px;
}
.skill{
    padding: 2%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: darkgray;
    min-height: 900px;
}
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-on-scroll.visible {
    opacity: 1;
    transform: none;
}
@media only screen and (max-width: 940px) {
    .skill{
        display: block;
    }  
}/*END MEDIA WIDTH 768*/





#darkened{
    background-color: rgb(69, 69, 69);
}
.sectionContact{
    padding: 5%;
    min-height: 400px;
}
.sectionContact h1, .sectionContact h3 i, label{
    color: black;
}
.hideMe{
    display: none;
    visibility: hidden;
}


.modalPic{
    max-width: 100%;
}









.thankYouContactBG{
    background-image:url('mailboxSurprise.jpg');
    background-color: black;
    background-size: cover;
    min-height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    
}
.thankYouContactBox{
    display: inline-flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 3%;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
button{
    color: white;
    text-decoration: none;
    padding: 5%;
    font-size: 16px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
}
button:hover{
    cursor: pointer;
    background-color: rgba(100, 100, 100, 0.5);
}