@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #F19BB5;
}

::-webkit-scrollbar-thumb {
    background: #757575;
    border-radius: 5px;
}

body {
    background-color: #fff0f5;
}

.container {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 256px;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 24px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.sidebar .head {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f6f6f6;
}

.user-profile {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

.user-profile img {
    width: 100%;
    object-fit: cover;
}

.user-detail .title,
.menu .title {
    font-size: 10px;
    font-weight: 500;
    color: #757575;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.user-detail .name {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.menu ul li {
    list-style: none;
    margin-bottom: 5px;
}

.menu {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f6f6f6;
}

.menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #757575;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu ul li:hover a,
.menu ul li.active a {
    color: #000;
    background-color: #f6f6f6;
}

.menu ul li .ph {
    font-size: 20px;
}

.menu ul li .text {
    flex: 1;
}

.menu-btn {
    position: absolute;
    right: -14px;
    top: 3.5%;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #757575;
    border: 2px solid #f6f6f6;
    background-color: #fff;
}

.menu-btn:hover i {
    color: #000;
}

.menu-btn i {
    transition: all 0.3s;
}

.sidebar.active {
    width: 92px;
}

.sidebar.active .menu-btn i {
    transform: rotate(180deg);
}

.sidebar.active .user-detail {
    display: none;
}

.sidebar.active .menu .title {
    text-align: center;
}

.sidebar.active .menu > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.active .menu > ul > li > a .text {
    display: none;
}

.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 76px;
    transition: margin-left 0.3s;
}

section {
    padding: 20px;
    border: 1px solid #f6f6f6;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.skill {
    width: 300px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.skill img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.skill p {
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

#home {
    display: flex;
    padding: 20px;
}

.home-container {
    display: flex;
    align-items: center;
}

.home-profile img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.home-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 40px;
}

.title {
    font-size: 58px;
    font-weight: bold;
}

.marquee-container {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
}

.marquee-text {
    display: inline-block;
    color: #888;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.cursor {
    font-weight: bold;
    color: #888;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.about-me {
    padding: 20px;
    border-radius: 1%;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

.about-me h3 {
    font-size: 20px;
    margin: 10px 0 0 0;
    color: #333;
}

.about-me ul {
    list-style: none;
    padding: 0;
}

.about-me li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 500;
}

.project-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-list {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 300px;
    transition:
        transform 0.3s ease-in-out,
        box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.project-list:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.project-list img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.project-list h3 {
    margin: 10px 0;
    font-size: 18px;
}

.project-list p {
    color: #666;
    font-size: 14px;
}

footer {
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    padding-bottom: 60px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    gap: 10px;
}

.footer-container p {
    font-size: 14px;
    color: #757575;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    font-size: 24px;
    color: #757575;
    transition:
        color 0.3s ease-in-out,
        transform 0.2s ease-in-out;
}

.social-icons a:hover {
    color: #000;
    background-color: #f6f6f6;
    transform: scale(1.2);
}

.bottom-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    z-index: 9999;
}

.bottom-navbar a {
    text-decoration: none;
    color: #757575;
    font-size: 10px;
    text-align: center;
    flex: 1;
    padding: 2px 5px;
    transition: color 0.3s ease-in-out;
}

.bottom-navbar a .ph {
    font-size: 20px;
    display: block;
    margin-bottom: 1px;
}

.bottom-navbar a:hover,
.bottom-navbar a.active {
    color: #000;
}

html {
	scroll-behavior: smooth;
}
.topless {
	background-color: #f9f9f9;
	position: fixed;
	bottom: 16px;
	right: 32px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #1f1f1f;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transition: all .4s;
	z-index: 9999;
}
.topless i {
	color: #000;
}
.topless.active {
	background-color: #F19BB5;
	bottom: 32px;
	pointer-events: auto;
	opacity:1;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 0;
    }

    .bottom-navbar {
        display: flex;
    }

    #home {
        flex-direction: column;
        align-items: center;
    }

    .home-text {
        text-align: center;
        margin-left: 20px;
    }

    .home-profile img {
        width: 120px;
        height: 120px;
    }

    .title {
        font-size: 24px;
    }

    .marquee-container {
        font-size: 16px;
        margin-top: 5px;
    }

    .about-me {
        padding: 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project-list {
        width: 90%;
    }

    .skill-list {
        flex-direction: column;
        align-items: center;
    }

    .skill {
        width: 90%;
    }

    .footer-container {
        margin-bottom: 10px;
    }
    .topless.active {
        bottom: 70px;
    }
}