/*------------------------------------------------------------------------------
Colors
------------------------------------------------------------------------------*/

:root {
    --white: #ffffff;
    --gray: #F7F5F3;
    --darkgray: #282828;
    --black: #0d0d0d;
    --red: #A00000;
    --mid-red: #8C0000;
    --dark-red: #7e0000;
}


  
/*------------------------------------------------------------------------------
General
------------------------------------------------------------------------------*/

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}


@media (min-width: 380px) {
    html {
    scroll-padding-top: 85px;
    }
}

@media (min-width: 440px) {
    html {
        scroll-padding-top: 100px;
    }
}

html.no-smooth {
  scroll-behavior: auto !important;
}


body {
    margin: 0;
    font-family: "IBM Plex Serif", Times, serif;
    line-height: 1.6;
    font-size: 18px;
    color: var(--black);
}

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

h2 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 0.05em;
}

h3 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

h4 {
    margin-bottom: 0;
}

body:not(.home) h3 {
    color: var(--red);
    font-size: 24px;
    margin-bottom: 24px;
}

p {
    margin-top: 0;
}


ul {
    list-style: none;
    padding-left: 0;
}

.legal ul {
    list-style-type: disc;
    margin-left: 1em;
}

li {
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 12px;
}

ul.dashed {
  list-style-type: none;
  margin-left: 5px;
}

ul.dashed > li {
  text-indent: -5px;
  margin-bottom: 0;
}

ul.dashed > li:before {
  content: "— ";
  text-indent: -5px;
}


.logo {
    width: 260px;
}




@media (min-width: 768px) {
    .logo {
        width: 320px;
    }

}




  
/*------------------------------------------------------------------------------
Layout
------------------------------------------------------------------------------*/

main {
    margin-top: 80px;
}

@media (min-width: 380px) {
    main {
        margin-top: 85px;
    }
}

@media (min-width: 440px) {
    main {
        margin-top: 100px;
    }
}



section {
    width: 100%;
}

.inner-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 50px 12px 75px 12px;
}


@media (min-width: 768px) {
    .inner-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 991px) {
    .inner-wrapper {
        padding: 100px 20px 150px 20px;
    }
}


section:nth-child(even) {
    background-color: var(--gray);
}

section.intro .inner-wrapper {
    align-items: center;
}

.image-container {
    max-width: 410px;
    order: 1;
    margin-bottom: 30px;
}

section.intro .image-container {
    order: 2;
}


.profil .image-container {
    margin-top: 65px;
    display: none;
}



.text-container {
    max-width: 850px;
    order: 2;
}

.quote {
    padding: 0 30px 75px 30px;
    font-size: 32px;
    text-align: center;
    font-style: italic;
    flex: 1 1 100%;
    order: 1;
}


@media (min-width: 768px) {
    .image-container {
        order: 2;
        margin-bottom: 0;
    }


    .text-container {
        order: 1;
        padding-right: 30px;
    }

    .quote {
        order: 2;
        padding: 0 30px;

    }

}


@media (min-width: 991px) {
    .profil .image-container {
        display: block;
    }
}

  .responsive-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
  }
  .responsive-row {
    display: table-row;
  }
  .responsive-cell {
    display: table-cell;
    padding: 0 40px 20px 0;
    vertical-align: top;
  }
  .responsive-date {
    text-align: right;
    width: 30%;
    white-space: nowrap;
  }
  .responsive-text {
    text-align: left;
    width: 70%;
  }

  .publications .responsive-date {
    width: auto;
    text-align: left;

  }
  .publications .responsive-text {
    width: auto;
  }

  .publications .responsive-date {
    font-weight: 700;
  }

  .publications .responsive-cell strong {
    font-weight: 500;
  }



  /* Mobile: stack date above text */
  @media (max-width: 600px) {
    .responsive-table,
    .responsive-row,
    .responsive-cell {
      display: block;
      width: 100%;
      padding: 0;
    }
    .responsive-date {
      text-align: left;
      margin-top: 1em;
    }
    .responsive-text {
      margin-bottom: 1em;
    }
  }

  /* Bold the numbers */
  .num {
    font-weight: bold;
  }


  
/*------------------------------------------------------------------------------
Header
------------------------------------------------------------------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--red);
    background: linear-gradient(180deg, var(--red) 0%, var(--mid-red) 100%);
    color: var(--white);
    z-index: 1000;
    -webkit-box-shadow: 0px -4px 15px 6px rgba(0,0,0,0.44); 
            box-shadow: 0px -4px 15px 6px rgba(0,0,0,0.44);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 990px) {
    header .container {
        align-items: flex-end;
        padding: 10px 20px;


    }
}


header .logo {
    margin-right: 30px;
    margin-top: 6px;
}



header nav a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--white);
}

header nav a:last-child {
    margin-right: 0;
}


  
/*------------------------------------------------------------------------------
# Navigation
------------------------------------------------------------------------------*/

.site-navigation {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.05em;
}


.site-navigation.desktop {
    display: none;
    margin-bottom: 7px;
}

@media (min-width: 990px) {
    .site-navigation.mobile {
        display: none;
    }
    .site-navigation.desktop {
        display: block;
    }
}

.menu-button {
    width: 40px;
    height: 22px;
    position: relative;
    cursor: pointer;
}


@media (min-width: 990px) {
    .menu-button {
        display: none;
    }
}

.menu-button .menu-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: transform .3s ease, opacity .2s ease;
    transform-origin: center;
}

.menu-button .menu-bar-top {
    top: 0;
}

.menu-button .menu-bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.menu-button .menu-bar-bottom {
    bottom: 0;
}

.button-open .menu-bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.button-open .menu-bar-middle {
    opacity: 0;
}

.button-open .menu-bar-bottom {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.site-navigation.mobile .menu-container {
    max-height: 0;
    transition: all 0.15s ease-out;
    overflow: hidden;
    padding: 0 10px;
}

.site-navigation.mobile .menu-container.active {
    max-height: 500px;
    transition: all 0.25s ease-in;
    padding: 10px 10px;

}


.site-navigation.mobile .menu-container a {
    display: block;
    line-height: 34px;
}


  
/*------------------------------------------------------------------------------
Links
------------------------------------------------------------------------------*/

a {
    color: var(--red);
}

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

footer {
    background: var(--darkgray);
    padding: 20px 12px;
    color: var(--gray);
    text-align: center;
    font-weight: 400;
    font-size: 13px;
}

@media (min-width: 640px) {
    footer  {
        font-size: 20px;
    }
}

@media (min-width: 991px) {
    footer {
        padding: 20px 12px;
    }
}

footer .container {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto 30px;
}

@media (min-width: 991px) {
    footer .container {
        justify-content: flex-start;
    }
}
  

.footer-navigation a {
    color: var(--gray);
    margin: 0 10px;
    text-decoration: none;
}


