* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    background-color: var(--colors-gray1);
    color: var(--colors-gray12);
    font-family: 'Hanken Grotesk', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: var(--colors-gray10);
    font-weight: bold;
}

h1, h2, h3, p {
    text-align: left;
    margin: .5em 0;
    line-height: 1.6;
}


h1, h2 {
    font-weight: bold;
}

h2 {
    margin: 0.25em;
}

p {
    font-size: 1rem;
    color: var(--colors-gray11);
}

.about {
    height: 100vh;  
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 30px;
    gap: 30px;
}

.section1 {
    max-width: 500px;
    margin-right: 30%;
    margin-top: 2.775%;
    padding: 2em 1em;
    border-radius: 20px;
    text-align: left;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    position: fixed;
    top: 30px;
}

.section1 .about-link, .section1 h1, .section1 p {
    margin: .5em 0 0 0;
}

.section2 {
    max-width: 500px;
    margin-left: 30%;
    padding: 2em;
    border-radius: 20px;
    text-align: left;
    flex: 2;
}

.section2-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.box1, .box2, .box3, .box4 {
    padding: 1.5em;
    border-radius: 25px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: left; 
}

.box4 {
    margin-bottom: 4em;
}

.about-link {
    display: inline-block;
    padding: 0.5em 1em;
    margin-top: .5em;
    border-radius: 10px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.001), rgba(255, 255, 255, 0.001));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 100, 100, 0.185);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.horizontal-divider {
    margin: 1em 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .section1, .dark .box1, .dark .box2, .dark .box3, .dark .box4 {
    background-image: linear-gradient(45deg, rgba(30, 30, 30, 0.5), rgba(40, 40, 40, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
}

.dark .horizontal-divider {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

img.about-img {
    width: 100%;
    height: 450px;
    border-radius: 5px;
    object-fit: cover;
}

@media (max-width: 1500px) {
    .section1 {
        right: 25.5%;
    }
}

@media (max-width: 1200px) {
    .section2 {
        left: 25%;
    }
}


@media (max-width: 800px) {
    .container {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .section1, .section2 {
        position: static;
        max-width: 100%;
        margin: 0;
        text-align: left;
    }

    .section1 {
        margin-bottom: 8px; 
    }
    img.about-img {
        height: 400px;
    }
}


@media (max-width: 600px) {
    .container {
        padding: 10px;
        gap: 20px;
    }

    .section1, .section2 {
        max-width: 100%;
        padding: 1.5em;
        margin: 0;
    }

    .section1 {
        margin-bottom: 8px;
    }

    .section2 {
        margin-bottom: 20px;
    }

    img.about-img {
        height: 300px;
    }
}


@media (max-width: 400px) {
    .section1, .section2 {
        padding: 1em;
    }
    
    .container {
        gap: 10px;
    }

    p {
        font-size: 0.9rem;
    }
    img.about-img {
        height: 275px;
    }
}

.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.tag-list li {
    padding: .2rem .4rem .2rem .4rem;
    background-color: rgba(255, 255, 255, 0.001);
    border: 1px solid rgba(100, 100, 100, 0.185);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem var(--colors-gray1);
}

.tag-list li a {
    text-decoration: none;
    color: var(--colors-gray12);
}

.tag-list li:hover{
    background-color: var(--colors-gray5);
}

.dark .tag-list #Notion:hover {
    background-color: #37474f;
}
.dark .tag-list #Spotify:hover {
    background-color: #15ca5a;
}
.dark .tag-list #Blender:hover {
    background-color: #F68A39;
}
.dark .tag-list #Illustrator:hover {
    background-color: #F7991D;
}
.dark .tag-list #Photoshop:hover {
    background-color: #55A0D7;
}
.dark .tag-list #Arc:hover {
    background-color: #FF6378;
}
.dark .tag-list #VSC:hover {
    background-color: #11A9FF;
}
.dark .tag-list #Github:hover {
    background-color: #383838;
}
.dark .tag-list #Arduino:hover {
    background-color: #00979C;
}
.dark .tag-list #Discord:hover {
    background-color: #5165F6;
}
.dark .tag-list #Filmora:hover {
    background-color: #43b89e;
}

.scroller {
    max-width: 600px;
}

.scroller-inner {
    padding-block: 1rem;
    display: flex;
    gap: 1rem;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller-inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - .5rem));
    }
}

.skill {
    display: inline-block;
    padding: 0.5em 1em;
    margin-top: 1em;
    border-radius: 10px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.001), rgba(255, 255, 255, 0.001));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 100, 100, 0.185);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    user-select: none;
}

/* #skill1{
    background-color: #ee7271;
}

#skill2{
    background-color: #4da7ed
}

#skill3{
    background-color: #ec529a;
}
#skill4{
    background-color: #f69851;
}

#skill5{
    background-color: #9a63f5;
}
#skill6{
    background-color: #60c5bb;
}
#skill7{
    background-color: #67addb;
}
#skill8{
    background-color: #69cc7a;
} 
#skill9{
    background-color: #60c5bb;
} */    

