:root {

--main: #3c3c3c;
--dark: #3c3c3c;
--grey: #dadada;
--white: white;
--light: #fffbea;
--orange: #ff6700;
--pink: #F8E5E9;
--red: #C42348;
}

img {max-width: 100%; height: auto; display: block;}
.PA .item_type_content img {height: auto !important;}
p {margin: 10px 0; line-height: 1.4;}
p.important {font-size: 19px;}
p.center {text-align: center;}
a {text-decoration: underline; color: inherit;}
a:hover {color: inherit; text-decoration: none;}
hr {display: block; line-height: 0; height:0; font-size:0; border: none; border-top: 2px solid var(--light); padding:0; margin: 65px 0 65px 0; _margin: 6px 0 7px 0; *margin:6px 0 7px 0; position: relative; overflow:  inherit;} 


input, option, select {background: transparent; color: var(--dark);}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: var(--dark); } ::-moz-placeholder { /* Firefox 19+ */ color: var(--dark); } :-ms-input-placeholder { /* IE 10+ */ color: var(--dark); } :-moz-placeholder { /* Firefox 18- */ color: var(--dark); }

iframe {width: 100% !important;}
ul {margin: 0;}

html {margin: 0; padding: 0; background: var(--main); color: white; scroll-behavior: smooth; }
body {font-family: 'Montserrat', sans-serif; font-size: 18px; margin: 0; padding: 0; position: relative; font-weight: 300;}
.Main {background: var(--white); min-height: 200px; color: var(--dark);}


/* zaklad */

h1, h2, h3, h4, h5 {color: var(--dark); margin-top: 0; padding-top: 0; text-align: center; line-height: 1.1;}

h1 {font-size: 68px; margin-bottom: 8px; padding-bottom: 32px; text-align: left; color: white;}
h2 {font-size: 70px; margin-bottom: 72px;}
h3 {font-size: 30px;}


h1 span,
h2 span {color: var(--orange);}


.width {width: 96%; max-width: 1312px; margin: 0 auto; position: relative; box-sizing: border-box; padding: 0 100px;}
.width--max {max-width: 1760px;}
.width--no_padding {padding-left: 0; padding-right: 0;}
section {padding: 124px 0;}

.orange_info {padding: 8px 0; text-align: center; background-color: var(--orange); color: var(--light); font-size: 40px; position: relative; height: 80px; line-height: 80px;}
.orange_info span {display: inline-block; position: relative; z-index: 0; padding: 2px 0px;}
.orange_info span::after {content:""; position: absolute; left: -8px; top: 0; background-color: var(--main); width: 0%; height: 100%; z-index: -2; transition: ease 0.8s;}
.orange_info span::before {content:""; position: absolute; left: -8px; top: 0; background-color: var(--orange); width: 0%; height: 100%; z-index: -1; transition: ease-in-out 0.8s 0.5s;}
.orange_info.visible span::after {width: 100%; width: calc(100% + 16px);}
.orange_info.visible span::before {width: 100%; width: calc(100% + 16px);}
.orange_info.visible span {color: var(--main); transition: 0.3s 1.3s;}

.orange_info .width {max-width: 100%; width: 100%; padding: 0;}

.marquee { overflow: hidden; display: flex; padding: 0; }
.marquee li { list-style: none; white-space: nowrap; padding: 0 24px; border: none; }

/* KOMPONENTY */
/* Button */

.button {display: inline-block; padding: 16px 32px; background: var(--orange); color: white; text-decoration: none; border: none; font-size: 20px; margin: 8px 2px; transition: ease 0.3s; -webkit-transition: ease 0.3s; font-weight: 400; position: relative; border-radius: 12px; width: max-content; cursor: pointer; font-family: "Montserrat";}
.button--red {background-color: var(--red);}
.button--dark {background-color: var(--main);}
.button:hover {background: var(--main); color: white;}
.button--dark:hover {background-color: var(--orange);}
.sec_dark .button:hover {background-color: var(--light); color: var(--main);}

#c-bns button:first-child,
#s-bns button:first-child {background-color: var(--orange);}

/* Sloupce */

