/* @font-face {
    font-family: 'Inter';
    src: url('font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", serif;
    color: #000;
}

html {
    height: 100vh;
}

body {
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
    position: relative;
    width: 100%;
    gap: 15px;
}

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

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

a {
    text-decoration: none;
    cursor: pointer !important;
}

.no-select {
    pointer-events: none;
    user-select: none;
}

section {
    width: 100%;
    max-width: 600px;
    position: relative;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px 16px 16px 16px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.avatar-container {
    border-radius: 50%;
    height: 85px;
    width: 85px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-container::before {
    content: "";
    width: 60px;
    height: 35px;
    background-image: linear-gradient(to left, #fbc2eb 0%, #a6c1ee 100%);
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    transform: rotate(0deg);
    animation: rotate360 3s linear infinite;
    z-index: 0;
}

@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    z-index: 1;
    position: relative;
}

.basic-info {
    display: grid;
    grid-template-columns: 85px auto;
    gap: 15px;
}

.social-btn-container {
    width: fit-content;
    margin-left: auto;
    margin-top: 20px;
    position: relative;
    display: flex;
    gap: 5px;
}

.social-btn-container button {
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    padding: 3px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.5s ease;
    border: none;
}

.social-btn-container button svg {
    fill: #333;
    transition: fill 0.5s ease;
}

.social-btn-container button:hover {
    background-color: #333;
}

.social-btn-container button:hover svg {
    fill: #fff;
}

.item {
    width: 100%;
    position: relative;
    display: flex;
    border-radius: 5px;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden;
    margin-top: 15px;
}

a .item {
    border: 1px solid #e2e8f0 !important;
}

a .tag {
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
}

.item--left {
    width: 8px;
    transition: .1s ease-in-out;
}

.item--right {
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    width: calc(100% - 12px);
}

.item:hover .item--left {
    width: 12px;
}

.item--content span {
    display: block;
}

.item--content .item-name {
    font-weight: 600;
    font-size: 18px;
    width: 100%;
}

.item--content .duration {
    margin-top: 2px;
    font-size: 12px;
}

.item--content .major {
    margin-top: 5px;
    font-size: 16px;
}

.item--content .detail {
    margin-top: 10px;
    font-size: 14px;
}

.style-1 {
    background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}

.style-2 {
    background-image: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
}

.style-3 {
    background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}

.style-4 {
    background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
}

.style-5 {
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.style-6 {
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.style-7 {
    background-image: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%);
}

.style-8 {
    background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

.style-9 {
    background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.style-10 {
    background-image: linear-gradient(to top, #5ee7df 0%, #b490ca 100%);
}

.style-11 {
    background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
}

.school-img {
    border-radius: 50%;
}

.work-exp-container {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 5px;
    padding: 10px 0;
}

.work-tree {
    width: 5px;
    height: 100%;
    background-image: linear-gradient(to bottom, #74ebd5 0%, #9face6 100%);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 5px;
}

.work {
    width: calc(50% - 10px);
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
}

.work-left {
    margin-right: auto;
    border-radius: 15px 15px 0 15px;
}

.work-right {
    margin-left: auto;
    border-radius: 15px 15px 15px 0;
}

.work--company {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.work--duration {
    display: block;
    font-size: 13px;
}

.work--detail {
    display: block;
    font-size: 15px;
    margin-top: 8px;
    width: 100%;
}

.custom-link {
    font-weight: 600;
    color: #0056b3;
    cursor: pointer;
}

.custom-link:hover {
    text-decoration: underline;
}

.skills-container {
    display: flex;
    margin-top: 15px;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: #f1f5f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    padding: 5px 10px;
    cursor: default;
}

#meobeo {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
}

.meobeo-info {
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-top: 3px;
}

footer {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 620px) {
    .work-tree {
        display: none;
    }

    .work {
        width: 100%;
        border-radius: 15px;
    }

    .basic-info {
        display: flex;
        grid-template-columns: unset;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .info {
        width: fit-content;
    }
}

@media (max-width: 425px) {
    #meobeo {
        font-size: 16px;
        line-height: 20px;
    }

    #meobeo-info {
        font-size: 14px;
    }

    .item--content .item-name,
    .work--company {
        font-size: 15px;
    }

    .item--content .duration,
    .work--duration {
        font-size: 10px;
    }

    .item--content .major,
    .work--detail,
    .item--content .detail {
        font-size: 13px !important;
    }
}