/* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */
html {
    box-sizing: border-box
}

*,
*:before,
*:after {
    box-sizing: inherit
}

/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
    display: block
}

summary {
    display: list-item
}

audio,
canvas,
progress,
video {
    display: inline-block
}

progress {
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline-width: 0
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

figure {
    margin: 1em 40px
}

img {
    border-style: none
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

button,
input,
select,
textarea,
optgroup {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: bold
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

/* End extract */
html,
body {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.5
}

html {
    overflow-x: hidden
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 30px
}

h3 {
    font-size: 24px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 18px
}

h6 {
    font-size: 16px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    margin: 10px 0
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0
}


img {
    vertical-align: middle
}

a {
    color: inherit
}
a {
  color: inherit;
}
a {
  background-color: transparent;
}

:root {
    margin: 0;
    font-family: Verdana, sans-serif;
    --col-a1: #267a1e;
    --col-a2: #222222;
    --col-a4: #333333;
    --col-a3: #5c5c5c;
    --col-a5: #000;
    --col-a6: #fff;
    --col-a7: #ddd;

    white-space: initial; 
}
body {
    margin: 0;
    padding: 0px;
    width: 100vw;
    min-height: 100vh;
    color: var(--col-a6);
    background-color: var(--col-a5);
}
.global-logo {
    font-variant: small-caps;
}
i.drop-icon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
div.header-image {
    min-height:350px;
    max-height:600px; 
    height: 66vw;
    background: url('images/IMG_1150.webp'); 
    background-size: cover;
    background-position: center;
    animation: opac 0.8s;
    position: relative;
}
div.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    padding: 0.01em 16px;
}
div.center-container button {
    font-variant: small-caps;
    background-color: black;
    color: var(--col-a6);
    font-size: 24px;
    user-select: none;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}
div.center-container button:hover {
    background-color: var(--col-a1);
}

i.drop-icon::before {
    content: "\f0d7";
}
nav.top {
    top: 0px;
    position: fixed;
    width: 100%;
    /* overflow: hidden; */
    z-index: 4;
    background-color: var(--col-a2);
    height: max-content;
    font-size: 16px;
    border: none;
    border-bottom: 1px var(--col-a3) solid;
    /* display: flex; */
    flex-direction: row;
}
nav.top.desktop {
    display: block;
}
nav.top.tablet {
    display: none;
}
nav.top.phone {
    display: none;
}
nav.top a {
    /* padding: 20px 30px; */
    /* border: none; */
    display: inline-block;
    padding: 12px 16px;
    /* vertical-align: middle;
    overflow: hidden; */
    text-decoration: none;
    fill: var(--col-a6);
    stroke: var(--col-a6);
    /* color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap; */ 
    
}
nav.top a:hover {
    color: var(--col-a5) !important;
    fill: var(--col-a5) !important;
    stroke: var(--col-a5) !important;
    background-color: var(--col-a6) !important;
}
nav.top a.top-logo {
    background-color: var(--col-a1);
}

nav.top .dropdown-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
nav.top .dropdown-content {
    cursor: auto;
    color: var(--col-a5);
    fill: var(--col-a5) !important;
    background-color: var(--col-a6);
    display: none;
    position: absolute;
    min-width: 170px;
    margin: 0;
    padding: 0;
    z-index: 1;
}
nav.top .dropdown-hover:hover {
    color: var(--col-a5) !important;
    fill: var(--col-a5) !important;
    background-color: #b1b1b1 !important;
}
nav.top .dropdown-hover:hover svg {
    fill: var(--col-a5) !important;
}

nav.top .dropdown-hover:hover .dropdown-content {
    display: block;
    fill: var(--col-a5) !important;

}

nav.top .dropdown-content a {
    width: 100%;
}
nav.top .dropdown-content a:hover {
    background-color: #b1b1b1 !important;

}

div.team-container {   
    text-align: center !important;
    padding: 64px 16px;
}
div.team-container > div.team-holder {
    display: flex;
    padding-top: 10px;
}

div.team-container > div.team-holder img {
    width: 45%;
    /* opacity: 0.60; */
    border-radius: 50%;
    vertical-align: middle;
    border-style: none;

}

div.quarter {
    width: 25%;
    padding: 0 8px;
    /* float: left; */
}


div.ribbon {
    color: rgb(255, 255, 255) !important;
    background-color: var(--col-a3);

    padding-top: 32px;
    padding-bottom: 32px;

    text-align: center !important;
    display: flex;

}

div.ribbon span {
    font-size: 24px !important;
}

div.stable-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* height: 250px; */
}

div.stable-bg div.shade {
    background-color: #00000063;
    height: inherit;
    min-height: inherit;
}

div.stable-bg span {
    font-variant: small-caps;
    opacity: 1;
    color: var(--col-a6);
    background-color: var(--col-a5);
    font-size: 24px;
    padding: 8px 16px;
    display: inline-block;
}

div.latest-proj-row {
    padding: 64px 8px;
    color: var(--col-a6);
    background-color: var(--col-a4);
    display: flex;
    height: max-content;
}


div.latest-proj-row div.desciption {
    width: 25%;
}

div.latest-proj-row .proj-row {
    flex-grow: 1;
    width: 75%;
    display: flex;
    padding: 0px 8px;
}

div.latest-proj-row .proj-row .third {
    width: 33%;
    padding: 0 8px;
}

div.latest-proj-row .proj-row .third .card {
    color: var(--col-a5);
    background-color: var(--col-a6);
    box-shadow: 8px 8px rgba(0,0,0,0.8);
    transition: all 0.3s ease-in-out;
}

div.latest-proj-row .proj-row .third .card:hover {
    box-shadow: 2px 2px rgba(0,0,0,0.8);
    transform: translate(6px, 6px);
}

div.latest-proj-row .proj-row .third .card div.card-img {
    min-height: calc(25vw * (30 / 45) - 20px);
    width: 100%;
    background: var(--col-a2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

div.latest-proj-row .proj-row div.third div.card div.cardtext {
    background: var(--col-b6); 
    padding: 0.01em 16px;
}

div.single-proj {
    padding: 72px 60px;
    display: flex;
    align-items: center;
}
div.single-proj div.description {
    margin: 0px 4vw;
    flex: 1;
}
div.single-proj div.preview {
    margin: 0px 4vw; 
    padding: 0px 10px;
    flex: 1;

    display: flex;
    justify-content: center;

    /* height: calc(32vw + 100px);  */
    min-width: 16vw;
    
    max-width: 36vw;

}

div.single-proj div.preview .img-holder {
    display: flex;
    justify-content: center;
    flex-direction: column;

    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

div.single-proj div.preview  img {
    height: inherit; 
    border-radius: 6px;
    max-width: 45vw;
}

div.single-proj.left {
    background-color: rgb(1, 71, 48);
}

div.single-proj.right {
    background-color: rgb(41, 71, 1);
}

div.single-proj a.button {
    color: var(--col-a6);
    fill: var(--col-a6) !important;
    background-color: var(--col-a5);
    user-select: none;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
}

div.single-proj a.button:hover {
    color: #111;
    background-color: var(--col-a7);
    fill: var(--col-a5) !important;
}

footer {
    color: var(--col-a6);
    background-color: var(--col-a5);
    text-align: center;
    padding: 32px 16px;
    display: block;
}

footer a.button {
    color: var(--col-a6) !important;
    background-color: var(--col-a1);
    font-size: 18px !important;
    user-select: none;

    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

@media only screen and (max-width: 1000px) {
    nav.top.desktop {
        display: none;
    }
    nav.top.tablet {
        display: flex;
    }

    div.latest-proj-row {
        flex-direction: column;
    }

    div.latest-proj-row div.desciption {
        width: 100%;
        padding-bottom: 50px;
        text-align: center;
    }

    div.latest-proj-row .proj-row {
        width: 100%;
    }

    div.single-proj {
        padding: 72px 20px;
    }

}

@media only screen and (max-width: 650px) {
    nav.top.tablet {
        display: none !important;
    }
    nav.top.phone {
        display: block;
    }
    nav.top.phone #navMobile {
        background-color: var(--col-a5);
    }
    nav.top.phone #navMobile.hide {
        display: none;
    }
    nav.top.phone #navMobile a {
        display: block;
        padding: 10px 16px;
    }
    nav.top.phone .navMobileMenu {
        float: right !important;
    }
    nav.top.phone a.navMobileMenu svg {
        fill: var(--col-a6)
    }
}

/* Second image (Portfolio) */
div.bgimg-2 {
    background-image: url("images/IMG_6485.webp");
    min-height: 250px;
}


footer div.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer div.links a {
    min-height: 44px;
    min-width: 40px;
    display: flex;
    flex-direction: row;
    width: max-content;
    margin: 2px;
    justify-content: end;
    align-items: center;
}



footer div.links svg {
    margin-right: 4px;
}

