.about-cover {
    background-image: url("../images/table-with-bottles-of-oil-essence.jpg");
    height: 85vh; 
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: 47% 11%; */
    position: relative;
    display: grid;
    place-items: center;
}

.about-cover-title {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0px 60px;
    text-align: center;
    display: inline-block;
    border-radius: 50px;
}
    
.about-cover-title h1 {
    font-size:6em;
    color:#fff;
    text-align: center;
    text-shadow: 0 3px #000000; 
}
 
.about-textbox-section {
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
    position: relative;

    overflow: hidden;
}
  
.about-textbox-card {
    background-color: white;
    margin-top: 50px;
    /* position: relative; */
}

.about-text-bubble {
    position: relative;
    display: inline-block;
    padding: 30px;
    background-color: #EEE9E5;
    border-radius: 20px;
}

.about-textbox-text {
    padding: 1% 1%;
    width: 70%;
    position: relative;
    margin-left: 15%;
    border-radius: 10%;
}

.about-textbox-text p {
    font-size: 1.5em;
    text-align: justify;
    color: #859E7E;
    padding: 1%;
    text-align: center;
}

.about-textbox-image {
    overflow: hidden;
    height: 100%;
    width: 25%;
    transform: rotate(-16deg);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    margin-left: 82%;
}

.about-textbox-image img {
    max-width: 100%;
    max-height: 100%;
}

.about-content-first-section {
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
    position: relative;
}

.about-content-first-card {
    background-color: white;
    margin-top: 20px;
}

.about-content-first-image {
    overflow: hidden;
    height: auto;
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    margin-right: 0%;
}

.about-content-first-image img {
    max-width: 100%;
    max-height: 100%;
}

.about-us-vertical-line {
    border-left: 6px solid #859E7E;
    height: 500px;
    margin-left: -7%;
    margin-top: 60%;
    padding: 3%;
}

.about-content-first-title {
    background-color: none;
    padding: 3% 3%;
    width: 48%;
    position: relative;
    margin-left: 50%;
}

