/* General Reset and Base Styles */
*, *:before, *:after {
    box-sizing: border-box;
}
html {
    
    font-size: 16px;
    scroll-behavior: smooth;
    background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(29, 0, 41, 1) 100%); 
}
#splash-video,
#heroVideo {
  pointer-events: none; /* Disables any interaction */
  user-select: none; /* Prevents selection */
}
.desk-vid{
    position: absolute;
    top: 0;
}
#headline-scroll {
    position: relative;
    margin-top: 10%;
    height: 250px;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
.headline-scrollText {
    color: #f4f4f4;
    font-family: pf-marlet-display, sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    position: relative;
    
}
  
.left {
    transform: translateX(-80%); /* Start off-screen to the left */
}
  
.right {
    transform: translateX(50%); /* Start off-screen to the right */
}
  
h1{
    border: 1px solid #f4f4f4;
    /* box-shadow: 0 0 0 0.5px #f4f4f4; */
    font-size: 2rem;
    font-family: pf-marlet-display, sans-serif;
    z-index: 1;
    padding: 1%;
}
.home{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: auto;
    position: relative;
    
}
.hire-button{
    z-index: 10;
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-animate {
    z-index: 10;
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: all 1s ease-in-out;

}
.scroll-animate p {
    font-family: "freight-neo-pro";
    color: #f4f4f4;
}

#rect {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 25px;
    height: 60px;
    border: 1px solid #f4f4f4;
    border-radius: 15px;
    padding-bottom: 5px;
}

#circle {
    width: 15px;
    height: 15px;
    background-color: #a586b3;
    border-radius: 50%;
    animation: scrolling 1.5s linear infinite;
}

@keyframes scrolling {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.icon:hover{
    transition: transform 0.2s ease-in-out;
    transform: scale(1.1);
    cursor: pointer;

}
.line-design{
    width: 100%;
    height: auto;;
    position: absolute;
    top: 0;

}

.works{
    height: auto;
    scroll-margin-top: 7rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
}


.grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2% 5%;    
    margin: auto;
    width: 100%;
    margin-bottom: 5rem;
}
.grid-item{
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}
.grid-item:hover .card-item {
    filter: brightness(2);
}
.card-item {
    height: 300px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: filter 0.5s ease-in-out, font-size 0.5s ease-in-out;


}
.card-item:hover {
    filter: brightness(2);
}

.item-info {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: #3f125b;
    background-color: #a586b3;
    padding: 1rem;
    gap: 1rem;
}
.item-info  h2{
    font-size: 1.6rem;
    font-weight: 700;

}
.item-info  p{
    font-size: 1.2rem;
    font-weight: 400;
}

.dfab-golf{
    background-image: url(../assets/images/covers/dfab-cover.png);
}
.swishzone{
    background-image: url(../assets/images/covers/swichzone-cover.png);
}
.googleSpeaker{
    background-image: url(../assets/images/covers/google-cover.png);
}

.familyOfEateries{
    background-image: url(../assets/images/covers/foe-cover.jpg);
}
.interactiveKiosk{
    background-image: url(../assets/images/covers/ontario-museum-cover.png);
}
.trailPoint{
    background-image: url(../assets/images/covers/trailPoint-cover.png);
}
.instaxMini{
    background-image: url(../assets/images/covers/instax-cover.png);
}
.wryft{
    background-image: url(../assets/images/covers/wryft-cover.png);
}

.kyoto{
    background-image: url(../assets/images/covers/kyoto-cover.png);
    
}
.portHope{
    background-image: url(../assets/images/covers/portHope-cover.png);
}
.digitalSignage{
    background-image: url(../assets/images/covers/campusSignage-cover.png);
}
.kitchenQuest{
    background-image: url(../assets/images/covers/kitchenChef-cover.png);
}

.card-project__categories {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}
.badge-category{
    padding: 0.5rem;
    background-color: #3f125b;
}

.photography-section {
    width: 100%;
    margin: 5rem 0 5rem 0;
}

.photography-card {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photography-card .slideshow {
    display: flex;
    width: max-content;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.8);
}

.photography-card .slideshow img {
    height: 100%;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}

/* Center the info */
.photography-card .photography-info {
    position: absolute; /* absolute positioning */
    top: 50%;           /* vertical center */
    left: 50%;          /* horizontal center */
    transform: translate(-50%, -50%); /* center exactly */
    z-index: 2;
    color: #f4f4f4;
    text-align: center;
    background: transparent;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.myInfo{
    scroll-margin-top: 9rem;
    position: relative;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;    
}

.myImage{
    position: absolute;
    width: 100%;
    top: 25px;
}
.aboutme{
    width: 100%;
    height: 500px;
    color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1%;
}

.about-headline{

    padding: 2%;
    border: 1px solid #f4f4f4;
    font-size: 2rem;
    transform: rotate(-90deg);
    position: absolute;
    left: 0;
}

.about-info{
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family:"freight-neo-pro";
    gap: 12px;
    position: absolute;
    left: 18%;
    z-index: 1;


}

span{
    color: #e6a8ff;
    font-style: italic;
}
.about-info h2{
    font-size: 2.5rem;
}
.about-info p{
    font-size: 1.8rem;
    text-align: left;
}

  
.social-icons{
    z-index: 2;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: self-start;
    justify-self: center;
    right: 0;
    top: 5em;

}
.social-icons a{
    color: #f4f4f4;
    transition: color 0.2s ease-in-out;

}
.social-icons a:hover{
    color: #e6a8ff;
}
.mySkills {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
}

#skills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
}

