.main_project {
    display: flex;
    height: 100vh;
    width: 100%;
    min-width: 10px;
    background-color: #ffffff;
}

.left_container {
    max-width: fit-content;
    width: 49%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-left: 90px;
    background-color: rgb(255, 255, 255);
}

.project_left_wrapper {
    width: 100%;
    display: flex;
    background-size: cover;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.project_left_img {
    height: 100vh;
    width: auto;
    object-position: center;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.open_gallery {
    position: absolute;
    z-index: 2;
    margin-right: 20px;
    top: 50%;
    left: 95%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0, .0);
    transition: .3s;
}

.open_gallery:hover {
    background-color: rgb(0, 0, 0, .0);
    transition: .3s;
}

.open_gallery svg {
    fill: rgb(0, 0, 0, .25);
    height: 3em;
}

.open_gallery svg:hover {
    fill: rgb(0, 0, 0, .5);
    height: 3em;
}

.right_container {
    width: 52%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
}

.text_holder {
    width: fit-content;
    height: fit-content;
    text-align: center;
}

.text_holder p {
    font-size: 20px;
    margin: 35px 0;
    letter-spacing: 1px;
}

.text_holder span {
    font-weight: bold;
    font-size: 20px;
    line-height: 35px;
}

.main_overlap {
    position: absolute;
    z-index: 3;
    margin-left: 96px;
    width: calc(100% - 96px);
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

.background {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.overlap_arrow {
    width: 60px;
    height: 60px;
    min-height: 60px;
    min-width: 60px;
    border-radius: 50%;
    margin: 0 25px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0, .1);
    transition: .2s;
}

.overlap_arrow:hover {
    background-color: rgb(0, 0, 0, .15);
    transition: .2s;
}

.overlap_arrow svg{
    fill: rgb(0, 0, 0);
    height: 2em;
}

.overlap_image {
    height: 55px;
    width: 55px;
    padding: 3px;
    background-color: white;
    margin: 2px;
    z-index: 3;
    transition: .3s;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.overlap_image:hover {
    transform: scale(1.15);
    transition: .3s;
}

.overlap_image_container {
    flex-grow:1;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.x100_images {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: center;
    margin-bottom: 5px;
}

.top_filler {
    width: 100%;
    height: 1px;
    z-index: 1;
}

.overlap_main_image {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    position: relative;
    z-index: 2;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.active_image {
    transform: scale(1.15);
    transition: .3s;
}

.active_image_holder {
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlap_arrow_on_image {
    display: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.overlap_arrow_on_image_holder {
    display: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.close_btn_holder {
    z-index: 10000;
    position: fixed;
    top: 0%;
    left: 100%;
    transform: translate(-100%, 0%);
    width: fit-content;
    height: fit-content;
    display: flex;
}

.close_btn {
    margin: 25px 25px 0 0;
    width: 60px;
    height: 60px;
    background-color: rgb(0, 0, 0, .1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close_btn:hover {
    background-color: rgb(0, 0, 0, .15);
    transition: .15s;
}

.close_btn_svg {
    fill: black;
    width: 30px;
    height: 30px;
    margin: 1px 0 0 1px;
}

.loader {
    border: 6px solid #dddddd;
    border-radius: 50%;
    border-top: 6px solid #000000;
    width: 70px;
    height: 70px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    position: fixed;
    z-index: 1;
}
  
  /* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.kouttos {
    display: none;
}

.kouttos5 {
    display: none;
}


@media only screen and (max-width: 1540px){
    .overlap_image {
        height: 40px;
        width: 40px;
        margin: 1px;
        padding: 2px;
    }
}


@media only screen and (max-width: 1024px){
    .close_btn_holder {
        display: none;
    }

    .kouttos {
        display: block;
        height: 90px;
        width: 100%;
    }

    .main_project {
        display: block;
        height: auto;
        width: 100%;
        background-color: #ffffff;
        overflow: auto;
    }

    .left_container {
        max-width: 100%;
        width: 100%;
        height: calc(100vh - 90px);
        position: relative;
        padding: 0;
        background-color: rgb(255, 255, 255);
        overflow: hidden;
    }

    .project_left_img {
        width: 100%;
        height: auto;
        object-position: center;
    }

    .right_container {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 100px 0;
        background-color: rgb(255, 255, 255);
    }




    .main_overlap {
        position: absolute;
        z-index: 3;
        margin: 90px 0 0 0;
        width: 100%;
        height: calc(100vh - 90px);
        display: none;
        align-items: center;
        justify-content: space-between;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .active_image_holder {
        width: 100%;
    }

    .overlap_arrow_on_image {
        width: 60px;
        height: 60px;
        min-height: 60px;
        min-width: 60px;
        border-radius: 50%;
        margin: 0;
        z-index: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.0);
        transition: .2s;
    }

    .overlap_arrow {
        display: none;
    }
    
    .overlap_arrow_on_image svg{
        fill: rgba(0, 0, 0, .7);
        height: 2em;
    }

    .overlap_arrow_on_image svg:hover{
        fill: rgba(0, 0, 0, .9);
        height: 2em;
    }

    .overlap_arrow_on_image_holder {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .overlap_main_image {
        max-width: 85%;
        max-height: calc(90% - 90px);
        position: absolute;
        z-index: 2;
    }

    .overlap_image {
        height: 40px;
        width: 40px;
        padding: 2px;
        margin: 2px;
        z-index: 4;
        transition: .3s;
    }
    
    .overlap_image:hover {
        transform: scale(1.1);
        transition: .3s;
    }
    
}



@media only screen and (max-width: 480px){
    .kouttos {
        display: block;
        height: 80px;
        width: 100%;
    }

    .main_project {
        display: block;
        height: auto;
        width: 100%;
        background-color: #ffffff;
        overflow: auto;
    }

    .left_container {
        width: 100%;
        height: auto;
        position: relative;
        padding: 0;
        background-color: rgb(255, 255, 255);
    }

    .project_left_img {
        width: 100%;
        height: auto;
    }

    .right_container {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 100px 0;
        background-color: rgb(255, 255, 255);
    }

    .text_holder {
        text-align: center;
        padding: 0 5px;
    }

    .text_holder p {
        font-size: 18px;
        margin: 30px 0;
        letter-spacing: 0px;
    }
    
    .text_holder span {
        font-weight: bold;
        font-size: 18px;
        line-height: 30px;
    }

    .open_gallery {
        position: absolute;
        z-index: 2;
        margin-right: 0;
        top: 50%;
        left: 95%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(0, 0, 0, .0);
        transition: .3s;
    }
    
    .open_gallery svg {
        fill: rgb(0, 0, 0, .9);
        height: 2em;
    }

    .open_gallery svg:hover {
        fill: rgb(0, 0, 0, .9);
        height: 2em;
    }





    .main_overlap {
        position: absolute;
        z-index: 3;
        margin: 80px 0 0 0;
        width: 100%;
        height: calc(100vh - 80px);
        display: none;
        align-items: center;
        justify-content: space-between;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .overlap_arrow_on_image {
        width: 45px;
        height: 45px;
        min-height: 45px;
        min-width: 45px;
        border-radius: 50%;
        margin: 0 1px;
        z-index: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0);
        transition: .2s;
    }

    .overlap_arrow {
        display: none;
    }
    
    .overlap_arrow_on_image svg{
        fill: rgba(0, 0, 0);
        height: 2em;
    }
    
    .active_image_holder {
        width: 95%;
        height: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .overlap_image {
        width: 30px;
        height: 30px;
    }

    .overlap_main_image {
        max-width: 90%;
        max-height: calc(90% - 90px);
        position: fixed;
        z-index: 2;
    }

    .kouttos5 {
        display: block;
        width: 100%;
        height: 20px;
    }
}