
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700');

html {
    font-family: 'Raleway', sans-serif;
    
}


body.profile > main > * {
    flex-grow: 1;
    
}

body.profile > header {
    position: sticky;
    top: 0px;
    height: 0px;
    max-width: 100%;
    z-index: 10;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    color: #005b88;
    font-size: 22px;
    overflow: visible;
    text-shadow: 0px 0px 3px #fff;
    line-height: 0;
    line-height: 1.35em;
    
}
body.profile > header > * {
    padding: 10px;
    margin: 0;
    
}
body.profile > header > nav {
    padding-bottom: 0;
    font-weight: bold;
    
}
body.profile > header > figure {
    padding-bottom: 12px;
    
}
body.profile > header > figure.top-logo {
    height: 100px;
    width: 150px;
    position: relative;
    display: flex;
    align-items: flex-start;
    
}
body.profile > header > figure.top-logo a {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    
}
body.profile > header > figure.top-logo svg {
    max-height: 100%;
    max-width: 100%;
    
}
body.profile > header > figure.top-logo svg path {
    fill: #005b88;
    stroke-width: 4px;
    stroke: #fff;
    
}
body.profile > header > figure h1 {
    margin: 0;
    font-weight: normal;
    
}
body.profile > header > nav > a {
    margin: 0 6px;
    
}
body.profile div.header-help {
    position: sticky;
    top: 0;
    background: #fff;
    
}


section[class*="section-"] {
    position: relative;
    min-height: 100vh;
    background: #fff;
    
}
section.section-1 {
    background: #22ddbb;
    box-shadow: 0 0 10px 0px #37436f;
    z-index: 1;
    
}

section.section-1 figure.bottom-creeper {
    position: absolute;
    bottom: 0px;
    left: 0px;
    max-width: 400px;
    margin: 0;
    display: flex;
    align-items: flex-end;
    z-index: 2;
    
}
section.section-1 canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    
}

section.section-1 img {
    width: 100%;
    height: auto;
    
}

section.section-1 > h2 {
    align-self: flex-start;
    position: relative;
    top: 80px;
    z-index: 3;
    color: #005b88;
    
}

section.section-2 {
    background: #d0d0ff url(/images/home/crystal-backs.png);
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-size: cover;
    
}
section.section-2 > * {
    margin: 20px;
    
}

section.section-2 > p {
    color: #37436f;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    
}
section.section-2 > p > * {
  flex-grow: 0;
  
}

section.section-2 > p > *:not(flex-row),
section.section-2 > p > flex-row > * {
    box-shadow: 0 0 19px 0px #fff;
    background: rgba(255, 255, 255, 0.4);
}
section.section-2 > p > strong,
section.section-3 > p > strong,
section.section-4 > p > strong {
    font-size: 32px;
    margin: 20px;
    font-weight: normal;
    align-self: center;
    border-bottom: 2px solid #37436f;
    padding-bottom: 4px;
    
}
section.section-2 > p > span {
    font-size: 22px;
    margin: 20px;
    line-height: 1.5em;
    font-weight: bold;
    padding: 4px 28px;
    
}
section.section-2 > p > span:first-of-type {
    margin-bottom: 0;
    
}
section.section-2 > p > span:nth-of-type(2) {
    margin-top: 0;
    
}
section.section-2 > p > span:last-of-type {
    font-size: 18px;
    max-width: 360px;
    margin: 20px auto;
    align-self: center;
    
}
section.section-2 > p a[data-click-box] {
    align-self: center;
    background: #37436f;
    border: 2px solid #37436f;
    padding: 14px;
    color: #fff;
    transition: 0.35s;
    min-width: 140px;
    
}
section.section-2 > p a[data-click-box]:hover {
    background: rgba(0, 0, 0, 0);
    color: #37436f;
    
}
section.section-2 > p > flex-row.da-buttons {
    max-width: 400px;
    margin-top: 20px;
    
}
section.section-2 > figure {
    overflow: hidden;
    
}
section.section-2 > figure > img {
    height: 100%;
    width: auto;
    max-width: unset;
    
}
section.section-2 > div[data-click-box-display] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    margin: 0;
    justify-content: center;
    align-items: center;

}
section.section-2 > div[data-click-box-display]> p {
    min-height: 300px;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 4px 4px 10px 0px #000;
    flex-flow: column;
    flex-grow: 1;
    max-width: 280px;
    position: relative;

}
section.section-2 > div[data-click-box-display] > p > a {
    margin: 20px auto;
    color: blue;
    cursor: pointer;

}
section.section-2 > div[data-click-box-display] > p > a:hover {
    color: purple;

}
section.section-2 > div[data-click-box-display] > p > a > b {
    color: #000;

}
section.section-2 > div[data-click-box-display] > p > a.hi-bye {
    position: absolute;
    top: -10px;
    right: -10px;
    margin: 0;
    background: #333;
    border-radius: 50%;
    padding: 16px 10px;
    line-height: 0;
    font-size: 16px;
    color: #fff;
    border: 1px solid #333;

}
section.section-2 > div[data-click-box-display] > p > a.hi-bye:hover {
    color: #333;
    background: #fff;

}