.cols {display: flex; justify-content: space-between; flex-wrap: wrap;}
.cols__col {width: 70%;}


/* TOP */

.top_nav {position: fixed; top: 30px; margin: 40px 0; left: 0; right: 0; z-index: 10;}
.top_nav .width {display: flex; justify-content: space-between; max-width: unset; align-items: center; height: 1px;}

/* HEADER */

header {background-color: transparent; position: relative; overflow: hidden;}
header .width { display: flex; justify-content: space-between; align-items: center;}
header p {font-size: 20px; margin: 4px 0;}
.header_social a {background: var(--main); display: flex; border-radius: 50%; width: 46px; height: 46px; justify-content: center; align-items: center; margin: 8px 0; transition: ease 0.3s; -webkit-transition: ease 0.3s;}
.header_social a:hover {background-color: var(--orange);}
.header_social a img {width: 18px;}

.header_content {height: 100vh; box-sizing: border-box; padding-top: 182px; position: relative; width: 100%;}
.header_content__wrap {position: absolute; left: 0; top: 50%; display: block; transform: translateY(-50%); -webkit-transform: translateY(-50%); width: 100%;}

.header_social {position: fixed; left: 2%; bottom: 2%; opacity: 1; transition: ease 0.3s; -webkit-transition: ease 0.3s;}
.header_scroll {position: fixed; right: 2%; bottom: 2%; display: block; color: white; transition: ease 0.3s; -webkit-transition: ease 0.3s; font-size: 14px;}
.button_100 {position: fixed; right: 2%; bottom: -20%;width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; font-size: 13px; background: var(--orange); color: white; border-radius: 50%; overflow: hidden; font-weight: bold; flex-wrap: wrap; line-height: 13px; flex-direction: column; transition: ease 0.25s; text-decoration: none; transform: scale(1.2); z-index: 10;}
.button_100 span {display: block; width: 100%; text-align: center; margin: 0 auto; font-size: 16px; margin-top: 2px; }
.button_100:hover {background-color: var(--dark); color: var(--light);}

.scrolled .header_social {opacity: 0; left: -2%;}
.scrolled .header_scroll {opacity: 0;}
.scrolled .button_100 {bottom: 2%;}

.header_scroll::before {content: ""; position: absolute; display: block; width: 1px; background-color: var(--grey); right: 50%; top: -24px; height: 88px; transform: translate(50%, -100%);}
.header_scroll::after {content: ""; display: block; width: 9px; height: 16px; background-color: var(--orange); border-radius: 5px; position: absolute; left: 50%; transform: translateX(-50%); top: -100px; animation-name: scroll; animation-duration: 1.5s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(-0.35,.61,.40,.14);}

@keyframes scroll {
	0% {top: -116px; opacity: 1;}
	85% {top: -40px; opacity: 1;}
	100% {top: -25px; opacity: 0;}
}

.obal_video {position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; overflow: hidden; background: black;}
.obal_video video {display: block; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; z-index: 1; -webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%); overflow: hidden; object-fit: cover;}



body.open-video .obal_video {transform: scale(1.5); opacity: 0; transition: ease 1s;}

.animated_text {font-size: 120px; font-weight: bold; overflow: hidden; margin: 32px 0;}
.animated_text::before {content: "Sdílej"; animation-name: text-animate; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: ease; opacity: 1;}
.animated_text::after {content: "."; color: var(--orange); animation-name: dot-animate; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: ease; display: inline-block;}

@keyframes text-animate {
	0% {content: "Sdílej";}
	27% {content: "Sdílej"; opacity: 1;}
	32.3% {content: ""; opacity: 0;}
	33.3% {content: "Vydělávej"; opacity: 1;}
	60.3% {content: "Vydělávej"; opacity: 1;}
	65.6% {content: ""; opacity: 0;}
	66.6% {content: "Žij"; opacity: 1;}
	93.6% {content: "Žij"; opacity: 1;}
	99% {content: ""; opacity: 0;}
}

