
div#maincontainer-background
{
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    /*border: 1px solid #f00;*/

    overflow: scroll;
}

div#maincontainer-background > div
{
    box-sizing: border-box;
    /*border: 1px solid #f00;*/

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;

    transition: all 1s ease;
}

div#maincontainer-background > div > div
{
    flex-grow: 0;
    flex-shrink: 0;

    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

div#maincontainer-background > div > div:nth-child(1)
{
    background-image: url("../img/bigbg/bird-small.jpg");
}

div#maincontainer-background > div > div:nth-child(2)
{
    background-image: url("../img/bigbg/phone-warm.jpg");
}

div#maincontainer-background > div > div:nth-child(3)
{
    background-image: url("../img/bigbg/london.jpg");
}

div#maincontainer-background > div > div:nth-child(4)
{
    background-image: url("../img/bigbg/cats-computer.jpg");
}

div#maincontainer-background > div > div:nth-child(5)
{
    background-image: url("../img/bigbg/city-night.jpg");
}

div#maincontainer-background > div > div:nth-child(6)
{
    background-image: url("../img/bigbg/keyboard-notepad.jpg");
}

div#maincontainer-background > div > div:nth-child(7)
{
    background-image: url("../img/bigbg/downtown-night.jpg");
}


div#maincontainer
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    /*border: 1px solid #f00;*/

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}

div#maincontainer div.navi
{
    position: absolute;
    width: 2rem;
    height: 10rem;
    box-sizing: border-box;

    border: 0px solid #f00;
    border-radius: .5rem;
    opacity: 0.01;

    margin: 30% .5rem 0 .5rem;
    padding: 0;
    z-index: 10;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

div#maincontainer div.navi:hover
{
    opacity: 0.2;
    background-color: rgba(255, 255, 255, .5);
}

div#maincontainer div.navi#goleft
{
    left: 0;
    background-image: url("../img/arrow-left.svg");
}

div#maincontainer div.navi#goright
{
    right: 0;
    background-image: url("../img/arrow-right.svg");
}


div#header
{
    flex-grow: 0;
    flex-shrink: 0;
    /*flex-basis: 5rem;*/

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 1rem 0 1rem;
    line-height: 5rem;
    font-size: 1rem;
    font-family: helv-light, helvetica, verdana, arial, sans-serif;

    background-color: rgba(255, 255, 255, .4);
    color: #730;

    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;

    /*text-transform: uppercase;*/
}

/*****************************************************************************************/
/*
Logo
*/
/*****************************************************************************************/
div#menu-logo
{
    height: 5rem;
    line-height: 5rem;
    padding: 0;
    margin: 0 2rem 0 1rem;
    box-sizing: border-box;

    flex-grow: 0;
    flex-shrink: 0;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

div#menu-logo input[type="checkbox"]
{
    width: 0 !important;
    height: 0 !important;
    display: none;
}

div#menu-logo img
{
    display: inline-block;
    box-sizing: border-box;
    margin: .75rem 0 .75rem 0;
    padding: 0;
    height: 3.5rem;
    width: auto;

    position: relative;
    top: 0;
    left: 0;
    float: left;
    transition: all .5s linear;
}

div#menu-logo input:checked ~ img:nth-child(2)
{
    position: relative;
    top: -1.15rem;
    left: 0.45rem;
    transform: rotate(90deg) rotateX(180deg);
    transform-origin: 50% 50%;
}

div#menu-logo input:checked ~ img:nth-child(3)
{
    position: relative;
    top: 0rem;
    left: -0.75rem;
    transform: rotate(-270deg) rotatex(180deg);
    transform-origin: 50% 50%;
}

div#menu-logo input:checked ~ img:nth-child(4)
{
    position: relative;
    top: 0.5rem;
    left: 0rem;
    /*transform: rotatey(360deg);*/
    transform-origin: 50% 50%;
}

/*****************************************************************************************/
/*
Contact
 */
/*****************************************************************************************/

div#contact
{
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;

    top: 5.5rem;
    left: .5rem;
    width: 40rem;
    height: 34rem;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-image: url("../img/bigbg/construction-sky.jpg");

    border-radius: .2rem;

    color: #555;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);


    transition: all .5s linear;
    transform: rotateX(90deg);
    transform-origin: 0 0;
    z-index: 100;
}

div#contact.opened
{
    transform: rotateX(0deg);
}


div#contact-top
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;

    width: 100%;
    height: 7rem;
    font-family: helv-bold, helvetica, sans-serif;
    /*border: 1px solid #0f0;*/

    color: #fff;
    background-color: rgba(119, 52, 0, .8);

}

div#contact-top > div
{
    width: 100%;
    height: 50%;
    box-sizing: border-box;

    padding: 1rem 2rem 1rem 2rem;

    border: 0px solid #f00;

    font-size: 2rem;
    line-height: 3rem;
}

div#contact-top > div:nth-child(2)
{
    font-size: 1.5rem;
}


div#contact-middle
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*border: 1px solid #0f0;*/

    width: 100%;
    height: 20rem;

    background-color: rgba(255, 255, 255, .8);
    color: #777;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
}

