/* elements */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: 'campton-book', sans-serif;
    overflow-x: hidden;
}

h1 {
    font-size: 2em;
    padding: 0;
    margin: 0 auto;
    font-family: 'campton-semibold', sans-serif;
    margin: .3em 0 1em 0;
    font-weight: normal;
}
h2 {
    font-weight: normal;
    font-family: 'campton-book', sans-serif;
}

/* Navigation */
#navbar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100vw;
    height: 120px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    color: white;
    transition: 0.3s;
}

.navbar-blur {
    backdrop-filter: blur(3px);
}

#retronyms-logo {
    height: 60px;
    transition: 0.2s;
}

#retronyms-logo-wrapper{
    transition: 0.2s;
}

.not-active {
    opacity: 0;
    pointer-events: none; 
    cursor: default; 
}

.navigation {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    background: #343434;
    transition: 0.3s;
    z-index: -1;
    overflow: hidden;
    font-size: 1.3vw;
}

.navigationContainer {
    margin: 120px auto;
    padding: 30px 126px;
}

.navigation p {
    font-size: 1.5em;
    margin: 0 0 20px;
}

.navigation ul {
    list-style: none;
    padding: 0;
}

.navigation ul li{
    margin: 20px 0;
}

.navigation ul li a {
    text-decoration: none;
    color: white;
    font-size: 2em;
    font-family: 'campton-semibold', sans-serif;
    transition: 0.2s;
}

.navigation ul li a:hover {
    color: #2899C3;
}

.change .navigation {
    height: 100vh;
    overflow-y: scroll;
}

/* Hide Ethex from all Nav */
.navigationContainer li a[href="../ethex/"] {
  display: none;
}

#menu {
    display: block;
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: 35px;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 3px;
    background-color: #000;
    margin: 6px 0;
    transition: 0.3s;
}

.white-menu .bar1,
.white-menu .bar2,
.white-menu .bar3 {
    background-color: #fff;
}

.rwb-menu .bar1,
.rwb-menu .bar2,
.rwb-menu .bar3 {
    background-color: #F77A30;
}

.ethex-menu .bar1,
.ethex-menu .bar2,
.ethex-menu .bar3 {
    background-color: #FF6363;
}

.impc-menu .bar1,
.impc-menu .bar2,
.impc-menu .bar3 {
    background-color: #50c357;
}

.wheelwell-menu .bar1,
.wheelwell-menu .bar2,
.wheelwell-menu .bar3 {
    background-color: #009BFD;
}

.social-menu .bar1,
.social-menu .bar2,
.social-menu .bar3 {
    background-color: #fff;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-7px, 6px);
    transform: rotate(-45deg) translate(-7px, 6px);
    background-color: #fff;
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    transform: rotate(45deg) translate(-6px, -6px);
    background-color: #fff;
}

.logoInverted {
    filter: invert(1);
}

/* ID's */

section#acpyvid {
    background-color: #2999C3;
    color: white;
    padding: 1vw 0 10vw 0;
    margin-top: 10vw;
}

section#headline {
    text-align: center;
    padding: 4vw 0;
}
#headline div {
    display:inline-block;
    text-align: left;
}


#main {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
     /* base size. */
    font-size: 1.3vw;
    font-family: 'campton-book', sans-serif;
    
}

body#impc {
    background-color: #141414;
    color: #D3D1CA;
}
body#acpy {
    background-color: #F6F6F6;
}

/* #hero-text{
    margin-top: 120px;
} */

/* classes */

.workgrid {
    display: flex;
    width: 100%;
    line-height: 0;
}

.item {
    width: 50%;
}

svg.hbar {
    width: 4em;
    max-width: 124px;
    height: 8pt;
}
svg.right {
    float: right;
}
.hbar .cls-green {
    fill: none;
    stroke: #50c357;
    stroke-linecap: round;
    stroke-width: 8px;
}
.hbar .cls-orange {
    fill: none;
    stroke: #F77A30;
    stroke-linecap: round;
    stroke-width: 8px;
}
.hbar .cls-salmon {
    fill: none;
    stroke: #FF6363;
    stroke-linecap: round;
    stroke-width: 8px;
}
.hbar .cls-black {
    fill: none;
    stroke:#000;
    stroke-linecap: round;
    stroke-width: 8px;
}
.hbar .cls-blue {
    fill: none;
    stroke:#009BFD;
    stroke-linecap: round;
    stroke-width: 8px;
}
.hbar .cls-blue2 {
    fill: none;
    stroke:#21ACE8;
    stroke-linecap: round;
    stroke-width: 8px;
}

.hbar .cls-white {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-width: 8px;
}

img.fullwidth {
    width: 100%;
}
img.fullwidthpadded {
    width: 92%;
    display: block;
    margin: 4vw auto;
}

.textblock {
    /* width: 950px; */
    width: 50%;
    margin: 6.5vw auto;

}

.youtubevid {
    padding: 4vw;
    margin: 0 auto;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.processblock {
    background-color: white;
    border-top: 1vw #21ACE8 solid;
    border-bottom: 1vw #21ACE8 solid;
    padding: 10vw 2vw;
    position: relative;
}

.processblock .fullwidth-bg {
    background-color: white !important;
    border-top: 1vw #21ACE8 solid;
    border-bottom: 1vw #21ACE8 solid;
    padding: 10vw 2vw;
    top: -1vw;
    bottom: -1vw;
}

/* inheritance overrides */

body section {
    position: relative;
}

.fullwidth-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    top: 0;
    width: 100vw;
    z-index: -1;
}

