html {
    height: 100%;
    font-family: 'SegoeUI';
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}

p {
    font-size: 1rem;
}

a:hover {
    cursor: pointer;
}

hr {
    visibility: hidden;
    margin: 20px 0;
}

@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'SegoeUI';
    src: url('../img/fonts/segoeui.woff') format('woff');
}
@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'SegoeUI';
    src: url('../img/fonts/segoeuil.woff') format('woff');
}
@font-face {
    font-weight: 600; /* Semibold */
    font-style: normal;
    font-family: 'SegoeUI';
    src: url('../img/fonts/seguisb.woff') format('woff');
}
@font-face {
    font-weight: bold;
    font-style: normal;
    font-family: 'SegoeUI';
    src: url('../img/fonts/segoeuib.woff') format('woff');
}

.navbar {
    width: 100%;
    background: none;
    position: fixed;
    box-sizing: border-box;
    z-index: 200;
    display: flex;
    justify-content: center;
    -webkit-transition:      background-color 200ms;
         -o-transition:      background-color 200ms;
            transition:      background-color 200ms;
    padding: 0 32px;
}

.navbar-content {
    display: flex;
    align-items: center;
    padding: 12px 0px 12px 0px;
}

.logo-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 1.4em;
    letter-spacing: 0px;
}

.logo {
    background: url('/img/Titlerest.svg') no-repeat;
    background-size: contain;
    height: 32px;
    width: 200px; 
}

.logo:hover {
    background: url('/img/Titlehover.svg') no-repeat;
    background-size: contain;
}

.navigation {
    margin-left: auto;
}

.hamburger {
    display: block;
    font-size: 1.15rem;
    transform: scale(1.35, 1)
}

.first-section {
    padding-top: 80px;
}