div#contact-middle > div:nth-child(1)
{
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 15rem;
    height: 100%;
    box-sizing: border-box;

    background: rgba(255, 255, 255, .8);

    line-height: 1.5rem;
    font-size: 1.5rem;
    font-family: helv-bold, helvetica, sans-serif;
    padding: 1rem;

    /*border: 1px solid #f00;*/
}

div#contact-middle > div:nth-child(1) > div
{
    width: 100%;
    height: 3rem;
    line-height: 3rem;
}

div#contact-middle > div:nth-child(2)
{
    flex-grow: 1;
    flex-shrink: 1;
    height: 100%;
    box-sizing: border-box;

    line-height: 1.5rem;
    font-size: 1.5rem;
    font-family: helv-bold, helvetica, sans-serif;
    padding: 1rem;

    /*border: 1px solid #0f0;*/
}

div#contact-middle > div:nth-child(2) > textarea
{
    width: 100%;
    height: 100%;
}


div#contact-bottom
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*border: 1px solid #0f0;*/

    width: 100%;
    height: 7rem;

    background-color: rgba(119, 52, 0, .8);
}

div#contact-bottom button
{
    margin: 1.5rem;
    float: right;
}

div#contact div.captchainput
{
    display: inline-block;
    width: 3rem;
}

div#contact-middle > div:nth-child(1) > div.captchatip,
div.captchatip
{
    font-size: .3rem;
    font-family: helv-light, helvetica, verdana, arial, sans-serif;
    line-height: .5rem;
    height: auto;
    padding: 1rem 1.5rem 1rem 0;
    text-align: justify;
}


/*****************************************************************************************/
/*
Top Menu
*/
/*****************************************************************************************/

div.topmenuitem
{
    /*display: inline-block;*/
    position: relative;
    box-sizing: border-box;
    height: 2rem;
    line-height: 2rem;
    /*padding: 0 .2rem 0 .2rem;*/
    margin: 0 .2rem 0 .2rem;

    /*background-color: #fff3;*/
    border-radius: .2rem;
    font-size: 1.2rem;

    flex-grow: 1;
    flex-shrink: 1;
    /*flex-basis: 12%;*/

    text-align: center;

    transition: all .5s;

    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    border-right: 1px solid rgba(120, 50, 0, .5);
    border-left: 1px solid rgba(120, 50, 0, .5);
}


div.topmenuitem:not(.active):hover
{
    background: rgba(255, 255, 255, .3);
    border-left: 1px solid rgba(120, 50, 0, 0.1);
    border-right: 1px solid rgba(120, 50, 0, 0.1);
    box-sizing: border-box;

    /*transform: scale(1.2);*/
    /*text-shadow: 0 0 3px #bbb;*/
}

div.topmenuitem:not(.active):hover:before
{
    content: " ";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: -1px;
    height: 2rem;
    border-left: 1px solid rgba(120, 50, 0, .5);
    border-top: 1px solid rgba(120, 50, 0, .5);
    border-bottom: 1px solid rgba(120, 50, 0, .5);
    border-top-left-radius: .2rem;
    border-bottom-left-radius: .2rem;
    font-size: 1.2rem;
    width: 1px;
    animation: 1s linear infinite menusize;
}