@keyframes dot-animate {
	0% {transform: translateX(0); color: var(--orange);}
	27% {transform: translateX(0); color: var(--orange);}
	32.3% {transform: translateX(-50vw); color: var(--white);}
	33.3% {transform: translateX(0); color: var(--orange);}
	60.3% {transform: translateX(0); color: var(--orange);}
	65.6% {transform: translateX(-50vw); color: var(--white);}
	66.6% {transform: translateX(0); color: var(--orange);}
	93.6% {transform: translateX(0); color: var(--orange);}
	99% {transform: translateX(-50vw); color: var(--white);}
}


/* O projektu */

.sec_about .cols {display: flex; justify-content: center; align-items: center; text-align:center;}
.sec_about h2 {text-align: center; margin-bottom: 32px;}
.sec_about p {padding-right: 40px;}
.img_video {position: relative;}
.img_video img {border-radius: 8px;}
.img_video__play {position: absolute; left: 50%; top: 50%; display: block; width: 110px; height: 110px; border-radius: 50%; background: url(../images/ico_play.svg) no-repeat; background-color: var(--orange); transform: translate(-50%, -50%); text-indent: -99999px; background-size: 28%; background-position: 53% center; transition: ease 0.25s; -webkit-transition: ease 0.25s;}
.img_video__play:hover {background-color: var(--main); background-size: 29%;}


/* Pribehy */
.sec_pribehy {background-color: var(--main);}
.sec_pribehy h2,
.sec_pribehy h3 {color: var(--light);}
.pribehy {display: flex; justify-content: center;}
.pribeh {color: var(--light);}
.pribeh p {max-width: 36ch; font-size: 16px; line-height: 1.6;}
.pribeh a {text-decoration: none; transition: ease 0.3s;}
.pribeh a:hover {color: var(--orange);}
.pribeh__img {margin-bottom: 5%; width: 100%;}
.pribeh__img img {border-radius: 50%; margin-left: auto; margin-right: auto; width: 200px;}
.pribeh_wrap {display: flex; padding: 0 10px; flex-wrap: wrap; justify-content: center; text-align: center;}


/* Pribeh - lovci */

.pribehy--lovci {justify-content: space-around; padding-bottom: 40px;}
.pribehy--lovci .pribeh_wrap {flex-wrap: nowrap; gap: 24px; align-items: center;}
.pribehy--lovci .pribeh__text {flex-shrink: 0; text-align: left;}
.pribehy--lovci h3 {margin-bottom: 8px; padding-bottom: 0;}
.pribehy--lovci small {display: inline-block; margin-bottom: 8px;}
.pribehy--lovci p {margin: 4px 0;}

.sec_lovci h3 {margin: 8px auto; padding-bottom: 0;}
.sec_lovci small {margin-bottom: 20px; display: block;}
.sec_lovci p {font-size: 24px; margin: 2px 0;}

/* Galerie */

.galerie_list {display: grid; gap: 32px; grid-template-columns: repeat(6, 1fr); padding-top: 64px; padding-bottom: 132px;}

.galerie_list .gal_img {transform: translateY(100%); -webkit-transform: translateY(100%); opacity: 0; transition: ease 1.3s; -webkit-transition: ease 1.3s;}
.galerie_list.visible .gal_img {transform: translateY(0%); -webkit-transform: translateY(0%); opacity: 1;}

.gal_img {position: relative; border-radius: 8px; width: 100%; padding-top: 133.333%; box-sizing: border-box; perspective: 1000px; font-size: 14px;}
.gal_img h3 {font-size: 18px; color: var(--light); text-align: left;}
.gal_img:nth-child(even) {margin-top: 50px; margin-bottom: -50px;}
.gal_img img {border-radius: 8px;}
.gal_img__wrap {position: absolute; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; left: 0; top: 0; -webkit-transition: 0.8s;}

.gal_img.rotate .gal_img__wrap {transform: rotateY(180deg); -webkit-transform: rotateY(180deg);}

.gal_img__front img {transition: transform ease 1s;}
.gal_img__front img:hover {transform: scale(1.2) rotate(1.5deg);}
.gal_img__back {background-color: var(--red); padding: 32px; box-sizing: border-box; border-radius: 8px; color: var(--light); transform: rotateY(180deg); -webkit-transform: rotateY(180deg);}

