/* Ebooks landing page */

  :root {
    --color-primary: #0C1E43;
    --color-secondary:#6961FF;
    --color-tertiary: #FFBE21;
    --color-tertiary-hover: #E5A919;
    --color-white: #FFFFFF;
    --color-grey: #6A7178;
    --background-color: var(--color-white);
    --font-family: "DMSans";
    --font-weight-regular: 400;
    --font-weight-medium: 500; 
    --font-weight-semibold: 600; 
    --font-weight-bold: 700;
    --font-size-l: 20px; 
    --font-size-m: 18px;
    --font-size-base: 16px;
    --font-size-small: 12px;
    --font-size-h1: 48px;
    --font-size-h2: 32px;
    --font-size-h4: 18px;
    --space-xs: 8px;
    --space-s: 14px;
    --space-base: 16px;
    --space-m: 24px;
    --space-l: 32px;
    --space-xl: 40px;
    --space-xxl: 150px;
    --space-footer-socials: 62px; 
  }

  /* Resets */

  *,
  *::before,
  *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }

  p {
    margin: 0;
  }

  body {
    background-color: var(--background-color);
    color: var(--color-grey);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    margin: 0;
    line-height: 32px;
    overflow-x: hidden;
  }

  ul li + li {
    margin-top: var(--space-m);
  }

  html {
    font-family: var(--font-family);
    scroll-behavior: smooth;
  }

  .image-fit {
    width: 100%;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
  }

  .wcag-hide-text {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px; 
  }

  /* Display */

  .flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .flex-direction-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .flex-direction-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .align-item-baseline {
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
  
  .justify-content-center {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
		justify-content: center;
  }

  /* Gap */

  .gap-xs {
    gap: var(--space-xs);
  }

  .gap-m {
    gap: var(--space-m);
  }

  /* Colors */
  /* Text-colors */

  .text-primary {
    color: var(--color-primary);
  }

  .text-secondary {
    color: var(--color-secondary);
  }

  .text-white {
    color: var(--color-white);
  }

  .text-grey {
    color: var(--color-grey);
  }

  /* Background-colors */

  .background-tertiary {
    background-color: var(--color-tertiary);
  }

  /* Font sizes */

  .text-small {
    font-size: var(--font-size-small);
    line-height: 20px;
  }

  /* Font Weight */

  .bold {
    font-weight: var(--font-weight-bold);
  }

  .semi-bold {
    font-weight: var(--font-weight-bold);
  }

  /* headings */
  h1,
  .h1 {
    color: var(--color-white);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-medium);
    line-height: 66px;
    margin: 0;
  }

  h2,
  h2 {
    color: var(--color-primary);
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    line-height: 44px;
    margin: 0;
  }

  h4,
  .h4 {
    color: var(--color-primary);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    margin-top: 0;
    margin-bottom: 6px; 
  }

  /* Spacing */

  /* Paddings */

  .padding-top-s {
    padding-top: var(--space-s);
  }

  .padding-top-l {
    padding-top: var(--space-l);
  }

  /* Margin */
  
  .margin-top-xs {
    margin-top: var(--space-xs);
  }

  .margin-top-s {
    margin-top: var(--space-s);
  }

  .margin-top-base {
    margin-top: var(--space-base);
  }

  .margin-top-m {
    margin-top: var(--space-m);
  }

  .margin-top-l {
    margin-top: var(--space-l);
  }

  .margin-top-xl {
    margin-top: var(--space-xl);
  }

  .margin-top-xxl {
    margin-top: var(--space-xxl);
  }
  
  .margin-y-xl {
	  margin: 75px 0;
  }

  .margin-top-socials {
    margin-top: var(--space-footer-socials);
  }

  /* Font Family */

  /* DMSans */
  @font-face {
    font-family:"DMSans";
    src: url('/fonts/DMSans/DMSans-Regular.woff2') format('woff2'),
        url('/fonts/DMSans/DMSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family:"DMSans";
    src: url('/fonts/DMSans/DMSans-Medium.woff2') format('woff2'),
        url('/fonts/DMSans/DMSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family:"DMSans";
    src: url('/fonts/DMSans/DMSans-Bold.woff2') format('woff2'),
        url('/fonts/DMSans/DMSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
  }

  @font-face {
    font-family:"DMSans";
    src: url('/fonts/DMSans/DMSans-SemiBold.woff2') format('woff2'),
        url('/fonts/DMSans/DMSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
  }

  /* Icon Font - DsIcon */

  @font-face {
    font-family: 'dsIcon';
    src:
      url('/fonts/dsIcons/dsIcon.ttf?l1f2qf') format('truetype'),
      url('/fonts/dsIcons/dsIcon.woff?l1f2qf') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

  [class^="dsIcon-"], [class*=" dsIcon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'dsIcon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .dsIcon-check:before {
    content: "\e900";
  }
  .dsIcon-youtube:before {
    content: "\e901";
  }
  .dsIcon-x:before {
    content: "\e902";
  }
  .dsIcon-linkedin-in:before {
    content: "\e903";
  }
  .dsIcon-thumbsUp:before {
    content: "\e904";
  }
  .dsIcon-instagram:before {
    content: "\e905";
  }
  .dsIcon-facebook:before {
    content: "\e906";
  }
  .dsIcon-arrow:before {
    content: "\e907";
  }

  /* Main */

  .content {
    padding: 98px 120px 30px 120px;
    max-width: 1440px;
    margin: auto;
  }
  
  /* Hero */

  .header,
  header {
    background: url(/images/BGHero.png) no-repeat;
    height: 820px;
    background-size: 100% 100%;
  }

  .header-content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .header-content-right {
    position: relative;
    height: 100%;
    width: 100%;
  }

  .header-content-right img {
    position: absolute;
    right: -354px;
    top: -150px;
    z-index: 0;
    width: 175%;
    height: auto;
  }

  .header-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-bottom: 120px;
  }

  .header-content {
    max-width: 1440px;
    margin: auto;
    padding: 80px 120px;
    height: 100%;
  }

  .header-content-left {
    color: var(--color-white);
    position: relative;
    z-index: 1;
    max-width: 50%;
  }
  
    .alert-message {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: var(--color-secondary);
    border-radius: 20px;
    padding: var(--space-xs) var(--space-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    border: 2px solid var(--color-grey);
    position: fixed;
    top: 80px;
    z-index: 10;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    word-wrap: break-word;
    white-space: initial;
    display: none;
  }

  /* Footer */

  footer{
    background: url(/images/BGFooter.png) no-repeat;
    height: 820px;
    background-size: 100% 100%;
  }

  .footer-content {
    padding: 210px 120px 120px;
    height: 100%;
    max-width: 1440px;
    margin: auto;
  }

  .footer-content .content-columns2 {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: (1fr)[2];
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
  }

  .footer-content .content-columns2 > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .footer-content .content-columns2 > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  .footer-content .content-columns2 > *:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .footer-content .content-columns2 > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }

  .footer-content .content-columns2 > :nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 1 / 1 / 2 / 2;
  }

  .footer-content .content-columns2 > :nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 2 / 1 / 3 / 2;
  }

  .footer-content .content-columns2 > :nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 1 / 2 / 3 / 3;
  }


  /* Socials */

  .socials {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 22px;
    z-index: 1;
    position: relative;
  }

  .socials a {
    color: var(--color-white);
  }

  .socials a:hover,
  .socials a:focus,
  .socials a:focus-visible {
    color: var(--color-tertiary);
    outline-offset: 4px;
  }


  /* Buttons */

  button {
    background-color: var(--color-tertiary);
    border-radius: 100px;
    border: none;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    padding: 22px 44px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-family: "DMSans";
	-webkit-tap-highlight-color: transparent; 
  }

  button:hover {
    background-color: var(--color-tertiary-hover);
  }

  button i {
    font-size: 20px;
    padding-left: 14px;
  }
  
  button.large {
	width: 240px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  /* Links */

  a {
    text-decoration: none;
  }

  /* Inputs */

  input {
    border: 2px solid var(--color-grey);
    border-radius: 100px;
    background-color: var(--color-primary);
    padding: 12px 22px;
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-l);
    width: 100%;
    outline: unset;
    font-family: "DMSans";
  }

  input:hover {
    cursor: pointer;
    border-color: var(--color-white);
  }

  input:focus,
  input:active,
  input:focus-visible {
    border-color: var(--color-tertiary);
  }

  
  ::-webkit-input-placeholder {
    color: #fff;
    font-family: "DMSans";
  }

  /* Content Columns */

  .content-columns2 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 118px 1fr;
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 118px;
  }

  .content-columns2 > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .content-columns2 > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  /* Custom list check */

  .list-check {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .list-check li {
    position: relative;
    padding-left: var(--space-xl);
  }
  
  .list-check li:before {
    content: "\e900";
    color: var(--color-secondary);
    position: absolute;
    font-family: 'dsIcon';
    font-size: 24px;
    left: 0;
  }

  /* Form */

  .contact-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--space-m);
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .contact-form .flex > div {
    width: 50%;
  }

  /* Media queries */

    @media screen and (max-width: 768px) {
    :root{
      --space-m: 16px;
      --space-l: 24px;
      --space-xl: 24px;
      --space-xxl: 80px;
      --font-size-h1: 32px;
      --font-size-h2: 24px;
    }

    h1{
      line-height: 40px;
    }

    .header, header{
      background: url(/images/BGHeaderResp.png) no-repeat;
      height: 862px;
      background-position: bottom;
      background-size: 100% 100%;
    }

    header .socials {
      display: none;
    }

    .header-content-wrapper {
      -webkit-box-orient: vertical;
      -webkit-box-direction: reverse;
          -ms-flex-direction: column-reverse;
              flex-direction: column-reverse;
    }

    .header-top {
      padding-bottom: 0;
    }

    .header, header {
     width: 100%;
    }

    .header-content {
      padding: 32px;
      max-width: unset;
    }

    .header-content-left {
      max-width: unset;
    }

    .header-content-right img {
      position: relative;
      right: unset;
      top: unset;
      width: 375px;
      height: 100%;
      left: 0;
    }

    .content {
      padding: 32px;
      margin-top: var(--space-xl);
      max-width: unset;
    }

    .content-columns2,
    .footer-content .content-columns2 {
      display: -ms-grid;
      display: grid;
      -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
      -ms-grid-rows: auto 30px 1fr;
      grid-template-rows: auto 1fr;
      gap: 30px;
    }

    .content-columns2 > *:nth-child(1), .footer-content .content-columns2 > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .content-columns2 > *:nth-child(2), .footer-content .content-columns2 > *:nth-child(2) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .footer-content .content-columns2 > :nth-child(1),
    .footer-content .content-columns2 > :nth-child(2),
    .footer-content .content-columns2 > :nth-child(3) {
      grid-area: unset;
    }

    .list-check li {
      padding-left: 36px;
    }

    footer {
      background: url(/images/BGFooter.png) no-repeat;
      background-position: left -26%;
      height: 100%;
      position: relative;
    }

    footer:before{
      content: '';
      background-color: var(--color-primary);
      position: absolute;
      height: 50%;
      width: 100%;
      bottom: 0;
      z-index: -1;
    }

    .footer-content {
      padding: 64px 32px 56px;
    }

    .footer-content .content-columns2 > *:nth-child(2) {
      -webkit-box-ordinal-group: 100;
          -ms-flex-order: 99;
              order: 99;
      justify-items: center;
    }

    .contact-form .flex.flex-direction-row {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
    }

    .margin-top-socials {
      margin-top: 0;
    }

    .contact-form .flex > div {
      width: 100%;
    }

  }
  
    @media (min-width: 768px) and (max-width: 1120px) {
    
    .header-content-wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
    }

    .header-content-left {
      max-width: unset;
    }

    .header-content-right img {
      position: absolute;
      right: -354px;
      top: -200px;
      z-index: 0;
      width: 100%;
      height: auto;
    }

    .footer-content {
      padding: 210px 40px 40px;
    }

    .content {
      padding: 98px 40px 30px 40px;
    }
  }