* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    transition: background 0.2s ease;
}

a:hover,
a:link,
a:visited,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img a {  
 -webkit-touch-callout: none; /* iOS Safari */  
    -webkit-user-select: none; /* Chrome/Safari/Opera */  
    -moz-user-select: none; /* Firefox */  
    -ms-user-select: none; /* Internet Explorer/Edge */  
    user-select: none; /* non-prefixed version */  
    pointer-events: none; /* Block all pointer events including long press */  
}
/* Set scroll bar style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-text-color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background-color: var(--main-bg-color, linear-gradient(50deg, #a2d0ff, #ffffff));
}

html {
    /* --main-bg-color: linear-gradient(50deg, #a2d1ff, #ffffff);"*/
    --main-bg-color: url(../img/bg.jpg);
    --main-text-color: #eeeeee;
    --gradient-start: #bd34fe;
    --gradient-middle: #e0321b;
    --gradient-end: #41d1ff;
    --purple-text-color: #ffeb4c;
    --text-bg-color: #00000040;
    --icon-1-hover-color: #00000040;
    --icon-2-hover-color: #00000040;
    --icon-3-hover-color: #00000040;
    --icon-4-hover-color: #00000040;
    --icon-5-hover-color: #00000040;
    --item-bg-color: #22222250;
    --item-hover-color: #33333340;
    --item-left-title-color: #ffffff;
    --item-left-text-color: #ffffff;
    --footer-text-color: #ffffff;
    --left-tag-item: rgb(27 42 57 / 20%);
    --card-filter:0px;
}
body {
    display: flex;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    position: relative;
    font-family: "Segoe UI", sans-serif;
    cursor: url('../img/normal.cur'), auto;
    background: var(--main-bg-color);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: color 0.1s ease;
    justify-content: center;
    color: var(--main-text-color);

}

#PageLoading {
    background: radial-gradient(white, #d8eaff);
    background-size: 100%;
    background-position: center;
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    margin-top: 0px;
    top: 0px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#PageLoading-ws {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#PageLoading-ws-center {
    height: 200px;
    width: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.object {
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    border-left: 5px solid #8887fa;
    border-right: 5px solid #FFC0CB;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    -webkit-animation: animate 2s infinite;
    animation: animate 2s infinite;
}

#object_one {
    width: 20%;
    height: 20%;
}

#object_two {
    width: 35%;
    height: 35%;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#object_three {
    width: 45%;
    height: 45%;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#object_four {
    width: 55%;
    height: 55%;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

@-webkit-keyframes animate {
    50% {
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes animate {
    50% {
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.main {
    width: 100%;
    max-width: 1150px;
    position: relative;
    flex-direction: row;
}

.left {
    margin-top:60px;
    width: 230px;
    height: 100vh;
    display: flex;
    padding: 0 15px;
    position: fixed;
    align-items: center;
    flex-direction: column;
}

.left-main {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    display: flex;
    align-items: center;
    flex-direction: column;

}

.left-main::-webkit-scrollbar {
    display: none;
}

.logo {
    flex-shrink: 0;
    width: 90%;
    position: relative;
    aspect-ratio: 1/1;
    margin-top: 50px;
    background-size: cover;
    border-radius: 50%;
}

.left-div {
    flex-shrink: 0;
    width: 100%;
    border-radius: 13px;
    margin-top: 15px;
    padding: 20px;
     backdrop-filter:blur(var(--card-filter));
    background: var(--item-bg-color);
}

.left-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.left-div-item {
    display: flex;
    align-items: center;
    line-height: 20px;
    font-size: 15px;
    gap: 8px;
    overflow: hidden;
}

.left-tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
}

.left-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--left-tag-item);

}

#line {
    width: 100%;
    height: 200px;
    font-size: 13px;
    padding-left: 10px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

#line li {
    list-style: none;
    position: relative;
    padding: 15px 0px 0px 15px;
    border-left: 2px solid #adbeff;
    border-radius: 0;
    scroll-snap-align: end;
    color: var(--main-text-color);
}

