.projects{
    position: relative;
    background: none;
}
.project_number{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .45);
    color: white;
    font-weight: bold;
    font-size: var(--font_40);
    text-align: center;
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: 1;
}
.projects_heading{
    padding: 0 0 50px 0;
    display: flex;
    justify-content: space-between;
}
.projects_heading h1{
    font-size: var(--font_40);
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}
.projects_heading span{
    font-size: var(--font_18);
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}
.projects_heading button{
    background: var(--primary_color);
    border: none;
    place-items: none;
    padding: 0 30px;
    color: white;
}
.projects_heading button:hover{
    background: var(--primary_hover_color);
}

.projects img{
    height: 300px;
    width: 100%;
    object-fit: cover;
}
.project_cards{
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    object-fit: contain;
    gap: 20px;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
}
.control_left_btn_projects_main{
    position: absolute;
    inset: 0 auto 0 -100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    font-size: var(--font_50);
    background: var(--cream_color);
    color: rgba(0, 0, 0, .25);
}
.control_left_btn_projects_main:hover{
    cursor: pointer;
    color: var(--primary_color);
}
.control_right_btn_projects_main{
    position: absolute;
    inset: 0 -100px 0 auto;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    font-size: var(--font_50);
    background: var(--cream_color);
    color: rgba(0, 0, 0, .25);
}
.control_right_btn_projects_main:hover{
    cursor: pointer;
    color: var(--primary_color);
}
.project_card_left{
    position: relative;
    max-height: 300px;
    height: 100%;
}
.grouped_main_projects{
    position: relative;
}
.scrollabe_grouped_main_projects{
    width: 100%;
    display: flex;
    overflow-x: hidden;
    gap: 0;
    position: relative;
    height: auto;
}
.empty_project{
    height: 300px;
    width: 100%;
    position: relative;
    color: var(--cream_color);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .2);
    font-size: var(--font_35);
    font-weight: bold;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.edit_project_btn{
    position: absolute;
    inset: 0 0 auto auto;
    background: var(--green_color_50);
    border: none;
    outline: none;
    color: white;
    font-size: var(--font_22);
    padding: 10px;
    z-index: 3;
}
.edit_project_btn:hover{
    cursor: pointer;
    background: var(--green_color);
}

.bottom_left_label{
    display: content;
    width: 250px;
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: -125px;
    /* background: var(--primary_color); */
    padding: 10px 25px;
    color: white;
    z-index: 2;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border-left: 5px solid var(--primary_color);
}

.bottom_right_label{
    display: content;
    opacity: 1;
    width: 250px;
    text-align: center;
    position: absolute;
    bottom: 40px;
    right: -125px;
    padding: 10px 25px;
    color: white;
    z-index: 2;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border-right: 5px solid var(--primary_color);
}

.project_card_right{
    position: relative;
}

/* .project_hover_wrap {
    opacity: 0; 
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, .65);
    transition: opacity 1s;
    color: white;
    cursor: pointer;
    padding: 30px 50px;
    z-index: 2;
} */

/*
.project_hover_wrap:hover {
    cursor: pointer;
} */
.project_card_img{
  overflow: hidden;
  position: relative;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1); 
  transition: transform 1s ease;
}
.project_card_img:hover img{
  cursor: pointer;
  transform: scale(1.25);
  transition: transform 1s ease;
}
.project_hover_wrap.initial {
    transition: none;
}
.project_wrap .bottom_left_label{
    transition: opacity 1s;
    opacity: 1;
}
.project_wrap:hover .bottom_left_label{
    opacity: 0;
    z-index: 0;
}
.project_wrap .bottom_left_label.initial {
    transition: none;
}

.project_wrap .bottom_right_label{
    transition: opacity 1s;
    opacity: 1;
}
.project_wrap:hover .bottom_right_label{
    opacity: 0;
    z-index: 0;
}
.project_wrap .bottom_right_label.initial {
    transition: none;
}

.project_wrap{
    max-height: 300px;
    height: 100%;
}

.bottom_left_label:hover{
    opacity: 1!important;
}
.bottom_right_label:hover{
    opacity: 1!important;
}

