* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

*:focus {
  outline: none;
}

html {
  font-size: calc(16px + 0.5vmax);
  font-family: Manrope, sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-y;
  transition: transform 0.5s cubic-bezier(0.75, 0.02, 0.5, 1);
  transition-timing-function: cubic-bezier(0.75, 0.02, 0.5, 1);
  scroll-snap-type: y mandatory;
}

body {
  transition-timing-function: cubic-bezier(0.75, 0.02, 0.5, 1);
  overflow-x: hidden;
  width: 100%;
  touch-action: pan-y;
}

:root {
  --highlight-color: #33ff9d;
  --primary-color: #025c5c;
  --secondary-color: #b2b2b2;
  --background-color-page-2: #e8eae9;
  --background-color-page-3: #d3d3d3;
  --background-color-page-5: #444747;
  --manrope: "manrope";
  color-scheme: light only;
}

/* NAVIGATION BAR */
header {
  display: grid;
  grid-template-areas: "nav1 nav2";
  position: fixed;
  top: 0;
  padding: 16px;
  min-height: auto;
  width: 100%;
  z-index: 1000;
  justify-content: space-between;
  color: var(--primary-color);
}

header nav {
  display: flex;
  gap: 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  vertical-align: middle;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background-color: #fff;
}

header a {
  text-decoration-color: transparent;
  color: var(--primary-color);
  font-weight: 500;
  text-underline-offset: 3px;
  justify-content: center;
}

header a:hover,
header a:focus {
  text-decoration-color: var(--highlight-color);
}

header nav:first-of-type {
  grid-area: nav1;
  min-height: 40px;
  padding: 4px;
  border-radius: 12px;
  align-items: center;
  background-color: #ffffff;
  padding-left: 18px;
  padding-right: 20px;
}

header nav:last-of-type {
  grid-area: nav2;
  min-height: 40px;
  background-color: #33ff9d;
  justify-self: end;
  padding: 4px;
  cursor: pointer;
  align-items: center;
  border-radius: 12px;
  padding-left: 15px;
  padding-right: 15px;
}

.logo-container {
  width: 90px;
  height: auto;
  vertical-align: middle;
}

.vertical-grey-line {
  height: 100%;
  width: 2px;
  border-radius: 12px;
  background-color: #eff1f0;
}

.header-links {
  display: block;
}

.green-shadow,
.light-shadow {
  transition: box-shadow 0.3s ease;
  /* Smooth transition for the shadow effect */
}

