.shadow {
    position: relative;
    max-width: 80vw;
    margin: 80px auto 115px auto;
}

.shadow h1 {
    font-size: 4rem;
    font-weight: bolder;
    text-align: center;
    color: rgb(22, 158, 113);
}

.target {
    display: flex;
    box-shadow: 0px 0px 15px rgb(22, 158, 113);
    border-radius: 15px;
    padding: 15px;
    box-sizing: border-box;
}

.target .details h3 {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(30, 67, 55);
}

.target .details p {
    margin-right: 15px;
    text-align: justify;
    font-size: 2rem;
}

.target .details button {
    display: block;
    margin: 20px auto;
    padding: 12px 22px;
    background: rgb(8, 233, 158);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 20px;
}

.shadow .details button a {
    text-decoration: none;
    color: #0a2906;
}

.shadow .details button:hover {
    background: #0cbe80;
}

.target .image {
    width: 120%;
    height: 50vh;
    overflow: hidden;
    border-radius: 15px;
    align-self: center;
}

.target .image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* Ensures the image covers the container */
    object-position: center;
}

@media (max-width: 1980px) {
    .target .image {
        height: 67vh;
    }
}

@media(max-width:1440px) {
    .shadow {
        margin: 60px auto 115px auto;
    }

    .target {
        margin: 15px;
    }

    .target .details h3 {
        font-size: 2.5rem;
    }

    .target .details p {
        font-size: 1.4rem;
    }

    .target .details button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .target .image {
        width: 100vw;
        height: 60vh;
    }
}

@media(max-width: 1024px) {
    .target {
        flex-direction: row;
        align-items: center;
    }

    .shadow .details h3 {
        font-size: 1.7rem;
    }

    .shadow .details p {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .target .details button {
        padding: 9px 16px;
        font-size: 14px;
    }

    .target .image {
        width: 100vw;
        height: 45vh;
    }
}

@media (max-width: 850px) {
    .shadow h1 {
        font-size: 3rem;
    }

    .target .image {
        width: 150vw;
        height: 45vh;
    }
}

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

    .shadow .details p {
        text-align: left;
    }

    .target .details button {
        padding: 8px 14px;
        font-size: 12px;
    }

    .target .image {
        width: 300%;
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .target {
        flex-direction: column;
    }

    .shadow h1 {
        font-size: 2.5rem;
        line-height: 1;
    }

    .shadow .target img {
        width: 100%;
    }

    .shadow {
        margin-top: 70px;
    }

    .shadow {
        margin-top: 15%;
    }

    .target .image {
        width: 65vw;
        height: 35vh;
    }
}