:root {
}


svg {
    overflow: clip;
}
/* FORMAT THE BEHAVIOR OF THE NAVIGATION BAR */
.navbar {
    transition: all 0.5s;

}

.no-background {
    background: none !important;
}

.navbar-scrolled {
    background-color: #87D2E7 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    /*font-color: black !important;*/
}

.logo {
    width: 20px;
    margin-right: 5px;
}



.navbar-brand {
    font-weight: bold;
    font-size: 30px;
    width: 30%;
    max-width: 300px;
    min-width: 150px;
    text-align: center;
}

/* FORMAT THE SPLASH SCREEN */
.splash-screen {
    width: 100%;
    min-height: 300px;
    display: flex;
    height: 700px;
    align-items: center;
    color: white;
    background-color: black;
    background-image: url(../images/handshake_background.jpeg);
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    padding-top: 200px;
    padding-bottom: 0px;
    text-align: center;
}

.splash-screen-content {
    margin: auto;
    min-width: 300px;
    width: 70%;
}

.splash-screen-content > h1.splash-header {
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 30px;
    color: white;
}

.splash-screen-content > p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
}
.navbar-toggler:focus {
    box-shadow: none;
}

.splash-screen-content > a {
    padding: 15px 20px;
    border-radius: 20px;
    background-color: #03a9f4;
    transition-duration: 0.5s;
    text-transform: uppercase;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 1px;
    color: white;
}
.splash-screen-content > a.btn-success {

    background-color: green;

}
.splash-screen-content > a:hover {
    background-color: #0277AD;
    transition-duration: 0.5s;
}

/* this creates a ragged edge along the bottom with SVG */
.splash-screen-bottom-edge {
    height: 49px;
    bottom: 0px;
    left: 0px;
    /*display: flex;*/
    vertical-align: bottom;
    width: 2000px;
    max-width: 100%;
    overflow: clip;
    position: absolute;
    z-index: 0;
    margin: 0;
    padding: 0;
}
.splash-screen-bottom-edge svg {
    display: block;
    max-height: 100%;
    width: 100%;
    height: 100%;
}
/* functionality overview classes */
.functionality-item-list {

    /*box-shadow: 10px 3px 50px rgba(255,0,0,0.15);*/
    /*box-shadow: 6px 6px 9px rgba(0,0,0,0.2);*/
    /*box-shadow: 12px 12px 50px rgba(0,0,0,0.4);*/
    /*box-shadow: 6px 6px 0px rgba(0,0,0,1);*/
    box-shadow: 0px 4px 16px 4px rgba(74, 74, 74, 0.3);
    /*filter: drop-shadow(0 0 0.75rem crimson);*/
}

.functionality-item {
    min-height: 200px;
    text-align: center;
    align-content: center;
    vertical-align: center;
    border: 0px solid #03a9f4;
}

.functionality-item  h1 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 20px;
}

.functionality-item > p {
    font-size: 18px;
    margin-top: 10px;
}

.functionality-item-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: auto;
    margin-top: 10px
}

.functionality-item-icon > svg {
    height: 64px;
}

.nav-item {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
}

a.anchor {
    display: block;
    position: relative;
    top: -180px;
    visibility: hidden;
}


/* FORMAT THE HEADER SCREEN FOR OTHER HOME PAGES */

.header {
    width: 100%;
    min-height: 300px;
    display: flex;
    height: 318px;
    align-items: center;
    color: white;
    background-color: black;
    background-image: url(../images/handshake_background.jpeg);
    /*background-image: url(../images/world-network.jpg);*/
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
    justify-content: center;
    z-index: -1;
}


.header-content {
    margin: auto;
    min-width: 400px;
    width: 70%;
    width: 70%;
    position: fixed;
}

.header-content > h1 {
    text-transform: uppercase;
    letter-spacing: 1rem;
    font-size: 5vw;
    position: relative;
    font-weight: bold;
    text-align: center;
    perspective: 50px;
    perspective-origin: 100% 100%;
    display: inline-block;
    filter: blur(0.06rem);
}

.header-icon-item {
    min-height: 200px;
    text-align: center;
    align-content: center;
    vertical-align: center;
    border: 0px solid #03a9f4;
    margin-bottom: 20px;
}

.header-icon-item h1 {
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 20px;
    font-size: 22px;
}

.header-icon {
    /*padding: 50px;*/
    display: block;
    width: 120px;
    height: 120px;
    margin: auto;
    margin-top: -120px;
    border-radius: 60px;
    background-color: #03a9f4;
    vertical-align: center;
    box-shadow: 0px 4px 16px 4px rgba(74, 74, 74, 0.3);
    z-index: 100;
}

.header-icon.new {
    /*padding: 50px;*/
    background-color: green;
    background-color: green;
}
.header-icon > svg {
    margin-top: 25%;
    height: 64px;
    display: inline-block;
    fill: white;
}

