@font-face {
    font-family: 'ToyotaType-Regular';
    src: url('assets/fonts/ToyotaType-Regular.woff2') format('woff2'),
         url('assets/fonts/ToyotaType-Regular.woff') format('woff'),
         url('assets/fonts/ToyotaType-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KiaSignatureRegular';
    src: 
         url('assets/fonts/KiaSignatureRegular.woff') format('woff'),
         url('assets/fonts/KiaSignatureRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Porsche-Next';
    src: url('assets/fonts/porsche-next.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MINISansSerif-Regular';
    src: url('assets/fonts/MINISansSerif-Regular.woff2') format('woff2'),
         url('assets/fonts/MINISansSerif-Regular.woff') format('woff'),
         url('assets/fonts/MINISansSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.zilla-slab-highlight-regular {
    font-family: "Zilla Slab Highlight", serif;
    font-weight: 400;
    font-style: normal;
}

.zilla-slab-highlight-bold {
    font-family: "Zilla Slab Highlight", serif;
    font-weight: 700;
    font-style: normal;
}

.zen-tokyo-zoo-regular {
    font-family: "Zen Tokyo Zoo", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width:100%;
    transition: background-image 0.3s ease, opacity 0.3s ease;
} */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Initially hidden */
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background-size: cover;
    background-repeat: no-repeat;
    display: none; /* Initially hidden */
    z-index: -1;
}

/* .container {
    display: flex;
    width: 100%;
} */

/* .left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    margin-left: 60px;
    width:100%;
} */

.left-section h1, .left-section h2 {
    transition: opacity 0.3s ease;
}

.left-section h1 {
    /* font-size: 7em; */
    margin: 0;
    font-weight: bold;
}

.left-section h2 {
    /* font-size: 13em; */
    margin: 0;
    font-weight: bold;
    /* letter-spacing: 5px; */
}

.details {
    display: none; /* Initially hidden */
    flex-direction: column;
    align-items: center;
    /* margin-top: 20px; */
    width: 100%;
    /* overflow-y: auto;  */
    /* max-height: 100vh;  */
    /* padding: 20px; */
    scrollbar-width: none;
}

/* .details-header ul, .details-header p {
    text-align: left;
} */

.details-header {
    text-align: center;
    margin-bottom: 20px;
}

.details-title {
    font-size: 2em;
    font-weight: bold;
}

.details-description {
    font-size: 1.2em;
    margin-top: 10px;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* width: 100%; */
}

.content-tile {
    background: rgba(255, 255, 255, 0.5); /* White background with some transparency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* width: 100%; */
}

.graphics img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.large-tile, .small-tile {
    background: rgba(255, 255, 255, 0.1); /* White background with some transparency */
    backdrop-filter: blur(12px);
    border-radius: 8px;
    background-size: cover; /* Ensure background images cover the tiles */
    background-position: center;
    padding:30px
}

.large-tile img {
    max-width: 200px;
}

.small-tile {
    height: 100px;
}

/* .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 20px 20px 100px 20px;
    width:100%;
    max-height: 90vh; 

} */


body {
    /* font-family: 'Arial', sans-serif; */
    font-family: 'avenir', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease, opacity 0.3s ease;
    overflow-y: scroll; /* Allow the whole page to be scrollable */
}

.container {
    display: flex;
    width: 100%;
    /* height: 100vh;  */
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;

    width:50%;
    flex: 0 0 50%;
}

.right-section {
    width:50%;
    flex: 0 0 50%; /* Fixed width for the right section */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 20px;
    position: fixed; /* Fix the position of the right section */
    right: 0;
    top: 0;
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Allow the right section to be scrollable if needed */
}






.project-tile, .home-tile {
    position: relative;
    /* align-self: flex-end; */
    width: 75%;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: height 0.3s ease;
}

.project-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    transition: background 0.3s ease;
}

.home-tile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    transition: background 0.3s ease;
}

.project-tile:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
}

#home-tile {
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    height: 100px;
    background: rgba(255, 255, 255, 0.2); /* White background with some transparency */
}

