.parts-section {
    height: 30vh;
    width: 100%;
    background-image: url(../images/plane-4301615_1920.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.parts-hero-section {
    width: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    text-align: center;
}

.parts-hero-section h1 {
    color: var(--primary-color);
    text-shadow: 0 0 10px white;
    font-size: 3.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-block: 30px;
}

.parts-hero-section h1::after {
    content: "";
    width: 50%;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
}

main {
    margin-top: 50px;
}

main p {
    width: 80%;
    margin-inline: auto;
}

.about-parts-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
    margin-inline: auto;
}


.about-parts-container p {
    width: 50%;
}

.about-parts-container img {
    width: 400px;
}

.what-we-offer {
    width: 80%;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 30px;
}

ul {
    width: 80%;
    margin-inline: auto;
    list-style: none;
}

ul li {
    position: relative;
    font-family: var(--paragraph-font);
    margin-top: 5px;
}

ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: absolute;
    left: -4%;
    top: 50%;
    transform: translatey(-50%);
}

li button {
    background-color: var(--primary-color);
    padding: 8px 14px;
    color: white;
    border: none;
    font-size: 1.02rem;
    letter-spacing: 1px;
    display: block;
    width: 200px;
    max-width: 50%;
}

main img {
    width: 200px;
}

.divider {
    display: none;
    width: 90%;
    margin-inline: auto;
    height: 3px;
    background-color: var(--primary-color);
}

@media screen and (min-width: 769px) and (max-width: 1200px) {

    .about-parts-container {
        width: 90%;
    }

    .about-parts-container img {
        width: 40%;
    }
}


/* === Small Screen Devices === */

@media screen and (max-width: 768px) {

    .parts-hero-section h1 {
        font-size: 2.6rem;
    }

    .about-parts-container img {
        width: 90%;
    }

    .about-parts-container {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .about-parts-container:last-of-type {
        background-color: var(--shadow-color);
    }

    ul li::before {
        left: -10%;
    }

    .divider {
        display: block;
    }
}