/* -- Main -- */

.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}

.main-wrapper {
    align-items: center;
}
.main-image {
    max-width: 600px;
}



/* -- Gravel Driveways - Project -- */

.gd-project-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.gd-project-col {
    position: relative;
    width: 50%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gd-project-img {
    width: 100%;
    height: auto;
}
.gd-project-label {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: rgba(5, 5, 5, .65);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 15px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
}
.gd-project-zoom {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    padding: 12px;
    border-radius: 15px 15px 5px 15px;
    transition: background-color .2s;
}
.gd-project-zoom:hover {
    background-color: #111;
}
.gd-project-zoom-icon {
    display: block;
    width: 30px;
    height: auto;
    transition: background-color .2s;
}
.gd-project-zoom:hover .gd-project-zoom-icon {
    fill: #fff;
}

@media (max-width: 800px) {
    .gd-project-col {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .gd-project-label {
        top: 15px;
        left: 15px;
        font-size: 1rem;
    }
    .gd-project-zoom {
        bottom: 15px;
        right: 15px;
    }
}



/* -- Gravel Driveways - Benefits -- */

.gd-benefits-list {
    list-style: none;
    margin: 40px auto 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75%;
}
.gd-benefits-item {
    position: relative;
    width: 23.5%;
    padding: 0 30px 40px;
    margin: 15px auto;
    text-align: center;
    background-color: #fff;
    z-index: 0;
}
.gd-benefits-item::after {
    content: "";
    position: absolute;
    top: 45px;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid var(--red);
    z-index: -1;
    transition: border-color .2s;
}
.gd-benefits-item:hover::after {
    border-color: var(--accent-color);
}
.gd-benefits-icon {
    width: 95px;
    height: auto;
    padding: 12px 16px;
    background-color: #fff;
    fill: var(--red);
    transition: fill .2s, transform .2s;
}
.gd-benefits-item:hover .gd-benefits-icon {
    fill: var(--accent-color);
    transform: scale(1.2);
}
.gd-benefits-item h3 {
    margin: 10px auto 15px;
}
.gd-benefits-item p {
    font-size: .95rem;
    line-height: 1.5em;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1400px) {
    .gd-benefits-item {
        width: 48.5%;
    }
}

@media (max-width: 750px) {
    .gd-benefits-item {
        width: 100%;
    }
}