@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

* {
    font-family: 'JetBrains Mono', monospace;
    box-sizing: border-box; 
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: white;
    background-color: #000000;
    margin: 0;
    padding: 0;
}

.container {
    width: 94%;
    margin: 0 auto;

    padding: 20px 0;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333333;
    display: flex;
    border-bottom: #f370ff solid;
} 

ul li a {
    display: block;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
}

ul li a:hover {
    background-color: #111111;
}

.home {
    background-color: #f370ff;
    color: black;
    font-weight: bold;
}

.home:hover {
    background-color: #500033;
    color: #ffffff;
    font-weight: bold;
}

#footer-placeholder {
    margin-top: auto;
}

footer {
    background-color: #111111;
    color: #888888;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #444444;
}

.intro-text {
    font-size: larger;
    line-height: 1.8rem;
    text-align: justify;
}

.intro-detail {
    font-size: medium;
    color: #cccccc;
    padding-left: 15px;
    width: 97%;
    text-align: justify;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #cccccc;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f370ff;
}
.push-right {
    display: flex;
    flex-direction: row;
    margin-left: auto;
}

.rbutton {
    background-color: #f370ff;
    color: #000000;
    font-weight: bold;
}

.rbutton:hover {
    color: #f370ff;
}
/* PROJECT PAGE */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background-color: #111111;
    border: 5px solid #500033;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;

    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #f370ff;
}

.project-card:hover .project-type {
    background-color: #f370ff;
}

.project-type {
    position: absolute;
    top: 0 px;
    right: 00px;

    background-color: #500033;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 0 0 0 8px;

    z-index: 2;

    transition: background-color 0.2s ease, color 0.2s ease;
}

.card-image {
    position: relative;
    
    height: 200px;
    width: 100%;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(45deg, rgba(80, 0, 51, 0.068), rgba(243, 112, 255, 0.2));

    pointer-events: none;
}

.card-content {
    padding: 20px;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: 0;
    color: #f370ff;
}

.tags {
    display: flex;
    gap: 15px;
    
    margin-left: auto; 
    justify-content: flex-start; 
    
    max-width: 80%;   
    overflow-x: auto;   
    white-space: nowrap; 
}

.tag {
    background-color: #500033;
    font-weight: 700;
    padding: 2px 10px;

    flex-shrink: 0;
}

.cardbtn-small {
    color: #f370ff;
    padding: 2px 10px;
    text-decoration: none;
    font-size: 1.5rem;

    transition: color 0.5s;
}

.cardbtn-small:hover {
    color: #ffffff;
    transition: color 0.5s;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    margin-top: auto;
    overflow: hidden;
}

/* FEATURE */

.feature-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    align-items: top;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #222222;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #111111;
    color: #f370ff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.feature-title {
    color: #f370ff;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
}

.feature-subheading {
    text-align: center;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 5px solid #f370ff;
}

.skills-caroselheader {
    margin: 2;
    padding: 0px 10px;
}

.featskills-caroselheader {
    margin: 2;
    padding: 0px 10px;
    text-align: center;
}

.programs-grid {
    scrollbar-width: thin;
    scrollbar-color: #1c1c1c #000000;
    transition: scrollbar-color 0.3s;

    margin-inline: 20px;
    display: flex;
    gap: 15px;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap; 
    padding-bottom: 15px;
}

.program-card {
    position: relative;
    padding: 5px;
    background-color: #111111;
    width: 150px;
    text-align: center;
    border-radius: 5px;
    border: 3px solid #f370ff;
    flex-shrink: 0;
}

.program-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.program-card-text {
    text-decoration: none;
}

.program-content {
    display: flex;
    flex-direction: column;
}

.feat-skills-cards {
    width: fit-content;   
    max-width: 100%;      
    margin-inline: auto;  
    
    display: flex;
    justify-content: flex-start; 
    overflow-x: auto;
    
    gap: 15px;
    white-space: nowrap; 
    padding-top: 5px;
    padding-bottom: 15px;
    
    scrollbar-width: thin;
    scrollbar-color: #f370ff #000000;
    transition: scrollbar-color 0.3s;
}

