@font-face {
  font-family: 'TroefFont';
  font-style: normal;
  src: url('/assets/fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
}

.system {
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-container {
    max-width: 500px;
    padding: 2rem;
}

/* Entire website */
.site {
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

* {
    box-sizing: border-box;
    font-family: 'TroefFont';
    line-height: 1.5;
}

h2, h3 {
    color: #00376a;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    line-height: 1;
    font-weight: 600;
}

h1 {
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    line-height: 1.1;
    font-weight: 550;
}

blockquote {
    position: relative;
    background-color: #dceef8;
    font-style: italic;
    padding: 2em;
    border-radius: 5px;
    margin: 0;
}

blockquote::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: #ccc;
}

blockquote::after {
  content: "”";
  position: absolute;
  bottom: -10px;
  right: 15px;
  font-size: 3rem;
  color: #ccc;
}

.text-large {
    font-size: 110%;
}

.text-small {
    font-size: 90%;
}

/* Header part of the website */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(70, 70, 70, 0.2);
    height: 4em;
    width: 100%;
    z-index: 1050;
}

.nav-content {
    list-style-type: none;
    display: none;
}

.nav-content ul {
    list-style-type: none;
}

.nav-content li {
    text-align: center;
    margin: 1em auto;
}

.nav-content a {
    text-decoration:none;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.08em;
    font-size: 0.9em;
}

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 0;
    margin-left: 1.5em;
    color: #000;
    height: 75%;
}

.logo img {
    max-height: 100%;
}


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

    .navbar {
    }

    .nav-content {
        display: flex;
        margin-right: 1em;
        justify-content: flex-end;
    }

    .nav-content ul {
        display: flex;
        list-style-type: none;
        margin-right: 1em;
    }

    .nav-content li {
        margin: 1em;
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }
}


.navbar-toggle {
    cursor: pointer;
    font-size: 24px;
    margin-right: 1em;
}

#navbar-toggle:checked~.nav-content {
    display: block;
    background: #fff;
    position: absolute;
    right: 1em;
    top: 70px;
    padding: 1em;
    padding-right: 3em;
}

#navbar-toggle:checked~.navbar {
    height: 180px !important;
}

#navbar-toggle:checked~.site-main {
    margin-top: -180px !important;
    padding-top: 180px !important;
}

#navbar-toggle {
    display: none;
}




/* MAIN SECTION
 *
 * Main part of the website */
.site-main {
    display: flex;
    flex: 1;
    margin-top: -90px;
    padding-top: 90px;
    font-size: 1.2rem;
}

.site-main a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

.site-main a:hover {
    text-decoration: underline;
    color:#00376a;
}

.main-full-width-container {
    background-color: #fff;
    width: 100%;
}

.main-full-width-content {
    padding: 2rem;
    font-weight: 300;
}