.gal_img__front, 
.gal_img__back {position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; /* Safari */ backface-visibility: hidden; overflow: hidden; border-radius: 8px; }

.gal_img__back {overflow-y: auto;}

.gal_img__back::-webkit-scrollbar {display: none;}
/* Hide scrollbar for IE, Edge and Firefox */
.gal_img__back { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ }


.gal_rotate {position: absolute; bottom: 20px; left: 20px; display: flex; height: 24px; width: 24px; background-color: var(--orange); border-radius: 50%; z-index: 10; cursor: pointer; justify-content: center; align-items: center; transition: ease 0.25s; -webkit-transition: ease 0.25s;}
.gal_rotate:hover {background-color: var(--dark);}
.gal_rotate::before {content: "i"; color: var(--white); font-size: 12px; font-weight: bold; transition: ease 0.3s; -webkit-transition: ease 0.3s;}
.gal_img.rotate .gal_rotate::before {content: "✕";}
.gal_img__link {display: flex; position: absolute; bottom: 20px; right: 20px; border-radius: 50%; overflow: hidden; justify-content: center; align-items: center; transition: ease 0.25s; -webkit-transition: ease 0.3s;}
.gal_img__link:hover {box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);}
.gal_img__link::after {content: ""; display: block; width: 25px; height: 25px; background: url(../images/ico_instagram.svg) center no-repeat; background-size: cover; position: absolute;}


/* O nas */

.sec_lovci .pribehy {padding-bottom: 40px;}

/* .sec_team {text-align: center; position: relative; color: var(--red)}
.half_left {position: absolute; width: 50%; height: 100%; left: 0; top: 0; background: url(../images/bg_team.jpg) center no-repeat; background-size: cover;}
.half_right {position: absolute; width: 50%; height: 100%; right: 0; top: 0; background: var(--pink);}
.sec_team h2 {text-align: center; color: var(--red);}
.sec_team p {margin: 32px auto;}
.team_wrap {width: 46%; margin-left: auto; margin-right: 0;} */




/* Progres bar */
.sec_fact {padding: 48px 0;}
.fact_list {display: flex; justify-content: center; gap: 80px; box-sizing: border-box; font-size: 22px;}
.fact {text-align: center; font-weight: bold; width: 50%;}
.fact__cislo {font-size: 60px; font-weight: 300;}
.progres_bar {width: 200px; height: 100px; margin: 0 auto;}


/* Kontakt */

