body {
    color: rgba(255, 255, 255,0.95);
    font-family: 'Open Sans', sans-serif;
    font-size: medium;
    /*overflow: hidden;*/
}

a {
    color: rgba(255, 255, 255,0.95);
}

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

.body {
}

.wrapper {
    background-image: url(../img/background-cachet.jpg);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;

    -moz-box-shadow: inset 0 0 8em black;
    -webkit-box-shadow: inset 0 0 8em black;
    box-shadow: inset 0 0 8em black;

    max-height: 100vh;
    height: 100vh;
    width: 100%;
    max-width: 100%;

    position: absolute;
    left: 0;
    top: 0;

    animation: zoom 5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: zoom 5s linear 1;
    -webkit-animation-fill-mode: forwards;

}

@-webkit-keyframes zoom {
    0%  {  -webkit-transform: scale(1); }
    60%  {  -webkit-transform: scale(1); }
    100% { -webkit-transform: scale(1.05);}
}
@keyframes zoom {
    0%  {  transform: scale(1); }
    60%  {  transform: scale(1); }
    100% { transform: scale(1.05);}
}

.wrapper:before {
    content: '';
    background: black;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    animation: fade 5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: fade 5s linear 1;
    -webkit-animation-fill-mode: forwards;
}
/*
.wrapper2 {
    background-color: black;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;

    max-height: 100vh;
    height: 100vh;
    width: 100%;
    max-width: 100%;

    position: absolute;
    top: 0;
    left: 0;


    animation: fade 5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: fade 5s linear 1;
    -webkit-animation-fill-mode: forwards;


}
*/

@-webkit-keyframes fade {
    0%  {  opacity: 1; -webkit-transform: scale(1);}
    60%  {  opacity: 1; -webkit-transform: scale(1);}
    100% { opacity: 0.5; -webkit-transform: scale(1.05);}
}
@keyframes fade {
    0%  {  opacity: 1; transform: scale(1); }
    60%  {  opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.05); }
}

.headerTop {

    position: relative;
    margin: auto;
    top: 150px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255,0.95);
    border-bottom-width: 1px;

    width: 50%;
    opacity: 0;

    animation: slideUp 2.7s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: slideUp 2.7s linear 1;
    -webkit-animation-fill-mode: forwards;
}

.headerBottom {

    position: relative;
    margin: auto;


    border-top-style: solid;
    border-top-color: rgba(255, 255, 255,0.95);
    border-top-width: 1px;

    width: 50%;
    opacity: 0;

    animation: slideDown 2.7s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: slideDown 2.7s linear 1;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes slideUp {
    0%  { top: 180px; opacity: 0  }
    40%  { top: 180px; opacity: 0   }
    70%  { top: 180px; opacity: 1   }
    100% { top: 100px; opacity: 1  }

}

@-webkit-keyframes slideDown {
    0%  { top: 50px ; opacity: 0  }
    40%  { top: 50px; opacity: 0   }
    70%  { top: 50px; opacity: 1  }
    100% { top: 130px; opacity: 1 }
}

@keyframes slideUp {
    0%  { top: 180px; opacity: 0   }
    40%  { top: 180px; opacity: 0   }
    70%  { top: 180px; opacity: 1   }
    100% { top: 100px; opacity: 1  }

}

@keyframes slideDown {
    0%  { top: 50px; opacity: 0   }
    40%  { top: 50px; opacity: 0   }
    70%  { top: 50px ; opacity: 1  }
    100% { top: 130px; opacity: 1  }
}

.content {
    position: relative;
    top: 110px;
    margin: auto;
    width: 50%;
    opacity: 0;

    animation: textIn 2.8s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: textIn 2.8s linear 1;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes textIn {
    0%  {  opacity: 0; visibility: hidden}
    90% {  opacity: 0; height: 100%}
    100% { opacity: 0.95; height: 100%}
}
@keyframes textIn {
    0%  {  opacity: 0; visibility: hidden}
    90% {  opacity: 0; height: 100%}
    100% { opacity: 0.95; height: 100%}
}

.box {
    width: 60%;
    border: 1px solid rgba(255, 255, 255,0.95);
    height: 50px;
}

#leftBox {
    border-right: 0;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

#middleBox {
    border-right: 0;
}

#rightBox {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.flex {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
   /* -ms-flex-pack: justify;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;*/
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;

    -ms-flex-pack: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    text-align: center;

    height: 50px;
}
 .flex a {
     text-decoration: none;
 }

.flex a {
    border: 1px solid rgba(255, 255, 255,0.95);
    width: 130px;

}

.flex a:hover {
    background-color: rgba(246, 140, 35,0.3);
}



.reveal {
    display: none;
    z-index: 10060000;
    padding: 1rem;
    top: -250px;
    /*border: 1px solid #cacaca;*/
    background-color: rgba(10, 10, 10, 0.8);
    opacity: 0;
    border-radius: 5px;
    position: relative;
    min-height: 300px;
    /*top: 100px;*/
   /* margin-left: auto;
    margin-right: auto;*/
    margin: auto;
    overflow-y: auto;
    color: rgba(255, 255, 255,0.95);
    width: 50%;
}

.close-button {
    position: absolute;
    color: rgba(255, 255, 255,0.95);
    right: 0.5rem;
    top: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 25px;
}
.close-button:hover {
background-color: rgba(100, 100, 100, 0.4)
}