/* section formatting */

section {
    max-width: 800px;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
    padding: 30px;
    border: 0.5px #eeeeee solid;
}
section a {
    text-decoration: none;
}
section > h2 {
    margin-bottom: 30px;
}
section > p {
    font-size: large;
    margin-bottom: 30px;
}
p.emphasis {
    font-size: larger;
}
span.source {
    font-style: italic;
    font-size: 15px;
}

.insight-container {
    /*border: 10px solid var(--clr-dark);*/
}
p {font-size: 1.2rem;}
p.citation {font-size: 1rem}
a {
    text-decoration: none;
}
.insight-row {
    /*border: 10px solid green;*/
}


/* actual layout */

h1.landing-page-header {
    color: white;
}

.insight-container {
    display: grid;
    /*gap: 3em;*/
    justify-content: center;

}
.insight-row {
    margin-top: 20px;
    margin-bottom: 40px;
    display: grid;
    align-items: center;
    flex-grow: 1;
    grid-auto-rows: 1fr;
}
.insight-row:nth-child(odd) {
    grid-template-columns: var(--image-width) 1fr;
}
.insight-row:nth-child(even) {
    grid-template-columns: 1fr var(--image-width);
}

.insight-content {
    border-radius: 10px;
    background: white;
    min-width: var(--content-width);
    max-width: 800px;
    box-shadow: var(--box-shadow-light);
}


.insight-image {
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: white;
    border-radius: 10px;
    max-height: var(--image-height);
    box-shadow: var(--box-shadow-light);
}

.insight-image.min-height {
    min-height: var(--image-height);
}

.insight-image.min-height img {
    object-fit: contain;
}

.insight-content, .insight-image {
    transition: 1s;
}

.insight-image img {
    background: none;
    object-fit: cover;
    border-radius: 10px;
    max-height: var(--image-height);
    width: 100%;
    /*height: max-content;*/
}

.insight-content:hover, .insight-image:hover {
    box-shadow: var(--box-shadow-heavy);
    /*transform: translateX(-3px);*/
    transition: 1s;
}
.insight-content {
    min-height: var(--content-height);
    /*padding: 30px 30px 30px 60px;*/
    z-index: 1;
    flex-shrink: 0;
    flex-grow: 1;

}

.insight-content > h2 {
    text-transform: uppercase;
}
.insight-row:nth-child(odd) .insight-content
{
    margin-left: calc(-1 * var(--overlap));
    margin-right: var(--overlap);
    padding: 30px 30px 30px 60px;
    order: 0;
}
.insight-row:nth-child(even) .insight-content
{
    padding: 30px 60px 30px 30px;
    order: -1;
}

.insight-row:nth-child(odd) .insight-image
{
    order: 0;
}

.insight-row:nth-child(even) .insight-image
{
    margin-left: calc(-1 * var(--overlap));
    margin-right: var(--overlap);
}

.important-statement {
    font-size: 1.3rem;
    margin-left: 5%;
    margin-right: 5%;
    padding-left: 5%;
    padding-right: 5%;
    background-color: var(--clr-trustscore-light);
    color: black;
    font-weight: 500;
    border-radius: 5px;
}

.contact > * {
    z-index: 100;
}

.language-button {
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    background: none;
}
/*.contact-form-item {*/
/*    margin-top: 20px;*/
/*}*/
section.contact-form-section {
    box-shadow: var(--box-shadow-light);
}
.contact-form{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1em;
    background-color: white;
}
.contact-form-item label, .contact-form-item input, .contact-form-item textarea  {
    display: flex;
    width: 100%;
}
.contact-form-item label {
    font-weight: bold;
}
.contact-form-item .submit{
    background-color: var(--clr-trustscore-light);
    border: none;
    padding: 3px;
    border-radius: 3px;
}

/* responsive section */
@media screen and (max-width: 800px) {
    body{
        margin-bottom: 100px;
    }
    .insight-content{
        box-shadow: none;
    }
    .insight-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        border-radius: 10px;
        flex-shrink: 1;
        /*min-width: var(--content-width);;*/
    }

    .insight-row:nth-child(odd) {
        grid-template-columns: 1fr;
    }
    .insight-row:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .insight-row:nth-child(odd) .insight-content, .insight-row:nth-child(even) .insight-content{

        border-radius: 0;
        box-shadow: none;
        order: 0;
    }
    .insight-row:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .insight-row:nth-child(even) .insight-image
    {
        margin-left: 60px;
        margin-right: 60px;
        order:-1;
    }

    .insight-image,  .insight-image img {
        /*border-radius: 10px 10px 0 0;*/
        box-shadow: none;
        margin-left: 10px;
        margin-right: 20px;
        /*min-width: 100%;*/
    }

    .insight-content:hover, .insight-image:hover {
        box-shadow: none;
    }
    /*.header-content {display: none;}*/
}