body#acpy #hero,
body#acpy .fullwidth-bg {
    background-color: #2999C3;
    padding-top: 1pt;
    color: white;
}

body#rwb #hero,
body#rwb .fullwidth-bg {
    background-color: #BF0D3E;
    padding-bottom: 4vw;
    padding-top: 1pt;
    color: white;
}

body#wheelwell #hero,
body#wheelwell .fullwidth-bg {
    background-color: #051120;
    padding-top: 1pt;
    color: white;
}

body#rpan #hero,
body#rpan .fullwidth-bg {
    background-color: #FF3B01;
    padding-bottom: 4vw;
    padding-top: 1pt;
    color: white;
}

body#ethex #hero {
    padding-top: 1pt;
    color: #05CAEE;
}
body#ethex .fullwidth-bg {
    background-color: #ECECEC;
    overflow: hidden;
}
body#ethex .fullwidth-bg img {
    position: absolute;
    height: 60%;
    top: calc(6.5vw + 8em);
}
#ethex-hero-left {
    left: 0;
    transform: translateX(-50%);
}
#ethex-hero-right {
    right: 0;
    transform: translateX(50%);
}

body#social #hero,
body#social .fullwidth-bg {
    background-color: #21ACE8;
    padding-top: 1pt;
    color: white;
}
body#social #hero img {
    display: block; 
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto;
    padding: 3vw 0;
}
body#social .usecases {
    display: flex;
    align-items: center;
    margin: 1.5em 0;
}
body#social .usecases img {
    min-width: 30%;
    max-width: 30%; 
    height: auto;
    object-fit: scale-down;
    margin-right: 1.25em;
}
body#social #capabilities{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.85em;
    row-gap: 1em;
}
body#social #capabilities div{
    width: calc(33% - 2em);
}
body#social #capabilities img{
    width: 100%;
    height: auto;
}
body#social #reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 1em;
} 
body#social #reviews > div {
    width: calc(50% - 0.5em);
}
body#social #reviews .reviewcards {
    padding: 20px 20px 36px;
    background-color: #F2F2F2;
    border-radius: 10px;
    font-size: 0.85em;
    margin-bottom: 1em;
}
body#social #reviews .reviewcards .stars{
    font-size: 1.25em; 
    color: #EE9937;
}
body#social #reviews .reviewcards .reviewheader{
    font-size: 1.25em;
    margin: 0.5em 0;
}

body#home #hero {
    height: 93vh;
    background-color: #ECECEC;
    position: relative;
}
#home #hero .textblock {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#home #hero h1 {
    color: #B3B1AB;
    font-size: 3em;
}
#home #hero p {
    font-size: 1.3em;
}


.textblock h1 {
    text-align: left;
    padding: 0;
}
.textblock h2 {
    text-align: left;
    padding: 0;
    margin: 0 0 1em 0;
}
.textblock p {
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}
.processblock .textblock {
    color: #21ACE8;
    margin-top: 0;
}

/* phone e.g. text got too small! */
@media only screen and (max-width: 850px) {
    #main,
    .navigation {
        /* base size. */
        font-size: 14px;
    }
    #navbar {
        height: 95px;
        padding: 30px 20px
    }
    #retronyms-logo{
        height: 35px;
    }
    .navigationContainer {
        padding: 0 80px
    }
    .textblock {
        width: 80vw;
    }
    body#home #hero {
        height: 60vh;
    }
    #hero-text{
        margin-top: 95px;
    }
    body#social #hero img {
        padding: 5vw;
    }
    body#social #capabilities {
        font-size: 1em;
    }
    body#social #reviews > div {
        width: 100%;
    }
    body#social #reviews .reviewcards {
        font-size: 1em;
    }
}
@media only screen and (max-width: 767px) {
    body#social #capabilities {
        font-size: 1em;
        justify-content: center;
    }
    body#social #capabilities div {
        width: calc(50% - 1em);
    }
    body#social #capabilities div:nth-of-type(odd) {
        margin-right: 2em;
    }
    body#social #capabilities div:last-of-type {
        margin-right: 0;
    }
    body#social #capabilities div,
    body#social #capabilities div p{
        text-align: center;
    }
}
@media only screen and (max-width: 420px) {
    body#social .usecases {
        flex-wrap: wrap;
        justify-content: center;
    }
    body#social .usecases img {
        min-width: 75%;
        max-width: 75%;
        margin: 0 0 1em;
    }
    body#social .usecases div {
        width: 100%; 
    }
    body#social #capabilities{
        row-gap: 2em;
    }
    body#social #capabilities div {
        width: 100%;
    }
    body#social #capabilities div:nth-of-type(odd) {
        margin-right: 0;
    }
    body#social #capabilities img{
        width: 75%;
    }
}





/*!
 * Web Fonts from Fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2019 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      René Bieder
 * License URL: https://www.fontspring.com/licenses/rene-bieder/webfont
 *
 *
 */

 @font-face {
    font-family: 'campton-extrabold';
    src: url('campton-extrabold-webfont.woff2') format('woff2'),
         url('campton-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'campton-book';
    src: url('campton-book-webfont.woff2') format('woff2'),
         url('campton-book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'campton-semibold';
    src: url('campton-semibold-webfont.woff2') format('woff2'),
         url('campton-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