.showModal {
    animation: showModal 0.5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: showModal 0.5s linear 1;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes showModal {
    0%  {  opacity: 0; visibility: visible}
    100% { opacity: 1; visibility: visible}
}
@keyframes showModal {
    0%  {  opacity: 0; visibility: visible}
    100% { opacity: 1; visibility: visible}
}

.closeModal {
    animation: closeModal 0.3s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: closeModal 0.3s linear 1;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes closeModal {
    0%  {  opacity: 1; visibility: visible}
    100% { opacity: 0; visibility: hidden}
}
@keyframes closeModal {
    0%  {  opacity: 1; visibility: visible}
    100% { opacity: 0; visibility: hidden}
}

.zoomOut {

    animation: zoomOut 0.5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: zoomOut 0.5s linear 1;
    -webkit-animation-fill-mode: forwards;

}


@-webkit-keyframes zoomOut {
    0%   {  -webkit-transform: scale(1.05);}
    90%  {  -webkit-transform: scale(1.03);}
    100% {  -webkit-transform: scale(1.03);}

}
@keyframes zoomOut {
    0%  {  transform: scale(1.05);}
    90%  { transform: scale(1.03);}
    100% { transform: scale(1.03);}

}

.zoomIn {
    animation: zoomIn 0.5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: zoomIn 0.5s linear 1;
    -webkit-animation-fill-mode: forwards;

}


@-webkit-keyframes zoomIn {
    0%  {  -webkit-transform: scale(1.03); }
    100% {  -webkit-transform: scale(1.05); }

}
@keyframes zoomIn {
    0%  {  transform: scale(1.03); }
    100% {  transform: scale(1.05); }

}

.darker {
    animation: darker 0.5s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: darker 0.5s linear 1;
    -webkit-animation-fill-mode: forwards;

}

@-webkit-keyframes darker {
    0%  {  opacity: 0.5; }
    100% { opacity: 0.7; }
}
@keyframes darker {
    0%  {  opacity: 0.5; }
    100% { opacity: 0.7; }
}

.lighter {
    animation: lighter 0.5s linear 1;
    animation-fill-mode: forwards;

    -webkit-animation: lighter 0.5s linear 1;
    -webkit-animation-fill-mode: forwards;

}

@-webkit-keyframes lighter {
    0%  {  opacity: 0.7; }
    100% { opacity: 0.5; }
}
@keyframes lighter {
    0%  {  opacity: 0.7; }
    100% { opacity: 0.5; }
}


@-webkit-keyframes hideContent {
    0%  {  opacity: 1; }
    100% { opacity: 0; }
}
@keyframes hideContent {
    0%  {  opacity: 1; }
    100% { opacity: 0; }
}

.hideContent {
    animation: hideContent 0.3s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: hideContent 0.3s linear 1;
    -webkit-animation-fill-mode: forwards;

}

@-webkit-keyframes showContent {
    0%  {  opacity: 0; }
    100% { opacity: 1; }
}
@keyframes showContent {
    0%  {  opacity: 0; }
    100% { opacity: 1; }
}

.showContent {
    animation: showContent 0.7s linear 1;
    animation-fill-mode: forwards;
    -webkit-animation: showContent 0.7s linear 1;
    -webkit-animation-fill-mode: forwards;

}

.vignette {
    -moz-box-shadow: inset 0 0 15em black;  -webkit-box-shadow: inset 0 0 15em black;  box-shadow: inset 0 0 15em black;

}



@media screen and (max-width: 1680px) {

   .headerTop {
       width: 60%;
   }

    .headerBottom {
        width: 60%;
    }
    .content {
        width: 58%;
    }

    .body {
        margin-top: 90px;
    }

    #leftBox {
        border-right: 0;
    }

    #middleBox {
        border-right: 0;
    }

    #rightBox {

    }


}

@media screen and (max-width: 1280px) {

    .headerTop {
        width: 60%;
    }
    .headerBottom {
        width: 60%;
    }
    .content {
        width: 58%;
    }

    .body {
        margin-top: 90px;
    }

    #leftBox {
        border-right: 0;
    }

    #middleBox {
        border-right: 0;
    }

    #rightBox {

    }


}

@media screen and (max-width: 980px) {

    .headerTop {
        width: 80%;

    }
    .headerBottom {
        width: 80%;

    }
    .content {
        width: 78%;

    }

    .body {
        margin-top: 150px;
    }

    #leftBox {
        border-right: 0;
    }

    #middleBox {
        border-right: 0;
    }

    #rightBox {

    }

    .reveal {
        width: 70%;
        top: -250px;
    }
}

@media screen and (max-width: 736px) {

    .headerTop {
        width: 95%;

    }
    .headerBottom {
        width: 95%;

    }
    .content {
        width: 93%;

    }

    .body {
        margin-top: -80px;
    }

    #leftBox {
        border-right: 0;
    }

    #middleBox {
        border-right: 0;
    }

    #rightBox {

    }

    .reveal {
        width: 80%;
        top: -150px;
    }

    body {
        font-size: large;
    }

}

@media screen and (max-width: 480px) {

    .headerTop {
        width:95%;

    }
    .headerBottom {
        width:95%;

    }
    .content {
        width:93%;

    }

    .body {
        margin-top: -30px;
    }

    #leftBox {
        border-right: 0;
    }

    #middleBox {
        border-right: 1px solid rgba(255, 255, 255,0.95);
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    #rightBox {
        border-top: 0;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 5px;
    }

    .reveal {
        width: 90%;
        top: -280px;
    }

    body {
        font-size: large;
    }

}