.feat-skills-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 4px solid #f370ff;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.2s ease;
    align-items: center;
}

.feat-skills-content:hover {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 4px solid #8400c5;
    background-color: #0b0010;
    border-radius: 10px;
    width: 250px;
    transition: border 0.2s ease;
    transform: translateY(-5px);
    transition: transform 0.2s ease
}

.feat-skills-content-p {
    display: flex;
    flex-direction: column;
    background-color: #500033;
    padding: 10px;
    border: 4px solid #f370ff;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.2s ease;
    align-items: center;
}

.feat-skills-content-p:hover {
    display: flex;
    flex-direction: column;
    background-color: #31004a;
    padding: 10px;
    border: 4px solid #8400c5;
    border-radius: 10px;
    width: 250px;
    transition: background-color 3s ease, border 0.2s ease;
    transform: translateY(-5px);
    transition: transform 0.2s ease
}

.feat-skills-header {
    text-align: center;
    padding-bottom: 4px;
    margin-bottom: 3px;
    border-bottom: 2px solid #f370ff;
}

.skill-icon {
    font-size: 2rem;
}

.skill-name {
    font-size: 2rem;
}

.skill-details {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.skill-tags {
    display: flex;
    gap: 15px;

    overflow-x: auto;   
    white-space: nowrap; 
    padding-bottom: 10px;
    padding-top: 10px;
    justify-content: flex-start;
    width: fit-content;
    max-width: 220px;
    min-width: 0;
    margin: 0 auto;

    scrollbar-width: thin;
    scrollbar-color: #f370ff #000000;
}

.skill-tag {
    background-color: #111111;
    font-weight: 900;
    padding: 2px 10px;
    border: 2px solid #f370ff;
    border-radius: 5px;
    flex-shrink: 0;
}

.prefer {
    align-items: top;
}
.prefer-heart {
    color: #f370ff;
    font-size: 1.2rem;
}

.pinkdivider {
    width: 100%;       
    height: 5px;       
    background-color: #f370ff;
    border: none;      
    margin-top: 10px;  
    margin-bottom: 0px;
}

.gallery-img img, 
.card-image img {
    filter: grayscale(30%) contrast(1.1) saturate(0.8);
}

.gallery-card:hover .gallery-img img,
.project-card:hover .card-image img {
    filter: none;
}

.program-card.future {
    border-style: dashed;     
    border-color: #444444;    
    color: #888888;           
    opacity: 0.7;            
    transition: all 0.3s ease;
}

.program-card.future:hover {
    opacity: 1;
    border-color: #f370ff;    
    color: #ffffff;
}

.program-card.future .proficiency {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #555555;
}

.program-card.future:hover .proficiency {
    color: #f370ff; 
}

.contact-social-links {
    display: flex;
    flex-direction: row;
    gap: 200px;
    justify-content: center;
    padding: 50px;
}

.contact-social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #bbbbbb;  
    font-size: 1.5rem;  
    text-decoration: none; 
    transition: 1s;
}

.contact-social-links a i {
    font-size: 5rem;  
    color: #ffffff;
}

.contact-social-links a:hover {
    color: #f370ff;  
    text-decoration: none; 
    transform: scale(1.2);
    transition: 0.2s;
}

.contact-header {
    color: #f370ff;  
    margin-top: 50px;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    font-weight: 700;
}

.contact-subheader {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.clockpage-header {
    text-align: center;
    position: relative;
    height: 40vh;
    border-bottom: 5px solid #f370ff;
}

.clockpage-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.clockpage-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(180deg, rgba(255, 0, 162, 0.068), rgba(0, 0, 0, 0.867));

    pointer-events: none;
}

.clockpage-headertext {
    position: absolute;
    color: white;

    top: 75%;
    right: 2%;

    font-size: 100px;
    font-weight: 900;
    z-index: 2;
}

.clockpage-headertext p{
    position: absolute;
    color: #f370ff;

    top: -20%;
    right: 0%;

    font-size: 20px;
    font-weight: 900;
    z-index: 2;
}

.projectpage-toptext {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    font-size: large;
}

.componenttable {
    border-collapse: collapse;
    border-spacing: 0;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:20px;
}

