/*=======================================================
	
	Title	: 	BHC Website
	
	Author	: 	Dawid Wolkiewicz
	
--------------------------------------------------------------------------------------
	List Of Contents
--------------------------------------------------------------------------------------
	
	01. General Styles
	
	02. Menu
	
	03. Section Styles
	
	04. Main Section
	
	05. About Section
	
	06. Timeline Section
	
	07. Person Section
	
	08. Rules Section
	
	09. Responsive CSS

=========================================================*/

/*=======================================================
	General Styles
=======================================================*/
@font-face {
    font-family: 'Bahnschrift';
    src: url('../fonts/Bahnschrift/Bahnschrift.woff2') format('woff2'),
        url('../fonts/Bahnschrift/Bahnschrift.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BhcOfficial';
    src: url('../fonts/BhcOfficial/BHCOfficialFontRegular.woff2') format('woff2'),
         url('../fonts/BhcOfficial/BHCOfficialFontRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
	unicode-range: U+0020-017F;
}

@font-face {
    font-family: 'Furore';
    src: url('../fonts/Furore/furore-webfont.woff2') format('woff2'),
         url('../fonts/Furore/furore-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body,
html {
	height: 100%;
	width: 100%;
}

body {
	position: relative;
	overflow: hidden;
	font-family: 'Bahnschrift', sans-serif;
	background: #2D0D49 !important;
}

* {
	font-family: inherit;
}

.view-person,
.person-filters>li>a,
.p-table>.header>.price,
.info-list>li>strong,
.btn-custom,
.btn-zapisy,
.menu-items>li>a,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Bahnschrift', sans-serif;
}

.color {
	color: #6B2099;
}

::-webkit-scrollbar {
	background: #AFAAE0;
	height: 10px;
	width: 10px;
}

::-webkit-scrollbar-thumb {
	background: #AFAAE0;
	border: solid 2px #2D0D49;
}

::-webkit-scrollbar-thumb:hover {
	background: #AFAAE0;
}

.blank-space {
	display: inline-block;
    margin-left: 40px;
}

.angle-up{
    content: url(../photos/arrow-up.webp);
	width: 40px;
}

#scroll-to-top {
    z-index: 100;
    position: absolute;
    bottom: 40px;
	left: 40px;
    cursor: pointer;
	animation: bounce 6s infinite;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
}

@keyframes bounce {
	0%   { transform: scale(1,1)      translateY(0); }
	10%  { transform: scale(1.1,.9)   translateY(0); }
	30%  { transform: scale(.9,1.1)   translateY(-40px); }
	50%  { transform: scale(1.05,.95) translateY(0); }
	57%  { transform: scale(1,1)      translateY(-7px); }
	64%  { transform: scale(1,1)      translateY(0); }
	100% { transform: scale(1,1)      translateY(0); }
}


/*=======================================================
	Menu
=======================================================*/

.menu-btn {
	font-size: 0;
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 25px;
	z-index: 499;
}

.menu-btn>.lines {
	display: block;
	width: 36px;
}

.menu-btn>.lines>span {
	display: block;
	width: 100%;
	height: 3px;
	background: #FFF;
	-webkit-transition: 2.5s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: 2.5s cubic-bezier(.785, .135, .15, .86);
	transition: 2.5s cubic-bezier(.785, .135, .15, .86);
}

body.border-dark .menu-btn>.lines>span {
	background: #6B2099;
}

.menu-btn>.lines>.l2 {
	margin: 6px 0;
}

.menu {
	position: absolute;
	z-index: 399;
	background: #2D0D49;
	top: 0;
	right: 0;
	height: 100%;
	width: 0;
	-webkit-transition: width .6s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: width .6s cubic-bezier(.785, .135, .15, .86);
	transition: width .6s cubic-bezier(.785, .135, .15, .86);
	overflow: hidden;
}

.menu:hover,
.menu-btn:hover+.menu {
	width: 300px;
}

.menu>.inner {
	height: 100%;
	width: 300px;
	position: absolute;
	right: 0;
	top: 0;
}

.menu-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px 20px 32px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.menu-footer-text {
	color: #AFAAE0;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.menu-footer-link {
	display: inline-block;
	line-height: 0;
}

.menu-footer-logo {
	height: auto;
	width: full;
	max-width: 120px;
	display: block;
	transition: opacity 0.2s ease;
}

.menu-footer-logo:hover {
	opacity: 0.85;
}

.menu-items {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	text-align: center;
}

.menu-items>li>a {
	color: #FFF;
	color: #AFAAE0;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 4px;
	padding: 10px 0;
	margin: 2px 0;
	display: block;
	-webkit-transition: color .3s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: color .3s cubic-bezier(.785, .135, .15, .86);
	transition: color .3s cubic-bezier(.785, .135, .15, .86);
}

.menu-items>li>a:hover {
	color: #FFF;
}

.main-content>.page-border {
	position: absolute;
	border: solid 2px;
	border-color: #6b2099;
	z-index: 999;
	backdrop-filter: blur(10px);
}

body.border-dark .main-content>.page-border {
	border-color: #6b2099;
}

.main-content>.border-top,
.main-content>.border-bottom {
	height: 20px;
	left: 20px;
	right: 20px;
}
.main-content>.border-top:before {
	display: block;
	content: '';
	position: absolute;
	top: 12px;
	left:0px;
	right: 0px;
	bottom: 0px;
	border: 2px solid #6b2099;
}
.main-content>.border-top {
	top: 0px;
	border: 0;
}
.main-content>.border-bottom:before {
	display: block;
	content: '';
	position: absolute;
	top: 0px;
	left:0px;
	right: 0px;
	bottom: 12px;
	border: 2px solid #6b2099;
}
.main-content>.border-bottom {
	bottom: 0px;
	border: 0;
}

.main-content>.border-left,
.main-content>.border-right {
	width: 7px;
	top: 20px;
	bottom: 20px;
}

.main-content>.border-right {
	right: 14px;
}

.main-content>.border-left {
	left: 14px;
}


/*=======================================================
	Section Styles
=======================================================*/
.main-content {
	position: fixed;
	top: 40px;
	left: 40px;
	right: 40px;
	bottom: 40px;
	z-index: 99;
	overflow: hidden;
	box-shadow: 0 0 0 10px #FFF;
}

.section {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	z-index: -1;
	visibility: hidden;
	padding-top: 110px;
	background: #F0F0F0;

}

.section.active {
	visibility: visible;
	z-index: 99;
}

.section-header {
	position: relative;
}

.section-header>h2 {
	font-size: 28px;
	font-weight: 400;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-family: 'BhcOfficial';
	text-align: center;
}

.section-block {
	padding: 110px;
	padding-top: 0;
}

body.section-switching .main-content:before,
body.section-switching .main-content:after {
	z-index: 299;
}

body.border-dark .main-content:before,
body.border-dark .main-content:after {
	border-color: #2D0D49;
}

.sections {
	height: 100%;
	width: 100%;
}

.bhc-font {
	font-family: 'BhcOfficial';
}

.anchors{
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
}

/*=======================================================
	Main Section
=======================================================*/
.section-main:before {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #6B2099;
	opacity: .8;
	z-index: -1;
}

#clock-description {
	font-size:1.5em;
	color: #e0e0e0;
}

#best-logo {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 20em;
	height: auto;
}

