/*
 Theme Name:   Divi Child Theme
 Description:  Child Theme for Divi
 Author:       iloweb e.U.
 Author URI:   https://www.iloweb.at
 Template:     Divi
 Version:      1.0.3
 Text Domain:  divi-child
*/
@import url("https://fonts.cdnfonts.com/css/helvetica-neue-5");

/* Helpers */
.flexCenter {
	display: flex;
	align-items: center;
}

/* Preloader */
#bluegrass-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bluegrass-preloader .loader-inner {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bluegrass-preloader svg {
  width: 100%;
  height: auto;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* Animation Startwerte */
#bar-left, #bar-right {
	transform-origin: center;
}

#bar-left {
	animation: move-in-left 1s ease-in-out forwards, move-out-left 1s 2s ease-in-out forwards;
}

#bar-right {
	animation: move-in-right 1s ease-in-out forwards, move-out-right 1s 2s ease-in-out forwards;
}

#dot {
	animation: dot-fade-out 0.5s 1s forwards, dot-fade-in 0.5s 2s forwards;
}

@keyframes move-in-left {
	from { transform: translateX(-200px); }
	to   { transform: translateX(100px); }
}

@keyframes move-in-right {
	from { transform: translateX(200px); }
	to   { transform: translateX(-100px); }
}

@keyframes move-out-left {
	from { transform: translateX(100px); }
	to   { transform: translateX(-200px); }
}

@keyframes move-out-right {
	from { transform: translateX(-100px); }
	to   { transform: translateX(200px); }
}

@keyframes dot-fade-out {
	to { opacity: 0; }
}

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

/* Main Menu */
.et_pb_section_0_tb_header.et_pb_section {
	visibility: hidden;
	opacity: 0;
}

/*
body.home .et_pb_section_0_tb_header.et_pb_section {
	visibility: inherit!important;
	opacity: 1;
}
*/

#menu-main a {
  color: white !important;
}

/* Sub pages - Header */
.whatwedo-wrapper {
	display: flex;
	height: 400px;
	width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Trebuchet MS, sans-serif;
	color: white;
	background: #000;
	padding: 2rem 4rem;
}
.whatwedo-wrapper.blueBG {
	background: #00005c!important;
}
.whatwedo-left {
	flex: 0 0 65%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid white;
	border-right: none;
}

.whatwedo-left .main-nav {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	border-bottom: 1px solid white;
}

.whatwedo-left .main-nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.whatwedo-left .main-nav li {
	border-right: 1px solid white;
}
.whatwedo-left .main-nav li:last-child {
	position: relative;
}
.reel-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.whatwedo-left .main-nav a {
	display: block;
	padding: 12px 24px;
	color: white;
	text-decoration: none;
	font-size: 14px;
	z-index: 2;
	position: relative;
}
.whatwedo-content {
	color: white;
	font-weight: bold;
	padding: 30px;
	font-size: 25px;
	max-width: 800px;
	line-height: 2rem;
}
.whatwedo-left h2 {
	font-size: 30px;
	margin-top: auto;
	padding-top: 20px;
	color: #fff;
}

.whatwedo-right {
	flex: 1;
	border: 1px solid white;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px;
	align-items: flex-end;
}

.whatwedo-logo img {
	height: 40px;
	margin-bottom: auto;
	color: #fff;
}

@media (max-width: 640px) {
	.whatwedo-wrapper {
		padding: 2rem;
	}
	.whatwedo-left .main-nav ul {
		flex-wrap: wrap;
	}
	.whatwedo-left .main-nav a {
		padding: 12px 16px;
		border-bottom: 1px solid #fff;
	}
	.whatwedo-left .main-nav li:last-child a {
		border-right: 1px solid #fff;
	}
	.whatwedo-content {
		font-size: 20px;
		line-height: 1.8rem;
	}
}
@media (max-width: 980px) {
	.whatwedo-wrapper {
		flex-direction: column;
		height: auto;
	}

	.whatwedo-left,
	.whatwedo-right {
		width: 100%;
		border-right: 1px solid white;
	}

	.whatwedo-left {
		border-bottom: none;
	}

	.whatwedo-right {
		align-items: flex-start;
	}

	.whatwedo-left h2 {
		font-size: 25px;
	}
}


/* --- Home - BG Video --- */
body.home .et-l.et-l--header {
  position: fixed; 
  top: 0;
  left: 0;
  z-index: 10;
  width: 100vw;
}

.codeWrap.et_pb_row.et_pb_row_0 {
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
  padding: 0;
}

/* Home - Our Work */
.ourWorkHome .et_pb_section_video_on_hover:hover p {
	color: #fff;
}
.ourWorkHome .et_pb_section_video_on_hover:hover .et_pb_section_video {
	border-radius: 150px;
}

.df_popup_inner_container video {
  max-height: 90vh;
}

/*
.et_pb_section_video_bg video {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  z-index: 1 !important;
  position: relative !important;
}

.et_pb_row.et_pb_section_video_on_hover:hover .et_pb_section_video_bg video {
  opacity: 1 !important;
}

.et_pb_section_video_bg .mejs-poster,
.et_pb_section_video_bg .mejs-overlay {
  display: none !important;
  opacity: 0 !important;
}

.mejs-container .mejs-poster,
.mejs-container .mejs-overlay-play,
.mejs-container .mejs-overlay-loading,
.mejs-container .mejs-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.mejs-container video {
  z-index: 1 !important;
  position: relative !important;
}
*/


/* What we do */
/* Basiszustand – Klammern sind unsichtbar und verschoben */
.whatWeDo .et_pb_row:hover .doLeft .et_pb_text_inner::before,
.whatWeDo .et_pb_row:hover .doRight .et_pb_text_inner::before,
.whatWeDo .et_pb_row:hover .doLeft .et_pb_text_inner::after,
.whatWeDo .et_pb_row:hover .doRight .et_pb_text_inner::after {
  opacity: 1;
  transform: translateX(0);
}
.whatWeDo p {
	display: inline;
}
.whatWeDo .doLeft .et_pb_text_inner::before {
  content: "[";
  display: inline-block;
  margin-right: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.whatWeDo .doLeft .et_pb_text_inner::after {
  content: "]";
  display: inline-block;
  margin-left: 15px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}
