.project_site {
    width: 100%;
    height: fit-content;

    background: var(--projects-background-color);
    background: var(--projects-background-gradient);
    
    background-color: var(--color-background);
}

.head_content_container {
    width: 100%;
    height: 80vh;

    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.head_content_picture {
    width: 100%;
    min-height: 480px;
    height: 50%;

    overflow: hidden;
    position: relative;

    display: flexe;
    justify-content: center;
    align-items: center;
}


.head_content_picture img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;

    z-index: 101;
}

.head_content_picture video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;

    object-fit: cover;
    
    z-index: 102;
}

.head_projects_txt_container {
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.head_description_text_container {
    width: 70%;
    height: fit-content;

    white-space: normal;
    word-break: normal;
    padding-left: 20px;
    padding-top: 10px;
}

.head_description_text, .project_site_text, .projects_decription_text, .projects_description_subtext {
    font-family: var(--outfit-font);
    color: var(--color-white);
    line-height: 1;
    font-weight: 460;
}

.head_description_text {
    text-align: left;
    font-size: 2rem;
}

@media(max-width: 1100px) {
    .head_description_text {
        font-size: 1rem;
    }
}

.project_site_projects_container {
    width: 100%;
    height: fit-content;

    padding-top: 50px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}

.project_site_text {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.project_img_container_surround {
    width: 100%;
    height: fit-content;
    padding: 0px 10% 50px 10%;

    display: flex;
    flex-direction: column;
    gap: 50px;

    box-sizing: border-box;
}

@media(max-width: 500px) {
    .project_img_container_surround {
        padding: 0px 1% 50px 1%;
    }
}

.project_img_txt_container {
    width: 100%;
    height: fit-content;

    position: relative;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project_img_container {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;

    border-radius: 25px;
    overflow: hidden;
}

.project_img_container img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;
}

.project_img_container iframe {
    all: unset;
    width: 100%;
    height: 100%;

    transform-origin:  0 0;
    
    object-fit: cover;
}

@media(max-width:1200px) {
    .project_img_container iframe {
        display: none;
    }
}

.projects_decription_text_container {
    width: 65%;
}

@media(max-width: 1100px) {
    .projects_decription_text_container {
        width: 90%;
    }
}

.projects_decription_text {
    font-size: 1rem;
    font-weight: 300;
}

.projects_description_subtext {
    font-size: .7rem;
    font-weight: 300;
    opacity: var(--text-opacity);
}

.projects_spacer_container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.projects_more_projects_container {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(auto-fill, 500px);
    grid-auto-rows: 10px;
    gap: 20px;
    justify-content: center;
    position: relative;

    padding: 50px 0px;
}

@media(max-width: 515px) {
    .projects_more_projects_container {
    grid-template-columns: repeat(auto-fill, 350px);
    }
}

.projects_more_projects_img_txt_container {
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: column;
}

.projects_more_projects_img_container {
    overflow: hidden;
    grid-row: span 1;
    border-radius: 20px;
    cursor: zoom-in;
    box-sizing: border-box;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.projects_more_projects_img_container img {
    width: 100%;
    height: auto;
    
    object-fit: cover;
    transition: .3s ease;
}

.projects_more_projects_img_container img:hover {
    transform: scale(1.05);
}

.projects_more_projects_img_container:hover {
    border-style: solid;
    border-width: 2px;
    border-color: white;
}

.projects_more_projects_img_container video {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;

    transition: opacity 1s ease, scale 0s;
    object-fit: cover;
}

.projects_more_projects_img_container video:hover {
    opacity: 1;
    scale: 1.05;
}

.projects_more_projects_img_container_open_container {
    width: 100%;
    height: 100%;

    position: fixed;
    top: 0px;
    left: 0px;

    display: none;
    justify-content: center;
    align-items: center;

    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    cursor: zoom-out;

    z-index: 1000;
}

.projects_more_projects_img_container_open {
    width: fit-content;
    height: fit-content;
    scale: .70155;
    border-radius: 60px;
    overflow: hidden;
}

.projects_more_projects_img_container_open img {
    width: 100%;
    height: auto;
    
    object-fit: cover;
}

