/* fonts */

@font-face {
  font-family: 'Apercu-Bold';
  src: url('../fonts/Apercu-Bold.otf')  format('opentype'); /* IE9 Compat Modes */
}

@font-face {
  font-family: 'ApercuPro-Regular';
  src: url('../fonts/ApercuPro-Regular.otf')  format('truetype'); /* IE9 Compat Modes */
}

@font-face {
  font-family: 'ArtoisIsabella-Serif';
  src: url('../fonts/ArtoisIsabella-Serif.otf')  format('truetype'); /* IE9 Compat Modes */
}

@font-face {
  font-family: 'ArtoisSebastian-Sans';
  src: url('../fonts/ArtoisSebastian-Sans.otf')  format('truetype'); /* IE9 Compat Modes */
}

:root {
  color-scheme: only light;
}

/* <label class="custom-checkbox"><input type="checkbox" id="acord1"><span class="checkmark"></span> <span class="checkbox-label">Am citit și sunt de acord cu regulamentul campaniei.</span></label> */

html,body {
	margin: 0;
	padding: 0;
	font-family: 'ArtoisIsabella-Serif';
	min-height: 100%;
	background: linear-gradient(33deg,  rgba(164,151,102,1) 0%,rgba(222,204,138,1) 25%,rgba(175,161,109,1) 50%,rgba(222,204,138,1) 77%,rgba(164,151,102,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.wrapper {
	margin:0 auto;
	width:90%;
	max-width: 1500px;
	box-shadow: 0 0 15px black;
	min-heigh:500px;
	background-color:#fff;
	padding:120px 70px 70px 70px;
	position: relative;
	overflow: hidden;
}

.wrapper:before {
	content:'';
	background:url('../images/pahare.svg') 0 0 repeat;
	width: 100%;
    height: 100%;
	opacity: 0.25;
	background-size:100%;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}

.inner {
	width:100%;
	position: relative;
	background-color:#fff;
}

.inner:after {
	content:'';
	width:100%;
	height:100%;
	box-shadow: inset 0 0 15px black;
	position: absolute;
	top:0; left:0; right:0; bottom:0;
	pointer-events: none;
}

h1,h2,h3 {
	color:#000;
	font-family: 'ArtoisIsabella-Serif';
	font-size:74px;
	line-height: 80px;
}

h1 > span {
	font-family: 'ArtoisSebastian-Sans';
	color:#f8002f;
}

h2 {
	font-size:42px
}

h3 {
	font-size:32px;
}

p {
	font-size:26px;
	font-family: 'ArtoisIsabella-Serif';
}

p.mare {
	font-size:35px;
	font-family: 'ApercuPro-Regular';
	line-height: 40px;
}

img {
	max-width: 100%;
}

.container-formular input[type="text"], .container-formular textarea, .container-formular select {
	border-radius:25px;
	border:2px solid #f8002f;
	padding:8px 10px;
	width:100%;
	margin-bottom:20px;
	font-family: 'Apercu-Bold';
}

.agegatewrapper input[type="text"] {
	border-radius:25px;
	border:2px solid #f8002f;
	padding:5px 10px;
	text-align: center;
	color:#f8002f;
	font-size:30px;
	font-family: 'Apercu-Bold';
	margin:0 5px;
	margin-top:15px;
	font-weight: bold;
}

#annastere,#zinastere,#lunanastere {
	color:#f8002f;
	font-family: 'Apercu-Bold';
	font-size:20px;
}

.container-formular textarea {
	height:180px;	
}

* {
	box-sizing: border-box;
}

.buton,.buton:hover,.buton:visited {
	border-radius:50px;
	background-color:#f8002f;
	font-size:40px;
	color:#fff;
	padding:15px 30px 5px 30px;
	font-family: 'ArtoisSebastian-Sans';
	text-decoration: none;
	display:inline-block; 
}

.buton-alb, .buton-alb:hover, .buton-alb:visited {
	background-color:#fff;
	color:#000;
}

.container {
	max-width:1400px;
}

#nav-icon3 {
  width: 40px;
  height: 45px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  position: absolute;
  /*top:25px;*/
  left:0px;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #f8002f;
  border-radius: 7px;
  border:0px solid white;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  
}

#nav-icon3 span:nth-child(1) {
  top: 0px;

}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 10px;
}

#nav-icon3 span:nth-child(3) {  

}

#nav-icon3 span:nth-child(4) {
  top: 20px;
}

#nav-icon3.open span {
	background:#f8002f;
	box-shadow:none;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
    border:none;
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
    border:none;
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
  border:none;
}

/* Customize the checkbox appearance */
.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  margin-top:15px;
  cursor: pointer;
  font-size: 22px;
  font-family: 'ApercuPro-Regular';
  line-height: 1.5;
}

/* Style the checkbox input */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 3px solid #f8002f;
  border-radius: 25px;
  margin-right:10px;
  background-color:#fff;
}

/* Style the checkmark icon */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 13px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Style the checked state */
.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

