/*------------------------------------------------
Header / Global Navigation
------------------------------------------------*/
.header-p {
    position: sticky;
    top: 0;
    background-color: white;
    height: 0;
    width: 1300px;
    padding: 0;
    margin: 0 auto;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 62px 0;
    border-bottom: 1px solid #d7d7d7;
}

.logo-p {
    display: flex;
    align-items: center; /* Center logo items vertically */
}

.logo-p img {
    position: absolute;
    top: 0px;
    left: 5px;
    width: 130px;
}

.logo-p p {
    padding: 0;
    margin: 0;
    position: absolute;
    left: 124px;
    bottom: 18px;
}

.gn-p {
    margin-top: 18px;
    text-transform: uppercase;
    letter-spacing: -.5px;
}

.gn-p ul {
    padding: 0;
    margin: 15px;
    display: flex;
    justify-content: center;
}

.gn-p li {
    position: relative;
    margin: 10px 5px;
    padding: 0;
}

.gn-p a {
    font-weight: 700;
    font-size: 14px;
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    box-sizing: border-box; /* Ensures padding includes the border */
    border: 1px solid transparent; /* Pre-sets border to avoid shifting */
    border-radius: 20px;
    transition: border-color 0.3s ease;
}

.gn-p a:hover {
    color: black;
    border-color: #e95d68;
}

/* Media query for smaller screens */
@media (max-width: 1300px) {
    .header-p {
        width: 100%; /* Make header take up the full width of the viewport */
    }
}


/*------------------------------------------------
Project Pages: Typography
------------------------------------------------*/
h2, h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

h4 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #414141;
}

strong {
    color: #007BFF;
}

a {
    color: black;
}


/*------------------------------------------------
Layout & Styling
------------------------------------------------*/
.banner {
    width: 100%;
    height: 257px;
    background-repeat: repeat-x;
    background-size: contain;
    background-position: top center;
}

.thin {
    height: 1px;
    background-color: #999;
}

.proj-head {
    font-size: 36px;
    font-weight: 700;
    margin: 15px 100px 35px 100px;
}

.project-page {
    width: 75%;
}

.underline {
    border-bottom: 1px solid darkgrey;
    padding: 0 0 4px;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto; 
}

.end-p {
    padding-bottom: 18px;
}

.indent {
    padding-left: 45px;
}

.top-pad {
    padding-top: 20px;
} 


/*------------------------------------------------
Side menu
------------------------------------------------*/
.is-flex {
    flex-direction: row;
    align-items: flex-start;
}

.side-menu { 
    width: 25%;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 160px;
    background-color: white;
    margin-top: 20px;
    margin-right: 30px;
    border-right: 1px solid #d7d7d7;
} 

.side-menu ul li {
    margin: 20px;
    padding: 5px;
}

.side-menu a {
    color: #574e4e;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 15px;
}

.side-menu a.active {
    color: #5a49d9;
    background-color: #4fb7d957;
    border-left: thick solid #5f7ed5;
}

@media screen and (max-width: 1026px) {
    .side-menu {
        display: none;
    }

    .project-page {
        width: 100%;
    }
}

[id] {
    scroll-margin-top: 147px;
}


/*------------------------------------------------
Footer: For Projects
------------------------------------------------*/
.contact-p {
    width: 1300px;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #d7d7d7;
    padding-bottom: 15px;
}

.contact-p ul li {
    margin-bottom: 10px;
}

.contact-p ul a {
    text-decoration: none;
    color: #0184b7;
}

.thanks-p {
    text-align: center;
    font-size: 17px;
}

.copywrite-p {
    font-size: 15px;
    text-align: center;
}

@media (max-width: 1300px) {
    .contact-p {
        width: 100%;
    }
}