
/* DEBUG */
#Project div{
    /* border:2px solid var(--primary); */
}
/* General Page Layout */
.projectContent {
    display: flex;
    justify-content: space-evenly; /* Space between left and right sections */
    align-items: flex-start; /* Align content to the top */
    gap: 20px; /* Adds space between project list and right panel */
    width: 90vw;
}

/* Project List (Left Panel) */
.projectList {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: flex-start;
    gap: 10px; /* Space between buttons */
    background: transparent; /* Dark background */
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-inline: 1vh;
    border-radius: 8px;
    max-height: 70vh;
    overflow-y: auto;
    border: 1px dashed var(--primary);
}

.break {
    flex-basis: 100%; /* Forces a new row */
    height: 0; /* No visible space */
}
.projectList p{
    margin: 0;
    color:rgb(169, 169, 169); /*Color*/
    border-bottom: 1px solid rgba(169, 169, 169, 0.403);
    align-self: center;
}

/* Project Buttons */
.project {
    background: #3333338a;
    color: var(--primary);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    width:100%;
}

.project:hover,.selected {
    background: linear-gradient(135deg, var(--secondary), #ffffff); /*Color*/
    opacity: 0.7;
}

/* Right Panel */
.rightPanel {
    display: flex;
    flex-direction: column;
    flex: 1; /* Takes remaining space */
    background: #22222237; /* Dark background */
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px;
    height: 70vh;
}
.rightPanel h2{
    font-weight: bold;
    align-self: flex-start;
}
.text p{
    align-self: flex-start;
}
.rightPanel p{
    height:30vh;
    overflow-y: auto;
}

.viewableContent{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Tech Stack and Buttons */
.subLeft {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subLeft h3{
    margin-bottom: 0;
}
.techStakeIcons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Wraps icons if needed */
    border-radius: 10px;
    padding:1vh;
    overflow-y: auto;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 2vh;
    width: 100%; /* Take full width */
}
.techStakeIcons i{
    font-size: 5vw;
    border-radius: 5px;    
}
.subLeft button{
    background-color: transparent;
}
/* Right Image Section */
.subRight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.subRight iframe {
    margin-top: 2vh;
    border-radius: 10px;
    transition: all 0.5s ease;
}
.subRight iframe:hover{
    box-shadow: 0px 0px 50px #8c52ff27; /*Color*/
    scale: 1.01;
}

.rightPanel p{
    text-align: justify;
}

@media(aspect-ratio<1){
    .projectContent{
        flex-direction: column;
        align-self: center;
    }
    .projectList{
        width:90vw;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-height: 15vh;
    }
    .project{
        width:auto;
    }
    .viewableContent{
        flex-direction: column;
        gap:10px;
    }
    .techStakeIcons i{
        font-size: 8vw;
    }
    .subRight{
        flex-direction: column;
        width: 100%;
    }
    .subRight button{
        width: 100%;
        background: none;
    }
    iFrame {
        display: none;
    }
    .rightPanel p{
        max-height: 25vh;
    }

    .techStakeIcons{
    max-height: 12.5vh;
    min-width: 30vw;
    }
    .rightPanel{
        width: 100%;
    }
    .subLeft {
        width:100%;
    }
    

}

@media(aspect-ratio>1){
    .subLeft {
        width:30vw;
    }
    .subRight iFrame{
        min-width:30vw;
        min-height: 30vh;
    }
    .forSmallScreen{
        display: none;
    }
    .techStakeIcons i{
        font-size: 5vh;
        border-radius: 5px;    
    }
    .rightPanel{
        display: flex;
        flex-direction: row;
    }
    .viewableContent{
        flex-direction: column;
        margin-left: 20px;
    }
    .text p{
        height:auto;
        padding-right: 20px;
        border-right: 1px solid var(--primary);
        min-width:42vw;
    }
}
