@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    box-sizing: border-box;
    cursor: default;
}

* {
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 992px;
    padding: 20px 30px;
    background: transparent;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    margin: 0 auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-left {
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-left a{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 23px;
    color: #90C2E7;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 60px;
}

.navbar-right a {
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 500;
    font-size: 18px;
    color: #6D6D6D;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-right a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #90C2E7;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-right a:hover::after {
    width: 100%;
}

.navbar-right a:hover {
    cursor: pointer;
    opacity: 0.7;
    transform: translateY(-3px);
}

.navbar-right div {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 23px;
    color: #90C2E7;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: rotate(360deg);
}

.wave-container {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 0;
    z-index: 1;
    overflow: hidden;
    top: 0;
    left: 0;
}

.wave-container svg {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    min-width: 1440px;
}

.wave-container path {
    fill: url(#waveGradient);
}

.article {
    width: 90%;
    max-width: 992px;
    margin-top: 0px;
    margin-bottom: 40px;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    animation: fadeIn 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.article-title {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.article-title h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: #333;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.my-projects-title {
    text-align: center;
    width: 100%;
}

.outline-text {
    color: #90C2E7;
}

.article-paragraph {
    font-size: 24px;
    color: #666;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    width: 100%;
    text-align: justify;
}

.article-paragraph p {
    margin: 0;
    width: 100%;
}

.article-paragraph p:nth-child(1) { animation-delay: 0.2s; }
.article-paragraph p:nth-child(2) { animation-delay: 0.4s; }
.article-paragraph p:nth-child(3) { animation-delay: 0.6s; }

.article2 {
    width: 90%;
    max-width: 992px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-sizing: border-box;
    animation: fadeIn 0.8s ease-out forwards;
}

.article2-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: flex-end;
}

.article2-title-logo {
    color: #90C2E7;
    font-size: 24px;
}

.article2-title-text {
    color: #90C2E7;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article2-box {
    width: auto;
    max-width: 600px;
    border: 2px dashed #90C2E7;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article2-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(144, 194, 231, 0.1);
}

.article2-box-text {
    font-size: 24px;
    color: #666;
    line-height: 1.5;
    text-align: right;
}

.article2-box-text p {
    margin: 0;
    text-align: right;
}

.article2-box-text strong {
    color: #333;
}

.bottom-wave-container {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 1;
    margin-bottom: -5px;
    background: transparent;
}

.contact-section {
    width: 90%;
    max-width: 992px;
    background: transparent;
    padding: 40px 0;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.8s ease-out forwards;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section:hover {
    transform: translateY(-5px);
}

.contact-title {
    font-size: 36px;
    font-weight: 600;
    color: #90C2E7;
    margin-bottom: 20px;
    text-align: center;
}

.contact-email {
    font-size: 24px;
    color: #6D6D6D;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #90C2E7;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-email:hover::after {
    width: 100%;
}

.contact-email:hover {
    cursor: pointer;
    opacity: 0.7;
    transform: translateY(-3px);
}

body.dark-mode .contact-title {
    color: #90C2E7;
}

body.dark-mode .contact-email {
    color: #cccccc;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6D6D6D;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
}

body.dark-mode .navbar {
    background: transparent;
}

body.dark-mode .article-title h1 {
    color: #ffffff;
}

body.dark-mode .article-paragraph,
body.dark-mode .article2-box-text {
    color: #cccccc;
}

body.dark-mode .article2-box-text strong {
    color: #ffffff;
}

body.dark-mode .article2-box {
    border-color: #90C2E7;
    box-shadow: 0 10px 20px rgba(144, 194, 231, 0.05);
}

body.dark-mode .article2-box:hover {
    box-shadow: 0 10px 20px rgba(144, 194, 231, 0.1);
}

body.dark-mode .navbar-right a,
body.dark-mode .theme-toggle {
    color: #cccccc;
}

body.dark-mode .contact-title {
    color: #ffffff;
}

body.dark-mode .contact-email {
    color: #cccccc;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        width: 95%;
        padding: 20px 25px;
    }

    .navbar-left {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .navbar-right {
        width: 100%;
        justify-content: center;
        gap: 35px;
    }

    .article, .article2 {
        width: 90%;
        max-width: 992px;
        margin-top: 60px;
        margin-bottom: 60px;
        padding: 0 20px;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        animation: fadeIn 0.8s ease-out forwards;
    }

    .article-title, .article2-title {
        text-align: center;
        justify-content: center;
    }

    .article-title h1 {
        font-size: 46px;
    }

    .article-paragraph, .article2-box-text {
        font-size: 22px;
    }

    .article2-title-logo {
        font-size: 22px;
    }

    .article2-title-text {
        font-size: 22px;
    }

    .article2-box {
        width: 100%;
        max-width: none;
        padding: 30px;
        margin: 0;
    }

    .article2-box-text, .article2-box-text p {
        text-align: center;
    }

    .contact-section {
        width: 95%;
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .contact-email {
        font-size: 20px;
    }

    .portfolio-grid {
        gap: 30px;
        margin: 25px 0;
        padding: 0 20px;
    }

    .portfolio-item {
        padding: 20px;
        gap: 20px;
    }

    .portfolio-content {
        text-align: center;
    }

    .portfolio-links {
        justify-content: center;
    }

    .wave-container {
        height: 200px;
    }

    .wave-container svg {
        min-width: 100%;
        transform: scale(1.1);
        transform-origin: center top;
    }

    .article-paragraph p:first-child {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        width: 100%;
        padding: 20px 20px;
    }

    .navbar-left {
        margin-bottom: 8px;
    }

    .navbar-right {
        gap: 30px;
    }

    .article, .article2 {
        width: 90%;
        max-width: 992px;
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 0 15px;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        animation: fadeIn 0.8s ease-out forwards;
    }

    .article-title, .article2-title {
        text-align: center;
        justify-content: center;
    }

    .article-title h1 {
        font-size: 46px;
    }

    .article-paragraph, .article2-box-text {
        font-size: 22px;
    }

    .article2-title-logo {
        font-size: 22px;
    }

    .article2-title-text {
        font-size: 22px;
    }

    .article2-box {
        max-width: none;
        padding: 25px;
    }

    .article2-box-text, .article2-box-text p {
        text-align: center;
    }

    .contact-section {
        width: 100%;
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .contact-email {
        font-size: 18px;
    }

    .portfolio-grid {
        gap: 25px;
        padding: 0 15px;
    }

    .portfolio-item {
        padding: 15px;
        gap: 15px;
    }

    .wave-container {
        height: 180px;
    }

    .wave-container svg {
        transform: scale(1.2);
        transform-origin: center top;
    }
}

@media screen and (max-width: 360px) {
    .navbar {
        padding: 15px 15px;
    }

    .navbar-left {
        margin-bottom: 6px;
    }

    .navbar-right {
        gap: 25px;
    }

    .article, .article2 {
        width: 90%;
        max-width: 992px;
        margin-top: 100px;
        margin-bottom: 100px;
        padding: 0 10px;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        animation: fadeIn 0.8s ease-out forwards;
    }

    .article-title, .article2-title {
        text-align: center;
        justify-content: center;
    }

    .article-title h1 {
        font-size: 46px;
    }

    .article-paragraph, .article2-box-text {
        font-size: 22px;
    }

    .article2-title-logo {
        font-size: 22px;
    }

    .article2-title-text {
        font-size: 22px;
    }

    .article2-box {
        max-width: none;
        padding: 20px;
    }

    .article2-box-text, .article2-box-text p {
        text-align: center;
    }

    .contact-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .contact-email {
        font-size: 16px;
    }

    .portfolio-grid {
        padding: 0 10px;
    }

    .portfolio-item {
        padding: 12px;
        gap: 12px;
    }

    .wave-container {
        height: 160px;
    }

    .wave-container svg {
        transform: scale(1.3);
        transform-origin: center top;
    }
}

/* Fade in animation for content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wave animation */
@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Article title hover effect */
.article-title:hover h1 {
    transform: translateX(10px);
}

/* Staggered animation for article paragraphs */
.article-paragraph p {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.article-paragraph p:nth-child(1) { animation-delay: 0.2s; }
.article-paragraph p:nth-child(2) { animation-delay: 0.4s; }
.article-paragraph p:nth-child(3) { animation-delay: 0.6s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Dark mode transition enhancement */
body.dark-mode .article2-box {
    box-shadow: 0 10px 20px rgba(144, 194, 231, 0.05);
}

body.dark-mode .article2-box:hover {
    box-shadow: 0 10px 20px rgba(144, 194, 231, 0.1);
}

/* Responsive animations */
@media screen and (max-width: 768px) {
    .article, .article2, .contact-section {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .article-paragraph p {
        animation: none;
        opacity: 1;
    }
}

/* Update cursor styles */
button {
    cursor: pointer;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: #6D6D6D;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-button:hover {
    transform: translateY(-2px);
}

.language-button i {
    transition: transform 0.3s ease;
}

.language-selector.active .language-button i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-selector.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 8px 16px;
    color: #6D6D6D;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: rgba(144, 194, 231, 0.1);
    color: #90C2E7;
}

body.dark-mode .language-button {
    border: none;
    color: #fff;
}

body.dark-mode .language-options {
    background: #1a1a1a;
    border: none;
}

body.dark-mode .language-option {
    color: #fff;
}

body.dark-mode .language-option:hover {
    background: rgba(144, 194, 231, 0.1);
}

@media screen and (max-width: 768px) {
    .language-button {
        padding: 6px 10px;
        font-size: 14px;
    }

    .language-options {
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .language-selector {
        margin-left: 10px;
    }

    .language-button {
        padding: 4px 8px;
        font-size: 12px;
    }

    .language-options {
        min-width: 90px;
    }
}

@media screen and (max-width: 360px) {
    .language-button {
        padding: 4px 6px;
        font-size: 12px;
    }

    .language-options {
        min-width: 80px;
    }
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .nav-controls {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-controls {
        gap: 1rem;
    }
}

@media screen and (max-width: 360px) {
    .nav-controls {
        gap: 0.8rem;
    }
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 50vh;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skills-list li {
    font-size: 24px;
    color: #666;
    padding: 10px 20px;
    background: rgba(144, 194, 231, 0.1);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-list li:hover {
    transform: translateX(10px);
    background: rgba(144, 194, 231, 0.2);
}

body.dark-mode .skills-list li {
    color: #cccccc;
    background: rgba(144, 194, 231, 0.05);
}

body.dark-mode .skills-list li:hover {
    background: rgba(144, 194, 231, 0.1);
}

@media screen and (max-width: 768px) {
    .skills-list li {
        font-size: 20px;
        padding: 8px 16px;
    }
}

@media screen and (max-width: 480px) {
    .skills-list li {
        font-size: 18px;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 360px) {
    .skills-list li {
        font-size: 16px;
        padding: 5px 10px;
    }
}

/* Portfolio Styles */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
    width: 100%;
}

.portfolio-item {
    display: flex;
    gap: 40px;
    background: rgba(144, 194, 231, 0.03);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(144, 194, 231, 0.1);
    align-items: center;
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(144, 194, 231, 0.2);
}

.portfolio-preview {
    flex: 0 0 350px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-preview:hover img {
    transform: scale(1.03);
}

.portfolio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    min-height: 400px;
}

.portfolio-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.portfolio-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
    flex: 1;
}

.portfolio-links {
    margin-top: auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.preview-btn, .github-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.preview-btn {
    background: #90C2E7;
    color: white;
    box-shadow: 0 4px 15px rgba(144, 194, 231, 0.3);
}

.preview-btn:hover {
    background: #7ab0d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 194, 231, 0.4);
}

.github-btn {
    background: transparent;
    color: #6D6D6D;
    border: 2px solid #90C2E7;
}

.github-btn:hover {
    background: rgba(144, 194, 231, 0.1);
    transform: translateY(-2px);
    border-color: #7ab0d8;
}

.github-btn i {
    font-size: 20px;
}

/* Dark mode styles for portfolio */
body.dark-mode .portfolio-item {
    background: rgba(144, 194, 231, 0.03);
    border-color: rgba(144, 194, 231, 0.1);
}

body.dark-mode .portfolio-item:hover {
    border-color: rgba(144, 194, 231, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .portfolio-content h2 {
    color: #ffffff;
}

body.dark-mode .portfolio-content p {
    color: #cccccc;
}

body.dark-mode .github-btn {
    color: #cccccc;
    border-color: rgba(144, 194, 231, 0.3);
}

body.dark-mode .github-btn:hover {
    background: rgba(144, 194, 231, 0.1);
    border-color: rgba(144, 194, 231, 0.4);
}

body.dark-mode .portfolio-preview {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for portfolio */
@media screen and (max-width: 1200px) {
    .portfolio-item {
        padding: 35px;
        gap: 40px;
    }

    .portfolio-preview {
        flex: 0 0 300px;
        height: 180px;
    }
}

@media screen and (max-width: 1024px) {
    .portfolio-item {
        padding: 30px;
        gap: 35px;
    }

    .portfolio-preview {
        flex: 0 0 280px;
        height: 170px;
    }
}

@media screen and (max-width: 768px) {
    .portfolio-grid {
        gap: 40px;
        margin: 30px 0;
        padding: 0 20px;
    }

    .portfolio-item {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }

    .portfolio-preview {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        height: 180px;
    }

    .portfolio-preview img {
        padding: 0;
    }

    .portfolio-content {
        width: 100%;
        min-height: auto;
        padding: 0;
    }

    .portfolio-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .portfolio-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .portfolio-links {
        margin-top: 15px;
        justify-content: flex-start;
        gap: 12px;
    }

    .preview-btn, .github-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .portfolio-grid {
        gap: 30px;
        padding: 0 15px;
    }

    .portfolio-item {
        padding: 20px;
        gap: 20px;
    }

    .portfolio-preview {
        max-width: 260px;
        height: 160px;
    }

    .portfolio-preview img {
        padding: 0;
    }

    .portfolio-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .portfolio-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .portfolio-links {
        margin-top: 12px;
        gap: 10px;
    }

    .preview-btn, .github-btn {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }
}

@media screen and (max-width: 360px) {
    .portfolio-grid {
        padding: 0 10px;
    }

    .portfolio-item {
        padding: 15px;
        gap: 15px;
    }

    .portfolio-preview {
        max-width: 220px;
        height: 140px;
    }

    .portfolio-preview img {
        padding: 0;
    }

    .portfolio-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .portfolio-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .portfolio-links {
        margin-top: 10px;
        gap: 8px;
    }

    .preview-btn, .github-btn {
        padding: 7px 12px;
        font-size: 12px;
        gap: 5px;
    }

    .github-btn i {
        font-size: 16px;
    }
}

.i-dont-know-what-to-put-here {
    justify-content: center;
}

/* Styles moved from index.html */
.top-navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 992px;
    padding: 15px 0;
    background: transparent;
    position: relative;
    z-index: 3;
    margin: 0 auto;
}

.top-navbar .navbar-left {
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.top-navbar .navbar-right {
    padding-right: 30px;
    display: flex;
    align-items: center;
}

.top-navbar .navbar-left a {
    justify-content: center;
    display: flex;
    align-items: center;
}

.top-navbar .navbar-right a {
    text-align: center;
    justify-content: center;
}

body.dark-mode .top-navbar {
    background: transparent;
}

@media screen and (max-width: 768px) {
    .top-navbar {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .top-navbar .navbar-left {
        padding-left: 0;
        justify-content: center;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .top-navbar .navbar-right {
        padding-right: 0;
        justify-content: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .top-navbar .navbar-left a {
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .top-navbar .navbar-right a {
        text-align: center;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .top-navbar {
        padding: 10px 0;
    }
    
    .top-navbar .navbar-left {
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .top-navbar .navbar-right {
        padding-right: 0;
        gap: 30px;
    }
}

@media screen and (max-width: 360px) {
    .top-navbar {
        padding: 8px 0;
    }
    
    .top-navbar .navbar-left {
        padding-left: 0;
        margin-bottom: 8px;
    }
    
    .top-navbar .navbar-right {
        padding-right: 0;
        gap: 20px;
    }
}
