/* #region */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent; /* Removes highlight on tap */
    overflow-x: hidden; 
}
/* #endregion */

body {
    font-family: "Sofia Sans", sans-serif;
    background-color:rgb(222, 222, 222);
    overflow-x: hidden;
}

/* title */
.header-wrapper {
    display: flex;
    flex-direction: row;
    position:relative;
    justify-content: center;
    text-align: left;
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.header-wrapper, 
.project-description-container, 
.content-item, 
.ct,
.cd {
    max-width: 153rem;
    margin-left: auto;
    margin-right: auto;
    padding-left:  30rem;
    padding-right: 30rem;
}
.title {
    font-size: 3.5rem;
    line-height: 1.15em;
    color:rgb(155, 115, 99);
    font-weight: 700;
    width: 60%;
}
.title-colorchange {
    color: rgb(204, 204, 204);
}
/* PROJECT INTEL */
.project-info-container {
    z-index: 250;
    width: 100vw;
    height: 100%;
    padding-top: .4rem;
    position: relative;
    display: flex;
}
.intel-title {
    color: rgb(155, 115, 99);
    font-size: 1.3rem;
    font-weight: 600;
}
.intel, .intels {
    color: rgb(93, 57, 43);
}
.intel {
    display: flex;
    align-items: center;
    display: flex;
    z-index: 221;
    font-size: 1rem;
    padding-left: 2%;
    padding-right: 2%;
    display: block;
}
.intels {
    display: flex;
    align-items: center; 
    text-decoration: underline;
    text-decoration-thickness: .09rem;
    text-decoration-color: rgb(155, 115, 99);
    cursor: pointer;
    z-index: 221;
    font-size: 1rem;
}
/* project description */
.project-description-container{
    position: relative;
    z-index: 256;
    text-align: left;
}
.land {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.paragraph {
    padding-top: 8rem;
    padding-bottom: 8rem;
}
.project-info-bg {
    z-index: 2;
    width: 100%;
    position:absolute;
    height: 100vh;
    border-radius: 8px;
}
.project-description {
    position: relative;
    z-index: 256;
    color: rgb(93, 57, 43);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5em;
}
.description-highlights {
    color: rgb(155, 115, 99);
    font-weight: 800;
}
.description-underline {
    text-decoration: underline;
    text-decoration-thickness: .1rem;
    text-decoration-color: rgb(173, 16, 16);
}

/* CONTENT ITEMS */
.s1 {
    /* background-color: rgb(255, 255, 255); */
    padding-bottom: 3rem;
}

.ct {
    padding-bottom: 1rem;
    padding-top: 2rem;
}
.cd {
    padding-bottom: 4rem;
    padding-top: 4rem;
}
.ctt1 {
    position: relative;
    z-index: 256;
    font-size: 1.7rem;
    font-weight: 800; 
}

.ctt1 {
    color: rgb(155, 115, 99);
}



.two {
    display: flex; 
    gap: 1rem;
    
}
.project-nonclickitem video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-item {
    position: relative;
    z-index: 500;
    text-align: center;
}
.content-item img {
    max-width: 100%;
}
.content-item p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5em;
}

.project-item, 
.project-nonclickitem {
    z-index: 250;
    transition: all 300ms ease-in-out;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100px;
    margin: 0; 
    display: flex;
    margin-bottom: 2rem; 
}
.project-item {
    cursor: pointer;
}


.citation {
    position: relative;
    font-weight: 300;
    font-style: italic;
    font-size: 1.4rem;
    color: rgb(68, 5, 5);
}


footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1rem;
}

.spacing-before-contact {
    /* background-color: #333; */
    width: 100%;
    padding-bottom: 8rem;
}
/* #region media */
@media (min-width: 1500px) and (max-width:2200px) {
    .header-wrapper, .project-description-container, .content-item, .ct,.cd, .gallery {
    padding-left:  15rem;
    padding-right: 15rem;
    }
}              

@media (min-width: 800px) and (max-width:1500px) {
    .header-wrapper, .project-description-container, .content-item, .ct,.cd, .gallery {
    padding-left:  6rem;
    padding-right: 6rem;
    }
}  

@media (max-width:800px) {
    .header-wrapper, .project-description-container, .content-item, .ct,.cd, .gallery {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    }
    .header-wrapper {
        flex-direction: column;
        padding-top: 0rem;
    }
    .project-info-container {
        padding-top: 2rem ;
        flex-direction: column; 
        padding-bottom: 2rem;
    }
    .intel {
        padding-bottom: 1rem;
    }
    .project-description-container {
        padding-bottom: 4.5rem;
    }
    .title {
        width: 100%;
        padding-top: 2.5rem ; 
        padding-bottom: 1.5rem;
    }
    .content-item {
        position: relative;
        z-index: 500;
        margin-bottom: 0px;
        text-align: center;
    }
    .content-item img {
        max-width: 100%;
        height: auto;
        max-height: 50rem;
        margin-bottom: 0px;
    }
    .project-item, .project-nonclickitem {
        margin-bottom: 2rem;
    }
    .two {
        /* gap: .5rem; */
        display: block; /* or block, inline, depending on context */
        gap: 0;
    }
}
.paragraph {
    padding-top: 4rem;
    padding-bottom: 8rem;
}
/* #endregion */