*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 13px;
	--color-text: #fff;
	--color-bg: #000;
	--color-link: rgba(255,255,255,0.95);
	--color-link-hover: #16A9A6;
	--color-bg-slide: #171719;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f117;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #16A9A6; /* #FF8C00 */
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: LightSalmon; /* #FFA07A */
}

::-webkit-input-placeholder,
:-ms-input-placeholder,
::placeholder {
	color: #4356d3;
}
html {
  /* height: -webkit-fill-available; */
}


body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: obviously, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	height: 100vh;	
	height: calc(var(--vh, 1vh) * 100);
	
	/* min-height: 100vh; */
    /* min-height: -webkit-fill-available; */
	overflow: hidden;
}

.hidden, input[name="current_date"] { display: none;}

input:focus{
	color:#fff !important;}
}
.form-control {
    color: #ccc;
}


.tiny{font-size: 70%;}

.text__mix-case {
    text-transform: initial;
}
.text__bar {
    display: inline-block;
    margin: 0 12px;
    font-size: 140%;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
	text-decoration: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
	color: var(--color-link);
}

.unbutton:focus {
	outline: none;
}

.frame {
	padding: 2.5rem;
	display: grid;
	position: fixed;
	width: 100%;
	
	height: 100vh;	
	height: calc(var(--vh, 1vh) * 100);
	
	/* min-height: 100vh; */
   /*  min-height: -webkit-fill-available; */
    
	z-index: 100;
	pointer-events: none;
	grid-template-columns: auto auto auto;
	grid-template-rows: auto auto;/* auto 1fr;  */
	/* grid-gap: 1rem; */
	/* grid-template-areas: 'back sponsor' 'title title' 'info info' 'nav nav'; */
		grid-template-areas: 'back ... sponsor' 'nav info title';
		align-content: space-between;
}

.frame a {
	pointer-events: auto;
}



/* 
.frame__title {
	grid-area: title;
	align-self: end;
	justify-self: end;
	display: flex;
	align-items: start;
	position: relative;
	z-index: 3;
}
 */


/* 
.frame__title {
    position: absolute;
    bottom: 4px;
    width: 100%;
    text-align: center;
}
 
 */
 
/* 
 .frame__title {
    position: absolute;
    bottom: 4px;
    width: 100%;
    text-align: center;
    display: grid;
    grid-auto-flow: row;
    place-items: center;
    align-content: space-evenly;
    grid-gap: 0.5rem;
}
 */

.frame__title {
    position: fixed;
    width: 100vw;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.frame__title-main {
	font-size: 1rem;
	margin: 0 0 0 1rem;
	font-weight: normal;
}

.frame__title-back {
	position: relative;
	display: flex;
	align-items: flex-end;
	margin-bottom: 0.15rem;
}

.frame__title-back span {
	transform: rotate(-45deg);
	font-size: 1.25rem;
	line-height: 1;
}

.frame__title-back svg {
	fill: currentColor;
}

.frame__info {
    /* grid-area: info; */
    /* align-self: end; */
    position: fixed;
    bottom: 36px;
    right: 36px;
}

.frame__gradiante {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(180deg, black, transparent); */
    background: -moz-linear-gradient(top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 51%, rgba(0,0,0,0.85) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.85) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0.85) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0.85) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9000000', endColorstr='#d9000000',GradientType=0 );
}
.frame__logo {
    position: fixed;
    top: 0;
    left: 30px;
    /* transform: translate(-50%,-50%); */
    width: 400px;
    /* background-color: black; */
    padding: 2rem 2rem 2rem 0px;
    /* clip-path: polygon(0 0, 100% 0, 100% 0%, 0 99%); */
}

#logo__top {
    max-width: 240px;
    margin: auto;
    padding: 30px;
    position: relative;
    transform: scale(1.3);
}


.frame__nav-top {
    position: absolute;
    top: 35vh;
    right: 30px;
    text-align: right;
    /* border: 1px green solid; */
    z-index: 5;
}

.frame__nav-top a {
    margin: 0.5rem 0.75rem;
    display: block;
    /* font-size: 24px; */
    font-size: calc((4vw + 4vh + 2vmin) / 3.5 );
    font-weight: 700;
    opacity: 1;
    COLOR: WHITE;
    TEXT-SHADOW: 1PX 1PX black;
    text-decoration: none;
    transition: .2s ease-out;
}

.frame__nav-top a:hover{
	letter-spacing: 2px;
	color: #16A9A6;
}

/* 
.frame__nav {
	grid-area: nav;
	display: grid;
	grid-auto-flow: row;
	place-items: start;
	align-content: end;
	grid-gap: 0.5rem;
}
 */
 
 .frame__nav {
    /* grid-area: nav; */
    display: grid;
    grid-auto-flow: row;
    place-items: start;
    align-content: end;
    grid-gap: 0.5rem;
    position: fixed;
    bottom: 40px;
    left: 35px;
}

