.banner {
    background-image: url('/img/banner.webp');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lead {
    font-size: 20px;
}

.content {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.content img {
    transform: scale(0.4);
    margin-bottom: -130px;
}

.content .box-select01 {
    height: 200px;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: static;
    cursor: default;
    flex-direction: column;
    transition: transform 1s cubic-bezier(0.075, 0.820, 0.165, 1.000), background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 100px;
}

.content .box-select01 img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.content .box-select01 img:hover {
    transform: scale(0.45);
}

.content2 .box-container {
    display: flex;
    align-items: center;
    margin: auto;
    justify-content: flex-start;
    background-color: #f9f9f92a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
    padding: 15px;
    gap: 15px;
    max-width: 750px;
}

.content2 .icon-container {
    display: block;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
}

.content2 .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.content2 .icon-container img:hover {
    transform: scale(1.05);
}

.content2 .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.content2 .small-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.content2 .info-text {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

.about-me {
    font-size: 24px;
    text-align: justify;
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .banner {
        height: 300px;
        background-size: cover;
        background-position: center;
    }

    .content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 15px 20px;
        justify-content: center;
        align-items: center;
    }

    .content img {
        transform: scale(1.2);
    }

    .content .box-select01 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        max-width: 180px;
        width: auto;
        justify-self: center;
        padding: 10px;
    }

    .content .box-select01 img {
        width: clamp(90px, 20vw, 140px);
        height: auto;
        margin-bottom: 3px;
        transition: transform 0.3s ease;
    }

    .content .box-select01 img:hover {
        transform: scale(1.1);
    }

    .content .box-select01 span,
    .content .box-select01 p {
        font-size: 15px;
        line-height: 1.2;
        text-align: center;
    }

    .content2 .box-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 10px;
    }

    .content2 .icon-container {
        width: 150px;
        height: 150px;
    }

    .content2 .text-container {
        gap: 8px;
    }

    .content2 .small-title {
        font-size: 20px;
    }

    .content2 .info-text {
        font-size: 16px;
    }

}

@media (max-width: 420px) {
    .banner {
        padding: 1.2rem;
    }
}