.about-content-first-title h2 {
    font-size: 4em;
    color: #859E7E;
    /* margin-left: 35%; */
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.about-content-second-section {
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
    position: relative;
}
  
.about-content-second-card {
    background-color: white;
    margin-top: 20px;
}

.about-content-second-text {
    padding: 2% 3%;
    width: 60%;
    position: relative;
    margin-left: 40%;
}

.about-content-second-text h3 {
    font-size: 3em;
    color: #859E7E;
    /* margin-left: 35%; */
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.about-content-second-text p {
    font-size: 1.5em;
    text-align: justify;
    color: #859E7E;
    padding: 1% 3% 3% 0;
}

.about-content-second-image {
    overflow: hidden;
    height: auto;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    margin-left: -9%;
}

.about-content-second-image img {
    max-width: 100%;
    max-height: 100%;
}

.about-horizontal-line {
    width: 20%;
    height: 5px;
    background-color: #859E7E;
    margin-top: -1%;
    position: absolute;
    left: 55%;
    }

.about-content-third-section {
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
    position: relative;
}

.about-content-third-card {
    background-color: white;
    margin-top: 20px;
}

.about-content-third-text {
    padding: 1% 7%;
    width: 50%;
    position: relative;
}

.about-content-third-text h3 {
    font-size: 3em;
    color: #859E7E;
    /* margin-left: 35%; */
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.about-content-third-text p {
    font-size: 1.5em;
    text-align: justify;
    color: #859E7E;
    padding: 1% 3% 3% 0;
}

.about-content-third-image {
    overflow: hidden;
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    margin-left: 50%;
}

.about-content-third-image img {
    max-width: 100%;
    height: auto;
}

.about-us-contact-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 2%;
    margin-bottom: 2%;
}

.about-contact {
    border: none;
    padding: 12px 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s ease;
    cursor: pointer;
    margin-top: 1%;
    margin-bottom: 1%;
    display: inline-block;
    border-radius: 20px;
}

.about-contact-redirect-button {
    background-color: #859E7E;; 
    color: rgb(255, 255, 255);
}

.about-contact-redirect-button a {
    font-size: 1.7em;
    font-weight: bold;
    text-decoration: none;
}

.about-contact-redirect-button:hover {
    background-color: rgba(133, 159, 124, 0.7);
    color: rgb(0, 0, 0);
}

@media only screen and (max-width: 1600px) {
    .about-textbox-image {
        opacity: 0.5;
    }
    .about-content-first-title h2 {
        font-size: 3em;
    }
    .about-us-vertical-line {
        height: 400px;
        margin-top: 60%;
    }
    .about-content-third-image {
        height: auto;
    }
}

@media only screen and (max-width: 1200px) {
    .about-content-first-title {
        padding: 1% 1%;
    }
    .about-us-vertical-line {
        margin-left: 0%;
        margin-top: 0%;
        margin-bottom: 45%;
    }
}
  
@media only screen and (max-width: 970px) {
    .about-cover {
        height: 100vh;
    }
    .space10 {
        margin-top: 1rem!important;
    }
    .about-cover-title h1 {
        font-size: 4em;
    }
    .about-textbox-text {
        padding: 1% 5%;
        width: 100%;
        margin-left: 0%;
    }
    .about-content-first-title {
        /* background-color: rgba(255,255,255, 0.5); */
        padding: 5% 3%;
        width: 100%;
        margin-left: 0%;
        text-align: center;
    }
    .about-us-vertical-line {
        border-left: 0px solid #859E7E;
        margin-left: 0%;
        margin-top: 0%;
        margin-bottom: 0%;
    }
    .about-content-first-text {
        background-color: rgba(255,255,255, 0.7);
    }
    .about-content-first-text p {
        padding: 3% 3% 3% 0%;
    }
    .about-content-first-image {
        width: 100%;
    }
    .about-content-second-text {
        background-color: rgba(255,255,255, 0.7);
        width: 100%;
        margin-left: 0%;
    }
    .about-content-second-text h3 {
        font-size: 2.5em;
    }
    .about-content-second-text p {
        padding: 3% 3% 3% 0%;
    }
    .about-content-second-image {
        width: 100%;
    }
    .about-horizontal-line {
        width: 40%;
        left: 30%;
    }
    .about-content-third-text {
        padding: 1% 3%;
        width: 100%;
        background-color: rgba(255,255,255, 0.7);
    }
    .about-content-third-text h3 {
        font-size: 2.5em;
    }
    .about-content-third-text p {
        padding: 3% 3% 3% 0%;
    }
    .about-content-third-image {
        margin-left: 0%;
        display: initial;
        height: 100%;
    }
}

@media screen and (max-width: 600px) {
    .about-cover {
        height: 75vh;
    }
    .about-textbox-text p {
        font-size: 1.3em;
    }
    .about-content-first-title h2 {
        font-size: 2.5em;
        font-weight: bold;
    }
    .about-content-first-text p {
        font-size: 1.3em;
        padding: 3% 3% 3% 0%;
        text-align: center;
    }
    .about-content-second-text h3 {
        font-size: 2em;
        font-weight: bold;
        text-align: center;
    }
    .about-content-second-text p {
        font-size: 1.3em;
        padding: 3% 3% 3% 0%;
        text-align: center;
    }
    .about-content-third-text h3 {
        font-size: 2em;
        font-weight: bold;
        text-align: center;
    }
    .about-content-third-text p {
        font-size: 1.3em;
        padding: 3% 3% 3% 0%;
        text-align: center;
    }
    .about-us-contact-section {
        margin-top: 10%;
        margin-bottom: 10%;
    }
}

@media screen and (max-width: 450px) {
    .about-cover-title h1 {
        font-size: 3em;
    }
    .about-content-first-title h2 {
        font-size: 2em;
    }
    .about-contact-redirect-button a {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 300px) {
    .about-content-first-title h2 {
        font-size: 1.7em;
    }
    .about-us-vertical-line {
        height: 330px;
    }
    .about-contact {
        padding: 10px 30px;
    }
    .about-contact-redirect-button a {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 275px) {
    .about-cover-title h1 {
        font-size: 2em;
    }
    .about-contact-redirect-button a {
        font-size: 1em;
    }
}
