.coreitems {
    position: relative;
    width: 100%;
    max-width: 85vw;
    margin: 50px auto 100px auto;
}

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

.container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: center; /* Center items in the container */
}

.container .items {
    flex: 1 1 calc(33.333% - 30px); /* Responsive width: 3 items per row with spacing */
    border-radius: 15px;
    margin: 15px;
    padding: 15px;
    box-shadow: 0px 0px 15px rgb(22, 158, 113);
    box-sizing: border-box; /* Include padding in width/height */
}

.container .items h2 {
    font-size: 2.2rem;
    text-align: center;
    color: rgb(30, 67, 55);
    line-height: 1.2;
}

.container .items p {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 10px;
}

@media(max-width:1440px) {
    .coreitems {
        margin: auto auto 80px auto;
    }
    .container .items h2 {
        font-size: 1.9rem;
    }
    .container .items p {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .container .items h2 {
        font-size: 1.7rem;
    }
    .container .items p {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .coreitems h1 {
        font-size: 3.5rem;
    }
    .container .items {
        flex: 1 1 calc(100% - 30px);
    }
}

@media(max-width: 480px) {
    .coreitems {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .coreitems h1 {
        font-size: 3rem;
    }
}