.green-shadow:hover {
  background: linear-gradient(to top, #33ff9d, #99ffce);
  box-shadow: 0 0 6px #eff0ef;
}

.row {
  padding: 0 !important;
}

.delete-paddings {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* -------------------------------------------------------------- Shadow effects, animation and transition -------------------------------------------------------------------------------------------*/

@keyframes fadeOut {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-text {
  animation-name: fadeOut;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

.title-section {
  display: flex;
  text-align: left;
  flex-direction: column;
  color: var(--primary-color);
  font-size: 2.5vh;
  font-weight: 500;
  font-family: var(--manrope);
  margin-top: 9.3vh;
  margin-bottom: 9.3vh;
}

.horizontal-line {
  width: 3.5%;
  height: 5px;
  border-radius: 8px;
  background-color: var(--highlight-color);
}

/* --------------------------------------------------------- Section 1: with background image----------------------------------------------------------- */
.section_image_bg {
  height: 100vh;
  width: 100%;
  background-image: url("../assets/webp_assets/bg_founder_horizontal_photo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.news-claim-text {
  text-align: start;
  font-family: "Manrope";
  color: #ffffff;
  font-size: 6vh;
  font-weight: 400;
  padding-top: 64vh;
  width: 88%;
}

.general-text-container {
  margin-left: 8%;
  margin-right: 8%;
  text-align: start;
}

/* --------------------------------------------------------- Section with the colplete article----------------------------------------------------------- */
.section_article {
  width: 100%;
  padding-left: 8%;
  padding-right: 8%;
}

.press-article-container-desktop {
  display: flex;
  flex-direction: row;
  gap: 2%;
}

.press-article-container-mobile {
  display: none;
}

.half-column-container {
  width: 49%;
  text-align: start;
  display: flex;
  flex-direction: column;
}

.news-title {
  font-family: "Manrope";
  font-size: 3.5vh;
  font-weight: 500;
  line-height: 4.6vh;
  background: linear-gradient(to bottom, #025c5c, #002424);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.news-subtitle {
  font-family: "Manrope";
  font-size: 2.7vh;
  font-weight: 00;
  color: #5b5f5f;
  margin-top: 2vh;
}

.news-corpus {
  font-family: "Manrope";
  font-size: 1.8vh;
  font-weight: 400;
  margin-top: 4vh;
}

.image-news-article {
  width: 90%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2vh;
}

.green-paragraph {
  background: linear-gradient(to bottom, #025c5c, #002424);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.grey-paragraph {
  color: #747877;
}

/* ----------------------------------------------------------------------- Awards table  -----------------------------------------------------------------------------------*/
.background-awards-tab {
  background: linear-gradient(to bottom, #ffffff, #bcffdf);
  height: auto;
  width: 100%;
  margin-top: 9.3vh;
}

.award-container-phone {
  display: none;
}

.awards-table {
  border-collapse: collapse;
  width: calc(100% - 32px);
  font-family: "Manrope";
  font-weight: 600;
  padding: 4vh;
  font-size: 14px;
  margin-left: 16px;
  margin-right: 34px;
}

.awards-table th,
.awards-table td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  border: none;
}

.awards-table th {
  color: #33ff9d;
}

.awards-table td {
  background: linear-gradient(to bottom, #025c5c, #002424);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awards-table th:nth-child(1),
.awards-table td:nth-child(1) {
  width: 17%;
  /* Width for the 'Year' column */
}

.awards-table th:nth-child(2),
.awards-table td:nth-child(2) {
  width: 30%;
  /* Width for the 'Who' column */
}

.awards-table tr {
  border-bottom: 1px solid #025c5c;
}

.awards-table th:nth-child(3),
.awards-table td:nth-child(3) {
  width: 25%;
}

.awards-table th:nth-child(4),
.awards-table td:nth-child(4) {
  width: 25%;
}

/* --------------------------------------------------------- Footer ----------------------------------------------------------- */

footer {
  font-family: var(--manrope);
  padding-top: 6vh;
  padding-left: 16px;
  padding-right: 16px;
  height: auto;
  width: 100%;
  background-color: #bcffdf;
}

footer img {
  width: 100%;
  vertical-align: bottom;
  z-index: 1002;
}

.displaid-footer-ref {
  margin-bottom: 50px;
}

.splitter-final-footer {
  margin-top: 3vh;
  margin-bottom: 5vh;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  font-size: 1.2vh;
  font-family: var(--manrope);
  font-weight: 300;
  padding-top: 10px;
  border-top: 1px solid #025c5c;
  /* Keep only the bottom border */
  color: #025c5c;
}

.linkedin-footer {
  height: 2.5vh;
  width: 2.5vh;
  cursor: pointer;
  border-radius: 4px;
}

.nl-subscription {
  background: linear-gradient(to bottom, #025c5c, #002424);
  color: #ffffff;
  height: 2.5vh;
  padding: 6px;
  font-size: 1.8vh;
  cursor: pointer;
  font-weight: 500;
  border-radius: 3px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.language-ref {
  position: fixed;
  display: flex;
  flex-direction: column;
  bottom: 60px;
  border-radius: 4px;
  right: 16px;
  border-width: medium;
  justify-content: center;
  align-items: center;
  border: 1px #a9acab solid;
  background-color: #ffffff;
  z-index: 780;
  height: 34px;
  width: 34px;
}

.flag-img {
  width: 22px;
}

/* -------------------------------------------------------------- Iubenda fixes -------------------------------------------------------------------------------------------*/
.iub__us-widget {
  z-index: 10000;
  position: fixed;
  font-size: 8px;
}

.iubenda-tp-btn {
  z-index: 3200;
  border: 1px solid #c8c8c8;
}

/* --------------------------------------------------------- Pop up ----------------------------------------------------------- */

.contact-string {
  font-family: "Manrope";
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 1vh;
  background: linear-gradient(to bottom, #025c5c, #002424);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-top: 0.5vh;
  margin-bottom: 0.5vh;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 10px;
  font-family: "IBM Plex Mono", monospace;
  resize: none;
}

.modal-content label {
  font-size: 12px;
  color: #696d6d;
  background-color: #b2b2b2;
  border-radius: 5px;
  padding: 4px;
  margin-bottom: 0.5vh;
  border: 1px solid #696d6d;
  margin-top: 0.5vh;
  cursor: pointer;
}

.modal-content button {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 16px;
  padding-left: 16px;
  border: none;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
}

.submit-btn {
  background-color: var(--highlight-color) !important;
  color: var(--primary-color);
}

.close-btn {
  background-color: linear-gradient(to bottom, #ffffff, #c1c2c2) !important;
  color: var(--primary-color);
  margin-left: 10px;
}

/* Styles for overlay of the back when the popus is opened */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 800;
}

.custom-textarea {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ced4da;
  font-size: 1rem;
  resize: none;
  transition: all 0.3s ease-in-out;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-textarea:focus {
  border-color: #198754;
  box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
}

/* -------------------------------------------------------------- MOBILE -------------------------------------------------------------------------------------------*/

@media screen and (max-width: 600px) and (min-height: 350px) {
  .section1,
  .section2,
  .section3,
  .section4,
  .section5,
  .section6,
  .section7,
  .section8,
  .section9 {
    position: relative;
    height: auto;
  }

  header {
    display: grid;
    grid-template-areas: "nav1 nav2";
    position: fixed;
    align-content: center;
    top: 0;
    padding: 8px;
    width: 100%;
    height: 6vh;
    z-index: 1000;
    color: var(--primary-color);
    background-color: #ffffff;
  }

  header a {
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
    font-size: 1.3vh;
    font-weight: 500;
  }

  header nav:first-of-type {
    grid-area: nav1;
    padding: 0px;
    background-color: #ffffff;
  }

  header nav {
    display: flex;
    gap: 1rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;

    box-shadow: none;
  }

  header nav:last-of-type {
    grid-area: nav2;
    background-color: #33ff9d;
    justify-self: end;
    cursor: pointer;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-container {
    width: 80px;
    height: auto;
    vertical-align: middle;
    justify-content: center;
  }

  /* --------------------------------------------------------- Section 1----------------------------------------------------------- */

  .title-section {
    display: flex;
    width: 50%;
    flex-direction: column;
    margin-top: 8vh;
    margin-bottom: 0vh;
    color: var(--primary-color);
    font-size: 2vh;
    font-weight: 500;
  }

  .horizontal-line {
    width: 20%;
    height: 3px;
    border-radius: 8px;
    background-color: var(--highlight-color);
  }

  .press-article-container-desktop {
    display: none;
  }

  .press-article-container-mobile {
    display: flex;
    flex-direction: column;
  }

  .image-news-article {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 3vh;
    margin-top: 3vh;
  }

  .article-image-container-mobile {
    display: block;
  }

  .article-image-container-tablet {
    display: none;
  }

  .section_image_bg {
    height: 100vh;
    width: 100%;
    background-image: url("../assets/webp_assets/displaid_founder_photo_vertical.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .news-claim-text {
    text-align: start;
    font-family: "Manrope";
    color: #ffffff;
    font-size: 3.2vh;
    font-weight: 400;
    padding-top: 66vh;
    width: 94%;
  }

  .general-text-container {
    margin-left: 8%;
    margin-right: 8%;
    text-align: start;
  }

  /* --------------------------------------------------------- Section with the colplete article----------------------------------------------------------- */
  .section_article {
    width: 100%;
    padding-left: 8%;
    padding-right: 8%;
  }

  .news-title {
    font-family: "Manrope";
    font-size: 3vh;
    font-weight: 500;
    line-height: 4.6vh;
    margin-top: 2vh;
    background: linear-gradient(to bottom, #025c5c, #002424);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }

  .news-subtitle {
    font-family: "Manrope";
    font-size: 2.2vh;
    font-weight: 00;
    color: #5b5f5f;
    margin-top: 2vh;
  }

  .news-corpus {
    font-family: "Manrope";
    font-size: 1.6vh;
    font-weight: 400;
    margin-top: 0;
  }

  /* --------------------------------------------------------- Cards----------------------------------------------------------- */

  .featureCardsText {
    font-family: "IBM Plex Mono";
    color: #025c5c;
    font-size: 1.3vh;
    text-transform: uppercase;
    font-weight: 400;
  }

  .cards {
    margin-top: 5vh;
    padding-top: 10vh;
    padding-bottom: 8vh;
  }

  .cardsMargin {
    margin-top: 4vh !important;
    margin-bottom: 4vh !important;
  }

  .featureCards {
    min-height: auto !important;
    padding: 20px;
  }

  /* --------------------------------------------------------- Section 2----------------------------------------------------------- */

  .section2H {
    background: linear-gradient(to bottom, #025c5c, #002424);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--manrope);
    font-weight: 400;
    font-size: 3.5vh;
    margin-top: 5vh;
    width: 100%;
  }

  .section4p {
    font-family: var(--manrope);
    font-weight: 400;
    font-size: 2vh;
    color: #2d3131;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    margin-top: 4vh;
  }

  .award-img {
    max-width: 100%;
  }

  .award-container-phone {
    display: block;
    margin-top: 8vh;
    background: linear-gradient(to bottom, #ffffff, #bcffdf);
    height: auto;
    width: 100%;
  }

  .single-award-phone {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    width: 80%;
    margin-left: 10%;
    gap: 1vh;
  }

  .first-row-award {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
  }

  .award-title-phone {
    font-family: "Manrope";
    font-weight: 500;
    font-size: 16px;
  }

  .award-line {
    margin-top: 2vh;
    margin-bottom: 2vh;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
  }

  .award-who {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
  }

  .background-awards-tab {
    display: none;
  }

  .awards-table {
    display: none;
  }

  /* --------------------------------------------------------- Section 5----------------------------------------------------------- */

  .cardTitle {
    font-size: 3vh;
    font-family: var(--manrope);
    font-weight: 400;
    color: #025c5c;
    text-align: center;
  }

  .cardText {
    font-family: var(--manrope);
    font-weight: 400;
    font-size: 1.2vh;
    color: #025c5c;
    text-align: center;
    padding-right: 0;
    margin-top: 3vh;
  }

  /* --------------------------------------------------------- Footer----------------------------------------------------------- */
  .footerMargin {
    margin-top: 0;
  }

  .splitter-final-footer {
    font-size: 1.1vh;
  }

  .header-links {
    display: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 1200px) and (min-height: 451px) {
  .section1,
  .section2,
  .section3,
  .section4,
  .section5,
  .section6,
  .section7,
  .section8,
  .section9 {
    position: relative;
    height: auto;
  }

  header {
    display: grid;
    grid-template-areas: "nav1 nav2";
    position: fixed;
    align-content: center;
    top: 0;
    padding: 8px;
    width: 100%;
    height: 6vh;
    z-index: 1000;
    color: var(--primary-color);
    background-color: #ffffff;
  }

  header a {
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
    font-size: 1.3vh;
    font-weight: 500;
  }

  header nav:first-of-type {
    grid-area: nav1;
    padding: 0px;
    border-radius: 12px;
    background-color: #ffffff;
  }

  header nav {
    display: flex;
    gap: 1rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 400;
    vertical-align: middle;
    box-shadow: none;
  }

  header nav:last-of-type {
    grid-area: nav2;
    background-color: #33ff9d;
    justify-self: end;
    cursor: pointer;
    border-radius: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-container {
    width: 120px;
    height: auto;
    margin-left: 1vh;
    vertical-align: middle;
    justify-content: center;
  }

  .horizontal-line {
    width: 14%;
    height: 3px;
    border-radius: 8px;
    background-color: var(--highlight-color);
  }

  /* --------------------------------------------------------- Section 1----------------------------------------------------------- */
  .section1 .row {
    margin-left: 10%;
    margin-right: 10%;
  }

  .title-section {
    display: flex;
    width: 50%;
    flex-direction: column;
    margin-top: 8vh;
    margin-bottom: 0vh;
    color: var(--primary-color);
    font-size: 1.8vh;
    font-weight: 500;
  }

  .press-article-container-desktop {
    display: none;
  }

  .press-article-container-mobile {
    display: flex;
    flex-direction: column;
  }

  .article-image-container-tablet {
    display: block;
  }

  .article-image-container-mobile {
    display: none;
  }

  .section_image_bg {
    height: 100vh;
    width: 100%;
    background-image: url("../assets/webp_assets/displaid_founder_photo_vertical.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .image-news-article {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 3.2vh;
    margin-top: 3.2vh;
  }

  .news-title {
    font-family: "Manrope";
    font-size: 3.4vh;
    font-weight: 500;
    line-height: 4.6vh;
    margin-top: 3.2vh;
    background: linear-gradient(to bottom, #025c5c, #002424);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }

  .news-subtitle {
    font-family: "Manrope";
    font-size: 2.2vh;
    font-weight: 400;
    color: #5b5f5f;
    margin-top: 3.2vh;
  }

  .news-corpus {
    font-family: "Manrope";
    font-size: 1.6vh;
    font-weight: 400;
    margin-top: 0;
  }

  .news-claim-text {
    text-align: start;
    font-family: "Manrope";
    color: #ffffff;
    font-size: 3.8vh;
    font-weight: 400;
    padding-top: 74vh;
    width: 90%;
  }

  .award-container-phone {
    display: block;
    margin-top: 16vh;
    background: linear-gradient(to bottom, #ffffff, #bcffdf);
    height: auto;
    width: 100%;
  }

  .single-award-phone {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    width: 80%;
    margin-left: 10%;
    gap: 1vh;
  }

  .first-row-award {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
  }

  .award-title-phone {
    font-family: "Manrope";
    font-weight: 500;
    font-size: 16px;
  }

  .award-line {
    margin-top: 2vh;
    margin-bottom: 2vh;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
  }

  .award-who {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
  }

  .background-awards-tab {
    display: none;
  }

  .awards-table {
    display: none;
  }


  .cardText {
    font-family: var(--manrope);
    font-weight: 400;
    font-size: 2vh;
    color: #025c5c;
    text-align: center;
    padding-right: 0;
    margin-top: 3vh;
    padding: 5vh;
  }

  /* --------------------------------------------------------- Section 8----------------------------------------------------------- */

  .footerMargin {
    margin-top: 0;
  }
}
