.sustainability-cover {
    background-image: url("../images/two-hands-holding-soil.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;
}

.sustainability-cover-title {
    position: absolute;
    /* padding-top: 15%;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: center; */
    /* margin-left: 65px; */
}
    
.sustainability-cover-title h1 {
    font-size:6em;
    color:#fff;
    text-align: center;
    text-shadow: 0 3px #000000;
}
 
.sustainability-textbox-section {
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
    justify-content: center;
    position: relative;
}
  
.sustainability-textbox-card {
    background-color: white;
    margin-top: 50px;
    position: relative;
}

.sustainability-text-bubble {
  position: relative;
  display: inline-block;
  padding: 30px;
  background-color: #EEE9E5;
  width: 100%;
}

.sustainability-textbox-text {
  width: 100%;
  position: relative;
}

.sustainability-textbox-text h3 {
  font-size: 4em;
  font-family: 'Monotype Corsiva';
  text-align: justify;
  color: #859E7E;
  padding: 1%;
  text-align: center;
}

.sustainability-textbox-image {
    overflow: hidden;
    height: auto;
    justify-content: flex-end;
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 1;
    width:17%;
    margin-left: 83%;
    margin-top: -1%;
}

.sustainability-textbox-image img {
    max-width: 100%;
    max-height: 100%;
}

.sustainability-content-section {
    margin-top: 2%;
    margin-bottom: 1%;
    justify-content: center;
    position: relative;
}
  
.sustainability-content-card {
    background-color: white;
    margin-top: 20px;
}

.sustainability-content-text {
    padding: 2% 3%;
    width: 55%;
    position: relative;
    margin-left: 40%;
}

.sustainability-content-text h3 {
    font-size: 3em;
    color: #859E7E;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.sustainability-content-text p {
    font-size: 1.5em;
    text-align: justify;
    color: #859E7E;
    padding: 1% 3% 3% 0;
}

.sustainability-image-frame {
    border: solid #859E7E;
    border-width: 0 5px 5px 0;
    display: inline-block;
    width: 20%;
    height: 30%;
    position: absolute;
    bottom: 10%;
    left: 20%;
}

.sustainability-content-image {
    overflow: hidden;
    height: auto;
    width: 32%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    margin-left: 5%;
}

.sustainability-content-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 45% 45% 0 0;

}

.sustainability-corner-box {
    --b: 5px;   /* thickness of the border */
    --c: #859E7E;   /* color of the border */
    --w: 35%;  /* width of border */
    
    border: var(--b) solid #0000; /* space for the border */
    --_g: #0000 90deg,var(--c) 0;
    --_p: var(--w) var(--w) border-box no-repeat;
    background:
      /* conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--_g)) 0    0    / var(--_p), */
      /* conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g)) 100% 0    / var(--_p), */
      /* conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--_g)) 0    100% / var(--_p), */
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p);
    
    padding: 10%; 
  }

.sustainability-horizontal-line {
    width: 20%;
    height: 5px;
    background-color: #859E7E;
    margin-top: -1%;
    position: absolute;
    left: 55%;
}

.sustainability-contact-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 1%;
  margin-bottom: 2%;
}

.sustainability-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;
}

.sustainability-contact-redirect-button {
  background-color: #859E7E;; 
  color: rgb(255, 255, 255);
}

.sustainability-contact-redirect-button a {
  font-size: 1.7em;
  font-weight: bold;
  text-decoration: none;
}

.sustainability-contact-redirect-button:hover {
  background-color: rgba(133, 159, 124, 0.7);
  color: rgb(0, 0, 0);
}

@media only screen and (max-width: 1200px) {
    .sustainability-textbox-image img {
        opacity: 0.5;
    }
}

@media only screen and (max-width: 970px) {

    .sustainability-cover {
        height: 100vh;
    }
    .sustainability-cover-title h1 {
        font-size: 4em;
    }
    .sustainability-textbox-text h3 {
        font-size: 3em;
    }
    .sustainability-content-image {
        width: 70%;
        margin-left: 15%;
    }
    .sustainability-corner-box {
        --b: 0px;
}
    .sustainability-content-text {
        width: 90%;
        margin-left: 5%;
        background-color: rgba(255, 255, 255, 0.7);
    }
    .sustainability-horizontal-line {
        left: 40%;
    }
}

@media only screen and (max-width: 600px) {
    .sustainability-cover {
        height: 75vh;
    }
    .sustainability-content-text h3 {
        text-align: center;
    }
    .sustainability-content-text p {
        text-align: center;
    }
    .sustainability-contact-section {
        margin-bottom: 5%;
    }
}

@media only screen and (max-width: 450px) {
    .sustainability-cover-title h1 {
        font-size: 3em;
    }
    .sustainability-textbox-text h3 {
        font-size: 2em;
    }
    .sustainability-content-text h3 {
        font-size: 2em;
    }
    .sustainability-content-text p {
        font-size: 1.3em;
    }
    .sustainability-contact {
        padding: 10px 30px;
    }
    .sustainability-contact-redirect-button a {
        font-size: 1.3em;
    }
}