.sec_kontakt {text-align: center; background-color: #F9F9FA;}
.sec_kontakt p {max-width: 500px; margin-left: auto; margin-right: auto; font-size: 22px; font-weight: bold; margin-bottom: 16px;}
.sec_kontakt .big {font-size: 36px; font-weight: bold; color: var(--main); margin: 48px auto;}
.sec_kontakt .big::before {content: ""; display: block; width: 200px; height: 1px; background-color: var(--red); margin: 0 auto 48px auto;}
.sec_kontakt .big::after {content: ""; display: block; width: 200px; height: 1px; background-color: var(--red); margin: 48px auto 0px auto;}
.sec_kontakt .big a {display: block; text-decoration: none; transition: ease 0.3s;}
.sec_kontakt .big a span {color: var(--orange);}
.sec_kontakt .big a:hover {color: var(--orange);}


.map_box {display: flex; border-radius: 8px; overflow: hidden;}
.map_box h3 {text-align: left; color: var(--light);}
.map_box p {margin: 40px 0;}
.map_box > * {width: 50%;}
.map_box iframe {width: 100%; height: 100%;}
.map_box__right {background-color: var(--main); color: var(--light); text-align: left; box-sizing: border-box; padding: 80px;}
.map_box__social {display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 32px;}
.map_box__social a {display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background-color: var(--orange); transition: ease 0.25s; -webkit-transition: ease 0.25s;}
.map_box__social a:hover {background-color: var(--main);}
.map_box__social a img {width: 18px;}
.bigbold {font-size: 30px; font-weight: bold; margin: 96px 0;}

/* Formular */
.obal_form {background: var(--white); /* box-shadow: 0 0 32px rgba(0, 0, 0, 0.1) */; border-radius: 16px; padding: 40px 32px 80px 32px; text-align: left; max-width: 862px; margin: 0 auto; margin-bottom: 96px; position: relative;}

.obal_form .formItem_label {margin: 16px 0 8px 0; color: var(--main); font-size: 14px; font-weight: bold;}
.obal_form .formItem_input {border: 1px solid var(--grey); border-radius: 8px;}
.obal_form input,
.obal_form textarea,
.obal_form select {width: 100%; padding: 10px; box-sizing: border-box; border: none; background: transparent; font-size: 16px; font-family: 'Montserrat', sans-serif;}
.obal_form textarea {min-height: 197px; border-radius: 8px;}
.form_button {text-align: center;}
.form_button button {transform: translateY(-50%);}
.button--form {position: absolute; bottom: 0; left: 50%; margin: 0; transform: translate(-50%, 50%);}

.obal_form .formItem--vek .formItem_input {border: none; display: flex; align-items: center; gap: 16px; min-height: 36px;}
.obal_form .formItem--vek .formItem_input input {width: 20px; margin: 0;}
.obal_form .form_souhlas {margin-top: 24px; font-size: 16px;}

.radio_container {display: flex;}

.radio_container { display: block; position: relative; padding-left: 36px; margin-bottom: 0px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } 
/* Hide the browser's default radio button */ 
.radio_container input { position: absolute; opacity: 0; cursor: pointer; transition: ease 0.3s; left: 0; top: 0;} 
/* Create a custom radio button */ 
.checkmark { position: absolute; top: 0; left: 0; height: 24px; width: 24px; background-color: #eee; border-radius: 50%; } 
/* On mouse-over, add a grey background color */ 
.radio_container:hover input ~ .checkmark { background-color: #ccc; transition: ease 0.3s;} 
.radio_container input:checked ~ .checkmark { background-color: var(--orange); } 
.checkmark:after { content: ""; position: absolute; display: none; } 
.radio_container input:checked ~ .checkmark:after { display: block; } 
/* Style the indicator (dot/circle) */ 
.radio_container .checkmark:after { top: 7px; left: 7px; width: 10px; height: 10px; border-radius: 50%; background: white; transition: ease 0.3s;}

.radio__container--checkbox .checkmark {border-radius: 4px; margin-top: -3px;}
.radio__container--checkbox .checkmark:after {border-radius: 2px;}

#thankYou p {text-align: center; color: var(--orange); font-size: 24px; margin: 0 auto;}
body.send_msg .p_thankyou {display: none;}
body.send_msg .obal_form {padding: 48px 32px; box-shadow: 0 0 45px rgba(0, 0, 0, 0.05); margin-top: 32px;}

/* Partneri */

.partneri_list {display: flex; gap: 80px; justify-content: center;}
.partner {display: flex; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box;}
.partneri_list a {display: flex; align-items: center; justify-content: center; height: 120px;}
.partneri_list a img {transition: ease 0.3s;}
.partneri_list a:hover img {transform: scale(1.03);}

/* footer */

footer { color: var(--light); border-top-left-radius: 32px 32px; border-top-right-radius: 32px 32px; background: var(--main); border-color: #C42348; padding: 80px 0; font-size: 15px;}
footer a { text-decoration: none; } 
footer a:hover { color: var(--orange); }
footer .width {display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;}
footer > * {width: 48%;}
.foo_left {display: flex; align-items: center; flex-shrink: 0;}
.foo_right {text-align: right; display: flex; align-items: center; flex-shrink: 0;}

.foo_right ul {display: flex; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end;}
.foo_right ul li {padding: 0; margin: 0; list-style: none; flex-shrink: 0;}
.foo_right ul li a {padding: 4px 12px; display: block;}

.foo__social {display: flex; gap: 8px; align-items: center; margin-left: 16px;}
.foo__social a {display: flex; width: 30px; height: 30px; justify-content: center; align-items: center; background-color: var(--orange); border-radius: 50%;}

footer button {padding: 0; margin: 0; display: inline; background: transparent; cursor: pointer; border: 0; color: var(--grey); transition: 0.25s; font-size: 15px; font-family: "Montserrat";}
footer button:hover {color: var(--orange);}
footer small {margin-top: 24px; text-align: center;}

/* Menu */

.hamburger {display: block; width: 60px; height: 60px; border: none; background: transparent; position: relative; cursor: pointer; outline: none; z-index: 2;}
.hamburger span {display: block; width: 60px; height: 3px; background: #AAA; position: absolute; left: 0; transition: ease 0.3s; -webkit-transition: ease 0.3s;}
.hamburger span:nth-child(1) {top: 17px;}
.hamburger span:nth-child(2) {bottom: 17px;}

.hamburger span::after {content: ""; display: block; position: absolute; left: 0; top: 0; height: 100%; width: 0; background-color: var(--orange); transition: ease 0.3s; -webkit-transition: ease 0.3s;}
.hamburger:hover span::after {width: 100%;}
.hamburger:hover span:nth-child(2)::after {transition: ease 0.3s 0.15s; -webkit-transition: ease 0.3s 0.15s;}

.open_sidemenu .hamburger span:nth-child(1) {top: 28.5px; transform: rotate(45deg);}
.open_sidemenu .hamburger span:nth-child(2) {bottom: 28.5px; transform: rotate(-45deg);}


#nonresponsiveMenu ul {z-index: 1; position: fixed; right: 0; top: 0; margin: 0; padding-top: 140px; padding-right: 30px; background: var(--white); height: 100vh; transform: translateX(100%); transition: ease 0.3s; -webkit-transition: ease 0.3s; padding-left: 30px;}
#nonresponsiveMenu ul li {list-style: none;}
#nonresponsiveMenu ul li a {display: block; font-size: 30px; text-decoration: none; padding: 20px 0; color: var(--dark); text-align: right; width: 100%; min-width: 300px; max-width: 320px; transition: ease 0.3s; -webkit-transition: ease 0.3s; border-bottom: 1px solid var(--pink); position: relative;}
#nonresponsiveMenu ul li a:hover {color: var(--orange);}
#nonresponsiveMenu ul li a::after {content: ""; position: absolute; bottom: -1px; right: 0; display: block; height: 1px; width: 1px; background: var(--pink); transition: ease 0.3s; -webkit-transition: ease 0.3s;}
#nonresponsiveMenu ul li a:hover::after { background: var(--orange); width: 100%;}

.open_sidemenu #nonresponsiveMenu ul {transform: translateX(0);}



/* Slider */

.slick-dots {display: flex; justify-content: center; margin: 32px 0; padding: 0;}
.slick-dots li {list-style-type: none;}
.slick-dots li button {background: transparent; border: none; border-radius: 6px; height: 10px; width: 10px; font-size: 0; display: block; padding: 0; margin: 0 2px; border: 1px solid var(--orange); transition: ease 0.25s; -webkit-transition: ease 0.25s; cursor: pointer;}
.slick-dots li.slick-active button {background-color: var(--orange); width: 20px;}


/* Large devices (desktops, less than 1400px) */
@media only screen and (max-width: 1399px) {
	
	.galerie_list {grid-template-columns: repeat(4, 1fr);}
	.partneri_list {gap: 40px;}

}



/* Large devices (desktops, less than 1200px) */
@media only screen and (max-width: 1199px) {
	
	h2 {font-size: 40px;}
	.width {box-sizing: border-box;}
	.fact_list {gap: 24px;}
	.fact__cislo {font-size: 36px;}
	.orange_info {font-size: 26px;}
	footer .width {width: 100%; justify-content: center; flex-direction: column-reverse;}
	.foo_right {margin-bottom: 16px;}
	.foo_right ul {justify-content: center;}

}

/* Large devices (desktops, less than 1040px) */
@media only screen and (max-width: 1040px) {
	
	h2 {font-size: 43px;}
	.sec_about .cols {flex-wrap: wrap; flex-direction: column-reverse;}
	.sec_about .cols__col {width: 100%;}
	.sec_about .cols__col h2 {margin-top: 40px;}
	.sec_about p {padding-right: 0;}
	.pribeh_wrap {flex-wrap: wrap; justify-content: center; text-align: center;}
	.pribeh_wrap h3 {text-align: center; margin-top: 32px;}
	.pribeh__img {margin-right: 0;}
	.galerie_list {grid-template-columns: repeat(4, 1fr);}

}


/* Medium devices (tablets, less than 992px) */

@media only screen and (max-width: 991px) {

	.map_box {flex-wrap: wrap;}
	.map_box > * {width: 100%; min-height: 350px;}
	.map_box__right {text-align: center; padding: 48px 32px;}
	.map_box__social {justify-content: center;}
	.map_box p {margin-left: auto; margin-right: auto;}
	.map_box h3 {text-align: center;}
	.animated_text {font-size: 100px;}
	.galerie_list {grid-template-columns: repeat(3, 1fr); gap: 24px;}
	.gal_img:nth-child(even) {margin: unset;}
	.gal_img:nth-child(3n+2) {margin-top: 50px; margin-bottom: -50px;}

}

/* Small devices (landscape phones, less than 768px) */

@media only screen and (max-width: 767px) {
	
	body,
	button {font-size: 16px;}
	.width {padding: 0 30px; width: unset;}
	.top_nav {padding: 0; top: 0; /* background-color: rgba(255, 255, 255, 0.85); */}
	.top_nav__logo {width: 40px;}

	.hamburger {width: 40px; height: 40px;}
	.hamburger span {width: 40px; height: 2px;}
	.hamburger span:nth-child(1) {top: 11px;}
	.hamburger span:nth-child(2) {bottom: 11px;}
	.open_sidemenu .hamburger span:nth-child(1) {top: 19px;}
	.open_sidemenu .hamburger span:nth-child(2) {bottom: 19px;}

	#nonresponsiveMenu ul {padding-top: 80px; padding-left: 30px;}

	.galerie_list {grid-template-columns: 1fr 1fr; padding: 0; gap: 16px;}
	.gal_img:nth-child(3n+2) {margin: 0;}
	
	section {padding: 80px 0;}
	.half_left {position: relative; width: 100%; padding-top: 70%;}
	.half_right {display: none;}
	.team_wrap { width: 100%; padding: 60px 0;}
	.sec_team {padding: 0;}
	.sec_team .width {width: 100%; box-sizing: border-box; padding: 0 40px; background-color: var(--pink);}
	.sec_kontakt .big {font-size: 32px;}

	.partner {padding: 0 5px;}
	.button_100 {transform: scale(1);}

	/* .obal_video video {max-height: 100%;} */

}


/* phones */

@media only screen and (max-width: 575px) {	
	
	h2 {font-size: 28px;}
	.width {padding: 0 20px;}
	.cols__col {width: 100%;}
	.header_content__wrap {text-align: center;}
	.animated_text {font-size: 60px;}
	h1 {text-align: center;}
	
	.sec_kontakt .big {font-size: 24px;}
	.bigbold {font-size: 20px; margin: 40px 0px;}
	.img_video__play {width: 80px; height: 80px;}
	.pribehy {display: flex; justify-content: center; flex-wrap: wrap;}
	.pribeh {margin: 24px 0;}
	.fact_list {flex-wrap: wrap;}
	.fact {width: 100%;}
	.obal_form {margin-left: -20px; margin-right: -20px;}
	.orange_info {font-size: 22px;}
	.foo_left {flex-wrap: wrap; justify-content: center;}
	.foo_left > * {margin-top: 2px; margin-bottom: 2px;}
	.foo_left > * {margin-top: 2px; margin-bottom: 2px;}
	
}


@media only screen and (max-width: 460px) {	

	.galerie_list {grid-template-columns: 1fr; padding: 0;}
	.gal_img {font-size: 18px;}
	.gal_rotate {width: 36px; height: 36px;}
	.gal_rotate::before {font-size: 16px; font-weight: bold;}
	.gal_img h3 {font-size: 28px;}
}