/* @group generic */

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    position: relative;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: black;
    width: 100%;
    background: white;
    overflow: hidden;
}

#visual {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	object-fit:cover;
}


#container-animation {
	background: rgba(255,255,255, 0);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


#logo {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	/*	width: 50%;*/
	height: auto;
    animation-name: logo;
	animation-duration: 3s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
  	animation-fill-mode: forwards;

}

@keyframes logo {
    0% {
        width: 0;
    }
	
	10% {
		width: 60%;
	}
	
	80% {
		width: 60%;
	}
	
	90% {
		top: 50%;
		left: 50%;
		width: 30%;
	}

    100% {
		top: 25%;
		left: 25%;
		width: 30%;
    }
}

#area-1 {
	top: 0;
	left: 0;
	width: 50%;
	height: 50%;
	animation-delay: 3s;
}

#area-2 {
	top: 0;
	left: 50%;
	width: 50%;
	height: 25%;
	animation-delay: 3.1s;
}

#area-3 {
	top: 25%;
	left: 50%;
	width: 50%;
	height: 25%;
	animation-delay: 3.2s;
}

#area-4 {
	top: 50%;
	left: 0;
	width: 50%;
	height: 50%;
	animation-delay: 3.7s;
}

#area-5 {
	top: 50%;
	left: 50%;
	width: 25%;
	height: 50%;
	animation-delay: 3.8s;
}

#area-6 {
	top: 50%;
	left: 75%;
	width: 25%;
	height: 50%;
	animation-delay: 3.9s;
}

[id^="area"].animated {
	overflow: hidden;
    position: absolute;
    transform-origin: center center;
	animation-name: area;
	animation-duration: 0.4s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
  	animation-fill-mode: both;
	cursor: pointer;
}

[id^="area"].static {
	overflow: hidden;
    position: absolute;
    background: white;
	transition: 0.5s ease-in-out;
	cursor: pointer;
	transform: rotateY(0deg);
}

[id^="area"].static:hover {
	background: #FF6400;
	color: black;
}

[id^="area"].static:hover [id^="text"] {
	color: white;
}

[id^="area"].rotate {
	transform: rotateY(180deg);
}
[id^="area"].rotate:hover {
	background: white;
}

#area-1.static {
	background: white !important;
	cursor: default;
	transform: rotateY(0deg) !important;
}

@keyframes area {
    0% {
		transform: scale(0);
		background: rgba(255,255,255, 0);
    }

    100% {
		transform: scale(1);
		background: rgba(255,255,255, 1);
    }
}


@keyframes area-hover {
    0% {
  		transform: rotateY(0deg);
		background: white;
    }

    100% {
  		transform: rotateY(180deg);
		background: white;
    }
}



#text-2 {
	animation-delay: 4.0s;
}
#text-3 {
	animation-delay: 4.2s;
}
#text-4 {
	animation-delay: 4.4s;
}
#text-5 {
	animation-delay: 4.6s;
}
#text-6 {
	animation-delay: 4.8s;
}

[id^="text"] {
	opacity: 0;
	color: #FF6400;
	overflow: hidden;
    position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	font-size: 5vh;
    transform-origin: center center;
	animation-name: textbox;
	animation-duration: 0.4s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
  	animation-fill-mode: forwards;
}

@keyframes textbox {
    0% {
		transform: translate(-50%,-50%) scale(0);
    }

    100% {
		opacity: 1;
		transform: translate(-50%,-50%) scale(1);
    }
}

[id^="line"] {
	background: black;
    position: absolute;
    transform-origin: center top;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
  	animation-fill-mode: forwards;
}

#line-1 {
    top: 0;
    left: 50%;
    width: 2px;
    animation-name: stretch-height;
	animation-delay: 4s;
}

@keyframes stretch-height {
    0% {
        height: 0;
    }
    100% {
        height: 50%;
    }
}

#line-2 {
    top: 50%;
    left: 0;
	height: 2px;
    animation-name: stretch-length;
	animation-delay: 4.1s;
}

@keyframes stretch-length {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

#line-3 {
    top: 25%;
    right: 0;
	height: 2px;
    animation-name: stretch34;
	animation-delay: 4.2s;
}

#line-4 {
    top: 37.5%;
    left: 50%;
	height: 2px;
    animation-name: stretch34;
	animation-delay: 4.3s;
}

@keyframes stretch34 {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

#line-5 {
    top: 50%;
    left: 50%;
	width: 2px;
    animation-name: stretch-height;
	animation-delay: 4.6s;
}

#line-6 {
    bottom: 0;
    left: 75%;
	width: 2px;
    animation-name: stretch-height;
	animation-delay: 4.7s;
}


@media (max-width: 960px) {

    img#stick-beige, img#stick-red, img#circle {
        width: 900px;
    }
}

/* @end */
