/* Fonts */
@font-face {
    font-family: 'BeaufortLOL';
    src: url('fonts/BeaufortforLOL-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BeaufortLOL';
    src: url('fonts/BeaufortforLOL-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BeaufortLOL';
    src: url('fonts/BeaufortforLOL-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'j.d';
    src: url('fonts/j.d.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Navbar */
.navbar {
    overflow: hidden;
    background-color: #E5E5E5;
    position: fixed;
    top: 0;
    width: 100%;
    height: 79px;
    box-shadow: 0px 4px 4px 0px #00000024;
}

.navbar .content-box {
    width: 100%;
    max-width: 760px;
    display: flex;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.navbar .contact-box {
    display: grid;
    padding: 12px;
}

.navbar .contact-box strong,
.navbar .contact-box span {
    text-align: end;
}

.navbar .contact-box span {
    font-size: 14px;
}

.navbar .hand-sign {
    padding-left: 30px;
}

/* Experience List */
.experience-list .sub-list {
    list-style: none;
    padding-left: 8px;
}

.experience-list .sub-list li {
    position: relative;
    padding-left: 12px;
    line-height: 1.5;
}

.experience-list .sub-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 10px;
    line-height: 1;
}

.film-list .sub-list {
    list-style: none;
    padding-left: 8px;
}

.film-list .sub-list li {
    position: relative;
    padding-left: 12px;
    line-height: 1.5;
}

.film-list .sub-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 10px;
    line-height: 1;
}

/* Sections */
.section {
    display: none;
}

.section.active {
    display: block;
}

/* Thumbnail */
.thumbnail {
    cursor: pointer;
    width: 100%;
}

.scroll-container {
    overflow-x: auto;
}

.image-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
}

.image-grid img {
    width: 100%;
    display: block;
}

.main .right span {
    font-weight: 500;
    font-size: 14px;
}

.main .right .about-me {
    /* font-style: italic; */
}

.main .right .highlight {
    font-weight: 700;
    font-style: bold;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}

@media (max-width: 400px) {
    .main .right .grid {
        max-width: 100%;
    }
}

.main .right .grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 411px;
    box-sizing: border-box;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    width: 404px;
}

.main .left .menu {
    flex: 1;
    margin: 0;
    padding-left: 0;
    list-style: none;
    width: 265px;
}

.main .left .menu-item,
.main .left .submenu-item {
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #00000017;
    cursor: pointer;
    padding: 5px 9px;
}

.main .left .menu-item {
    color: #000000;
}

.main .left .submenu-item {
    color: #B0B0B0;
}

.main .left .menu-item:hover,
.main .left .submenu-item:hover {
    background-color: #464646;
    color: #B0B0B0;
}

.main .left .submenu {
    list-style: none;
    padding: 0;
}


/* === Desktop styles (medium and up) === */
@media (min-width: 769px) {

    /* Desktop-specific CSS goes here */
    /* Main Layout */
    .main {
        margin-top: 79px;
        width: 100%;
        max-width: 960px;
        display: flex;
        justify-content: space-between;
        height: calc(100vh - 79px);
        padding: 0 16px;
        box-sizing: border-box;
    }

    /* Left Panel */
    .main .left {
        overflow: hidden;
        flex-shrink: 0;
        padding: 37px 27px 24px 24px;
    }



    /* Right Panel */
    .main .right {
        flex: 1;
        overflow-y: scroll;
        padding: 39px 0px 24px 14px;
        text-align: justify;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .main .right::-webkit-scrollbar {
        display: none;
    }

    .desktop-only {
        display: block !important;
    }

}


@media (max-width: 768px) {
    .main {
        flex-direction: column;
        height: calc(100vh - 79px);
        overflow-y: scroll;
        padding-top: 79px;
        justify-content: center;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .main::-webkit-scrollbar {
        display: none;
    }

    .main .left,
    .main .right {
        overflow: visible;
        padding: 32px;
    }

    .main .left .avatar {
        width: 265px;
    }

    .main .right {
        padding-top: 0;
        max-width: 265px;
    }

    body {
        overflow-y: auto;
    }

    strong,
    span {
        text-align: justify;
    }

    img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }


    html,
    body {
        height: auto;
    }

    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
    }

    .mobile-only {
        padding-top: 64px;
        display: block !important;
    }
}

.desktop-break::before {
    content: " ";
}

@media (min-width: 768px) {
    .desktop-break::before {
        content: "\A";
        white-space: pre;
    }
}

/* Base styles */
body {
    font-family: 'BeaufortLOL';
    margin: 0;
    overflow: hidden;
    background: #F6F6F6;
}

ul {
    padding-inline-start: 24px;
}

li,
strong,
span {
    font-family: 'BeaufortLOL';
    font-size: 14px;

}

a {
    color: #000000;
}

.mobile-only,
.desktop-only {
    display: none;
}