* {
    box-sizing: border-box;
    
    background-color: black;
    color: aliceblue;
    /* border: 1px solid red; */
}

header{
    display:flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0px;
    right: 0px;
    width:100%;
    height: 100px;
    z-index: 10;
    background-color: rgb(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    
}
@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

header h1 a{
    font-family: 'Monoton', cursive;
    font-size: 3rem;
    margin-left: 20px;
    background-color: rgba(0,0,0,0);
    text-decoration: none;
}
header h1{
    background-color: rgba(0, 0, 0, 0);
    
}


.header_title,
nav{
    display: inline-block;
    background-color: transparent;
}
nav ul{
    display: flex;
    flex-direction: row;
    background-color: transparent;
}

header li{
    margin:0px 10px;
    font-family: 'Unbounded', cursive;
    list-style: none;
    background-color: transparent;
}
header li a{
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    background-color: transparent;
}

header:before{
    position: absolute;
    content:"";
    top: -100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0,0,0,0) 51%, rgba(83,82,82,1) 92%, rgba(98,98,98,1) 100%);
    transition:all 1.0s ease;
    -webkit-transition: 0.7s ease;
    -moz-transition: 0.7s ease;
    -ms-transition: 0.7s ease;
    -o-transition: color 0.7s ease;
}

header:hover:before{
    top: 0;
}

.hover_an::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: cyan;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover_an:hover{
    color: cyan;
}

.hover_an:hover::after{
    color: cyan;
    text-decoration: underline; 
    transform: scaleX(1);
    transform-origin: bottom center;
}

.title{
    position: relative;
    margin: auto;
    font-size: 5rem;
    font-family: 'Monoton', cursive;
    /* left: 17%; */
    width: 95%;
    text-align: center;
    top: 350px;
    z-index: 1;
    background-color: transparent;
    transition: 1s ease-in-out;
    animation: fadeIn 0.5s ease-in;
}

.background-video{
    height: 500px;
    width: 100%;
    margin-top: 70px;
    margin-bottom: 100px;
    background-color: aqua;
    position: relative;
    z-index: 0;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 10px solid red; */
    
}
.background-video video{
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.overlayVideo{
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.5);
    z-index: 1;
}
@keyframes backgroundMove{
    0%{
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(100%);
    }
}
.darkOverlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 1);
    left: 100%;
    z-index: 2;
    animation: backgroundMove 1s ease-in;
}

.portfolio{
    position: absolute;
    top: 580px;
    margin: auto;
    z-index: 1;
    font-size: 2rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    width: 100%;
    text-align: center;
    background-color: transparent;
    text-shadow: -2px 2px rgb(62, 62, 62);
    transition: 1s ease-in-out;
    animation: fadeIn 1.5s ease-in;
}

.general_container{
    display: flex;
    justify-content:space-around;
    align-items: center;
    width: 80%;
    margin: auto;
    height: auto;
    flex-wrap:wrap;
    margin-bottom: 50px;
}


.slide-title{
    transform: translateX(-15%);
    opacity: 0.15;
    transition: 1s;
}

.professional-title{
    /* display:contents; */
    font-size: 2rem;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    margin: auto;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    line-height: 3rem;
    /* border-bottom: 1px solid gainsboro; */
    /* animation: fadeIn 1s ease-in; */
}


.software-showcase{
    width: min(1200px, 90%);
    margin: 30px auto 90px;
    background-color: transparent;
}

.showcase-intro{
    width: min(950px, 100%);
    margin: 0 auto 30px;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    background-color: transparent;
}

.project-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    background-color: transparent;
}

.project-card{
    border: 1px solid rgba(240, 248, 255, 0.2);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(24, 24, 24, 1), rgba(8, 8, 8, 1));
    display: flex;
    flex-direction: column;
}

.project-card *{
    background-color: transparent;
}

.project-thumb{
    min-height: 180px;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    border-bottom: 1px dashed rgba(240, 248, 255, 0.25);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: rgba(240, 248, 255, 0.8);
    overflow: hidden;
}

.project-thumb img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.project-content{
    padding: 18px;
}