.intro-logo {
	display: flex;
	flex-wrap: nowrap;
	flex-flow: row;
	justify-content: center;
	align-items: center;
}

#logo {
	background-image: url(../photos/logobhcbiale.webp);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 25vw;
	height: 25vw;
}

@keyframes cursor {
    0% {
        border-color: #864aaa;
    }

    10% {
        border-color: #6B2099;
    }

    25% {
        border-color: white;
    }

    75% {
        border-color: white;
    }

    90% {
        border-color: #6B2099;
    }

    100% {
        border-color: #6B2099;
    }
}

@keyframes typing {
    0% {
        left: 0%
    }

    20% {
        left: 0%
    }

    100% {
        left: 100%
    }
}

.intro-text>#typeBEST>h2 {
    font-family: 'Furore', arial;
    color: #ffffff;
    font-size: 7.5vw;
    position: relative;
    display: inline-block;
    overflow: hidden;
    letter-spacing: 1.9vw;
    margin-top: 2.5%;
    margin-bottom: 0%;
    font-weight: 1;
	
}

.intro-text>#typeBEST>h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #864aaa;
    border-left: 3px solid #864aaa;
    animation: cursor 0.6s infinite linear backwards,
        typing 2s steps(4, start) both;
		animation-delay: 1.5s;
}

