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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #441b00 0%, #ff0000e0 100%);
    min-height: 100vh;
    color: #333;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

nav a:hover,
nav a:focus {
    color: hsl(0, 100%, 39%);
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-header {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 1s ease;
}

.profile-icon {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 3px solid black;
}

h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.content-section {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideUp 1s ease;
}

h2 {
    color: #000000;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #000000;
    padding-bottom: 0.5rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-badge {
    background: linear-gradient(135deg, #ce0000 0%, #720000 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.05);
}

.motivation-box {
    background: linear-gradient(135deg, #222222 0%, #505050 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.motivation-text{
    color: white;
}

.motivation-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #808080 0%, #2c2c2c 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.back-btn:hover,
.back-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .about-header,
    .content-section {
        padding: 2rem;
    }

    .profile-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    main {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-header,
    .content-section {
        padding: 1.5rem;
    }
}