:root {
    --main: #134489;
    --light-main: rgba(19, 68, 137, 0.2);
    --hover: #78c55e; 
    /* side decorative borders in career page and contact page */
    --side-border: #114474; 
    --button: #1956aa;
    --banner-shade: rgba(0, 0, 0, 0.5);
    --light-gray: #dbdcdb;
  }
html {
    font-family: "Inter", sans-serif;
    font-size: 16px;
}
body {
    margin: 0;
    line-height: 1;
    background-color: white;
    min-height: 100vh;
}
div {
    line-height: 0;
}
a {
    text-decoration: none;
    color: black;
}
h1, .slogan-section > span{
    font-family: "Host Grotesk";
    font-size: 2em;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: 0.075em;
}
h2 {
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 0.05em;
}
h3 {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.25em;
}
h4 {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.25em;
    margin: 0;
}
p, li {
    font-family: "Roboto";
    font-size: 1em;
    font-weight: 300;
    line-height: 1.75em;
    letter-spacing: 0.05em;
}
nav {
    width: 100%;
    position: sticky;
    top: 0;
    border-bottom: 2px solid var(--light-gray);
    background-color: white;
    overflow: hidden;
    z-index: 99;
    div.horizontal-flex {
        position: relative;
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 1.8em 0 0.7em 0;
        margin: 0;
    }
}
.logo-name {
    aspect-ratio: inherit;
    width: 100%;
    max-width: 550px;
    padding-left: 1em;
}
#menu-icon {
    font-size: 2.5em;
    display: none;
    color: var(--main);
    position: absolute;
    top: 35%;
    /*top: 0;*/
    right: 4%;
}
#hz-menu {
    padding-right: 1em;
}
#hz-menu a {
    display: inline-block;
    line-height: normal;
    padding: 1em;
}
#drop-menu {
    display: none;
}
#drop-menu > a {
    display: block;
    padding: 1.5em 0;
    margin: 0;
    border-top: 0.025em solid var(--light-gray);
}
.menu-style {
    font-family: "Host Grotesk";
    font-size: 1.1em;
    font-weight: 300;
    letter-spacing: 0.045em;
    text-align: center;
}
nav a:hover {
    color: var(--hover);
}
.slideshow {
    width: 100%;
    position: relative;
    margin: auto;
    background-color: transparent;
}
.slideshow * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.slideshow {
    margin-bottom: 7em;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    padding: 0.5em;
    margin: 0 .5em;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5em;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    transition: 0.6s ease;
}
.prev:hover, .next:hover {
    color: white;
}  
.next {
    right: 0;
}
.slides {
    background-color: transparent;
    display: none;
}
.slide-1 {
    background-image: url(../../images/binary-code-circle.jpg);
    background-position: 40% 50%;
}
.slide-2 {
    background-image: url(../../images/wireframe-terrain.jpg);
    background-position: 50% 40%;
}
.slide-3 {
    background-image: url(../../images/glass-building.jpg);
    /*background-position: center;*/
    background-position: 50% 35%;
}
.slide-img {
    aspect-ratio: 16/9; 
    min-width: 100vw;
    max-height: 75vh;
    height: auto;
    background-size: 100% auto;
}
.shade {
    position: absolute;
    top: 0px;
    left: 0px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: black;
    background: var(--banner-shade);
    width: 100%;
    height: 100%;
}
.slideshow-text {
    color: white;
    p {
        font-weight: 100;
        line-height: 1.5em;
    }
}
.fade-in {
    -webkit-animation-name: fade;
    animation-name: fade;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
}
@-webkit-keyframes fade {
    from {opacity: 0.1}
    to {opacity: 1}
}
@keyframes fade {
    from {opacity: 0.1}
    to {opacity: 1}
}
.disable-hover {
    pointer-events: none;
}
#dots {
    background-color: white;
}
.dot {
    cursor: pointer;
    height: 1.3em;
    width: 1.3em;
    margin: 1.6em 0.55em;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: inline-block;
    -webkit-transition: background-color 0.6s ease;
    -o-transition: background-color 0.6s ease;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #bbb;
}
.slogan-section {
    padding-bottom: 7em;
    max-width: 40em;
    span {
        display: block;
        font-weight: 300;
        font-size: 2.3em;
        line-height: 1.5em;
        letter-spacing: normal;
        margin: 0;
    }
}
.gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.underline-header {
    border-bottom: 0.025em solid var(--light-gray);
    -o-border-image: -o-linear-gradient(left, transparent,var(--light-gray) 2% 98%, transparent) 100% 1;
    border-image: linear-gradient(float, transparent,var(--light-gray) 2% 98%, transparent) 100% 1;
    text-align: center;
    margin: 0;
    padding: 27px 0px;
}
.card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    margin: 0 1.5em 2em 1.5em;
    background-color: #fcfcfc;
    .card-img > img {
        aspect-ratio: 16/9;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }
}
.card:hover {
    border: 1px solid #afafaf;
    background-color: var(--light-main);
}
.card-text {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    h2 {
        font-family: "Host Grotesk";
        color: white;
        background-color: var(--main);
        font-size: 1.15em;
        padding: 0.6em 0 0.5em 0;
        margin: 0;
    }
    p {
        padding: 0 1.25em;
        font-size: 0.9em;
        line-height: 1.5em;
        u {
            display: none;
        }
    }
}
#overview-section {
    display: block;
    padding: 2em 0;
    article > p {
        line-height: 2em;
        text-align: justify;
    }
}
.image-list {
    padding: 4em 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    a {
        display: block;
        margin: 1.3em 1em;
        img {
            aspect-ratio: inherit;
            max-height: 80px;
            height: 100%;
            max-width: 100%;
            width: auto;
        }
    }
}
footer {
    width: 100%;
    min-height: 100%;
    background-color: var(--main);
    color: white;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 1;
}
.social-section {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 2.5em auto;
}
.social-icons {
    width: 2.6em;
    height: 2.6em;
    padding: 0.9em 1.4em;
    margin: auto;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
.social-section > div > a:last-child {
    display: none;
}
#copyright {
    text-align: center;
    margin: 0 auto 2.3em auto;
    p {
        font-size: 0.9em;
        font-weight: 200;
    }
}
/* shared through pages */
.banner-text{
    max-width: 750px;
    color: white;
    text-align: center;
    h1 {
        margin: 0.1em;
    }
}
.banner-shade {
    background-color: var(--banner-shade);
    padding: 5% 0;
}
.box-outline {
    border: 1px solid #ccc;
    -webkit-box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, 0.3);
}
.box-outline:hover {
    -webkit-box-shadow: 1px 2px 6px 1px var(--banner-shade);
    box-shadow: 1px 2px 6px 1px var(--banner-shade);
}
.scale-hover {
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.scale-hover:hover {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}
.icon-hover:hover {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}
.parallax-effect {
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.text-center {
    text-align: center;
}
.vertical-flex, .horizontal-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;    
}
.vertical-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;  
}
.horizontal-flex {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.center-items {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.justify-space-evenly {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
}
.align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.disable-user-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.s-container {
    margin: auto;
    width: 60%;
    overflow: hidden;
}
.container {
    margin: auto;
    width: 85%;
}
.grid {
    display: -ms-grid;
    display: grid;
    width: 100%;
}
.col-3 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.col-4 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.grid > div {
    margin: 1em ;
    background-color: #fcfcfc;
    h4 {
        display: block;
        min-height: 2.4em;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        -ms-flex-line-pack: center;
        align-content: center;
        text-align: center;
        line-height: 1.2em;
        margin: 0;
        padding-top: 0.5em;
    }
    p, li{
        margin: 0;
    }
    a {
        display: block;
        height: 100%;
        padding: 1.5em;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }
}
@media only screen and (min-width: 995px) {
    html {
        height: 100vh;
        min-height: 100%;
        overflow-x: hidden;
    }
    @-webkit-keyframes slide-to-right{
        from {-webkit-transform: translateX(-100%);transform: translateX(-100%)};
    }
    @keyframes slide-to-right{
        from {transform: translateX(-100%)};
    }
    @-webkit-keyframes slide-to-left{
        from {-webkit-transform: translateX(200%);transform: translateX(200%)};
    }
    @keyframes slide-to-left{
        from {transform: translateX(200%)};
    }
    @-webkit-keyframes slide-upwards {
        from {-webkit-transform: translateY(40%);transform: translateY(40%)}
    }
    @keyframes slide-upwards {
        from {transform: translateY(40%)}
    }
    @-webkit-keyframes slide-downwards {
        from {-webkit-transform: translateY(-50%);transform: translateY(-50%)}
    }
    @keyframes slide-downwards {
        from {transform: translateY(-50%)}
    }
    .slide-right {
        -webkit-animation-name: slide-to-right;
        animation-name: slide-to-right;
    }
    .slide-left {
        -webkit-animation-name: slide-to-right;
        animation-name: slide-to-left;
    }
    .slide-up {
        -webkit-animation-name: slide-upwards;
        animation-name: slide-upwards;
    }
    .slide-down {
        -webkit-animation-name: slide-downwards;
        animation-name: slide-downwards;
    }
    .slide-right, .slide-left, .slide-down, .slide-up {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
    }
    #drop-menu {
        display: none !important;
    }
}
@media only screen and (max-width: 995px) {
    .container {
        width: 80%;
    }
    #hz-menu {
        display: none;
    }
    #menu-icon {
        display: block;
    }
    nav > div.horizontal-flex {
        padding: 1.5em 0 0.7em 0;
    }
    .slide-img {
        aspect-ratio: 9/18;
    }
    .shade {
        width: 80%;
        border-bottom-right-radius: 50% 100%;
    }
    .card {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
    }
    .banner-text a {
        text-decoration: underline;
    }
    .slide-down, .slide-up, .slide-right, .slide-left {
        -webkit-animation-name: fade;
        animation-name: fade;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-duration: 1.2s;
        animation-duration: 1.2s;
    }
}
@media only screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    h1, .slogan-section > span {
        font-size: 2em;
    }
    nav > div.horizontal-flex > a {
        max-width: 80%;
    }
    .slideshow-text > h1 {
        text-align: end;
    }
    .mobile-text-left {
        text-align: start !important;
}
    .mobile-text-right {
        text-align: end !important;
    }
    .shade {
        width: 85%;
    }
    img {
        max-width: 80vw;
        object-fit: scale-down;
    }
    .card-img > img {
        max-width: 95vw;
        object-fit: cover;
    }
    #menu-icon {
        top: 0.8em;
    }
    .s-container {
        margin-left: 5%;
        width: 75%;
    }
    #dots {
        display: none;
    }
    .prev, .next {
        font-size: 2em;
        top: auto;
        bottom: 0;
        padding: 1em;
        margin: 0;
    }
    .card, .card:hover{
        -webkit-box-flex: 1;
        -ms-flex: auto;
        flex: auto;
        background-color: rgba(19, 68, 137, 0.75);
        .card-text {
            -webkit-box-flex: 1;
            -ms-flex: auto;
            flex: auto;
            color: white;
            h2 {
                color: white;
                background-color: var(--main);
                -o-border-image: -o-linear-gradient(left, transparent,white 5% 95%, transparent) 100% 1;
                border-image: linear-gradient(to right, transparent,white 5% 95%, transparent) 100% 1;
            }
            p > u {
                display: inline-block;
            }
        }
    }
    .social-section > div > a:last-child {
        display: block;
    }
}
@media only screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }
    h1, .slogan-section > span {
        font-size: 1.7em;
    }
    #menu-icon {
        /*top: 37%;*/
        top: 0.75em;
        font-size: 2em;
    }
    .shade {
        width: 90%;
    }
    .container {
        width: 85%;
    }
    .grid {
        width: 100%;
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }
    .grid > div {
        background-color: white;
        border: none;
        margin: 0 0 1em 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .grid > div:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
    #overview-section p {
        text-align: left;
    }
}
   @media only screen and (max-width: 400px) {
    #menu-icon {
        font-size: 1.8em;
    }
    .slideshow-text > p {
        display: none;
    }
    .container {
        width: 90%;
    }
    .s-container {
        width: 65%;
    }
    .shade {
        width: 98%;
        border-radius: 0 60% 250% 0;
    }
}
/*@media (orientation: landscape) and (max-width: 600px) {*/
/*    html, body {*/
/*        min-width: 100vw;*/
/*        width: 100%;*/
/*        margin: 0;*/
/*        padding: 0;*/
/*    }*/
/*}*/