.intro-text>#typeHACKS>h2 {
    font-family: 'Furore', arial;
    font-weight: 1;
    color: #ffffff;
    font-size: 7.5vw;
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-top: -1.5%;
}

.intro-text>#typeHACKS>h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #864aaa;
    border-left: 3px solid #864aaa;
    animation: cursor 0.6s infinite linear 2.1s backwards,
        typing 2s steps(5, start) 2.5s forwards;
		animation-delay: 3.5s;
}

.intro-btns {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.intro-btns>.btn-custom {
	margin: 1vw 1vw;
}

a.btn-custom {
	color: #FFF;
	text-decoration: none;
}

.btn-custom {
	color: #FFF;
	letter-spacing: 4px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	font-size: 1.5vw;
	font-weight: 400;
	display: inline-block;
	line-height: 1em;
	padding: 1em 1em;
	position: relative;
	z-index: 5;
	background: transparent;
	border: none;
}

.btn-custom:after {
	content: ' ';
	position: absolute;
	top: 0;
	left: -10px;
	right: -10px;
	bottom: 0;
	-webkit-transform: rotate(-4deg);
	-moz-transform: rotate(-4deg);
	-ms-transform: rotate(-4deg);
	-o-transform: rotate(-4deg);
	transform: rotate(-4deg);
	z-index: -1;
	opacity: 0;
	visibility: hidden;
	background: rgba(0, 0, 0, .3);
	-webkit-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	transition: all .3s cubic-bezier(.785, .135, .15, .86);
}

.btn-custom:before {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	border: solid 1px #FFF;
	border-color: #AFAAE0;
}

.btn-custom:hover:after {
	opacity: 1;
	visibility: visible;
}

.btn-custom.btn-color:after {
	background: #2D0D49;
}

.btn-custom.btn-color:hover:after {
	opacity: .4;
}

.btn-custom.btn-color {
	color: #2D0D49;
}

.btn-custom.btn-color>span:before,
.btn-custom.btn-color>span:after {
	background: rgba(0, 0, 0, .2);
}

.btn-custom.btn-color:before {
	border-color: rgba(0, 0, 0, .2);
}

body.section-switching .animation-block {
	position: absolute;
	left: 0;
	height: 0%;
	width: 100%;
	
	background-color: #E0E0E0;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 199;
}

body.up .animation-block,
body.down .animation-block{
	background-size: 30%;
	background-image: url(../photos/logobhcfioletowe.svg);
}

body.section-switching.down .animation-block {
	-webkit-animation: anim-down 2.5s cubic-bezier(.785, .135, .15, .86);
	-moz-animation: anim-down 2.5s cubic-bezier(.785, .135, .15, .86);
	animation: anim-down 2.5s cubic-bezier(.785, .135, .15, .86);
}

body.section-switching.up .animation-block {
	-webkit-animation: anim-up 2.5s cubic-bezier(.785, .135, .15, .86);
	-moz-animation: anim-up 2.5s cubic-bezier(.785, .135, .15, .86);
	animation: anim-up 2.5s cubic-bezier(.785, .135, .15, .86);
}

@-webkit-keyframes anim-down {
	0% {
		bottom: 0;
		height: 0;
	}

	45% {
		bottom: 0;
		height: 100%;
	}

	55% {
		bottom: 0;
		height: 100%;
	}

	100% {
		height: 0%;
		top: 0;
	}
}

@-moz-keyframes anim-down {
	0% {
		bottom: 0;
		height: 0;
	}

	45% {
		bottom: 0;
		height: 100%;
	}

	55% {
		bottom: 0;
		height: 100%;
	}

	100% {
		height: 0%;
		top: 0;
	}
}

@keyframes anim-down {
	0% {
		bottom: 0;
		height: 0;
	}

	45% {
		bottom: 0;
		height: 100%;
	}

	55% {
		bottom: 0;
		height: 100%;
	}

	100% {
		height: 0%;
		top: 0;
	}
}

@-webkit-keyframes anim-up {
	0% {
		top: 0;
		height: 0;
	}

	45% {
		top: 0;
		height: 100%;
	}

	55% {
		top: 0;
		height: 100%;
	}

	55.1% {
		bottom: 0;
		top: auto;
		height: 100%;
	}

	100% {
		height: 0%;
		bottom: 0;
		top: auto;
	}
}

@-moz-keyframes anim-up {
	0% {
		top: 0;
		height: 0;
	}

	45% {
		top: 0;
		height: 100%;
	}

	55% {
		top: 0;
		height: 100%;
	}

	55.1% {
		bottom: 0;
		top: auto;
		height: 100%;
	}

	100% {
		height: 0%;
		bottom: 0;
		top: auto;
	}
}

@keyframes anim-up {
	0% {
		top: 0;
		height: 0;
	}

	45% {
		top: 0;
		height: 100%;
	}

	55% {
		top: 0;
		height: 100%;
	}

	55.1% {
		bottom: 0;
		top: auto;
		height: 100%;
	}

	100% {
		height: 0%;
		bottom: 0;
		top: auto;
	}
}

.section-main {
	padding: 0;
}

.section-main,
.section-main>.container-fluid {
	height: 100%;
	width: 100%;
}

.v-align {
	height: 100%;
	width: 100%;
}

.v-align>.inner {
	height: 95%;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-content: center;
	gap: 1em;
}



/*=======================================================
	About Section
=======================================================*/
.about-section {
	background: #F0F0F0;
}

.about-block .section-header {
	margin-bottom: 80px;
}

.about-text>p {
	font-size: 20px;
	color: black;
	line-height: 1.8em;
}

.about-text {
	margin-bottom: 25px;
}

.about-btns>.btn-custom {
	margin-right: 25px;
}

.info-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.info-list>li {
	padding: 14px 0;
	border-bottom: solid 1px rgba(0, 0, 0, .1);
}

.info-list>li:last-of-type {
	border: none;
}

.info-list>li>strong {
	letter-spacing: 4px;
	color: black;
	text-transform: uppercase;
	font-size: 17px;
}

.info-list>li>span {
	color: #6B2090;
	font-size: medium;
	font-weight: bolder;
}

.prev-editions-block .section-header {
	margin-bottom: 80px;
}

.prev-edition {
	position: relative;
}

.prev-edition > p {
	font-size: 18px;
	line-height: 1.8em;
	color: rgba(0, 0, 0, .6);
	margin-top: 10px;
}

.prev-editions-gallery{
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	}

.prev-editions-gallery>img{
	max-width: 40%;
	height: auto;
	margin: 2em;
	border: 6px double #6B2090;
}

.number {
	font-family: 'Furore';
	font-size: 30px;
}


/*=======================================================
	Timeline Section
=======================================================*/
.timeline-block .section-header {
	margin-bottom: 80px;
}

.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	padding: 40px 0;
}

