/********** color palette ************/

:root {
	--white: #fff;
	--lightgray: #F5F5F5;
	--lightgray2: #E7E7E7; /* disable edilmiş button font rengi*/
	--darkgray: #272727;
	--yellow: #FFC846;
}



/******************************/
*{
	border: 0;
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;	
	font-family: 'Roboto', sans-serif;
}


html {
  padding: env(safe-area-inset); 
}

body{
	overflow: hidden;
}

#application{
	margin: auto;
	position: relative;
}

#app_header{
	position: absolute;
    z-index: 100000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5% 2%;
}

#app_header #logo{
       background-image: url(../images/general/heimgard_logo.svg);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    text-indent: -9999px;
    width: 8%;
    height: 2.5vw;

}

#app_header #mobile_menu{
	display: none;
}

#application.horizontal{
	margin: 0;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 100%;
}

#application.vertical video{
	height: 100vh;
}

#app_container{
	position: relative;
    height: 100vh;
    background-color: black;
}


.video_players {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   
	opacity:0;
	z-index: 10;
}

.video_players.playing{
	opacity: 1;
}

video{
	width: 100%;
	height: auto;
	display: block;
}


#product_buttons {
   position: relative;
    width: 100%;
    height: 100%;
    z-index: 200;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#product_buttons .container{
	width: 90%;
    max-width: 40%;
    display: flex;
    flex-wrap: wrap;
}

#product_buttons a{
	width: 49%;
    display: inline-block;
    background-color: white;
    text-decoration: none;
    margin-left: 2%;
    margin-bottom: 2%;
	display: flex;
    align-items: center;
	padding: 2% 4% 2% 2%;
	color: var(--darkgray);
}

#product_buttons a:hover{
	background-color: var(--yellow);
}

#product_buttons a:nth-child(2n+1){
	margin-left: 0;
}

#product_buttons a img:first-child{
	width: 25%;
	display: inline-block;
	margin-right: 10px;
}

#product_buttons a img:last-child{
	display: inline-block;
	margin-left: 10px;
	width: 5%;
}

#product_buttons a span{
	flex: 1;
	width: 45%;
}

#product_buttons #sub_navigation{
	width: 80%;
    display: none;
    justify-content: space-between;
}

#product_buttons #sub_navigation a{
	width: auto;
    background-color: transparent;
    color: white;
    padding: 0;
    margin-bottom: 30px;
}

#product_buttons #sub_navigation a:first-child{
	background-image: url(../images/general/left_arrow_w.svg);
    padding: 10px 0px 10px 25px;
    background-repeat: no-repeat;
    background-position: center left;
}

#product_buttons #sub_navigation a:last-child{
	background-image: url(../images/general/right_arrow_w.svg);
    padding: 10px 25px 10px 0px;
    background-repeat: no-repeat;
    background-position: center right;
}

@media only screen and (orientation: landscape) and (max-width: 980px) {
	#product_buttons a span{
		font-size: 1.5vw;
	}
}

#overlay{
	position: fixed;
    top: 0;
    left: 0;
    background-color: #00000085;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
	opacity: 0;
}

/*#overlay *{
	color: white;
}*/

.language_selection{
	opacity: 1 !important;
}

.language_selection #lang_part{
	display: none;
}

.language_selection > div{
	width: 90%;
	max-width: 500px;
}

.language_selection > div .header{
	color: var(--yellow);
	font-weight: 300;
	font-size: 40px;
	text-align: center;
}

.language_selection > div .buttons{
	text-align: center;
	margin: 40px 0;
}

.language_selection > div .buttons a{
	color: var(--white);
    border: 1px solid var(--white);
    text-decoration: none;
    padding: 15px 0;
    width: 200px;
    display: inline-block;
	margin-left: 30px;
}

.language_selection > div .buttons a:hover{
	color: var(--darkgray);
	background-color: var(--white);
}

.language_selection > div .buttons a:first-child{
	margin-left: 0;
}

.language_selection > div .text{
	color: var(--white);
	font-weight: 300;
	font-size: 18px;
	text-align: center;
	line-height: 25px;
}

@media only screen 
and (max-width : 500px)
{
	.language_selection > div .buttons a {
		width: 110px;
	}
}


/**************************************/

#product_detail{
	background-color: white;
	padding: 50px;
	border-radius: 0px;
	display: flex;
	width: 90%;
    max-width: 1000px;
	justify-content: space-between;
	position: relative;
}

#product_detail #pr_prev{
	width: 5%;
    background-image: url(../images/general/left_arrow_big_yellow.svg);
    background-repeat: no-repeat;
    background-position: center left;
    text-indent: -9999px;
    background-size: 20px;
}

#product_detail #pr_next{
	width: 5%;
    background-image: url(../images/general/right_arrow_big_yellow.svg);
    background-repeat: no-repeat;
    background-position: center right;
    text-indent: -9999px;
    background-size: 20px;
}

