/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html, body {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    font-family: 'Work Sans', sans-serif;
}

canvas {
    display:block;
    vertical-align:bottom;
}


/* ---- stats.js ---- */

.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

/* ---- particles.js container ---- */

#particles-js {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    background-image: url('');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* ---- logo container ---- */

#diamond-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3));
}

@media screen and (max-width: 767px) {
    #diamond-wrapper {
        padding: 15px;
    }
}

#diamond {
    padding: 60px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    #diamond {
        padding: 15px;
    }
}

#diamond > svg {
    width: 100%;
    max-width: 150px;
    display: inline-block;
}

.time1 {
    animation-duration: 2s !important;
}

.time2 {
    animation-duration: 2s !important;
}

/*#diamond > svg .fade-out {
    animation: fade-animation 2000ms linear 1 forwards;
    transition: opacity 1s ease-in-out;
    animation-delay: 1s;
}*/

#diamond > svg .fade-in {
    animation: fade-animation-in 2000ms linear 1 forwards;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    animation-delay: 1s;
}

#diamond > svg, .left {
    fill: #00A5A0;
    transition: fill 1s ease-in-out;
}

@keyframes move-animation {
    to {
        transform: translate(0px, 150px);
    }
}

@keyframes fade-animation {
    to {
        opacity: 0;
    }
}

@keyframes fade-animation-in {
    to {
        opacity: 1;
    }
}

@keyframes diamond-animation-test {
  to {
    transform: scale(0);
    opacity: 0;
  }
}

#diamond > svg > polygon.fade-out {
  animation: diamond-animation-test 4000ms linear 1 forwards;
  transform: scale(1);
  transform-origin: center center;
  opacity: 1;
}

#diamond > .text {
    font-size: 48px;
    margin-top: 15px;
    font-weight: 100;
    text-align: center;
}