.timeline:before {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 1px;
	background: #D0D0D0;
}

.timeline>li {
	padding-left: 40px;
	margin-bottom: 40px;
}

.timeline>li:last-of-type {
	margin-bottom: 0;
}

.timeline>li>.timeline-content {
	padding: 25px;
	border: solid 1px #B6B6B6;
	position: relative;
	opacity: 100%;
}

.timeline-img {
	position: relative;
	margin-left: -14px;
	opacity: 1;
	transition: opacity 400ms;
	transition-delay: 0ms;
	width: 40px;
}

.col-timeline .signet {
	position: sticky;
	top: 220px;
	z-index: 1;
	margin-top: -2rem;
	margin-bottom: -3rem;
}

.col-timeline #signet-track {
	width: 10px;
	position: absolute;
	height: 0;
	margin-top: -2rem;
	background: #2D0D49;
	z-index: 1;
	overflow: hidden;
}

.col-timeline {
	display: flex;
	flex-direction: column;
	padding-top: 4rem;
	padding-bottom: 4rem;
	position: relative;
	padding-left: 3rem;
}

.col-timeline::before {
	position: absolute;
	width: 11px;
	height: 92.5%;
	background: #dedede;
	content: "";
	z-index: 1;
	box-sizing: border-box;
}

.timeline-active{
	border: 4px double #6b2090 !important;
}