@media screen and (min-width: 768px) {
    .navbar {
        padding-left: 12%;
        padding-right: 12%;
    }
    .main-full-width-content {
        margin-left: 12%;
        margin-right: 12%;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1240px) {
    .hero-text {
        right: 24%;
    }
    .navbar {
        padding-left: 20%;
        padding-right: 20%;
    }
    .main-full-width-content {
        margin-left: 20%;
        margin-right: 20%;
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1920px) {
    .hero-text {
        right: 26%;
    }
    .navbar {
        padding-left: 22%;
        padding-right: 22%;        
    }
    .main-full-width-content {
        margin-left: 22%;
        margin-right: 22%;
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 3000px) {
    .hero-text {
        right: 37%;
    }
    .navbar {
        padding-left: 35%;
        padding-right: 35%;
    }
    .main-full-width-content {
        margin-left: 35%;
        margin-right: 35%;
        font-size: 1.2rem;
    }
}

.breadcrumbs {
    font-size: 1.0rem;
}

.hero {
    min-height: 100vh;
    position: relative;
    margin-top: -65px; /* used to be -20px */
    overflow: hidden;
}

.hero img {
    object-fit: cover;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100vh;
}

.img-slide {display:none;}

a.button-white {
    background-color:#fff;
    cursor: pointer;
    display: inline-block;
    padding: 0.8em 1.8em;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    line-height: 1.2;
    width: 260px;

}
a.button-white:hover {
    background-color:#dceef8;
}

a.button-blue {
    background-color: #dceef8;
    cursor: pointer;
    display: inline-block;
    padding: 0.8em 1.8em;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    line-height: 1.2;
    width: 260px;
    border: 1px solid #000;
}

a.button-blue:hover {
    background-color:#91cae8;
}

.hero-text {
    font-weight: 300;
    letter-spacing: 0.2rem;
    padding: 3rem;
    padding-top: 1rem;
    text-align: left;
    position: relative;
    width: 100%;
    margin-top: 50%;
    color: #000;
    background-color: #91cae8;
    z-index: 3;
}

@media screen and (min-width: 1240px) {
.hero-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    padding: 3rem;
    padding-top: 1rem;
    text-align: left;
    position: absolute;
    bottom: 0;
    height: 70%;
    width: 450px;
    right: 24%;
    color: #000;
    background-color: #91cae8;
    z-index: 3;
}
}

.fade-in-1 {
    animation-name: fade-in;
    animation-duration: 1s;
}

.fade-in-2 {
    animation-name: fade-in;
    animation-duration: 2s;
    letter-spacing: normal;
}

.fade-in-3 {
    animation-name: fade-in;
    animation-duration: 3s;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* People overview */
.people-item {
    display: grid;
    grid-template-columns: 1fr 100fr;
    font-size: 1rem;
}

.people-item img {
    width: 100px;
    height: 100px;
}

@media screen and (min-width: 768px) {
.people-item img {
    width: 200px;
    height: 200px;
}
}

.people-item-column {
    padding: 1em 1em 1em 0em;
}

a.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}


/* Person view */
.person-view-container {
    display: grid;
    grid-template-areas: 
        "name-info name-info"
        "picture picture"
        "bio bio"
        "credentials-1 credentials-1"
        "credentials-2 credentials-2"
        "experience experience";
    gap: 3px;
}

@media screen and (min-width: 768px) {
.person-view-container {
    display: grid;
    grid-template-areas: 
        "name-info name-info"
        "bio picture"
        "credentials-2 credentials-1"
        "experience experience";
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
}

.person-view-container div {
}

.person-view-container div.name-info {
    grid-area: name-info;
}

.person-view-container div.picture {
    grid-area: picture;
}

.person-view-container div.picture img {
    width: 100%;
    max-width: 300px;
}


.person-view-container div.bio {
    grid-area: bio;
}
.person-view-container div.bio :first-child { margin-top:0; }

.person-view-container div.credentials-1 {
    grid-area: credentials-1;
}

.person-view-container div.experience {
    grid-area: experience;
}

.person-view-container div.credentials-2 {
    grid-area: credentials-2;
}



.person-view-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 3em;
    width: 100%;
}

.person-view-content-container {
    width: 100%;
}

.person-view-content-content {
    padding: 3rem;
}

.person-view-metadata-container {
    background-color: rgb(211, 229, 240);
    width: 100%;
}

.person-view-metadata-content {
    padding: 3rem;
}

.person-view-list {
    list-style: none;
    list-style-position: inside;
    padding-left: 0;
}


/* Insights overview */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    gap: 1em;
}

@media screen and (min-width: 768px) {
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    gap: 1em;
}
}

.insight-tile {
    background-color: rgb(192, 218, 235);
    overflow: hidden;
}

.insight-tile-thumbnail {
    height: 180px;
    overflow: hidden;
}

.insight-tile-thumbnail-bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.insight-tile-thumbnail-bg:hover {
    transform: scale(1.1);
    transition: all 1s ease-in;
}

.insight-tile-date {
    padding: .75rem .625rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.insight-tile-title {
    padding: .75rem .625rem;
    font-size: 1.5rem;
}


/* Footer part of the website */
.site-footer {
    width: 100%;
    font-size: 90%;
    color: #000;
    background-color: #dceef8;
}
@media screen and (min-width: 768px) {
    .site-footer {
        padding-left: 12%;
        padding-right: 12%;
    }
}

@media screen and (min-width: 1240px) {
    .site-footer {
        padding-left: 20%;
        padding-right: 20%;
    }
}

@media screen and (min-width: 1920px) {
    .site-footer {
        padding-left: 22%;
        padding-right: 22%;
    }
}

@media screen and (min-width: 3000px) {
    .site-footer {
        padding-left: 35%;
        padding-right: 35%;
    }
}

.footer-top-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    padding: 2rem;
    gap: 1em;
}

@media screen and (min-width: 768px) {
.footer-top-container {
    grid-template-columns: repeat(auto-fill, 200px);
}
}

@media screen and (min-width: 1920px) {
.footer-top-container {
    grid-template-columns: repeat(auto-fill, 260px);
}
}

@media screen and (min-width: 3000px) {
.footer-top-container {
    grid-template-columns: repeat(auto-fill, 330px);
}
}


.footer-bottom-container {
    padding: 2rem;
}


.footer-link {
    margin-bottom: 10px;
    text-decoration: dashed;
    color: #000;
}



/* form */
.troef-form h3 {
    color: #00376a;
    font-size: 1.2rem;
}

.troef-form label {
    font-weight: 600;
      font-size: 1rem;
}

.troef-form input[type=text] {
    padding: 0.50em;
    font-size: 1rem;
}

.troef-form input[type=submit] {
    background-color: #dceef8;
    cursor: pointer;
    display: inline-block;
    padding: 0.8em 1.8em;
    text-align: center;
    text-decoration: none;
    color:#000;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    line-height: 1.2;
    width: 260px;
    border: 1px solid #000;
}

.troef-form input[type=submit]:hover {
    background-color:#91cae8;
}

.troef-form input[type=checkbox] {
    -webkit-appearance: none;
    background-color: #fff;
    width:20px;
    height:20px;
    border: 1px solid #000;
}

.troef-form input[type=checkbox]:checked {
    background-color: #91cae8;
}


