/*desktop code*/

.founded {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
.founded .main-container {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.founded .w-container::before,
.founded .w-container::after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}
.founded .headline-about-a-story {
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 120px;
  display: flex;
  position: relative;
}
.founded .hide {
  overflow: hidden;
}
.founded .text-h1 {
  font-family: var(--font--serif);
  letter-spacing: var(--letter-spacing--2);
  text-transform: uppercase;
  font-size: 128px;
  font-weight: 800;
  line-height: 93%;
}
.headline-about-blue .text-h1 {
  color: #001a97;
}
.founded .about-a-cup {
  width: 478px;
  position: absolute;
  top: 20%;
  bottom: auto;
  left: 1%;
  right: auto;
}
.founded .about-a-story-halves {
  grid-template-rows: auto;
}
.founded .w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.founded .w-container::after {
  clear: both;
}
.founded .story-left {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 533px;
  margin-top: 267px;
  display: flex;
}
.founded .story-left-image {
  object-fit: cover;
  border-top-left-radius: 200px;
  width: 100%;
  max-height: 525px;
  height: auto;
}
.founded .label {
  letter-spacing: var(--letter-spacing--0-7px);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}
.founded .story-right {
  grid-column-gap: 160px;
  grid-row-gap: 160px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 736px;
  display: flex;
}
.founded .text-h5 {
  font-size: var(--heading--h5);
  letter-spacing: var(--letter-spacing--2);
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: 400;
  line-height: 125%;
  display: flex;
}
.founded .text-h5 span {
  margin-top: 1rem;
}
.founded .block-relative {
  z-index: 1;
  position: relative;
}
.founded .story-right-image {
  object-fit: cover;
  border-bottom-right-radius: 200px;
  width: 100%;
  height: 842px;
  margin-top: 32px;
}
.founded .pencil-image {
  z-index: 1;
  width: 478px;
  position: absolute;
  top: auto;
  bottom: -10%;
  left: auto;
  right: 3%;
}
/*desktop code ends here*/

@media (min-width: 1200px) and (max-width: 1400px) {
  .founded .main-container {
    max-width: 1140px;
  }

  .founded .text-h1 {
    font-size: 110px;
  }

  .founded .about-a-cup {
    width: 420px;
    top: 35%;
  }

  .founded .story-left {
    max-width: 480px;
    margin-top: 220px;
  }

  .founded .story-right {
    max-width: 660px;
    grid-row-gap: 120px;
  }

  .founded .story-right-image {
    height: 760px;
  }

  .founded .pencil-image {
    width: 420px;
    bottom: -8%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .founded .main-container {
    max-width: 960px;
  }

  .founded .text-h1 {
    font-size: 64px;
  }
  .founded .text-h5 {
    font-size: var(--heading--h6);
    letter-spacing: var(--letter-spacing--2);
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 400;
    line-height: 125%;
    display: flex;
  }
  .founded .about-a-cup {
    width: 309px;
    top: -73%;
    position: absolute;
    left: 81%;
  }

  .founded .headline-about-a-story {
    margin-bottom: 100px;
  }

  .founded .story-left {
    max-width: 400px;
    grid-row-gap: 24px;
    align-items: self-start;
    justify-content: flex-start;
    margin-top: 0px;
    grid-column-gap: 52px;
  }
  .founded .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .founded .story-right {
    max-width: 600px;
    grid-row-gap: 100px;
  }

  .founded .story-right-image {
    height: 700px;
  }

  .founded .pencil-image {
    width: 380px;
    bottom: -6%;
    right: 2%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .founded .text-h1 {
    font-size: 64px;
  }
  .founded {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .founded .about-a-cup {
    width: 310px;
    position: absolute;
    object-fit: cover;
    height: 310px;
    top: -67%;
    left: 71%;
  }
  .founded .headline-about-a-story {
    margin-bottom: 91px;
    align-items: start;
  }
  .founded .story-left {
    max-width: 991px;
    margin-top: 0px;
    display: block;
  }
  .founded .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .founded .text-h5 {
    font-size: var(--heading--h6);
    display: flex;
    margin-top: 32px;
  }
  .founded .label {
    margin-top: 12px;
  }
  .founded .story-right {
    grid-row-gap: 32px;
    max-width: 991px;
  }
  .founded .pencil-image {
    z-index: 1;
    width: 297px;
    position: absolute;
    top: auto;
    bottom: -6%;
    left: auto;
    right: -12%;
  }
}

/*tablet code*/
@media only screen and (max-width: 767px) {
  .founded .text-h1 {
    font-size: 64px;
  }
  .founded {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .founded .about-a-cup {
    width: 376px;
    position: unset;
    object-fit: cover;
    height: 366px;
  }
  .founded .headline-about-a-story {
    margin-bottom: 0px;
    align-items: start;
  }
  .founded .story-left {
    max-width: 533px;
    margin-top: 0px;
    display: block;
  }
  .founded .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .founded .text-h5 {
    font-size: var(--heading--h6);
    display: flex;
    margin-top: 32px;
  }
  .founded .label {
    margin-top: 12px;
  }
  .founded .story-right {
    grid-row-gap: 32px;
  }
  .founded .pencil-image {
    z-index: 1;
    width: 297px;
    position: absolute;
    top: auto;
    bottom: -6%;
    left: auto;
    right: -12%;
  }
}
/*tablet code ends here*/

/*mobile code*/
@media only screen and (max-width: 540px) {
  .founded .text-h1 {
    font-size: 64px;
  }
  .founded {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .founded .about-a-cup {
    width: 376px;
    position: unset;
    object-fit: cover;
    height: 366px;
    display: none;
  }
  .founded .headline-about-a-story {
    margin-bottom: 32px;
    align-items: start;
  }
  .founded .story-left {
    max-width: 533px;
    margin-top: 0px;
    display: block;
  }
  .founded .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .founded .text-h5 {
    font-size: var(--heading--h6);
    display: flex;
    margin-top: 32px;
  }
  .founded .label {
    margin-top: 12px;
  }
  .founded .story-right {
    grid-row-gap: 32px;
  }
  .founded .pencil-image {
    z-index: 1;
    width: 297px;
    position: absolute;
    top: auto;
    bottom: -6%;
    left: auto;
    right: -12%;
  }
}
/*mobile code ends here*/