.timeline>li>.timeline-content:before {
	content: ' ';
	position: absolute;
	top: 15px;
	left: -40px;
	width: 40px;
	height: 1px;
	background: #B6B6B6;
}

.timeline>li>.timeline-content:after {
	content: '';
	position: absolute;
	height: 16px;
	width: 10px;
	background: #2D0D49;
	border: solid 1px #B6B6B6;
	top: 7px;
	left: -50px;
}

.timeline>li>.timeline-content>h4 {
	margin: 0;
	margin-bottom: 5px;
	font-size: 20px;
}

.timeline>li>.timeline-content>em {
	margin-bottom: 10px;
	font-size: 17px;
	display: block;
	color: rgba(0, 0, 0, .6);
}

.timeline>li>.timeline-content>em>span {
	margin-right: 10px;
}

.timeline>li>.timeline-content>p {
	margin: 0;
	line-height: 1.6em;
	font-size: 17px;
	color: rgba(0, 0, 0, .4);
}

/* --------ZAPISY ------------*/
.zapisy-text {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
}
.zapisy-text h2 {
	margin-bottom: 0;
  }
  .btn-zapisy {
	  font-size: 1.5em !important;
	  letter-spacing: 4px;
  }

  .zapisy-text h2 {
	font-size: clamp(20px,2.5vw,25px);
  }
  .zapisy-text h3 {
	font-size: clamp(20x,3vw,20px);
  }
  .zapisy-text h4 {
	font-size: clamp(15px,1.5vw,15px);
  }
  
  .zapisy-item {
	display: block;
	border: 4px double #6B2090;
	text-align: center;
	padding: 10% 10%;
	background-color: white;
	margin: auto;
  }
  .zapisy-item hr {
	width: 100%;
	color: #222;
	border-top: 2px dashed black;
  }
  .zapisy-item h3 {
	font-size: clamp(25px,2.5vw,25px);
	font-weight: 600;
  }
  .zapisy-item h5 {
	font-size: clamp(15px,2vw,18px);
	color: #6B2090;
	margin-top: 0.5rem;
  }
  .zapisy-item h6 {
	font-size: clamp(12px,1vw,14px);
  }



/*=======================================================
	Sponsors Section
=======================================================*/
.sponsors-section {
	background: #F0F0F0;
}

.sponsors-block .section-header {
	margin-bottom: 80px;
}

.sponsor-box-important {
	display: flex !important;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	margin: 0 2% 5% 2%;
}

.sponsor-img {
	height: 100%;
	width: 100%;
}

.sponsor-main {
	flex-direction: column;
}

.sponsor-main > a {
	width: 100%;
	height: auto;
}

