/* 1040px seems to be when the join quote breaks */

#navSpaceForHeader{
    height: 80px;
    width:100%;
}

@media (max-width: 1040px) {
    html, body{
        max-width: 100%;
        overflow-x: hidden;
    }
    
    #nav{
        height:100vh;
        width: 50%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0px;
        /* margin-left: 5%; */
        flex-direction: row-reverse;
        /* display: none; */
        position: fixed;
        right: 0px;
        z-index: 20;

        /* 1. Push it completely off-screen to the right */
        transform: translateX(100%);
        /* 2. Smooth slide transition */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navAligner .socials{
        height: 40px;
        cursor: pointer;
        position: fixed;
        left: 10px;
        top: 15px;
    }

    #burger{
        display: flex;
    }

    #nav ul{
        height:80px;
        position: absolute;
        top: 80px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin: 0px;
        padding: 0px;
        width: 100%;
        font-size: 25px;
        gap: 20px;
    }

    .navSpacer{
        display: none !important;
        content: "";
    }

    #nav li{
        margin-right:20px;
    }

    .navList{
        display: none;
        visibility: hidden;
    }

   .open{
        background-color: rgb(18, 37, 63);
        visibility: visible;
    }

    #nav.open{
        transform: translateX(0);
    }

    #nav a:hover {
        background: linear-gradient(
            135deg, 
            #a67c1e 0%,   
            #f2d479 25%,  
            #c99e32 50%,  
            #f7e399 75%,  
            #916812 100%
        );

        -webkit-background-clip: text;
                background-clip: text;

        -webkit-text-fill-color: transparent;
                text-fill-color: transparent;
    }


    #nav .socials{
        /* background-color: pink; */
        position: absolute;
        display: flex;
        flex-direction: row;
        right: calc(100vw - 40px);
        top: 40px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
    }

    .navLogo {
        position: absolute; 
        z-index: 6; 
        top: 50%;
        left: calc(100vw - 120px);
        transform: translateY(-50%);
        
        height: 80px; 
        width: 80px;
        max-height: 50px; 
        max-width: 50px;
        
        object-fit: contain; 
        
        flex-shrink: 0;
    }


    .LargestText{
        font-size: 35px;
        margin-bottom: 5px;
    }

    .LargestText2{
        font-size: 28px;
        margin-bottom: 10px;
        margin-top: 100px;
    }

    .subTitle{
        font-size: 15px;
        /* margin-top: -25px; */
    }

    #joinUs h3{
        font-size: 40px;
    }

    header{
        height: 180px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 0px;
        text-align: center;
    }

    section{
        width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }

    .headerLogo{
        height: 120px;
        width: 100%;
        margin: 0px;
        /* margin-top: -100px; */
        padding: 0px;
    }

    header img{
        max-height: 100%;
        max-width: 30vw;
        margin-left: 20px;
    }

    header h1, header h3{
        margin-right: 10px;
    }

    .splitFlex{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 15px;
        max-width: 98%;
    }

    .reverse{
        flex-direction: column;
    }

    #whoAreWe{
       margin-top: -50px;
    }

    #whoAreWe .right p, #whatWeDo .left p, #joinUs p, #joinUs li{
        font-size: 15px;
    }


    #whoAreWe .left, #whoAreWe .right, #joinUs .left, #joinUs .right{
        width: 100%;
        height: auto;
        margin: 0px;
    }

    #whoAreWe .splitFlex{
        gap: 30px;
    }

    #whoAreWe .right{
        margin-top: -40px;
    }

    #whoAreWe .left img{
        max-width: 100%;
        max-height: 100%;
        margin: 0px;
    }

    #whoAreWe .right p{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
        text-align: justify;
    }

    #whatWeDo{
        margin-top: -40px;
    }

    #whatWeDo .left, #whatWeDo .right, #joinUs .left, #joinUs .right{
        width: 98%;
        height: auto;
    }

    #kinshipQuote{
        margin-top: -40px;
    }

    #kinshipQuote h3{
        font-size: 28px;
        margin:5px;
        text-align: center;
    }

    #kinshipQuote h2 {
        font-weight: lighter;
        font-size: 15px;
        text-align:justify;
    }

    #upcomingEvents{
        margin-top: -60px;
    }

    #events{
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 20px;
    }

    #joinUs{
        margin-top: -40px;
    }

    #joinUs .right li{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
        text-align: left;
    }

    footer{
        height: auto;
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        gap: 20px;
    }

    .footerRightGroup{
        width: 100vw;
        flex-direction: row;
        align-items: space-between;
        justify-content: space-between;
    }

    #octopod{
        position: absolute;
        z-index: 20;
        right: 5px;
        height: 90px;
        width: 90px;

        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #octopod img{
        margin-left:50%;
        transform: translateX(-50%);
    }
}



/*///////////////////////////*/


