body {
    background-color: #3f2e2e;
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

.container {
    top: 100px;
    padding: 20px;
    padding-top: 90px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 90%;
    max-width: 800px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-radius: 25px;
    margin: 40px auto;
    padding-bottom: 40px;
    position: relative;
}

.profile-img {
    margin-top: -80px;
    margin-bottom: 30px;
    text-align: center;

    z-index: 1;
}

.profile-img img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgb(255, 255, 255);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.profile-img img:hover {
    transform: scale(1.05);
}

.name {
    color: white;
    font-size: 34px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.my-skills {
    margin-top: 30px;
    width: 85%;
    min-height: 280px;
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.my-skills h2 {
    color: #000;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.line {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, red, transparent);
    margin-bottom: 25px;
    border-radius: 3px;
}

.card-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.skills {
    text-align: center;
    padding: 25px 15px;
    border-radius: 12px;
    background: linear-gradient(145deg, #555555, #333333);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #444;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.skills:hover {
    background: linear-gradient(145deg, #666666, #444444);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,0,0,0.3);
    border-color: red;
}

.About-me {
    margin-top: 30px;
    width: 85%;
    min-height: 280px;
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.About-me h2 {
    color: #000;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.About-me .line {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, red, transparent);
    margin-bottom: 25px;
    border-radius: 3px;
}

.About-me p {
    color: #333;
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
    padding: 10px;
    margin: 0;
}

@media (max-width: 768px) {
    .card-skills {
        grid-template-columns: 1fr;
    }

    .container {
        padding-top: 20px;
    }

    .card {
        margin: 20px auto;
        padding-bottom: 20px;
    }

    .profile-img {
        margin-top: -50px;
    }

    .profile-img img {
        width: 150px;
        height: 150px;
    }

    .name {
        font-size: 28px;
    }

    .my-skills h2, .About-me h2 {
        font-size: 24px;
    }

    .About-me p {
        font-size: 16px;
    }
}