.componenttable th {
    border-bottom: solid white;
    text-align: left;
    font-size: larger;
    color: #f370ff;
    font-weight: 700;
}

.componenttable td {
    padding: 5px;
    border-left: solid;
}

.componenttable td:last-child {
    padding: 5px;
    border-right: solid;
}

.qty {
    text-align: center;
    min-width: none;
}

.component {
    min-width: 500px;
}

.componenttable tr:last-child td {
    border-bottom: solid white;
}

.project-contentheader {
    position: relative;
    font-weight: 900;
    margin-top: 0px;
    padding-left: 10px;
    background-color: #500033;
    border-bottom: solid #f370ff;
    margin-bottom: 0;
}

.project-contentheader::after {
    content: " ";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;

    background: linear-gradient(90deg, rgba(90, 0, 57, 0),rgba(90, 0, 57, 0), rgba(243, 112, 255, 0.867));

    z-index: 2;
}

.inline-projectcontent {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 0;
}

.inline-projectcontent img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 10px;
    border-radius: 5px;
    border: #8400c5 solid 5px;
}

.inlineimg {
    display: flex;
    position: relative; 
    width: 100%;
    max-height: 300px;
    overflow: hidden; 
}

.inline-projectcontentfull {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 0;
}

.inline-projectcontentfull img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 10px;
    border-radius: 5px;
    border: #8400c5 solid 5px;
}


.inlineimgfull {
    display: flex;
    position: relative; 
    width: 100%;
    overflow: hidden; 
}

.project-inlinetext {
    margin-left: 10px;
}

.headerbtn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1;

    font-size: 30px;
    color: white;
    text-decoration: none;
    font-weight: 900;
    background-color: #31004a;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;

    overflow: hidden;
}

.headerbtn::after {
    content: " ";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;

    background: linear-gradient(130deg, rgba(90, 0, 57, 0),rgba(90, 0, 57, 0), rgba(243, 112, 255, 0.867));
    border-radius: inherit;

    z-index: -1;

    pointer-events: none;
}

.headerbtn:hover {
    color: #f370ff;
}

.navbar .icon {
    display: none;
}

.navbar .nav-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;     
    margin: 0;
    padding: 0;
}

.push-right {
    margin-left: auto;  
    display: flex;      
}