.focus {
    width: 15px;
    height: 15px;
    border-radius: 22px;
    background-color: rgb(255 255 255);
    border: 2px solid #fff;
    position: absolute;
    left: -9px;
    top: 50%;
}

#line li:first-child .focus:first-child {
    background-color: #2ecc71;
    animation: focus 1.8s ease infinite;
}

#line::-webkit-scrollbar {
    display: none;
}

.left-title {
    font-size: 20px;
    margin-top: 30px;
}

.right {
    margin-top:60px;
    width: calc(100% - 230px);
    display: flex;
    padding: 20px;
    position: relative;
    float: right;
    flex-direction: column
}

.welcome {
    
    font-size: 55px;
    font-weight: 800;
    margin: 30px 0;
}

.index-logo {
    flex-shrink: 0;
    width: 45%;
    position: relative;
    aspect-ratio: 1/1;

    background-size: cover;
    border-radius: 50%;
}

.description {

    font-size: 20px;
    margin-top: 7px;
}

.gradientText {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    background-position: 0%;
    animation: backgroundSizeAnimation 10s ease-in-out infinite;
    background-image: linear-gradient(120deg, var(--gradient-start), var(--gradient-middle) 30%, var(--gradient-end) 60%);
}

@keyframes backgroundSizeAnimation {
    0% {
        background-position: 100%;
    }

    25% {
        background-position: 50%;
    }

    50% {
        background-position: 0%;
    }

    75% {
        background-position: 50%;
    }

    100% {
        background-position: 100%;
    }

}

.purpleText {
    color: var(--purple-text-color);
    font-weight: 800;
}

.textBackground {
    font-weight: 800;
    background: var(--text-bg-color);
    border-radius: 5px;
    font-size: 17px;
    padding: 2px 4px;
}

.iconContainer {
    width: 100%;
    gap: 8px;
    height: 60px;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    margin-top: 20px;

}

.iconContainer::-webkit-scrollbar {
    display: none;
}

.iconItem {
    width: 47px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 7px;
    display: flex;
    gap: 5px;
    backdrop-filter:blur(var(--card-filter));
    background: var(--item-bg-color);
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.iconTip {
    white-space: nowrap;
    display: none;
}

.iconItem:nth-child(1):hover {
    width: 95px;
    /* transform: translateY(-2px); */
    background: var(--icon-1-hover-color);
}

.iconItem:nth-child(2):hover {
    width: 80px;
    /* transform: translateY(-2px); */
    background: var(--icon-2-hover-color);
}

.iconItem:nth-child(3):hover {
    width: 80px;
    /* transform: translateY(-2px); */
    background: var(--icon-3-hover-color);
}

.iconItem:nth-child(4):hover {
    width: 80px;
    /* transform: translateY(-2px); */
    background: var(--icon-4-hover-color);
}

.iconItem:nth-child(5):hover {
    width: 80px;
    /* transform: translateY(-2px); */
    background: var(--icon-5-hover-color);
}

.iconItem:hover .iconTip {
    display: block;
}

.hiv {
    width: 85%;
}

.skill {
    padding: 25px;
    width: 100%;
}

.skill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill #skillWap {
    display: none;
}

footer {
    position: absolute;
    padding: 10px;
    text-align: center;
    width: 100%;
    backdrop-filter:blur(var(--card-filter));
    background: var( --item-bg-color);
    color: var(
    --footer-text-color);
    font-size: 13px;
    bottom: 0;
}

@media (min-width: 800px) {
   
    .index-logo {
        display: none;
    }
}

@media (max-width: 800px) {
    .left{
        display: none;
    }

    .right {
        width: 100%;
    }

    .hiv {
        width: 100%;
    }

    .description {
        font-size: 16px;
    }

    .welcome {
        font-size: 48px;

    }

    .skill #skillWap {
        display: block;
    }

    .skill #skillPc {
        display: none;
    }

}

#love-snake {
    display: block;
    width: 100%;
    max-width: 544px;
    height: auto;
    border-radius: 12px;
    background: #211833;
}

.iconItem:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