.span_heading{
    font-size: var(--font_22);
    padding: 0;
    margin: 0;
    display: block;
    text-align: center;
}
.span_text{
    text-align: start;
    padding: 0;
    margin: 0;
}


.new_project_container{
    background: rgba(239, 235, 229, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.new_project_form{
    position: relative;
    background: rgba(239, 235, 229, 1);
    height: 600px;
    width: 600px;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    padding: 40px;
}
.new_project_form h1{
    font-size: var(--font_40);
    text-align: center;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

.edit_project_form{
    position: relative;
    background: rgba(239, 235, 229, 1);
    height: 600px;
    width: 1000px;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.75);
    padding: 40px;
}
.edit_project_body{
    display: flex;
    gap: 20px;
}
.edit_project_divide{
    width: 100%;
}
.edit_project_form h1{
    font-size: var(--font_40);
    text-align: center;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

.close_uploader{
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 1, 1, .15);
    color: var(--cream_color);
    font-size: var(--font_35);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
}
.close_uploader:hover{
    color: rgba(255, 254, 254, 1);
    background: var(--primary_color);
}
.hidden{
    display: none;
}
.new_project_input_div{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
}
.new_project_input_div label{
    display: block;
    font-weight: bold;
    color: var(--primary_color);
}
.new_project_input_div input{
    
}
.new_project_input_div textarea{
    width: 100%;
    background: var(--cream_color);
    padding: 10px;
}
.new_project_submit_btn{
    background: rgba(0, 0, 0, .5);
    border: none;
    padding: 10px 30px;
    margin: auto;
    color: white;
}
.new_project_submit_btn:hover{
    background: var(--primary_color);
    cursor: pointer;
}
.new_project_delete_btn{
    background: var(--red_color_25);
    border: none;
    padding: 10px 30px;
    margin: auto;
    color: rgba(0, 0, 0, .45);
    font-weight: bold;
}
.new_project_delete_btn:hover{
    background: var(--red_color);
    cursor: pointer;
    color: white;
}
.new_project_btn_div{
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

@media only screen and (max-width: 1500px) and (min-width: 1400px){
    .bottom_left_label{
        left: -50px;
    }
    .bottom_right_label{
        right: -50px;
    }
}

@media only screen and (max-width: 1400px) and (min-width: 1300px){
    .grouped_main_projects{
        max-width: 1100px;
        width: 100%;
        margin: 0 auto;
    }
    .control_left_btn_projects_main{
        inset: 0 auto 0 -45pt;
        width: 50pt;
        
    }
    .control_right_btn_projects_main{
        inset: 0 -45pt 0 auto;
        width: 50pt;
    }
}

@media only screen and (max-width: 1300px) and (min-width: 1200px){
    .grouped_main_projects{
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
    }
    .control_left_btn_projects_main{
        inset: 0 auto 0 -45pt;
        width: 50pt;
        
    }
    .control_right_btn_projects_main{
        inset: 0 -45pt 0 auto;
        width: 50pt;
    }
    .project_card_left{
        margin: 0;
        padding: 0;
    }
    .project_card_left img{
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 1100px){
    .project_number{
        opacity: 1;
    }
    .project_cards{
        gap: 0px;
        margin-bottom: 70px;
    }

    .control_left_btn_projects_main{
        inset: -50px 0 auto 0;
        width: auto;
        height: 50px;
    }
    .control_left_btn_projects_main i{
        transform: rotate(90deg);
    }
    .control_right_btn_projects_main{
        inset: auto 0 20px 0;
        width: auto;
        height: 50px;
        z-index: 2;
    }
    .control_right_btn_projects_main i{
        transform: rotate(90deg);
    }
}
@media only screen and (max-width: 1100px) and (min-width: 900px){
    .project_number{
        opacity: 1;
    }
    .project_cards{
        gap: 0px;
        margin-bottom: 70px;
    }

    .control_left_btn_projects_main{
        inset: -50px 0 auto 0;
        width: auto;
        height: 50px;
    }
    .control_left_btn_projects_main i{
        transform: rotate(90deg);
    }
    .control_right_btn_projects_main{
        inset: auto 0 20px 0;
        width: auto;
        height: 50px;
        z-index: 2;
    }
    .control_right_btn_projects_main i{
        transform: rotate(90deg);
    }
    .projects img{
        height: 250px;
    }
    .project_wrap{
        max-height: 250px;
        height: 100%;
    }
    .empty_project{
        height: 250px;
        width: 100%;
        position: relative;
        color: var(--cream_color);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .2);
        font-size: var(--font_35);
        font-weight: bold;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }
    .project_card_left{
        position: relative;
        max-height: 250px;
        height: 100%;
    }
}
@media only screen and (max-width: 991px) and (min-width: 360px){
    .projects{
        margin-top: 42px;
    }
}
@media only screen and (max-width: 900px) and (min-width: 700px){
    .project_number{
        opacity: 1;
    }
    .project_cards{
        gap: 0px;
        margin-bottom: 70px;
    }

    .control_left_btn_projects_main{
        inset: -50px 0 auto 0;
        width: auto;
        height: 50px;
    }
    .control_left_btn_projects_main i{
        transform: rotate(90deg);
    }
    .control_right_btn_projects_main{
        inset: auto 0 20px 0;
        width: auto;
        height: 50px;
        z-index: 2;
    }
    .control_right_btn_projects_main i{
        transform: rotate(90deg);
    }
    .projects img{
        height: 250px;
    }
    .project_wrap{
        max-height: 250px;
        height: 100%;
    }
    .empty_project{
        height: 250px;
        width: 100%;
        position: relative;
        color: var(--cream_color);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .2);
        font-size: var(--font_35);
        font-weight: bold;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }
    .project_card_left{
        position: relative;
        max-height: 250px;
        height: 100%;
    }
    .grouped_main_projects{
        margin-top: 20px;
    }
}
@media only screen and (max-width: 800px) and (min-width: 500px){
    .empty_project span{
        font-size: 20px;
    }
}
@media only screen and (max-width: 700px) and (min-width: 500px){
    .project_number{
        opacity: 1;
    }
    .project_cards{
        gap: 0px;
        margin-bottom: 70px;
    }

    .control_left_btn_projects_main{
        inset: -50px 0 auto 0;
        width: auto;
        height: 50px;
    }
    .control_left_btn_projects_main i{
        transform: rotate(90deg);
    }
    .control_right_btn_projects_main{
        inset: auto 0 20px 0;
        width: auto;
        height: 50px;
        z-index: 2;
    }
    .control_right_btn_projects_main i{
        transform: rotate(90deg);
    }
    .projects img{
        height: 250px;
    }
    .project_wrap{
        max-height: 250px;
        height: 100%;
    }
    .empty_project{
        height: 250px;
        width: 100%;
        position: relative;
        color: var(--cream_color);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .2);
        font-size: var(--font_35);
        font-weight: bold;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }
    .project_card_left{
        position: relative;
        max-height: 250px;
        height: 100%;
    }
    .grouped_main_projects{
        margin-top: 20px;
    }
}
@media only screen and (max-width: 500px) and (min-width: 360px){
    .project_number{
        opacity: 1;
    }
    .project_cards{
        gap: 0px;
        margin-bottom: 70px;
        -webkit-grid-template-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .control_left_btn_projects_main{
        inset: -50px 0 auto 0;
        width: auto;
        height: 50px;
    }
    .control_left_btn_projects_main i{
        transform: rotate(90deg);
    }
    .control_right_btn_projects_main{
        inset: auto 0 20px 0;
        width: auto;
        height: 50px;
        z-index: 2;
    }
    .control_right_btn_projects_main i{
        transform: rotate(90deg);
    }
    .projects img{
        height: 150px;
    }
    .project_wrap{
        max-height: 150px;
        height: 100%;
    }
    .project_wrap span{
        display: none;
    }
    .empty_project{
        height: 150px;
        width: 100%;
        position: relative;
        color: var(--cream_color);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .2);
        font-size: var(--font_35);
        font-weight: bold;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }
    .project_card_left{
        position: relative;
        max-height: 150px;
        height: 100%;
    }
    .grouped_main_projects{
        margin-top: 20px;
    }
}