footer {
	background-color:#000;
	margin-top:-50px;
	padding-top:100px;
	padding-bottom:50px;
}

footer p {
	font-size:32px;
	color:#fff;
	font-family: 'ArtoisSebastian-Sans';
	line-height:36px;
}

footer a, footer a:visited, footer a:hover {
	color:#fff;
	font-size:30px;
	font-family: 'ArtoisSebastian-Sans';
}
.container-formular {
	position: relative;
}
.container-formular:after {
	content:'';
	height: 100%;
	position: absolute;
	left:calc(50% - 1px);
	width:2px;
	background-color:#f8002f;
	top:0;
}
.swiper {
	position: relative;
}
.swiper:after {
	content:'';
	position: absolute;
	top:0; left:0; right:0; bottom:0; width:100%; height:100%;
	background: linear-gradient(to right,  rgba(248,0,47,1) 5%,rgba(248,0,47,0) 15%,rgba(248,0,47,0) 85%,rgba(248,0,47,1) 95%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	z-index: 2;
	pointer-events: none;
}

.swiper-slide > img {
	transform:scale(.9);
}

.swiper-slide-active > img {
	transform:scale(1);
}

.custom-swiper-button:after {
	display: none;
}
.custom-swiper-button {
	width:45px;
}

.bgagegate {
	background-image:url('../images/pahare.svg');
	background-size:100%;
	animation: moveBackground 360s linear infinite;
}

@keyframes moveBackground {
  0% {
    background-position: 0% 0%; /* start la 0% */
  }
  50% {
    background-position: 0% 100%; /* final la 100% */
  }
  100% {
    background-position: 0% 0%; /* final la 100% */
  }
}

.agegatewrapper {
	width:100%;
	min-height: 90vh;
	display: flex;
	align-items:center;
	justify-content: center;
}

.agegatewrapper > div {
	box-shadow: 0 0 25px black;
	background-color:#fff;
	padding:40px;
	width:90%;
	max-width: 1200px;
}

.agegatewrapper h1 { font-size:52px; line-height:60px; }
.agegatewrapper p { font-size:22px; line-height:26px; }

.burgermenu {
	position:absolute;
	left:70px;
	top:45px;
	z-index: 10;
}

.meniu {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	max-width: 700px;
	background-color:#f7f0e6;
	box-shadow:0 0 20px black;
	z-index: 3;
	padding-top:20px;
	padding-left:150px;
	padding-bottom:50px;
	top:-100%;
	transition:.5s all;
}

.meniu.open {
	top:0;
}

.meniu > a, .meniu > a:hover, .meniu > a:visited {
	display: block;
	margin-top:10px;
	font-size:40px;
	color:black;
	text-decoration: none;
	font-family: 'ArtoisSebastian-Sans';
}

.scalehover {
	transition:.5s all;
}
.scalehover:hover {
	transform:scale(1.05);
	transform-origin: top;
}

.nume-hover {
	font-size:40px;
	line-height: 44px;
	display: none;
	cursor: pointer;
}

.hover-reteta:hover > .nume-hover {
	display:flex;
}

.upload-container {
    display: flex;
    align-items: center;
	gap: 10px;
}

.upload-image {
	cursor:pointer;
}

#fileName {
	overflow:hidden;
	display: flex;
	justify-content: end;
}

.hidden-input {
	display: none;
}

@media only screen and (max-width:1570px) {
	.agegatewrapper { min-height:100vh; }
	.wrapper {
		width: 90%;
		padding:60px 30px 30px 30px;
	}
	.agegatewrapper h1,h1 { font-size:36px; line-height:36px; }
	p,p.mare { font-size:22px; line-height:26px; }
	.buton,.buton:hover,.buton:visited { font-size:32px; }
	footer p { font-size:26px; line-height:30px; }
	footer a, footer a:visited, footer a:hover {
		font-size:24px;
	}
	.burgermenu {
		position:absolute;
		left:30px;
		top:15px;
	}
}	

@media only screen and (max-width:850px) {
	.text-label {
		font-size:16px;	
	}
	.nume-hover {
		font-size:24px;
		line-height: 26px;
	}
	.meniu { width:100%; max-width:100%; padding-left:80px; }
	.agegatewrapper > div { padding:40px 10px; }
	.bgagegate {
		animation: none;
	}
	.wrapper {
		width: 100%;
		padding:60px 30px 30px 30px;
	}
	.container-formular:after { display:none; }
	footer p { font-size:22px; line-height26px; }
	footer a, footer a:visited, footer a:hover {
		display:block;
		margin-top:15px;
		font-size:22px;
	}
	.agegatewrapper input[type="text"] {
		border-radius:25px;
		border:2px solid #f8002f;
		padding:5px 5px;
		text-align: center;
		color:#f8002f;
		font-size:24px;
		font-family: 'Apercu-Bold';
		margin:0 2px;
		margin-top:15px;
		font-weight: bold;
	}
	
}