div.topmenuitem:not(.active):hover:after
{
    content: " ";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: -1px;
    height: 2rem;
    border-right: 1px solid rgba(120, 50, 0, .5);
    border-top: 1px solid rgba(120, 50, 0, .5);
    border-bottom: 1px solid rgba(120, 50, 0, .5);
    border-top-right-radius: .2rem;
    border-bottom-right-radius: .2rem;
    font-size: 1.2rem;
    width: 1px;
    animation: 1s ease-in infinite menusize;
}

@keyframes menusize
{
    0%
    {
        width: 1px;
        opacity: 1;
    }
    70%
    {
        width: 50%;
        opacity: 0;
    }
    80%
    {
        width: 1px;
        opacity: 0;
    }
    100%
    {
        width: 1px;
        opacity: 0;
    }
}

div.topmenuitem:active
{
    background: rgba(255, 255, 255, .8);
    cursor: default;
}

div.topmenuitem.active
{
    background: rgba(120, 50, 0, .5);
    color: #fff;
    /*
    border-right: 1px solid rgba(120, 50, 0, .9);
    border-left: 1px solid rgba(120, 50, 0, .9);
    */
    cursor: default;
}


/*****************************************************************************************/
/*
Footer
 */
/*****************************************************************************************/
div#footer
{
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: 1rem;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: .5rem;
    font-size: .5rem;
    font-family: helv-light, helvetica, verdana, arial, sans-serif;

    background-color: rgba(255, 255, 255, .5);
    color: #777;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;

    /*text-transform: uppercase;*/
}

div#footer div
{
    flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
}

div#footer div a,
div#footer div a:visited
{
    color: #555;
}

/*****************************************************************************************/
/*
Content
*/
/*****************************************************************************************/
div#content
{

    flex-grow: 1;
    flex-shrink: 1;

    box-sizing: border-box;

    overflow: hidden;

    height: calc(100vh - 6rem);
    width: 100vw;


    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

div#content-strip
{

    height: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: space-around;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);

    transition: all 1s ease-in-out;
}


div#content-strip > div.content-item
{
    flex-grow: 0;
    flex-shrink: 0;
    height: 100%;
    width: 100vw;
    box-sizing: border-box;

    padding: 5rem;

    /*
    backdrop-filter: blur(1.2px);
    -webkit-backdrop-filter: blur(1.2px);
    */
}

div#content-strip > div.content-item > div
{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: space-around;

    overflow: hidden;

    border-radius: 1rem;
}

div#content-strip > div.content-item > div > div:nth-child(1)
{
    box-sizing: border-box;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 33%;
    height: 100%;
    background: rgba(40, 15, 0, .8);
    padding: 2rem;

    font-family: helv-bold, helvetica, sans-serif;
    color: #fff;
}

div#content-strip > div.content-item > div > div:nth-child(2)
{
    box-sizing: border-box;

    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 67%;

    height: 100%;
    color: #555;

    overflow-x: hidden;
    overflow-y: auto;

    background: rgba(255, 240, 220, .8);
    padding: 2rem;

    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/*
Paragraph with first letter highlighted
*/
div.text p
{
    font-family: helv-light, helvetica, verdana, arial, sans-serif;
    display: block;
    line-height: 1.5rem;
    text-align: justify;
    margin: 0.5em;
    padding: 0;
}

div.text p:first-letter
{
    font-size: 3em;
    float: left;
    margin: .25em .2em 0 0;
}

/*
Headers
*/
h1
{
    font-size: 3rem;
    display: inline-block;
    margin: 1rem;
    font-family: helv-bold, helvetica, sans-serif;
}

h2
{
    font-size: 1.2rem;
    display: inline-block;
    margin: .5em 0 .5em 0;
    font-family: helv-bold, helvetica, sans-serif;
}

/*
Lists
 */
ul,
ol
{
    margin: 2rem 1rem 2rem 1rem;
}

li
{
    margin: .5rem;
}

/*
Links
 */
div.anchor
{
    padding: 3rem;
    cursor: pointer;
}

/*
Table-like
 */
div.table
{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: space-around;
    width: 100%;

    border: 0px solid #0f0;
}

div.tr
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: space-around;

    border: 0px solid #f00;
}

div.td
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    display: inline-block;
    padding: 1em;

    border: 0px solid #00f;
}

div.td span
{
    display: block;
}

/*
Flex definitions
 */
div.flexcolumnstart
{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: space-around;

    min-height: 100%;
}

div.flexcolumncenter
{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;

    min-height: 100%;
}

