::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0A2E5C;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-thumb:vertical {
    height: 70px;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    position: relative;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    #side-bar {
        width: 240px;
        position: fixed;
        z-index: 4;

    }


    .material-icons {
        font-size: 32px;
    }

    #main-top-image {
        height: 50vh;
    }

    .bold-text {
        font-size: 9px;
    }

    .box-text {
        font-size: 2px;
    }

    #sortIcon {
        position: absolute;
    }
}

@media (min-width: 480px) {
    #side-bar {
        width: 360px;
        position: relative;
        z-index: 5;

    }

    .nav-tools span {
        display: inline;
    }

    .material-icons {
        font-size: 24px;
    }

    #main-top-image {
        height: 85vh;
    }

    .experience-box {
        width: 98%;
        padding: 10px;
        margin: 8px auto;
        font-size: 14px;
    }

    .bold-text, .box-text {
        font-size: 16px;
    }

    #sortIcon {
        position: fixed;
    }
}


.menu-btns {
    position: absolute;
    top: 34px;
    left: 34px;
    z-index: 10;
    font-size: 30px;
}

#sortIcon, #menuIcon {
    font-size: 28px;
    cursor: pointer;
    position: fixed;
    z-index: 6;
    color: white;
}


#side-bar {
    height: 100vh;
    overflow: hidden;
    background-color: #0A2E5C;
    left: 0;
    transition: width 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

#top-bar {
    margin-top: 12px;
}

#profile-picture {
    width: 140px;
    height: 140px;
    margin-top: 2vh;
    border-radius: 50%;
    border: 2px solid white;
    background-size: cover;
    background-position: center;
}

#welcome-container {
    margin-left: auto;
    text-align: right;
    padding-right: 12px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#welTag {
    font-size: 16px;
}

.line-under-welcome {
    width: 100%;
    height: 1px;
    background-color: white;
    margin-top: 1vh; 
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

#nav-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    list-style-type: none;
    transition: font-size 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    flex-grow: 1;
}

#name-tag {
    margin-top: auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 24px;
    margin: 1.5vh 0;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-tools a {
    color: white;
    text-decoration: none;
}

#side-bar-icons {
    margin-right: 8px;
}

#welcome-container, .line-under-welcome, #name-tag {
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-tools.closed {
    transform: translateY(-100%);
}

#hidden-item {
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
}

#main-content {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    max-height: 100vh;
    overflow-y: scroll;
}

#main-top-content {
    position: relative;
    height: 85vh;
}

#main-top-image {
    object-fit: cover;
}

#bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2;
}

#content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main-info, #main-btns {
    color: white;
    text-align: center;
}


#name, #profession {
    font-size: 36px;
}

#resume, #contact {
    padding: 10px;
    font-size: 20px;
    color: white;
    border: 3px solid #0A2E5C;
    border-radius: 30px;
    background: transparent;
    text-align: center;
}

#resume:hover, #contact:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#main-btns {
    margin-top: 20px;
}


button {
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
}

.experience {
    padding: 20px;

}

.experience-header {
    font-size: 42px;
    text-decoration: none;
    color: #333;
    position: relative;

}

.experience-header::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 10%;
    border-bottom: 2px solid #0A2E5C;
}


.project-header {
    font-size: 42px;
    text-decoration: none;
    color: #333;
    position: relative;

}

.project-header::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    border-bottom: 2px solid #0A2E5C;
}

.group-title-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 30px;
}

.group-title {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
}

#isu-webdev {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.title-github {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 30px;
}

.project-title {
    font-size: 30px;
    color: rgba(12, 12, 12, 0.8);
    font-weight: bold;

}

.github-link {
    color: red;
}

.project-company {
    font-size: 20px;
}

.project-year {
    font-size: 18px;
    color: rgb(190, 190, 205);
    margin-left: 4px;
}

.boxes-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.experience-box {
    max-width: 30rem;
    height: 20vh;
    border: 1.5px solid rgb(190, 190, 205);
    border-radius: 10px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.box-text {
    font-size: 16px;
}

#isu-webdev {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    
}


#box-icons {
    font-size: 46px;
}

.bold-text {
    font-weight: bold;
    font-size: 22px;
    color: #1053aa;
}

.experience-box-text {
    font-size: 20px;
    
}

.tag-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}

.tag {
    margin-right: 12px;
    background: transparent;
    border: 1.5px solid #8d8d8d;
    font-size: 14px;
    border-radius: 999px;
    padding: 4px;
}

.tag-text-style {
    color: #1053aa;

}

#contact-info {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 240px;
}


#contact-me {
    font-size: 42px;
    text-decoration: none;
    color: #333;
    position: relative;
}

#contact-me::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    border-bottom: 2px solid #0A2E5C;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item a {
    color: red;
}


.contact-item input[type="text"] {
    flex: 1;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;

    
}

.contact-item button {
    background: transparent;
    font-size: 14px;
    border-radius: 999px;
    border: none;
    padding: 4px;

}

.contact-item button:hover {
    background: transparent;
    background-color:  rgba(170, 170, 170, 0.1);
    font-size: 14px;
    border-radius: 999px;
    padding: 8px;
}

#copy-icon {
    font-size: 16px;
}