/* 

#nav a:link, #nav a:visited {
    text-decoration: none;
    color: rgb(241,239,216);
}

#nav a:hover {
    background: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    );

    -webkit-background-clip: text;
            background-clip: text;

    -webkit-text-fill-color: transparent;
            text-fill-color: transparent;
}

.navSpacer{
    font-size: 25px;
}

#nav img{
    height: 40px;
    margin-left: 15px;
    border-radius: 10px;
}

header img{
    max-height: 90%;
    margin: 0px;
    margin-right: 20px;
    margin-left: 50px;
}

header h1{
    font-size: 50px;
    margin-top: 0px;
    margin-bottom: 0px;
}

header h3{
    margin-top: 2px;
    margin-bottom: 2px;
    float: right;
}

.gold-text {
    background: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    );

    -webkit-background-clip: text;
            background-clip: text;

    -webkit-text-fill-color: transparent;
            text-fill-color: transparent;

    font-weight: bold; 
}

section{
    margin: 0px;
    padding: 0px;
    width:100%;
    min-height: calc(100vh - (80px + 25vh + 80px + 140px)); 
}

section h2{
    font-size: 35px;
}

.splitFlex{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0px;
}

#whoAreWe{
    width: 90%;
    height: auto;
    margin: 0px;
    margin-left: 5%;
    margin-top: 80px;
    margin-bottom: 70px;
}

#whoAreWe h2{
    margin-bottom: 60px;
}

#whoAreWe p{
    font-size: larger;
}

#whoAreWe .left{
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#whoAreWe .left img{
    max-width: 80%;
    max-height: 80%;

}

#whoAreWe .right{
    width: 60%;
    height: 100%;
    background-color: rgb(241,239,216);
    color: rgb(18, 37, 63);
    margin-left:-8px;

    border: 4px solid; 
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;

    container-type: inline-size;
}



#whatWeDo{
    position: relative;
    width:90%;
    height: auto;
    margin-top: 70px;
    margin-bottom: 70px;
    margin-left: 5%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#whatWeDo p{
    font-size: larger;
}

#whatWeDo .left{
    width: 40%;
    background-color: rgb(241,239,216);
    color: rgb(18, 37, 63);

    border: 4px solid; 
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
    
}

#whatWeDo .left p{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    text-align: justify;
    font-size: 22px;

}

#whatWeDo .right{
    width: calc(60% - 8px);
    display: flex;
    justify-content: center;
}

#whatWeDo .right img {
    max-width: 80%;
    max-height: 200px;
}

#kinshipQuote{
    width: 90%;
    margin-left: 5%;
    margin-bottom: -50px;
}

#kinshipQuote h3{
    font-size: 50px;
    margin:5px;
}

#kinshipQuote h2 {
    font-weight: lighter;
    font-size: 25px;
}

#upcomingEvents{
    width: 90%;
    margin-left: 5%;
    margin-bottom: 70px;
    height: auto;
}

#events{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.event { 
    position: relative;
    width: 20%;
    min-width: 265px;
    min-height: 400px;
    text-align: center;
    
    border: 4px solid; 
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
}

.event .innerBorder{
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: 6px;

    border: 4px solid;
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
}

.innerBorder .topSpace{
    width:100%;
    height:10px;
}

.event h2{
    margin:0px;
    font-size: 30px;
}

.event p{
    font-size: larger;
}

.line{
    display: inline-block;
    border-bottom: solid white 1px;
    height:1px;
    width: 30%;
    margin-top: 8px;
}

.bookingButton {
    position: absolute;
    background: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 15%,  
        #c99e32 50%,  
        #916812 100%
    );
    width: 50%;
    height: 2em;
    left: 25%;
    bottom: 20px;
    display: flex;
    align-items: center;         
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    color: rgb(18, 37, 63);
    border: none;
}

#joinUs{
    width: 90%;
    height: auto;
    margin-left: 5%;
}

#joinUs a:hover{
    background: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    );

    -webkit-background-clip: text;
            background-clip: text;

    -webkit-text-fill-color: transparent;
            text-fill-color: transparent;
}

#joinUs .left{
    vertical-align: top;
    width: 35%;
    font-size: 60px;
    padding: 0px;
}

#joinUs .right{
    width: 65%;
    background-color: rgb(241,239,216);
    color: rgb(18, 37, 63);
    margin-left:-8px;

    border: 4px solid; 
    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
}


#joinUs p, #joinUs li{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    text-align: justify;
    font-size: 22px;
}

#joinUs a:link, #joinUs a:visited{
    text-decoration: none;
    color: rgb(18, 37, 63);
}

footer{
    height: 80px;
    width: 100%;
    margin-top: 70px;

    color: white;
    display: flex;
    align-items:center;
    justify-content: space-between;
    padding-top:20px;
    padding-bottom: 20px;
    border-top:solid 1px white;

    border-image: linear-gradient(
        135deg, 
        #a67c1e 0%,   
        #f2d479 25%,  
        #c99e32 50%,  
        #f7e399 75%,  
        #916812 100%
    ) 1;
}

footer div{
    margin-left: 12px;
    margin-right: 12px;
}

footer p{
    font-size: 15px;
    margin: 5px;
}

.footerRightGroup{
    display: flex;
    flex-direction: row;
}

footer .socials{
    display: flex;
    flex-direction: column;
}

footer img{
    height: 40px;
    margin-right: 15px;
    border-radius: 10px;
}

#octopod{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#octopod a:link, #octopod a:visited {
    text-decoration: none;
    color: #f4511e;
    font-family: sans-serif;
}

#octopod img {
    height:40px;
    width: 40px;
    background-color: #f4511e;
    border-radius: 100%;
    padding: 5px;
}
 */