.home-tile {
    display: flex; /* Initially hidden */
    justify-content: center;
    align-items: center;
    height: 100px;
    background: rgba(255, 255, 255, 0.2); /* White background with some transparency */
}

.project-tile.active,
.project-tile:hover {
    height: 400px;
}

.project-tile.active .overlay,
.project-tile:hover .overlay {
    display: none;
}

#headline-name {
    font-size: 7rem;
}

#headline-port {
    font-size: 13rem;
}

#headline-folio {
    font-size: 12rem;
}

/* Add Media Queries for Responsiveness */
@media (max-width: 1400px) {
   


    #headline-name {
        font-size: 4.1rem;
    }
    
    #headline-port {
        font-size: 8rem;
    }
    
    #headline-folio {
        font-size: 7rem;
    }


}

/* Add Media Queries for Responsiveness */
@media (max-width: 900px) {

    .project-tile, .home-tile {
        width: 100%;

    }
   
    #headline-name {
        font-size: 3.1rem;
    }
    
    #headline-port {
        font-size: 6rem;
    }
    
    #headline-folio {
        font-size: 5.4rem;
    }
    .left-section, .right-section {
        margin-left: 0;
        padding: 10px;
        width:45%
    }

}




/* Navigation Panel */
.nav-panel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(215, 215, 215, 0.94);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    scrollbar-width: none;
}

/* .nav-panel .nav-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    margin-left: 50px;
    color: white;
    
} */

.nav-panel .nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    padding: 0 30px;
    margin-bottom: 100px;
}

/* .nav-open-btn {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;

    border: none;
    background: #0000004a;
    border-radius: 5px;
    z-index: 2;
} */

/* Navigation button styles */
/* .nav-open-btn,
.nav-close-btn {
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    border: none;
    background: none;
    z-index: 2;
    transition: all 0.3s ease;
}

.nav-open-btn.active {
    transform: rotate(45deg);
}

.nav-open-btn::before {
    content: 'MENU';
    margin-right: 10px;
}

.nav-open-btn.active::before {
    content: 'MENU';
    display: none;
}

.nav-open-btn.active::after {
    content: '\00d7';
    font-size: 1.5em;
} */


.nav-open-btn{
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    border: none;
    background: none;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    font-size:large;
    font-weight: bold;;
}
#menu-toggler :focus {

    outline: none!important;
}
.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    text-decoration: none;
    background:none;
    border:none;
}


/* Hamburger Icon */
.hamburger-icon {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #000;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon:before,
.hamburger-icon:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-icon:before {
    top: -8px;
}

.hamburger-icon:after {
    bottom: -8px;
}

/* Active hamburger icon */
#menu-toggler.active .hamburger-icon {
    background-color: transparent;
}

#menu-toggler.active .hamburger-icon:before {
    transform: rotate(45deg);
    top: 0;
}

#menu-toggler.active .hamburger-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Menu Text */
.menu-text {
    color: #000;
    margin-left: 10px;
    line-height: 30px;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-section, .right-section {
        margin-left: 0;
        padding: 10px;
        width:100%
    }

    .details-content {
        align-items: center;
        width: 100%;
    }
    

    .left-section h1 {
        font-size: 4em;
    }

    .left-section h2 {
        font-size: 2em;
    }

    .project-tile, .home-tile {
        width: 100%;
    }

    .project-tile.active,
    .project-tile:hover {
        height: 300px;
    }

    #nav-open-btn {
        display: flex;
    }

    .right-section {
        display: none;
    }
}

/* Hide navigation button on larger screens */
@media (min-width: 769px) {
    #nav-open-btn {
        display: none;
    }
}

.video-tile {
    width: calc(50% - 10px);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.video-tile img {
    width: 100%;
    border-radius: 8px;
}
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal video {
    max-width: 70%;
    max-height: 100%;
}
.video-modal .close {
    position: absolute;
    top: 20px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.video-modal .close:hover,
.video-modal .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}