/*
Theme Name: Total Cheta
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Naomi Vinke
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/

@font-face {
    font-family: 'stheitiregular';
    src: url('https://dev.cheta.com/wp-content/uploads/2020/08/stheiti-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

h1, h2, h3, h4 {
	font-family: 'stheitiregular';
	font-weight: 300;
	text-transform: uppercase;
}

*{box-sizing: border-box; -webkit-box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.3 sans-serif; }
a, a:hover, a:active, a:visited { text-decoration: none; }

.vc_column-inner {
	padding: 0 !important;
}

/* MENU */

nav ul {
	display: none;
	margin: 0;
}

nav li {
	list-style-type: none;
	padding: 24px;
	cursor: pointer;
}

nav li:hover {
	background-color: #696969;
}

nav li a {
	text-decoration: none;
	color: #FFF;
	padding: 24px 75px 24px 0;
}

nav.open {
    height: 100vh;
    width: 400px;
}

nav.open ul {
	display: block;
}

.menu-animation {
	width: 45px;
	height: 35px;
	position: relative;
	margin: 5px 5px;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	cursor: pointer;
}
            
.menu-animation span {
	display: block;
	position: absolute;
	height: 5px;
	width: 100%;
	background-color: #FFF;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
            
.menu-animation span:nth-child(1) {
	top: 0px;
	transform-origin: left center;
}
            
.menu-animation span:nth-child(2) {
	top: 11px;
	transform-origin: left center;
}

.menu-animation span:nth-child(3) {
	top: 22px;
}
            
.menu-animation.open span:nth-child(1) {
	transform: rotate(45deg);
	top: 3px;
	left: 8px;
}
            
.menu-animation.open span:nth-child(2) {
	transform: rotate(-45deg);
	top: 35px;
	left: 8px;
}

.menu-animation.open span:nth-child(3) {
	display: none;
}

.overlay {
	display: none;
}

.overlay.active {
	display: block;
	width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 99;
    top: 0;
}

/* HEADER */

.contact-header {
	height: 30vh;
}

.top-header {
	position: absolute;
	top: 0;
	z-index: 999;
	width: 100%;
	padding: 24px 42px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-header-menu.open {
	background: #121212;
    position: absolute;
    top: 0px;
    right: 0px;
}

.top-header-logo img {
	height: 96px;
	width: auto;
}

.header {
	position: relative;
	overflow: hidden;
	width: 100vw;
	height: 90vh;
}

/* SLIDER */

.header .slider {
	position: relative;
	height: 100%;
	white-space: nowrap;
	font-size: 0;
}

.header .slider > * {
	font-size: 1rem;
	display: inline-block;
	white-space: normal;
	vertical-align: top;
	height: 100%;
	width: 100%;
	background-size: cover;
}

.animation .content-box {
	background-color: #B1DDF1;
	animation-name: blueToYellow;
	animation-duration: 8s;
}

.infographics .content-box {
	background-color: #F5B700;
	animation-name: yellowToOrange;
	animation-duration: 8s;
}

.graphic-design .content-box {
	background-color: #E07A5F;
	animation-name: orangeToGreen;
	animation-duration: 8s;
}

.webdesign .content-box {
	background-color: #69B578;
	animation-name: greenToBlue;
	animation-duration: 8s;
}

.content-box {
	position: relative;
	width: 100%;
	height: 100%;
}

.heading {
	width: 40%;
	height: auto;
	position: absolute;
	animation-duration: 8s;
}

.animation .image {
	top: 164px;
	width: 48%;
	height: auto;
	left: 567px;
	animation-name: imageSlide;
}

.infographics .image {
	width: 40%;
	height: auto;
	top: 20px;
	left: 708px;
	animation-name: infoImageSlide;
}

.graphic-design .image {
	width: 58%;
	height: auto;
	top: 96px;
	left: 567px;
	animation-name: imageSlide;
}

.webdesign .image {
	width: 60%;
	height: auto;
	top: 134px;
	left: 567px;
	animation-name: imageSlide;
}

.animation .heading {
	top: 54px;
	animation-name: headingSlide;
}

.infographics .heading {
	top: 114px;
	animation-name: headingSlide;
}

.graphic-design .heading {
	top: 140px;
	animation-name: graphicHeadingSlide;
}

.webdesign .heading {
	top: 150px;
	animation-name: webHeadingSlide;
}

.image {
	position: absolute;
	animation-duration: 8s;
}


.detail {
	display: none;
	width: 100%;
	height: 76%;
    position: absolute;
}

.detail div {
	width: 50%;
	padding: 42px;
	margin-top: 62px;
	font-size: 16px;
}

.detail h2 {
	font-size: 24px;
}

.animation-detail, .detail-page.detail-animation {
	background-color: rgba(177, 221, 241, 0.6);
}

.infographics-detail, .detail-page.detail-infographics {
	background-color: rgba(245, 183, 0, 0.6);
}

.graphic-design-detail, .detail-page.detail-graphic-design {
	background-color: rgba(224, 122, 95, 0.6);
}

.webdesign-detail, .detail-page.detail-webdesign {
	background-color: rgba(105, 181, 120, 0.6);
}

.contact-detail, .detail-page.detail-contact {
	background-color: rgba(56, 134, 151, 0.6);
	width: 100%;
  	position: absolute;
  	top: 0;
  	left: 0;
  	overflow: hidden;
	height: 90%;
}

.contact-detail, .detail-page.detail-contact:after {
    content: "";
    display: block;
    background: white;
    height: 128px;
    width: 8000px;
    position: absolute;
    z-index: 1;
    bottom: -23%;
    left: 50%;
    margin-left: -4000px;
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

.slide.details .content-box {
	animation-name: showDetails;
	animation-duration: 5s;
	position: absolute;
	width: 37%;
	right: 93px;
	height: 80%;
	z-index: 99;
}

.slide.details .heading {
	width: 86%;
	height: auto;
	left: 7%;
	animation-name: detailHeading;
	animation-duration: 3s;
}

.slide.details .image {
	width: 100%;
	height: auto;
	left: 7%;
	top: 36%;
	animation-duration: 3s;
}

.slide.animation.details .image {
	animation-name: detailAnimationImage;
}

.slide.infographic.details .image {
	animation-name: detailInfoImage;
}

.slide.graphic-design.details .image {
	animation-name: detailGraphicImage;
}

.slide.webdesign.details .image {
	animation-name: detailWebImage;
}

/* CONTENT */

.all-topics, .topic-animation, .topic-infographics, .topic-graphic-design, .topic-webdesign {
	display: none;
}

.portfolio {
	margin-top: -240px;
}

.rocket {
	margin-top: -50px;
}

.detail-page {
	width: 100%;
    height: 76%;
    position: absolute;
}

.detail-page div {
    width: 50%;
    padding: 42px;
    margin-top: 62px;
    font-size: 16px;
	margin-left: 100px;
}

.detail-contact div {
	margin-left: 170px;
}

.detail-page p {
	max-width: 65%;
}

.detail-content-box {
	animation-name: showDetails;
    animation-duration: 5s;
    position: absolute;
    width: 37%;
    right: 93px;
    height: 80%;
    z-index: 99;
}

.detail-content-box .heading {
	width: 86%;
	height: auto;
	left: 7%;;
}

.detail-content-box .image {
	width: 100%;
	height: auto;
	left: 7%;
	top: 36%;
}

.detail-content-box.animation-box {
	background-color: #B1DDF1;
}

.detail-content-box.infographics-box {
	background-color: #F5B700;
}

.detail-content-box.graphic-design-box {
	background-color: #E07A5F;
}

.detail-content-box.webdesign-box {
	background-color: #69B578;
}

.detail-content-box.contact-box {
	display: none;
	background-color: #388697;
}

/* BUTTON */

.btn-more {
	position: absolute;
	top: 500px;
	left: 23%;
	cursor: pointer;
}

.btn-container {
	border: 1px solid #FFF;
	border-radius: 25px;
	display: flex;
	align-items: center;
	padding-left: 12px;
	font-size: 18px;
	height: 42px;
	color: rgba(0, 0, 0, 0.7);
}

.btn-arrow {
	height: 42px;
	width: 42px;
	background-color: #FFF;
	border-radius: 50%;
	display: inline-block;
	margin-left: 12px;
}

/* MENU ITEMS */

.header .menu-container {
	position: absolute;
	bottom: 68px;
	left: 0;
	z-index: 99;
	width: 100%;
}

.header .subjects {
	border-radius: 40px;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: 60%;
	padding: 21px 56px;
	background-color: rgba(255, 255, 255, 0.3);
}

.header .subjects li.active span{
	width: 100%;
	height: 4px;
	background-color: rgba(0, 0, 0, 0.2);
	display: block;
	border-radius: 4px;
}

.header .subjects li .loader {
	position: absolute;
	bottom: -0.6px;
}

.header .subjects li.active .loader {
	animation-name: sliderLoader;
	animation-duration: 8s;
	animation-delay: 0s;
	background-color: #000;
}

.header .subjects .menu-item {
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 2rem;
	-webkit-transition: 0.3s;
					transition: 0.3s;
	-webkit-transform: translateY(-50%);
					transform: translateY(-50%);
}

.header .subjects li {
	display: inline-block;
	position: relative;
}

/* FORM */

input, textarea {
	border-width: 0 0 1px 0 !important;
	border-bottom: 1px solid #121212 !important;
	border-radius: 0 !important;
}

input[type="submit"] {
	background-color: #388697 !important;
	margin-top: 42px !important;
}

/* ANIMATIONS */

@keyframes blueToYellow {
	0%   { background-color: #B1DDF1; }
	80%  { background-color: #B1DDF1; }
	100% { background-color: #F5B700; }
}

@keyframes yellowToOrange {
	0%   { background-color: #F5B700; }
	80%  { background-color: #F5B700; }
	100% { background-color: #E07A5F; }
}

@keyframes orangeToGreen {
	0%   { background-color: #E07A5F; }
	80%  { background-color: #E07A5F; }
	100% { background-color: #69B578; }
}

@keyframes greenToBlue {
	0%   { background-color: #69B578; }
	80%  { background-color: #69B578; }
	100% { background-color: #B1DDF1; }
}

@keyframes sliderLoader {
	0%   { width: 0%;    }
	100% { width: 100%   }
}

@keyframes headingSlide {
	0%   { left: 100%;  }
	25%  { left: 318px; }
	70%  { left: 318px; }
	100% { left: -100%; }
}

@keyframes webHeadingSlide {
	0%   { left: 100%;  }
	25%  { left: 200px; }
	70%  { left: 200px; }
	100% { left: -100%; }
}

@keyframes graphicHeadingSlide {
	0%   { left: 100%;  }
	25%  { left: 176px; }
	70%  { left: 176px; }
	100% { left: -100%; }
}

@keyframes imageSlide {
	0%   { left: 100%;  }
	30%  { left: 567px; }
	75%  { left: 567px; }
	100% { left: -100%; }
}

@keyframes infoImageSlide {
	0%   { left: 100%;  }
	30%  { left: 708px; }
	75%  { left: 708px; }
	100% { left: -100%; }
}

@keyframes showDetails {
	0%   { width: 100%; height: 100%; right: 0px; }
	25%  { right: 93px; }
	100% { width: 37%;  height: 80%;  }
}

@keyframes detailHeading {
	0%	 { width: 40%; }
	100% { width: 86%; }
}

@keyframes detailAnimationImage {
	0%	 { width: 48%; top: 164px; left: 567px; }
	100% { width: 100%; top: 36%; left: 7%; }
}

@keyframes detailInfoImage {
	0%	 { width: 40%; top: 20px; left: 708px; }
	100% { width: 100%; top: 36%; left: 7%; }
}

@keyframes detailGraphicImage {
	0%	 { width: 58%; top: 96px; left: 567px; }
	100% { width: 100%; top: 36%; left: 7%; }
}

@keyframes detailWebImage {
	0%	 { width: 60%; top: 134px; left: 567px; }
	100% { width: 100%; top: 36%; left: 7%; }
}