#product_detail #pr_img{
	width: 30%;
	align-self: center;
}

#product_detail #pr_img img{
	width: 100%;
}

#product_detail #pr_detail{
	width: 65%;
}

#product_detail #pr_mid{
	    width: 80%;
    flex-direction: row;
    justify-content: space-between;
}
	


div#product_detail * {
    color: #272727;
}

#product_detail > div > img{
	display: block;
	width: 100%;
	height: auto;
}

#product_detail > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
}



#product_detail .btn {
    position: absolute;
    top: -15px;
    right: -15px;
}

#product_detail .btn a{
	width: 40px;
    text-indent: -9999px;
    height: 40px;
    display: inline-block;
    background-image: url(../images/general/black_close.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

#product_detail .name{
	font-style: normal;
    font-weight: 300;
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 15px;
}

#product_detail .desc {
	font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 20px;
}

#product_detail .kf {
	    font-weight: 600;
    font-size: 22px;
    line-height: 25px;
    margin-bottom: 15px;
}

#product_detail li {
	    list-style: square;
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 5px;
}

#product_detail ul{
	padding-left: 20px;
}

@media only screen and (orientation: landscape) and (max-height: 650px) {
	#product_detail .name {
		font-size: 5vh;
		line-height: 6vh;
	}
	
	#product_detail .desc {
		font-size: 3vh;
		line-height: 4vh;
	}
	
	#product_detail .kf {
		font-size: 19px;
		line-height: 22px;
	}
	
	#product_detail li {
		font-size: 3vh;
		line-height: 4vh;
	}
	
	#product_detail {
    	padding: 3vh;
	}
}



/**************************************/

#menu_container{
	position: absolute;
    z-index: 9999;
    right: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
}

#menu_container .icon_w{
	display: none;
}

/***************************************/
button{
	width: auto;
    background-color: var(--yellow);
    border: 0;
    border-radius: 40px;
	-moz-box-shadow:    0px 5px 8px rgb(0 0 0 / 15%);
	-webkit-box-shadow: 0px 5px 8px rgb(0 0 0 / 15%);
	box-shadow:         0px 5px 8px rgb(0 0 0 / 15%);
    cursor: pointer;
}



button:hover{
	box-shadow: none;
}

button img{
	width: 30px;
	height: 30px;
}

button:disabled,
button[disabled]{
	background-color: var(--lightgray);
	color: var(--lightgray2);
	cursor: default;
	box-shadow: none;
}

/********************************************/

#menu_container button{
	display: flex;
    align-items: center;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    min-width: 200px;
	margin-top: 15px;
	border-radius: 0;
	background-color: var(--white);
}

 #menu_container button.active{
	background-color: var(--yellow);
}

#menu_container button:hover{
	background-color: black;
	color: white;
}



#menu_container button:first-child{
	margin-top: 0px;
}

#menu_container button img {
    margin-left: 5px;
    margin-right: 10px;
}


@media only screen and (orientation: landscape) and (max-width: 1100px) {
	#menu_container button {
		font-size: 1.5vw;
		min-width: 19vw;
		margin-top: 1vh;
	}
	
	#menu_container button img {
		width: 2vw;
		height: 2vw;
	}
}


/**************************/

#landscape_mode_warning{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    display: none;
    background-color: black;
    color: white;
    align-items: center;
    justify-content: center;
}

@media only screen and (orientation: landscape) {
  body.mobile #landscape_mode_warning {
    display: flex;
  }
}

/*************************/

#skip_button{
	position: absolute;
	right: 30px;
	bottom: 30px;
	z-index: 9999;
}

#skip_button button{
	padding: 15px 45px 15px 15px;
    font-size: 15px;
    font-weight: bold;
    /*min-width: 125px;*/
    border-radius: 0;
    text-align: left;
    background-color: #212121;
    color: white;
    background-image: url(../images/general/right_arrow.svg);
    background-repeat: no-repeat;
    background-size: 12px 18px;
    background-position: center right 15px;
	min-width: 200px;
    /*border: 1px solid white;*/
}

#skip_button button:hover{
	background-color: black;
}


@media only screen and (orientation: landscape) and (max-width: 1100px) {
	
	#skip_button button{
		font-size: 1.5vw;
		min-width: 19vw;
		padding: 10px 45px 10px 10px;
	}
	
}


/***************************************/

#scenario_buttons{
	opacity: 0;
    position: fixed;
    z-index: 99999;
    /* bottom: 50px; */
    text-align: center;
    width: 100%;
    left: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* min-width: 200px; */
    align-items: center;
    background-color: #0000007d;

}

#phone{
	background: url(../images/general/phone.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    /* padding: 90% 12% 65%; */
    width: 17%;
    /* height: 66%; */
    padding: 25% 2.5% 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    max-width: 400px;
    min-width: 200px;
}