/* -- section 3 -- */
    section.section-3 {
        align-items: stretch;
        justify-content: center;
        align-content: center;
        background-color:#a3dd91;
        background-image: radial-gradient(circle closest-side, #a3dd91  61%,transparent 62%),
                          radial-gradient(circle closest-side, transparent 85%, rgba(255,255,255,1) 86%,rgba(255,255,255,1) 99%,  transparent 100%),
                          radial-gradient(circle closest-side, transparent 85%, rgba(255,255,255,1) 86%,rgba(255,255,255,1) 99%,  transparent 100%);
        background-size: 100px 100px,100px 50px,50px 100px;
        background-position: 0px 0px;
        box-shadow: 0 0 10px 0px #37436f;
        color: #37436f;
        z-index: 1;
        
    }
    section.section-3 > p {
        min-width: 100%;
        
    }
    body section.section-3 > div {
        display: flex;
        flex-flow: column;
        margin: 20px;
        border-radius: 14px;
        background: rgba(250, 250, 250, 0.92);
        padding: 10px;
        box-shadow: 0 0 7px 0 #000;
        max-width: 400px;
        
        
    }
    section.section-3 > div > strong {
        border-bottom: 2px solid #37436f;
        font-size: 24px;
        font-weight: normal;
        padding: 10px 10px 20px;
        margin-bottom: 10px;
        
    }
    section.section-3 > div > ul {
        flex-grow: 1;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        font-weight: bold;
        
    }
    section.section-3 > div > ul > li {
        margin: 4px 0;
        text-align: left;
        
    }

/* -- end section 3 -- */


/* -- Section 4 -- */
    section.section-4 {
      color: #37436f;
      justify-content: center;
      align-content: center;
    
    }
    section.section-4 > * {
      min-width: 100%;
      justify-content: center;
      
    }
    section.section-4 .companies {
      max-width: 1800px;
      min-width: unset;
      
    }
    section.section-4 .companies > figure {
      --margin-var: 16px;
      
      width: calc(50% - var(--margin-var) * 2);
      flex-flow: row wrap;
      display: flex;
      border: 1px solid #afafaf;
      border-radius: 6px;
      overflow: hidden;
      margin: var(--margin-var);
      box-shadow: 6px 6px 0px 0px #37436f;
      flex-basis: 350px;
      
    }
    section.section-4 .companies > figure > * {
      flex-basis: 280px;
      width: auto;
      min-width: unset;
      order: 1;
    
    }
    
    section.section-4 .companies > figure > :last-of-type {
      padding: 20px;
      border-top: 2px dashed;
      
    }
    section.section-4 .companies > figure > :last-of-type > figcaption {
      font-weight: bold;
      margin-bottom: 20px;
      font-size: 18px;
      
    }
    section.section-4 .companies > figure > :last-of-type > i {
      font-size: 14px;
      margin-bottom: 12px;
      
    }
    section.section-4 .companies > figure > :last-of-type > a {
      margin: auto auto 0;
      padding: 4px 8px 6px 6px;
      background: rgba(0, 0, 0, 0);
      border-radius: 4px;
      color: #fff;
      border: 2px solid #37436f;
      box-shadow: inset 0 0 0 100px #37436f;
      transition-property: color, box-shadow;
      transition-duration: 0.3s, 0.3s;
      transition-delay: 0.0s, 0.0s;
      
    }
    section.section-4 .companies > figure > :last-of-type > a:hover {
      color: #37436f;
      box-shadow: inset 0 0 0 0px #37436f;
      transition-property: color, box-shadow;
      transition-duration: 0.3s, 0.3s;
      transition-delay: 0.3s, 0s;
      
    }

/* -- end Section 4 -- */





@media only screen and (max-width: 800px) {    
    
    section.section-1 h2 {
            margin: auto;
    
    }

    
}


@media only screen and (min-width: 800px) {
  
    body.profile > header {
        margin-top: calc(50vh - 40px);
        margin-bottom: calc(-50vh + 40px);
        
    }

    section.section-1 > h2 {
        align-self: start;
        top: calc(50vh + 10px);
        
    }
    
    
    section.section-2 > div[data-click-box-display] > p {
        max-width: 500px;
    
    }
    
}