.project-content h3{
    font-family: 'Unbounded', cursive;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.project-content p{
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.project-tech{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tech li{
    list-style: none;
    border: 1px solid rgba(0, 255, 255, 0.35);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-family: 'Quicksand', sans-serif;
}

.project-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-link{
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.25s ease;
}

.project-link:hover{
    color: cyan;
    border-color: cyan;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}


.img_container{
    width: 450px;
    height: 300px;
    background-color: red;
    margin: 30px 10px;
    position: relative;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s ease-in;
}
.img_container img{
    object-fit:cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.img-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.img_container p{
    z-index: 1;
    text-align: center;
    background-color: transparent;
    font-size: 2rem;
    font-family: 'Quicksand', sans-serif;
    /* text-shadow: -2px 2px black; */
    text-shadow: black 1px 0 10px;
    font-weight: bolder;
}

.img_container:hover img{
    /* width: 110%;
    height: 110%; */
    transform: scale(1.2);
    text-align: center;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}
.img_container:hover p{
    cursor: pointer;
}
.img_container:hover .img-overlay{
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}
.img_container:not(:hover) .img-overlay{
    background-color: rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
}

.img_container:not(:hover) img{
    width: 100%;
    text-align: center;
    transition: 0.5s ease-in-out;
}

/* POP UP STYLE */

@keyframes popUpEffect{
    0%{
        opacity: 0;
        transform: translate(-100%, 0);
    }
    100%{
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@keyframes ExitPopUpEffect{
    0%{
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100%{
        opacity: 0;
        transform: translate(-100%, 0);
    }
}

main{
    position: relative;
}   
.pop-up{
    position: fixed;
    background-color: rgba(75, 73, 73, 0.5);
    backdrop-filter: blur(30px);
    z-index: 30;
    top: 10%;
    left: 50%;
    width: 80%;
    height: 80%;
    /* height: 80%; */
    /* top: 0;
    left: 50%; */
    transform: translate(-50%, 0);
    display: flex;
    justify-content: center;
    margin: auto;
    /* transform-origin: left; */
    animation: popUpEffect 0.1s ease-in-out;
}
.pop-up .images{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    background-color: transparent;
}
.pop-up .project-description{
    background-color: transparent;
    width: 100%;
    height: auto;
    text-align: justify;
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
    text-align: justify;
    margin-left: 30px;
    line-height: normal;
    margin-right: 10px;
    overflow-y:auto;    
}

.pop-up .project-description p{
    color: white;
    background-color: transparent;
    /* background-color: aqua; */
    padding-bottom: 8px;
}

.pop-up h1{
    background-color: transparent;
    font-size: 3rem;
    font-weight: bolder;
    text-decoration: underline;
    width: 90%;
}
.secondary-title{
    font-size: 1.5rem;
    background-color: transparent;
    font-weight: bold;
}

.images img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition: transform 0.2s ease-in-out;
    z-index: 0;
    background-color: transparent;
}

.images img.active{
    transform: translateX(0);
    z-index: 1;
}
.images img.entering-from-right{
    transform:translateX(100%);
    z-index: 2;
}
.images img.entering-from-left{
    transform: translateX(-100%);
    z-index: 2;
}


.backward,.forward{
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-size:contain;    
    position:absolute;
    top: 50%;
    z-index: 5;
}

.backward{
    background-image: url(../icons/arrow_back2.png);
    left: 0;
    z-index: 25;
    
}
.forward{
    background-image: url(../icons/arrow_forw2.png);
    right: 0;
    z-index: 25;
}

.backward:hover{
    background-image: url(../icons/arrow_back_highlight.png);
}

.forward:hover{
    background-image: url(../icons/arrow_forw_highlight.png);
}

.project-description .closebtnPop {
    position: absolute;
    top: 0;
    right: 45px;
    font-size: 60px;
    background-color: transparent;
    text-decoration: none;
    z-index: 15;
}

/* POP UP BACKGROUND STYLE - ALL ELEMENTS BEHIND */
#dark-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
    display: none;
}



/* SKILLS SECTION */
.skills-abilities h2{
    font-size: 2rem;
    font-family: 'Quicksand', sans-serif;
    line-height: 3rem;
    border-bottom: 1px solid gainsboro;
    text-align: center;
    margin-bottom: 20px;
}
.skills-abilities p{
    font-size: 1.8rem;
    width: 80%;
    text-align: justify;
    margin: auto;
    font-family: 'Quicksand', sans-serif;
    line-height: 3rem;
    margin-bottom: 30px;
}


.tools-container{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
    margin-bottom: 100px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.tools-container img{
    width: 200px;
    height: auto;
    margin: 30px;
}

/* .tools-container img[alt="Revit"]{
    transition: opacity 1s ease;
} */
.fade-in{
    opacity: 0;
}

img[alt="Revit"]{
    transition: opacity 0.5s ease;
}
img[alt="Autocad"]{
    transition: opacity 0.8s ease;
}
img[alt="Robot Structural Analysis"]{
    transition: opacity 1.1s ease;
}
img[alt="SAP2000"]{
    transition: opacity 1.4s ease;
}
img[alt="ETABS"]{
    transition: opacity 1.7s ease;
}
img[alt="Idea Statica"]{
    transition: opacity 2s ease;
}
img[alt="MIDAS Gen"]{
    transition: opacity 2.3s ease;
}
img[alt="RAM Elements"]{
    transition: opacity 2.6s ease;
}
img[alt="RAM Connection"]{
    transition: opacity 2.9s ease;
}
img[alt="ENERCALC"]{
    transition: opacity 3.2s ease;
}
img[alt="CFS Designer"]{
    transition: opacity 3.5s ease;
}
img[alt="Anchor Designer"]{
    transition: opacity 3.8s ease;
}
img[alt="OASYS GSA"]{
    transition: opacity 4.1s ease;
}
img[alt="RISA Software"]{
    transition: opacity 4.4s ease;
}
img[alt="Sketchup"]{
    transition: opacity 4.7s ease;
}
img[alt="Twinmotion"]{
    transition: opacity 5s ease;
}



/* FOOTER STYLING */
footer{
    width: 100%;
    height: 300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid antiquewhite;
}
footer .mobile_footer{
    display: none;
}

footer .basic_menu{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 150px;
    align-items:start;
    margin-top: 50px;
    
}
footer .small_logo h1 a{
    font-family: 'Monoton', cursive;
    font-size: 3rem;
    text-decoration: none;
    font-style: normal;
}

.basic_menu .basic_menu_list{
    position: absolute;
    left: 150px;
    text-decoration: none;
    list-style: none;
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
    line-height: normal;
}
.basic_menu .email_contact{
    position: absolute;
    right: 150px;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
}

footer .contact_info{
    display: flex;
}

footer .contact_info img{
    width: 80px;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 50px;
}

footer a{
    text-decoration: none;
}

header li:hover{
    cursor: pointer;
}

.basic_menu_list li a:hover, 
.email_contact p:hover{
    color: aqua;
    cursor: pointer;
}

.email_contact a:hover{
    color: aqua;
}

/* OVERLAY MENU STYLE */
.overlay{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 15;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgb(0, 0, 0, 0.9);
    overflow-x: hidden; /* DISABLE HORIZONTAL SCROLL*/
    transition: 0.5s;
}
.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-family: 'Quicksand', sans-serif;
    background-color: transparent;
    
}
  
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: aliceblue;
    display: block;
    transition: 0.3s;
    background-color: transparent;
}
  
.overlay a:hover, .overlay a:focus {
    color: aqua;
}
  
.overlay .closebtn,
.overlay .closebtn_ed {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn,
    .overlay .closebtn_ed {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
}

/* MEDIA QUERIES */
@media only screen and (max-width:1258px) and (min-width:1257px){
    header{
        width: 100%;
        position: relative;
        margin-bottom: 0px;
        /* border: 10px solid red; */
        padding-bottom: 0;
    }
    
    .background-video{
        margin-top: 0px;
    }
    .title{
        top: 280px;
    }
    .portfolio{
        top: 500px;
    }

}

@media only screen and (max-width:1257px) and (min-width:975px){
    header{
        width: 100%;
        position: relative;
        margin-bottom: 0px;
        /* border: 10px solid red; */
        padding-bottom: 0;
    }
    
    .background-video{
        margin-top: -70px;
    }
    .title{
        top: 250px;
    }
    .portfolio{
        top: 500px;
    }

}

@media only screen and (max-width: 975px) and (min-width: 850px){
    .tools-container img{
        width: 150px;
        height: auto;
        margin: 30px;
    }
    header{
        width: 100%;
        position: relative;
        margin-bottom: 0px;
        /* border: 10px solid red; */
        padding-bottom: 0;
    }
    
    .background-video{
        margin-top: -70px;
    }
    .title{
        top: 250px;
    }
    .portfolio{
        top: 500px;
    }
}

@media only screen and (max-width:850px) and (min-width:610px){
    header{
        width: 100%;
        position: relative;
        margin-bottom: 0px;
        /* border: 10px solid red; */
        padding-bottom: 0;
    }
    .background-video{
        margin-top: -100px;
        /* border: 10px solid red; */
    }
    .title{
        top: 190px;
        font-size: 4rem;
    }
    .portfolio{
        top: 400px;
    }
    
    
    footer{
        width: 100%;
        height: 400px;
    }
    footer .basic_menu{
        justify-content: center;
        height: 60%;
    }
    .basic_menu .basic_menu_list{
        left: 90px;
    }
    .basic_menu .email_contact{
        right: 90px;
    }
    footer .contact_info{
        /* background-color: aqua; */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    footer .contact_info a{
        width: 14%;
        margin: auto;
        margin-left: 10%;
        margin-right: 10%;
        margin-bottom:50px;
        margin-top: 50px;
        /* background-color: aqua; */
    }
    footer .contact_info img{
        text-align: center;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: auto;
    }
    .tools-container img{
        width: 150px;
        height: auto;
        margin: 30px;
    }

    .showcase-intro{
        font-size: 1.1rem;
    }
}
@media only screen and (max-width: 788px) and (min-width:610px){
    .tools-container img{
        width: 100px;
        height: auto;
        margin: 30px;
    }
}

@media only screen and (max-width: 610px){
    header{
        width: 100%;
        position: relative;
        margin-bottom: 0px;
        /* border: 10px solid red; */
        padding-bottom: 0;
    }
    .background-video{
        margin-top: -100px;
        /* border: 10px solid red; */
    }
    .title{
        top: 140px;
        font-size: 4rem;
    }
    .portfolio{
        top: 400px;
    }
    footer{
        height: 400px;
        /* border: 10px solid greenyellow; */
    }
    footer .basic_menu{
        display: none;
    }
    footer .mobile_footer{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        font-family: 'Quicksand', sans-serif;
        list-style: none;
        height: 60%;
        /* border: 10px solid brown; */
    }
    footer .mobile_footer li{
        text-decoration: none;
        list-style: none;
        text-align: center;
    }
    footer .mobile_footer div, footer .mobile_footer ul{
        margin: 10px auto;
    }
    footer .mobile_footer .small_logo h1 a{
        background-color: transparent;
    }
    footer .contact_info{
        /* background-color: aqua; */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    footer .contact_info a{
        width: 14%;
        margin: auto;
        margin-left: 10%;
        margin-right: 10%;
        margin-bottom:50px;
        margin-top: 50px;
        /* background-color: aqua; */
    }
    footer .contact_info img{
        text-align: center;
        width: 100%;
        height: auto;
        object-fit: contain;
        margin: auto;
    }
    
    .title{
        font-size: 3rem;
    }
    .tools-container img{
        width: 100px;
        height: auto;
        margin: 30px;
    }

    .software-showcase{
        width: 92%;
        margin-bottom: 70px;
    }

    .project-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-thumb{
        min-height: 120px;
        max-height: 160px;
    }

    .project-thumb img{
        max-width: 90%;
        max-height: 90%;
    }



}

@media only screen and (max-width: 600px) and (min-width:450px){
    .tools-container img{
        width: 80px;
        height: auto;
        margin: 20px;
    }
    .skills-abilities p{
        font-size: 1.3rem;
    }
    footer .mobile_footer .small_logo h1 a{
        background-color: transparent;
    }
}
@media only screen and (max-width: 450px) and (min-width: 400px){
    .tools-container img{
        width: 40%;
        height: auto;
        margin: 5%;
    }
    /* MODIFY HEADER STYLE */
    header{
        padding-top: 20px;
        display: flex;
        width: 100%;
        height: 20%;
        flex-direction: column;
        /* border: 10px solid red; */
    }
    header nav{
        margin: 20px 0px;
        /* border: 10px solid white;     */
    }
    .skills-abilities p{
        font-size: 1.3rem;
    }
    footer .mobile_footer .small_logo h1 a{
        background-color: transparent;
    }

}


@media only screen and (max-width:400px){
    .tools-container img{
        width: 40%;
        height: auto;
        margin: 5%;
    }
    /* MODIFY HEADER STYLE */
    header{
        padding-top: 20px;
        display: flex;
        width: 100%;
        height: 20%;
        flex-direction: column;
        /* border: 10px solid red; */
    }
    header nav{
        margin: 20px 0px;
        /* border: 10px solid white;     */
    }
    .title{
        font-size: 2rem;
    }
    .skills-abilities p{
        font-size: 1.3rem;
    }
    footer .mobile_footer .small_logo h1 a{
        background-color: transparent;
    }

}

/* MEDIA QUERY FOR POP UP ON PROJECTS */

@media only screen and (max-width: 900px){
    .pop-up{
        display: flex;
        flex-direction: column;
        height: 90%;
        top: 5%;
    }

    .pop-up .images{
        height: 60%;
        width: 100%;
        margin: auto;
    }

    .pop-up .project-description{
        height: 40%;
        width: 90%;
        /* border: 10px solid red; */
        margin: auto;
        overflow-y: scroll;
    }
    .pop-up .project-description h1{
        font-size: 2rem;
    }

}