#scenario_buttons a{
	width: auto;
    border: 0;
    -moz-box-shadow: 0px 5px 8px rgb(0 0 0 / 15%);
    -webkit-box-shadow: 0px 5px 8px rgb(0 0 0 / 15%);
    box-shadow: 0px 5px 8px rgb(0 0 0 / 15%);
    cursor: pointer;
    padding: 5px 13px;
    font-size: 15px;
    color: white;
    text-decoration: none;
    display: block;
    margin-top: 15px;
	display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid white;
}

#scenario_buttons a img{
   /* margin-left: 10px;*/
}

#scenario_buttons a span {
    flex: 1;
	
}

#scenario_buttons a:first-child{
	margin-top: 0px;
}


#scenario_buttons a:hover{
	background-color: white;
	color: black;
}

#scenario_buttons .ic_b{
	display: none;
}
/******************************************************************/

.hamburger {
    padding: 0;
    box-shadow: none;
	opacity: 1 !important;
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before {
    background-color: #fff;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    background-color: #fff;
	border-radius: 0;
	width: 30px;
}

.hamburger-box {
    width: 30px;
}

#mobile_menu ul{
	display: none; 
    position: absolute;
    width: 100%;
    left: 0;
    background-color: white;
    top:100%;
	padding: 10px 0;
}

#mobile_menu li a {
    text-decoration: none;
    display: block;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 20px 19px;
    color: #212121;
}

#mobile_menu li a img {
    margin-right: 20px;
    width: 30px;
    height: 30px;
}

#han_warning{
	position: absolute;
    z-index: 100;
    bottom: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	opacity: 0;
}

#han_warning > div {
	max-width: 30%;
    display: flex;
    align-items: center;
    background-color: #212121;
    color: white;
    padding: 15px;
	font-size: 16px;
    line-height: 22px;
}

#han_warning > div img{
	margin-right: 15px;
}
/*************************  PORTAIT MODE  *************************/

@media only screen and (orientation: portrait){
	body{
		overflow-x: hidden;
		overflow-y: auto;
		background-color: black;
	}
	
	#application.horizontal {
		margin: 0;
		position: relative;
		top: 0;
		-ms-transform: translateY(0%);
		transform: translateY(0%);
		width: 100%;
	}
	
	#app_header {
		position: relative;
	}
	
	.video_players {
		top: auto;
	}
	
	#menu_container{
		display: none !important;
	}
	
	#app_header {
	   padding: 4%;
	}
	
	#mobile_menu{
		display: block !important;
	}
	
	#app_header #logo {
		width: 160px;
		height: 56px;
	}
	
	#skip_button {
		position: relative;
		right: 0;
		bottom: 0;
		z-index: 9999;
		top: 120%;
		text-align: center;
	}
	
	#skip_button button{
		border: 1px solid white;
		width: 40%;
	}
	
	#product_buttons {
		top: 0;
		height: auto;
		background-color: #0000008f;
		padding-top: 5%;
		flex-direction: column;
	}

	#product_buttons .container {
		 max-width: none;
		width: 80%;
	}
	
	#product_buttons a {
		width: 100%;
		margin-left: 0;
	}
	
	#product_buttons a img:first-child {
		width: 20%;
	}
	
	#product_detail {
		padding: 10px;

	}
	
	#product_detail .name {
		font-size: 28px;
    	line-height: 32px;
	}
	
	#product_detail .desc {
		font-size: 12px;
   		 line-height: 16px;
	}
	
	#product_detail .kf {
 
		font-size: 20px;
		line-height: 23px;
		margin-bottom: 10px;
}
	
	#product_detail li {
		font-size: 12px;
    	line-height: 16px;
		margin-bottom: 0px;
	}
	
	#product_detail #pr_mid {
		flex-direction: column;
	}
	
	#product_detail #pr_img {
		width: 50%;
	}
	
	#product_detail #pr_detail {
		width: 100%;
	}
	
	#scenario_buttons{
		position: relative;
		left: 0;
		height: auto;
		top: 120%;
		margin: auto;
		min-width: 250px;
	}
	
	#phone {
		background-image: none;
		padding: 0;
		    width: 60%;
	}
	
	#product_detail .btn {
		top: 10px;
		right: 10px;
	}
	
	#product_detail .btn a {
		width: 30px;
		height: 30px;
	}
	
	#product_buttons #sub_navigation{
		display: flex;
	}
	
	#product_detail #pr_img img {
		width: 80%;
	}
	
	#han_warning {
		position: absolute;
		z-index: 100;
		width: 100%;
		bottom: auto;
	}
	
	#han_warning > div {
		width: 100%;
		font-size: 12px;
		line-height: 16px;
		background-color: #2121218f;
		max-width: none;
		display: block;
		text-align: center;
	}
	
	#han_warning > div img {
		display: none;
	}
	
}