.sponsor-main > a > img {
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

.sponsor-img > a > img {
	width: 80%;
    height: auto;
    object-fit: contain;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.patron-box {
	display: flex;
	align-items:center;
	margin-bottom: 5%;
}

.patron-image {
	height: 100%;
	width: 100%;
}

.patron-image > a {
	max-width: 30%;
}

.patron-image > a > img {
	max-width: 60%;
    height: auto;
    object-fit: contain;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.sponsor-box-important > p {
	text-align: justify;
	max-width: 60%;
	margin: 0 2% 0 2%;
	font-size: 1.3vw;
}

.sponsor-main > p {
	max-width: 100% !important;
}

.sponsor-l {
	flex-direction: row;
}

.sponsor-r {
	flex-direction: row-reverse;
}



/*=======================================================
	Person Section
=======================================================*/
.person-block .section-header {
	margin-bottom: 80px;
}

.person-items > li > div >img{
	max-width: 100%;
}

.person-items > li > div >p{
	font-size: 1.5vw;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 20px;
	font-family: 'BhcOfficial';
}

.popup-box > figure > img {
	max-width: 100%;
	display: block;
  	margin-left: auto;
  	margin-right: auto;
}

.person-filters,
.person-items {
	position: relative;
	list-style: none;
	font-size: 0;
	margin: 0;
	padding: 0;
}

.person-filters {
	margin-bottom: 25px;
}

.person-filters>li {
	display: inline-block;
	margin-right: 25px;
}

.person-filters>li>a {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: rgba(0, 0, 0, .4);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 4px;
	padding: 15px 0;
	margin: -15px 0;
}

.person-filters>li>a.active,
.person-filters>li>a:hover {
	color: #000;
}

.person-items {
	margin: -5px;
	overflow: visible !important;
}

.person-items>li {
	width: 33.3333%;
}

.person-items>li>.inner {
	margin: 20px;
	position: relative;
}

.person-items>li {
	z-index: 2;
}

.person-items>li:hover {
	z-index: 9;
}

.person-items>li>.inner>.overlay:before {
	content: ' ';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background: #2D0D49;
	opacity: .9;
	-webkit-transform: rotate(0deg) scale(0);
	-moz-transform: rotate(0deg) scale(0);
	-ms-transform: rotate(0deg) scale(0);
	-o-transform: rotate(0deg) scale(0);
	transform: rotate(0deg) scale(0);
	-webkit-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	transition: all .3s cubic-bezier(.785, .135, .15, .86);
}

.person-items>li>.inner:hover>.overlay:before {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	/* rotate(-10deg) scale(1); */
}

.person-items>li>.inner:hover>.overlay {
	opacity: 1;
}

.person-items>li>.inner>.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	text-align: center;
	opacity: 0;
	-webkit-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	transition: all .3s cubic-bezier(.785, .135, .15, .86);
}

.person-items>li>.inner>.overlay>.view-person {
	font-size: 18px;
	line-height: 18px;
	vertical-align: middle;
	position: absolute;
	top: 50%;
	margin-top: -29px;
	color: #FFF;
	color: rgba(255, 255, 255, .6);
	text-decoration: none;
	left: 0;
	right: 0;
	padding: 20px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	-webkit-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	-moz-transition: all .3s cubic-bezier(.785, .135, .15, .86);
	transition: all .3s cubic-bezier(.785, .135, .15, .86);
}

.person-items>li>.inner>.overlay>.view-person:hover {
	color: #FFF;
}

/*== Person Popup ==*/
.mfp-bg {
	background: #2D0D49;
}

.my-mfp-zoom-in .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: .96;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}

.my-mfp-slide-bottom .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	-webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	transform: translateY(-20px) perspective(600px) rotateX(10deg);
}

.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: translateY(0) perspective(600px) rotateX(0);
	-moz-transform: translateY(0) perspective(600px) rotateX(0);
	-ms-transform: translateY(0) perspective(600px) rotateX(0);
	-o-transform: translateY(0) perspective(600px) rotateX(0);
	transform: translateY(0) perspective(600px) rotateX(0);
}

.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
	opacity: 0;
	-webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.8;
}

.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}

.mfp-container {
	padding: 28px !important;
	overflow: auto;
}

.popup-box {
	background: #FFF;
	max-width: 450px;
	margin: 0 auto;
	position: relative;
	-webkit-box-shadow: 0 0 0 4px #FFF;
	-moz-box-shadow: 0 0 0 4px #FFF;
	box-shadow: 0 0 0 4px #FFF;
}