@media screen and (max-width: 800px) {
    .navigation .navigation-link {
        display: none;
    }

    .content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (min-width: 801px) {
    .hamburger {
        display: none !important;
    }

    .content {
        padding-top: 62px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .first-section {
        padding-top: 92px;
    }

    .dropdown-menu {
        display: none !important;
    }
}

.navigation-link {
    text-decoration: none;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    margin-right: 20px;
    display: inline-block;
}

.nav-link-color {
    color: #605E5C;
}
.nav-link-active-color {
    color: #53AB76;
}
.nav-link-color:hover,
.nav-link-active-color:hover {
    color: #53AB76;
}

.navigation-link i {
    font-size: 0.75em;
}

.navigation-link:last-child {
    margin-right: 0;
}

.navigation-link:hover,
.navigation-link.active:hover {
    text-decoration: underline;
}

.navigation-link.active {
    font-weight: 600;
}

*,
*::before,
*::after { 
  box-sizing: border-box;
}

.link {
    opacity:1;
    text-decoration:none;
    -webkit-transition:color .15s ease-in;
    transition:color .15s ease-in
}
.link:active,
.link:focus,
.link:hover,
.link:visited {
    opacity:.8;
    text-decoration:none;
    -webkit-transition:color .15s ease-in;
    transition:color .15s ease-in
}
.link--underline {
    text-decoration:underline !important
}
.link--underline-hover:focus,
.link--underline-hover:hover {
    text-decoration:underline
}

.cards-container {
    background: rgb(255, 255, 255);
    padding: 24vh 12vw 0 12vw;
}
  
.card-image {
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.card {
    padding-bottom: 20px;
}

.card img {
    display: block;
    border-radius: 8px;
    
}

@media screen and (min-width: 600px) {
    .cards-grid {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .card {
        width: calc(100% / 2.05);
        padding-bottom: calc(100 - (100% / 2.05 * 2));
    }
}

@media screen and (min-width: 1000px) {
    .card {
        width: calc(100% / 3.2);
    }
}

/* Credit: https://codepen.io/jasonheecs/pen/GNNwpZ */
.card-link {
    transition: transform .3s;
    box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}
.card-link::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity .3s ease-in-out;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.2);
    content: '';
    opacity: 0;
    z-index: -1;
    border-radius: 8px;
}
.card-link:hover, .card-link:focus {
    transform: scale3d(1.03, 1.03, 1.03);
    
}

.card-link:hover::after, .card-link:focus::after {
    opacity: 1;
}

.card-description{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-left: 16px;
    padding-right:16px;
    padding-bottom: 16px;
    background: rgba(0,0,0,.6);
    text-align: center;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
    border-radius: 8px;
    backdrop-filter: blur(2.5px);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.card-description:hover{
    visibility: visible;
    opacity: 1;
}


.card-link:hover .card-description{
    visibility: visible;
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 1012px !important;
    /* background: red; */
}

/* accordion on main page */
.accordion {
    background-color: white;
    color: #323130;
    cursor: pointer;
    padding: 16px;
    margin-bottom: 24px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: 0.4s;
  }
  
  .accordionactive {
    background-color: #fff;
    color: #323130;

  }

  .accordion:hover {
    background-color: #EDEBE9;
    color: #323130;
  }
  
  .accordion::after {
    content: '\25B8';
    color: #323130;
    font-weight: 600;
    float: left;
    margin-right: 4px;
  }
  
  .accordionactive::after {
    content: "\25BE";
  }
  
  .panel {
    padding: 0px 0px;
    background-color: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

.project-container {
    position: relative;
    padding-top: 20px;
}

.description-container {
    width: 30%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.description-header h2 {
    margin: 10px 0;
}

.description-subtitle {
    margin-bottom: 10px;
}

.description-subtitle span {
    font-size: 18px;
}

.content {
    height: 100%;
}


/* ARTICLES */

.article-link {
    width: auto;
    text-decoration: none;
}

.article-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.article-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #323130;
}

.article-title,
.article-subtitle,
.article-description {
    margin: 0;
}

.article-image {
    width: 100%; 
    background-size: cover;
    border-radius: 8px;
}

@media screen and (max-width: 480px) {
    .article-image {
        display: none;
    }

    .article-link {
        margin: 0;
    }
}

@media screen and (min-width: 481px) {
    .article-image {
        display: block;
    }

    .article-link {
        margin-left: 20px;
    }
}

@media screen and (max-width: 600px) {
    .article-image {
        width: 100px;
        height: 100px;
        background-position: 50% 50%;
    }

    .article-title {
        font-size: 24px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #323130;
    }

    .article-subtitle,
    .article-description {
        font-size: 14px;
    }
}

@media screen and (min-width: 601px) {
    .article-image {
        width: 200px;
        height: 150px;
    }

    .article-link {
        margin-left: 40px;
    }

    .article-title {
        font-size: 24px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #323130;
    }

    .article-subtitle {
        font-size: 14px;
    }

    .article-description {
        font-size: 14px;
    }
}

.article-title {
    font-size: 24px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #323130;
    font-weight: 600;
    padding-bottom: 8px;
}
.article-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #605E5C;
    font-style: italic;
    padding-bottom: 4px;
}
.article-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #323130;
}

.article-text-content:hover .article-title {
    color: #53AB76;
}

/* Intro Section */

.intro-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}

@media screen and (min-width: 500px) {
    .intro-title h1 {
        font-size: 42px !important;
        padding-bottom: 12px;
        text-align: center;
        margin: 0 0 0 0;
    }

    .intro-title h3 {
        font-size: 18px !important;
    }
}

.intro-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.intro-title h1 { 
    font-size: 42px !important;
     padding-bottom: 12px;
    text-align: center;
}
.intro-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.intro-image {
    display: flex;
    justify-content: center;
    
}

.intro-image-wrapper {
    width: 80%;
}

.intro-image img {
    width: 100%;
    object-fit: cover;
}

.intro-description p {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

.project-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #323130;
    margin-bottom: 12px;
}

.project-paragraph {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #323130;
    margin: 0;
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.project-image {
    max-width: 100%;
}

.white {
    color: white;
}
.white:hover {
    color: white;
}

.white-bg {
    background: white;
}


/* Contact */
@media screen and (max-width: 480px) {
    .contact-section h1 {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 481px) {
    .contact-section h1 {
        font-size: 1.3rem;
    }
}

.contact-section {
    text-align: center;
}

.contact-section h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #323130;
}

footer {
    width: 100%;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    font-size: 2rem;
    padding-bottom: 32px;
}

footer a {
    color: rgb(187, 187, 187);
    padding: 0px 0;
}

footer a:hover {
    color: #fa6540;
}

@media screen and (max-width: 600px) {
    .inline-image-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .inline-image-section .text {
        max-width: 100%;
        margin-right: 0;
    }

    .inline-image-section hr {
        display: block;
    }
}

@media screen and (min-width: 601px) {
    .inline-image-section {
        display: flex;
        align-items: center;
    }
    
    .inline-image-section .text {
        max-width: 60%;
        margin-right: 40px;
    }

    .inline-image-section hr {
        display: none;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    min-width: 180px;
    width: auto;
    z-index: 10;
    right: -10px;
    top: 40px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
}

.visible {
    display: block;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown-content a {
    margin: 0;
    padding: 10px 20px;
    width: 100%;
}