﻿body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #fff;
    background: #141414;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(to bottom, #00008b, #000033);
    text-align: center;
    padding: 50px 20px;
    color: #fff;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

header p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

header .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #000;
    background: #1e90ff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

header .btn:hover {
    background: #4682b4;
    transform: scale(1.08);
}

#about {
    text-align: center;
    background: #1a1a1a;
    padding: 50px 20px;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2rem;
    color: #ccc;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    margin: 20px;
    width: 300px;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.project h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #d1d6dd;
}

.project p {
    font-size: 1.1rem;
    margin: 10px 0 15px;
    color: #ccc;
    flex-grow: 1;
}

.project .buttons {
    margin-top: auto;
}

#projects h2 {
    font-size: 2.5rem;
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: 0;
    top: 20px;
}

.stats-box {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    color: #fff;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.stats-box h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e90ff;
}

.stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
    margin: 10px 0;
    color: #ccc;
}

.stats p {
    margin: 0;
    font-size: 1rem;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.buttons a {
    padding: 10px 20px;
    background: #1e90ff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.buttons a:hover {
    background: #4682b4;
    transform: scale(1.05);
}

#links {
    text-align: center;
    background: #1a1a1a;
    padding: 40px 10px;
}

#links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#links li {
    font-size: 1.2rem;
}

#links a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#links a:hover {
    color: #4682b4;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.link-button {
    padding: 10px 20px;
    background: #eeeeee;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(30, 144, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.link-button:hover {
    background: #4682b4;
    transform: scale(1.05);
}

#contact {
    text-align: center;
    background: #1a1a1a;
    padding: 50px 20px;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #d1d6dd;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ccc;
}

#contact .btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #000;
    background: #1e90ff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

#contact .btn:hover {
    background: #4682b4;
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .project {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .buttons {
        justify-content: center;
    }
}