div.flexrowstart
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: space-around;
}

div.flexrowcenter
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;
}

div.flexcontentresizable,
div.flexcontentresizable
{
    flex-grow: 1;
    flex-shrink: 1;
}

div.flexrowstart > div.flexcontentresizable,
div.flexrowcenter > div.flexcontentresizable
{
    height: 100%;
}

div.flexcolumnstart > div.flexcontentresizable,
div.flexcolumncenter > div.flexcontentresizable
{
    width: 100%;
}

div.flexcontentfixed,
div.flexcontentfixed
{
    flex-grow: 0;
    flex-shrink: 0;
}


div.centeredtext
{
    text-align: center;
}


/*
Contact 2
 */


div.contact2-row
{
    height: 100%;
}


div#content-strip div#contact-main-middle
{
    box-sizing: border-box;
    width: 100%;
}

div#content-strip div.flexcolumn div.flexcontent.nogrow
{
    flex-grow: 0;
    flex-shrink: 0;
}

div#contact-main-middle > div:nth-child(1)
{
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 30%;
    box-sizing: border-box;

    line-height: 1.5rem;
    font-size: 1.5rem;
    font-family: helv-bold, helvetica, sans-serif;
    padding: 1rem;

    /*border: 1px solid #f00;*/
}

div#contact-main-middle > div:nth-child(1) > div
{
    width: 100%;
    height: 3rem;
}

div#contact-main-middle > div:nth-child(2)
{
    flex-grow: 1;
    flex-shrink: 1;
    box-sizing: border-box;

    line-height: 1.5rem;
    font-size: 1.5rem;
    font-family: helv-bold, helvetica, sans-serif;
    padding: 1rem;

    /*border: 1px solid #0f0;*/
}

div#contact-main-middle > div:nth-child(2) > textarea
{
    width: 100%;
    height: 100%;
}

div#contact2-firstcol
{
    flex-basis: 30%;
}

div#contact2-firstcol > div:nth-child(1)
{
    margin-bottom: 2rem;
}

div#contact2-firstcol div
{
    padding-left: 0;
    padding-top: 1rem;
}

div#contact2-secondcol
{
    padding: 7rem 3rem 2rem 0;
}

div#contact2-secondcol textarea
{
    width: 100%;
    height: 100%;
}


div#contact-main-bottom
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*border: 1px solid #0f0;*/

    width: 100%;
    flex-basis: 7rem;
    flex-grow: 0;
    flex-shrink: 0;
}

div#contact-main-bottom button
{
    margin: 1.5rem;
    float: right;
    background-color: rgba(70, 30, 0, .5);
}


div.content-item#content-home
{
    /*background-image: url("");*/
}

div.content-item#content-boost
{
}

div.content-item#content-solutions
{
}

div.content-item#content-values
{
}

div.content-item#content-we
{
}

div.content-item#content-partners
{
}

div#msgBoxCover
{
    display: none;
    position: absolute;
    box-sizing: border-box;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

div#msgBox
{
    position: relative;
    top: 20%;
    width: 33%;
    height: 10rem;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(70, 30, 0, .5);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
    box-shadow: 0 0 .5rem #555;
}

div#msgBox > div:nth-child(1)
{
    width: 100%;
    height: 7rem;
    overflow: hidden;
    padding: 1em;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

div#msgBox > div:nth-child(2)
{
    width: 100%;
    height: 3rem;
    overflow: hidden;
    padding: .5em;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

div#msgBox > div:nth-child(2) > button#msgBoxOk
{
    height: 2rem;
    margin: 0;
    color: rgba(70, 30, 0, 1);
    background-color: rgba(70, 30, 0, .3);
}

button#contact-send2
{
    float: right;
    margin-right: 3rem;
    color: rgba(70, 30, 0, 1);
    background-color: rgba(70, 30, 0, .3);
}

.blink1
{
    animation: 1s linear .1s 1 blink;
}

.blink2
{
    animation: 1s linear .3s 1 blink;
}

.blink3
{
    animation: 1s linear .5s 1 blink;
}

.blink4
{
    animation: 1s linear .7s 1 blink;
}

@keyframes blink
{
    0%
    {
        background: initial;
    }
    50%
    {
        background: rgba(255, 0, 0, .7);
    }
    100%
    {
        background: initial;
    }
}