.popup-box>.mfp-close {
	top: 2px;
	right: 2px;
	background: #FFF;
	height: 48px;
	width: 48px;
	opacity: 1;
	font-size: 26px;
}

.popup-box>.mfp-close:hover {
	background: #FAFAFA;
}

.popup-box>.content {
	padding: 20px;
	font-size: 17px;
}

.popup-box>.content>h4 {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	font-size: 30px;
	text-align: center;
}

.popup-box>.content>p {
	font-size: 20px;
	color: rgba(0, 0, 0);
	font-weight: 500;
}

.ct-job {
	font-size: 25px;
	text-align: center;
}


/*=======================================================
	Rules Section
=======================================================*/
.rules-block .section-header {
	margin-bottom: 80px;
}

.rule-box {
	margin-bottom: 20px;
}

.rule-header {
	text-align: center;
	font-size: 26px;
	font-family: 'BhcOfficial';
}

.rule-text {
	text-align: justify;
	font-size: 17px;
}

.rule-box > * > a{
	color: #6B2090;
}

.rule-box > * > a:hover{
	color: #6B2090;
	filter: brightness(150%);
}

/*=======================================================
	Preloader
=======================================================*/
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;
	-webkit-transition: all .3s 1s ease;
	-moz-transition: all .3s 1s ease;
	transition: all .3s 1s ease;
}

#preloader>.left,
#preloader>.right {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background: #FFF;
	overflow: hidden;
	z-index: 99;
	-webkit-transition: all .7s .3s ease;
	-moz-transition: all .7s .3s ease;
	transition: all .7s .3s ease;
}

#preloader>.left {
	left: 0;
}

#preloader>.right {
	right: 0;
}

body.loaded #preloader {
	visibility: hidden;
}

body.loaded #preloader>.left {
	left: -50%;
}

body.loaded #preloader>.right {
	right: -50%;
}

body.loaded #preloader>.left,
body.loaded #preloader>.right,
body.loaded #preloader .loader {
	opacity: 0;
	visibility: hidden;
}

.loader {
	height: 140px;
	width: 140px;
	border: solid 4px #AFAAE0;
	border-top-color: #6B2099;
	border-right-color: #2D0D49;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	margin: auto;
	margin-top: -70px;
	transition: all .3s ease;
	z-index: 199;
	-webkit-animation: loader 2s infinite linear;
	-moz-animation: loader 2s infinite linear;
	animation: loader 2s infinite linear;
}

.loader:before,
.loader:after {
	content: ' ';
	position: absolute;
	border: inherit;
	border-radius: 50%;
}

.loader:before {
	left: 15px;
	top: 15px;
	bottom: 15px;
	right: 15px;
	opacity: .5;
	-webkit-animation: loader 3s infinite linear;
	-moz-animation: loader 3s infinite linear;
	animation: loader 3s infinite linear;
}

.loader:after {
	left: 30px;
	right: 30px;
	top: 30px;
	bottom: 30px;
	opacity: .25;
	-webkit-animation: loader 1.5s infinite linear;
	-moz-animation: loader 1.5s infinite linear;
	animation: loader 1.5s infinite linear;
}

@-webkit-keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@-moz-keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


/*=======================================================
	Responsive CSS
=======================================================*/

@media(max-width:1920px) {
	.btn-custom{
		font-size: 1vw;
	} 

	#best-wroclaw {
		width: 100rem;
	}

	.intro-text>#typeBEST>h2{
		font-size: 6vw;
		letter-spacing: 1.5vw;
	}

	.intro-text>#typeHACKS>h2{
		font-size: 6vw;
	}

	#logo{
		width: 20vw;
		height: 20vw;
	}

	#main-clock {
		font-size: 2vw;
	}

	.v-align>.inner{
		gap: 3vw;
	}

	body.up .animation-block,
	body.down .animation-block{
	background-size: 20%;
	}

}