.nav-brand {
    flex-shrink: 0;     
    margin-right: 20px;
    list-style: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.gallery-card {
    background-color: #111111;
    border: 3px solid #500033; 
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    cursor: default;
}

.gallery-card:hover {
    border-color: #f370ff; 
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(243, 112, 255, 0.15);
}

.gallery-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 2px solid #500033;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #cccccc;
    background-color: #0b0b0b;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.gallery-card:hover .gallery-caption {
    color: #f370ff;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

.resume {
    background: white;
    color: black;
    font-weight: 900;
}
@media (max-width: 1300px) {

    .clockpage-headertext {
        position: absolute;
        color: white;

        top: 60%;
        right: 2%;

        font-size: 50px;
        font-weight: 900;
        z-index: 2;
    }

    .clockpage-headertext p{
        position: absolute;
        color: #f370ff;

        top: -50%;
        right: 0%;

        font-size: 20px;
        font-weight: 900;
        z-index: 2;
    }
}
@media (max-width: 1000px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        position: relative;
        
        background-color: #000000; 
        border-bottom: 3px solid #f370ff;
        min-height: 60px;
    }

    .navbar .home {
        background-color: transparent !important; 
        color: #f370ff !important; 
        font-size: 1.3rem;
        padding: 15px 20px; 
        width: auto; 
    }

    .navbar .home:hover {
        color: #ffffff !important;
        background-color: transparent !important;
    }

    .navbar .icon {
        display: block;
        position: absolute;
        
        right: 15px;
        height: 60px; 
        line-height: 60px; 
        
        color: #f370ff; 
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0px 15px;
        transition: color 0.3s;
        text-decoration: none;
    }

    .navbar .icon:hover {
        color: white;
    }
    .navbar .hidable {
        display: none;
        width: 100%;
        text-align: left;
        background-color: #111111; 
        border-top: 1px solid #222; 
    }
    
    .navbar.responsive .hidable {
        display: flex;
    }

    .navbar li a {
        display: block;
        padding: 15px 20px;
        color: #cccccc;
        text-decoration: none;
    }

    .navbar li a:hover {
        color: #f370ff;
        background-color: #000000;
        padding-left: 25px; 
        transition: 0.2s;
    }

    .navbar.responsive .push-right {
        margin-left: 0;
        flex-direction: column;
        width: 100%;
    }
    
    .navbar.responsive .rbutton {
        background-color: transparent;
        color: #f370ff;
        border-left: 5px solid #f370ff; 
        font-weight: bold;
    }
    
    .navbar.responsive .rbutton:hover {
        background-color: #f370ff;
        color: black;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        
        text-align: center;
        
        gap: 30px;
    }

    .contact-social-links {
        display: flex;
        flex-direction: row;
        gap: 60px;
        justify-content: center;
        padding: 50px;
    }

    .inline-projectcontent {
        grid-template-columns: 1fr; 
        gap: 30px;
        display: flex;     
        flex-direction: column;
    }

    .inline-projectcontentfull {
        grid-template-columns: 1fr; 
        gap: 30px;
        display: flex;     
        flex-direction: column;
    }

    .inlineimg {
        width: 100%;
        min-height: 0;  
        height: auto;   
        border-left: none;
    }

    .inline-projectcontent img {
        width: 100%;
        height: auto;   
        max-height: 300px; 
        object-fit: cover;
    }
    
    .project-inlinetext {
        margin-left: 0;
        padding-right: 0;
    }

    .componenttable {
        font-size: x-small;
        border-collapse: collapse;
        border-spacing: 0;
        justify-items: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom:20px;
    }

    .componenttable th {
        border-bottom: solid white;
        text-align: left;
        font-size: larger;
        color: #f370ff;
    }

    .componenttable td {
        padding: 5px;
        border-left: solid;
    }

    .componenttable td:last-child {
        padding: 5px;
        border-right: solid;
    }

    .component {
        min-width: 100px;
    }

    .project-contentheader {
        position: relative;
        font-size: x-large;
        font-weight: 900;
        margin-top: 0px;
        padding-left: 10px;
        background-color: #500033;
        border-bottom: solid #f370ff;
        margin-bottom: 0;
    }

    .feat-skills-content,
    .feat-skills-content-p {
        width: 180px;     
        min-width: 180px; 
        padding: 8px;
    }

    .skill-icon, 
    .skill-name {
        font-size: 1.4rem;  
    }

    .skill-details span {
        font-size: 0.8rem;
    }

    .prefer-heart {
        font-size: 0.9rem;
    }

    .skill-tag {
        padding: 2px 6px;
        font-size: 0.7rem;
    }
    .skill-tags {
        display: flex;
        gap: 15px;

        overflow-x: auto;   
        white-space: nowrap; 
        padding-bottom: 10px;
        padding-top: 10px;
        justify-content: flex-start;
        width: fit-content;
        max-width: 150px;
        min-width: 0;
        margin: 0 auto;

        scrollbar-width: thin;
        scrollbar-color: #f370ff #000000;
    }

    .programs-grid {
        gap: 10px;    
        margin-inline: 10px;
    }

    .program-card {
        width: 110px;       
        padding: 8px 4px;   
        border-width: 2px;  
    }

    .program-card-text {
        font-size: 0.8rem;
        display: flex;
        flex-direction: column; 
        gap: 5px;
    }

    .program-card-text i {
        font-size: 1.5rem; 
    }

    .proficiency {
        font-size: 0.6rem; 
        letter-spacing: 1px; 
        margin-top: 5px;
    }

    .skills-caroselheader, 
    .featskills-caroselheader {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .navbar .nav-items {
        display: none;
        width: 100%;
        flex-direction: column;
    }

    .navbar.responsive .nav-items {
        display: flex;
    }

    .navbar li {
        width: 100%;
        text-align: left;
    }

    .push-right {
        margin-left: 0;
        flex-direction: column;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: relative; 
        width: 100%;
        box-shadow: none;
        background-color: #222;
    }

    .resume {
        background: #31004a;
        font-weight: 900;
    }
}
