/* ABOUT - HERO */
.about-hero {
    width: 100%;
    height: 500px;
    position: relative;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-hero-overlay {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(38, 38, 38, 0.747);
    padding: 20px 0 20px 5vw;
    box-sizing: border-box;
}

.about-hero-overlay h1 {
    color: white;
    margin: 0 0 10px 0;
    width: 600px;
    max-width: 90vw;
    position: relative;
}

.about-hero-overlay h1::after {
    width: 50px;
    height: 4px;
    content: "";
    background-color: var(--main-color-light);
    display: block;
    position: absolute;
    bottom: -5px;
}

.about-hero-overlay p {
    color: white;
    margin: 0 0 30px 0;
    width: 600px;
    max-width: 90vw;
    font-size: 18px;
}

.about-hero-overlay .site-button {
    color: white;
    background-color: rgba(255, 255, 255, 0.207);
}

.about-hero-overlay .site-button:hover {
    background-color: var(--main-color);
}

/* ABOUT - BANNER */
.about-banner {
    padding: 50px 0;
    text-align: center;
    color: white;
    background-color: var(--main-color);
}

.about-banner h2 {
    margin: 0;
}

/* ABOUT - MAIN */
.about-main {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 60px 0;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    column-gap: 75px;
    row-gap: 50px;
    border-bottom: solid 8px var(--main-color);
}

.about-main img {
    border-radius: 50%;
    width: 250px;
    height: auto;
    max-width: 70vw;
}

.about-main-content {
    width: 800px;
    max-width: 90vw;
}

.about-main-content h2 {
    margin: 0 0 10px 0;
    font-size: 25px;
    color: var(--main-color);
}

.about-main-content h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: var(--main-color-light);
}

.about-main-content .underline {
    width: 75px;
    margin: 0 0 5px 0;
    height: 5px;
    border: none;
    background-color: var(--main-color);
}

.about-main-content p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.about-main-content p:last-of-type {
    margin: 0 0 30px 0;
}

/* ABOUT - ROW */
.about-more {
    padding: 30px 0;
    background: url(/imageserver/UserMedia/bestroofingandgutters/background-2.jpeg);
    background-size: cover;
}

.about-more h2 {
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--main-color);
}

.about-more-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: top;
    column-gap: 10px;
    row-gap: 20px;
}

.about-more-card {
    background-color: rgba(255, 255, 255, 0.592);
    width: 700px;
    max-width: 85vw;
    min-height: 200px;
    border-radius: 20px;
    border: solid 4px transparent;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    transition: border 0.2s linear;
    padding: 10px 0;
}

.about-more-card:hover {
    border: solid 4px var(--main-color);
}

.about-more-card h3 {
    font-size: 30px;
    position: relative;
    margin: 0 0 20px 0;
}

.about-more-card h3::after {
    width: 40%;
    left: 30%;
    height: 4px;
    background-color: var(--main-color);
    position: absolute;
    content: "";
    bottom: -10px;
}

.about-more-card img {
    width: 300px;
    max-width: 90%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.about-more-card p {
    max-width: 500px;
    font-size: 18px;
    margin: 10px 0;
}