.frame__nav-button {
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
    pointer-events: auto;
    height: 6px;
    width: 40px;
    display: block;
        background-color: white;
    transition: .3s cubic-bezier(0.190, 1.000, 0.220, 1.000); /* easOutExpo */
}

.frame__nav-button:not(.frame__nav-button--current):hover {
	color: var(--color-link-hover);
}

.frame__nav-button--current {
	color: var(--color-text);
	width: 100px;
	background-color: #16A9A6;
}

.frame__nav-button::before {
	content: '';
	width: 2.5rem;
	height: 1px;
	top: 50%;
	background-color: currentColor;
	position: absolute;
	right: calc(100% + 4px);
	transform-origin: 100% 50%;
	transform: scaleX(0);
	transition: transform 0.8s ease-in-out;
}

.frame__nav-button--current::before {
	transform: scaleX(1);
}

.frame__back {
	grid-area: back;
	justify-self: start;
	opacity: 0;
	pointer-events: none;
	text-transform: uppercase;
	position: relative;
	z-index: 5;
}

.frame__back--show {
	opacity: 1;
	pointer-events: auto;
}

.slides {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 100%;
	place-items: center;
}

.slide {
	width: 100%;
	height: 104%;
	grid-area: 1 / 1 / -1 / -1;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	position: relative;
	will-change: transform;
}

.slide--current {
	pointer-events: auto;
	opacity: 1;
}

.slide__inner {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 100%;
	position: relative;
	overflow: hidden;
	will-change: transform;
}

.slide__img {
	grid-area: 1 / 1 / -1 / -1;
	overflow: hidden;
	position: relative;
	cursor: crosshair;
	z-index: 1;
}

.slide__img-inner {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	will-change: transform;
}

.slide__content {
	grid-area: 1 / 1 / -1 / -1;
	display: grid;
	background: var(--color-bg-slide);
	align-content: center;
	justify-content: center;
	display: grid;
	padding: 1rem;
	grid-template-rows: auto auto auto;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 2rem;
	grid-template-areas: 'img title' 'img text' 'img ...' ;
}

.slide__content-img {
	height: 300px;
	background-size: cover;
	background-position: 50% 50%;
	grid-area: img;
	will-change: transform;
}

.slide__content h2 {
	grid-area: title;
	font-weight: 200;
	font-size: clamp(3rem,2vw,3rem);
	text-transform: none;
	margin: 0 0 3rem 0;
	line-height: 1;
}

.slide__content p {
	grid-area: text;
	max-width: 260px;
	line-height: 1.5;
	margin: 0;
	color: rgba(255,255,255,0.5);
}

.cursor {
    position: absolute;
    top: -0px;
    left: -35px;
    pointer-events: none;
    background-color: rgba(255,0,0,0.75);
    width: 30px;
    height: 30px;
    border-radius: 100px;
    z-index: 11;
}


.modal__background {
	display: block;
	position: fixed;
	top:0;left:0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.9);
}

.modal__box.modal__contact {
    max-width: 500px;
    width: 80%;
    margin: auto;
    position: relative;
    top: 50vh;
    transform: translateY(-50%);
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    overflow-x: hidden;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: rgb(0 0 0 / 0%);
    background-clip: padding-box;
    border: 0px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    overflowX: hidden;
}

.modal-backdrop.show {
    opacity: .95;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #1e1e1e;
    background-clip: padding-box;
    border: 1px solid #0b3b6a;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.form-control:focus {
    color: #495057;
    background-color: #303030;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

/* # icon scroller */
.icon-scroll {
  width: 20px;
  height: 30px;
  background: transparent;
  border: 2px solid #bbb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin: auto;
  position: relative;
  box-shadow: 3px 3px 5px -5px #000;
}

.icon-scroll::before {
  content: "";
  width: 4px;
  height: 10px;
  background: transparent;
  border-radius: 2px;
  margin-top: 5px;
}

.icon-scroll::after {
  content: "";
  width: 4px;
  height: 3px;
  background-color: #bbb;
  position: absolute;
  display: block;
  animation: scroll ease 1s infinite;
}


@keyframes scroll {
  from {
    top: 18px;
  }
  to {
    top: 5px;
  }
  100% {
    opacity: 0;
  }
}
@media screen and (min-width: 53em) {
	.frame {
		grid-template-columns: auto auto auto;
		grid-template-rows: auto auto;
		grid-template-areas: 'back ... sponsor' 'nav info title';
		align-content: space-between;
	}
	.frame__info {
		/* justify-self: center; */
	}
	.slide__content {
		grid-template-rows: auto auto auto;
		grid-template-columns: 220px 300px;
		grid-column-gap: 2rem;
		grid-template-areas: 'img title' 'img text' 'img ...' ;
	}
}
