:root {
  --header-height: 95px;
  --xs-margin-x : 2em;
  --md-margin-x : 70px;
  --lg-margin-x : 200px;
  --nav-height : 64px;
  --color-primary : #778DA9;
  --color-gray : #EEE1DD;
  --color-dark : #415A77;
  --color-darker : #1B263B;
  --color-darkest : #0D1B2A;
}

.page div:not(:has(p)) {
    user-select: none;
}

b{
  font-weight: bold;
}

.bg-purple-800,.bg-purple-700,.bg-purple-600{
  background-color: var(--color-primary);
}


a.bg-purple-700:hover,a.bg-purple-600:hover, button.bg-purple-600:hover{
  background-color: var(--color-dark)!important;
  text-decoration: none;
}

*:has(a.anchor){
  position: relative;
}

a.anchor {
  display: block;
  position: absolute;
  top: calc( -1 * var(--header-height) - 40px);
  visibility: hidden;
}




:target::before {
  content: '';
  display: block;
  height: 90px;
  margin-top: -180px;
  visibility: hidden;
}

h2{
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-bottom: 1rem;
}

h3{
  font-size: 1.3rem;
  line-height: 2rem;
  margin-bottom: 1rem; 
  font-weight: 100;
}

ul.sectris-ul {
  list-style-type: disc;
  padding-left : 1em;
}

a{
  width: fit-content;
  align-self: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-align: center;
  user-select: none;
  cursor: pointer;
}

a, a:hover, a:visited, a:active {
  color: inherit!important;
  text-decoration: none;
}
a.bg-purple-800,a.bg-purple-700,a.bg-purple-600{
  color : rgb(255 255 255 / var(--tw-text-opacity))!important
}

a:hover, a:visited, a:active {
  text-decoration: underline;
}

a.logo:hover, a.logo:visited, a.logo:active{
  text-decoration: none;
}

.text-center{
  text-align: center!important;
}

.button{
  cursor: pointer;
}

.underline{
  text-decoration: underline;
}

header {
  z-index: 39;
  display: flex;
  min-height: var(--header-height);
  top : 0px;
  align-content: center;
  background-color: white;
}

nav {
  padding-top : calc( (var(--header-height) - var(--nav-height))/2 );
    display: flex;
    width: 100%;
    align-items: flex-start;
}

nav > div, nav > div > a {
  flex : 1
}

nav > div > a{
  max-width: calc( 100% - 50px);
  height: var(--nav-height);
}

nav a.logo img{
  width: 50px;
  margin-right: 10px;
}

nav  ul  a{
  width: auto;
}

header .logo-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

header .logo-text * {
  text-align: left;
}

header .logo-text .subtitle{
  font-size: 0.7em;
}

section > div, nav > div {
  margin-left: var(--lg-margin-x);
  margin-right: var(--lg-margin-x);
}

section:first-of-type{
  margin-top : var(--header-height);
}

section:last-of-type:not(:last-of-type){
  padding-bottom: 30px;
}

section.landing {
  background-color: gainsboro;
}

section.landing > div{
  margin: unset;
}
section .section-header{
  margin-bottom: 3em;
  padding-top: 2em;
}


.title-container {
  display: flex; 
  flex-direction: row-reverse;
  overflow: hidden;
  padding-left: 1px;
}

.landing-background {
  flex : 1;
  flex-basis: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.landing-background img{
  max-height: 100%;
  max-width: unset;
  height: unset;
}

.landing-header{
  flex : 1;
  flex-basis: 50%;
  align-content: center;
  padding: 3rem 2rem;
  padding-left : var(--lg-margin-x);
}

.landing-header p.compact {
  font-size: 0.95rem;
  line-height: max(2vw,19px);
  margin-top: 2em;
  text-align: left;
}

.landing-header p.subtitle{
  font-size: 16px;
}

.landing-header > div > h1 {
  font-size: max(2.1vw,2em);
  font-weight: 300;
}

.landing-header a {
  font-size: 0.675rem;
}

section:not(.landing) p, section li, .section p {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 300;
}

section:not(.landing) h2{
  font-weight: 300;
  text-align: left;
}

.card h3{
  font-weight: 100!important;
  margin-bottom: 1em;
}

/*carousel*/

.embla {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.embla__container {
  display: flex;
  height: 100%;
  justify-content: left;
  user-select: none;
}

.embla__slide {
  flex: 0 0 50%;
  min-width: 0;
    background-image: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}

.card.hover .embla__slide{
  opacity: 0;
}

.embla.contain .embla__slide{
  background-size: contain;
}

.card.hover .embla.contain .embla__slide, .frame.hover .embla.contain .embla__slide{
  background-size: cover;
}

footer{
  .logo-container{
    display: flex;
    flex-direction: column;
  }

  .logo-container img{
    width: 300px;
  }

  .links, .socials{
    display: none;
  }

  .partners{
    display: none;
    width: 100%;
    height: 100px;
    .embla{
      width: 100%;
      height: 100%;

      .embla__slide{
        flex : 0 0 300px;
        margin-left: 20px;
        margin-right: 20px;
      }
    }
  }
}

.page.home footer .partners{
  display: block;
}

label:has(+ input:required):after{
  content: " \002A";
}

.seo-image{
  width: 0px;
  height: 0px;

}

@media (max-width: 640px) {
  section:not(.landing) > div, nav > div, footer{
    margin-left :  var(--xs-margin-x);
    margin-right: var(--xs-margin-x);
  }

  section.landing > div{
    margin : unset;
  }

  .title-container{
    flex-direction: column;
  }

  .landing-header{
    margin-left: var(--xs-margin-x);
    margin-right: var(--xs-margin-x);
    padding-left: 0;
    padding-right: 0;
  }

  .landing-header p {
    font-size: 14px;
    text-align: justify;
  }

  .landing-header p.subtitle{
    font-size: 15px;
    text-align: initial;
  }

  .landing-background{
    min-height: 300px;
    background-position-x: -70px !important;
  }

  .card-container{
    padding-left: 0px;
    padding-right: 0px;
  }

    footer  .partners .embla__slide{
      flex : 0 0 75px!important;
      margin-left: 10px!important;
      margin-right: 10px!important;
  }

}



@media (max-width : 1028px){
  nav ul a {
    text-align: left;
  }
}

@media (min-width: 640px) and (max-width: 1280px) {

  nav ul a {
    text-align: left;
  }
  section > div, nav > div{
    margin-left: var(--md-margin-x);
    margin-right: var(--md-margin-x);
  }

  .landing-header{
    padding-left: var(--md-margin-x);
  }

}

@media (min-width: 640px) and (max-width: 768px){

}

@media (min-width: 1028px){

  nav li{
    margin-left: 0px!important;
    margin-right: 0px!important;
  }
  nav li:not(:last-of-type){
    margin-left: 0px!important;
    margin-right: 2rem!important;
  }

  header .menu-button{
    display: none;
  }

  footer{
    .hr {
      margin-top: 4em;
      margin-bottom: 4em;
    }
  }
}