@media(max-width:992px) {
	.info-list {
		margin-bottom: 25px;
	}

	.p-table,
	.service {
		margin-bottom: 25px;
	}

	.skills-block .skill {
		margin-bottom: 40px;
	}

	div:last-of-type>.p-table,
	div:last-of-type>.skill:last-of-type,
	div:last-of-type>.servic {
		margin-bottom: 0;
	}

	.section {
		padding-top: 90px;
	}

	.section-block {
		padding: 90px;
		padding-top: 0;
	}

	.v-align>.inner{
		gap: 4vw;
	}

	.btn-custom{
		font-size: 2vw;
	} 
}

@media(max-width:768px) {
	.person-items>li {
		width: 100%;
	}

    .person-items>li>div>p {
		font-size: 10px;
	}

	.main-content {
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.sponsor-box-important{
		flex-wrap: wrap;
		gap: 10vw;
	}

	.sponsor-box-important > p {
		max-width: 100%;
		font-size: 3vw;
	}

	.patron-box {
		flex-wrap: wrap;
	}

	.patron-image > a > img{
		margin-bottom: 10%;
	}

	.about-btns>.btn-custom {
		margin-bottom: 10px;
	}

	.intro-text>.intro-btns>.btn-custom {
		margin-bottom: 10px;
	}

	.v-align>.inner{
		gap:7em;
	}

	.btn-custom{
		font-size: 2vw;
	}
}

@media(max-width:550px) {
	.section {
		padding-top: 70px;
	}

	.angle-up{
		width: 20px;
	}

	.sponsor-box-important > p {
		max-width: 100%;
	}

	.patron-box {
		flex-wrap: wrap;
	}

	.patron-image > a > img{
		margin-bottom: 10%;
	}

	.section-block {
		padding: 70px;
		padding-top: 0;
	}

	.intro-btns{
		flex-direction: column;
		width: 100%;
		align-items: center;
		justify-content: center;
	}

	#main-clock {
		font-size: 13px;
	}

	.v-align>.inner{
		gap:6em;
	}

	.btn-custom{
		font-size: 3vw;
	}

	.sponsor-box-important>p{
		font-size: 4vw;
	}

	.sponsor-box-important{
		flex-wrap: wrap;
		gap: 10vw;
	}
	.col-timeline {
		padding-left:0;
	}

	.menu-footer {
		padding: 20px 20px 28px;
	}
}

@media(max-width:440px) {
	.section {
		padding-top: 40px;
	}

	.sponsor-box-important > p {
		max-width: 100%;
	}

	.patron-box {
		flex-wrap: wrap;
	}

	.patron-image > a > img{
		margin-bottom: 10%;
	}

	.menu>.inner {
		width: 300px;
	}

	#best-logo {
		width: 30%;
	}

	#main-clock {
		font-size: 8px;
	}

	.section-block {
		padding: 40px;
		padding-top: 0;
	}

	.intro-text>#typeBEST>h2{
		font-size: 10vw;
		letter-spacing: 2.6vw;
	}

	.intro-text>#typeHACKS>h2{
		font-size: 10vw;
	}

	#logo{
		width: 30vw;
		height: 30vw;
	}

	.sponsor-box-important>p{
		font-size: 4vw;
	}

	.sponsor-box-important{
		flex-wrap: wrap;
		gap: 10vw;
	}
	.col-timeline {
		padding-left:0;
	}

	.intro-btns{
		flex-direction: row;
    }

	.menu-footer {
		padding: 32px 20px;
	}

	.menu-footer-text {
		font-size: 14px;
	}
}

@media screen and (orientation: landscape) and (max-width: 992px){
    #logo{
		width: 20vw;
		height: 20vw;
	}

    .intro-text>#typeBEST>h2{
		font-size: 5vw;
		letter-spacing: 1vw;
	}

	.intro-text>#typeHACKS>h2{
		font-size: 5vw;
	}

    #main-clock {
		font-size: 10px;
	}

    .v-align>.inner{
		gap:0;
	}

    .btn-custom{
		font-size: 10px;
	}

    .intro-btns{
		flex-direction: row;
    }

    .section-main{
        padding-top: 0;
    }

    .person-items>li {
		width: 50%;
	}
}

.timer{
	padding-top: 200px;
}