.skill-item {
    width: 75px;
    height: 75px;
    font-family: "freight-neo-pro";
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.skill-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.skill-item:hover img {
    transform: scale(1.1);
}

.skill-item:hover {
    z-index: 1;
}

.skill-item.dim {
    opacity: 0.3;
}

.desk-vid{
    display: block;
}
.mob-vid{
    display: none;
}
@media screen and (max-width: 599px) {
    .desk-vid{
        display: none;
    }
    .mob-vid{
        display: block;
    }
    .scroll-animate {

        bottom: 15%;

    }
    #headline-scroll {
        position: relative;
        margin-top: 8%;
        height: 80px;
    }
      
    .headline-scrollText {
        font-size: 1.2rem;
    
    }

    .grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .grid-item{
        filter: brightness(1);

        
    }
    .grid-item:active .card-item {
        filter: brightness(1);
    }
    .card-item{
        height: 300px;
    }
    .works{
        scroll-margin-top: 12rem;
        height: 100%;
    }
    .item-info  h2{
        font-size: 1.2rem;
    
    }
    .item-info  p{
        font-size: 0.99rem;
    }

    .myInfo{
        scroll-margin-top: 9rem;

    }
    .aboutme{
        flex-direction: column;
        gap: 3rem;
    }
    .about-headline{
       transform: rotate(0);
       position: relative;
       align-self: flex-start;
       
    }
    .about-info{
        width: 100%;
        position: relative;
        left: 0;
    }
    .about-info h2{
        font-size: 1.6rem;
    }
    .about-info p{
        font-size: 1.4rem;
        text-align: left;
    }
    .myImage{
        top: 40px;
    }

    .social-icons{
        position: relative;
        flex-direction: row;
        align-self: flex-start;
        top: 0;
    }

    .mySkills{
        height: 200px;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 5rem;
    }
    .skill-item{
        width: 50px;
        height: 50px;
    }
    #skills {
        gap: 0.5rem;
    }
    .modal {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    embed {
        max-width: 100%;
        height: 500px;
    }
    .close {
        font-size: 3rem;
        right: 3%;
        top: 2%;
    }
    button{
        font-size: 1rem;
    }
    #resume-link{
        font-size: 1rem;
    }
}
@media screen and (min-width: 600px) and (max-width: 768px) {
    .desk-vid{
        display: none;
    }
    .mob-vid{
        display: block;
    }
    .scroll-animate {

        bottom: 10%;

    }
    #resume-link{
        font-size: 1.5rem;
    }
    #headline-scroll {
        position: relative;
        margin-top: 8%;
        height: 100px;
    }
      
    .headline-scrollText {

        font-size: 2.5rem;

        
    }

    .grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .grid-item{
        filter: brightness(1);

        
    }
    .grid-item:active .card-item {
        filter: brightness(1);
    }
    .card-item{
        height: 400px;
    }
    .works{
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: 100%;
    }
    .myInfo{
        scroll-margin-top: 9 rem;
    }
    .aboutme{
        flex-direction: column;
        gap: 5rem;
    }
    .about-headline{
       transform: rotate(0);
       position: relative;
       align-self: flex-start;
       
    }
    .myImage{
        top: -103px;
    }
    .social-icons{
        top: 0rem;
    
    }
    .about-info{
        width: 100%;
        position: relative;
        left: 0;
        gap: 3rem;
    }
    .about-info h2{
        font-size: 1.9rem;
    }
    .about-info p{
        font-size: 1.6rem;
        text-align: left;
    }
    .social-icons{
        position: relative;
        flex-direction: row;
        align-self: flex-start;
    }
    .mySkills{
        justify-content: space-between;
        flex-direction: row-reverse;
    }
    .skill-item{
        width: 60px;
        height: 60px;
    }
    .modal {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    embed {
        max-width: 80%;
        height: 100vh;
    }
    .close {
        font-size: 4rem;
        right: 10%;
    }


}

/* For mobile screens */
@media screen and (min-width: 769px) and (max-width:1024px){
    .desk-vid{
        display: block;
    }
    .mob-vid{
        display: none;
    }
    #headline-scroll {

        height: 150px;
    }
      
    .headline-scrollText {
        font-size: 2.5rem;
        
    }
    .photography-section{
        margin: 15rem 0 5rem 0;
    }
    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 2%;
    }
    .item-info h2 {
        font-size: 1.5rem;
    }
    .item-info p {
        font-size: 1.2rem;
    }
    .card-project__categories {
        gap: 5px;
    }
    span{
        font-size: 1rem;
    }
    .badge-category {
        padding: 0.3rem;
    }
    .about-info{
        left: 25%;
    }

    .modal {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    embed {
        max-width: 60%;
        height: 80vh; /* Adjust height for large screens */
    }
    .close {
        font-size: 5rem;
        right: 19%;
    }

}