:root {
    --body-bg-color: #212529;
    --primary-color: #bdddff;
    --button-hover-txt-color: #253648;
    --box-border-color: #495057;
    --tags-archive-color: #d29922;
    --tags-language-color: #3572a5;
    --tags-muted-color: #9198a1;
}


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

body {
    font-family: 'Lato', system-ui !important;
    background-color: var(--body-bg-color) !important;
    color: #fff;
    line-height: 1.6;
}

.social {
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 1000;
}

.social ul {
    padding: 0;
    list-style: none;
}

.social ul li {
    margin: 5px 0;
    width: 200px;
    text-align: right;
    padding: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 0 30px 30px 0;
    transition: transform 0.4s ease, background 0.4s;
    transform: translateX(-150px);
}

.social ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--button-hover-txt-color);
    font-weight: bold;
    text-decoration: none;
}

.social ul li:hover {
    transform: translateX(0);
    width: 200px;
    box-shadow: none;
    background-color: #bdddff;
    color: var(--button-hover-txt-color);
}

.social ul li i {
    margin-left: 10px;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social ul li:hover i {
    border: 2px solid var(--button-hover-txt-color);
    color: #253648;
}

h1,
h2,
h3 {
    font-weight: 700 !important;
}

a {
    text-decoration: none;
    color: inherit;
}

.row {
    margin: 4rem 0;
}

.rw {
    padding: 1rem;
}

.section-title {
    color: #bdddff;
    padding: 0 0 20px 0;
}

.mbutton {
    display: inline-block !important;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    width: auto !important;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.mbutton:hover {
    background-color: var(--primary-color);
    color: #253648;
    border: 2px solid var(--primary-color);
}

.about {
    flex-wrap: wrap;
    gap: 5rem !important;
    padding: 2rem !important;
}

.about-image {
    width: 120px;
    margin-bottom: 1rem;
}

.about>div {
    flex: 1;
}

.about p{
    font-size: 1.2rem;
}

.course-link{
    color: var(--primary-color);
    font-weight: 500;
}

.project-card {
    border: 2px solid var(--box-border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tag {
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    height: 24px;
    white-space: nowrap;
}

.languagetag {
    color: var(--tags-language-color);
    border: 1px solid var(--tags-language-color);
}

.archivetag {
    color: var(--tags-archive-color);
    border: 1px solid var(--tags-archive-color);
    margin-left: 5px;
}

.mutedtag {
    color: var(--tags-muted-color);
    border: 1px solid var(--tags-muted-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease-out forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.4s;
}

.fade-up.delay-2 {
    animation-delay: 0.8s;
}

.repo-link{
    color: #75808b;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #75808b;
    transition: all ease;
}

.repo-link:hover{
    color: #8e82da;
    border-color: #8e82da;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 568px) {
    .about {
        flex-direction: column;
    }

    .social ul li {
        padding: 7px;
    }

    .social ul li i {
        font-size: 18px;
    }

}