body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(../images/layered-peaks-haikei.svg);
    background-size: cover;
    background-position: center;
    z-index: 5;
    background-attachment: fixed;
}

.about-section {
    padding: 100px;
    border-radius: 10px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.about-section img[alt="upec"] {
    width: 200px;
    height: auto;
    position: relative;
    left: 44%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about-section h2,
.about-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

.about-section ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 200px;
}

.about-section ul li {
    height: 150px;
    margin-bottom: 10px;
    margin-right: 20px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    width: 150px;
}


.about-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-section .skills {
    margin-bottom: 30px;
}

.about-section .interests {
    margin-bottom: 30px;
}

.about-section p {
    text-align: center;
    padding: 20px;
    border-radius: 30px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.about-section img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-section ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-section img:hover {
    transform: scale(1.1);
    z-index: 1;
}

.about-section ul li::after {
    content: '';
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section ul li:hover::after {
    opacity: 1;
}


@media only screen and (max-width: 768px) {
    .about-section {
        padding: 20px;
    }

    .about-section img[alt="upec"] {
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .about-section h2,
    .about-section h3 {
        font-size: 1.5em;
    }

    .about-section ul li {
        width: 80px;
        height: 80px;
        margin-right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .about-section ul {
        padding-inline: 0px;
    }

    .about-section p {
        width: 100%;
    }

    .about-section img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }
}