body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}
:root
{
	--color-FLEX-logo-start: #FFF;
	--color-FLEX-logo-end: #fff;
}
#Page_Footer::after {	z-index: 6; }
#Page_Footer::before {	z-index: 6; }

.video {
    position: fixed;
    z-index: -1;
}
@keyframes fade-out {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;    
    animation: fade-out 1s ease-in both;
    animation-delay: calc(var(--animation-delay) + 6.5);
}
.frontSGV {
    position: fixed;
    right: -200px;
    top: 0;
    z-index: 1;
    height: 80%;
    width: 50%;
}
.frontBG_box {
    width: 100%;
    height: 100vh;
    background: #002f6c;
    position: relative;
    z-index: 1;
    animation: scale-out-hor-right cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation-delay: calc(var(--animation-delay) + 6s);
    animation-duration: calc(var(--animation-duration) + -4.5s);
}

@keyframes scale-out-hor-right {
    0% {
      transform: scaleX(1);
      transform-origin: 100% 100%;
      opacity: 1;
    }
    100% {
      transform: scaleX(0);
      transform-origin: 100% 100%;
      opacity: 1;
    }
}
  
.frontLogoBox {
    width: 350px;
    height: 120px;
    background: url(/_customers/images/ui/DFA/DFA-logo.png) #FFF;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
    animation: scale-in-hor-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 2s);
    animation-duration: calc(var(--animation-duration) + -.6s);
}
.frotMainBox {
    display: grid;
    justify-content: center;
    justify-items: stretch;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: fit-content;
    height: min-content;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1; 
}
:root {
    --animation-delay: 3s;
    --animation-duration: 5s;
}
@keyframes scale-in-hor-center {
    0% {
      transform: scaleX(0);
      opacity: 1;
    }
    10% {
      transform: scaleX(1);
      opacity: 1;
    }
    95% {
        transform: scaleX(1);
        opacity: 1;
      }
    100% {
        transform: scaleX(0);
        opacity: 1;
      }
  }

@keyframes scale-down-center {
    0% {
      transform: scale(4);
      opacity: 0;
      filter: blur(16px);
    }
    20% {
      transform: scale(1);
      opacity: 1;
      filter: blur(0px);
    }
    90% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0px);
      }
    100% {
        transform: scale(2);
        opacity: 0;
        filter: blur(16px);
      }
}
.frontBox {
    width: 300px;
    height: 300px;
    background: #ccc;
    background-repeat: no-repeat;
    background-size: cover;
}
.frontBox:nth-child(1) {    
    background: url(/_customers/images/ui/DFA/img-1.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(2) {    
    background: url(/_customers/images/ui/DFA/img-2.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.1s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(3) {    
    background: url(/_customers/images/ui/DFA/img-3.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.2s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(4) {    
    background: url(/_customers/images/ui/DFA/img-4.gif);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.3s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(5) {    
    background: url(/_customers/images/ui/DFA/img-5.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.4s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(6) {    
    background: url(/_customers/images/ui/DFA/img-6.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.5s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(7) {    
    background: url(/_customers/images/ui/DFA/img-7.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.6s);
    animation-duration: var(--animation-duration);
}
.frontBox:nth-child(8) {    
    background: url(/_customers/images/ui/DFA/img-8.jpg);    
    animation: scale-down-center cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: calc(var(--animation-delay) + 0.7s);
    animation-duration: var(--animation-duration);
}
/* FORM LOGIN START */
form {
	display: grid;
	padding: 100px 20px 30px 20px;
	background: url(/_customers/images/ui/DFA/DFA-logo.png) rgba(255, 255, 255, 0.6);
    background-position: left 20px top 22px;
    background-repeat: no-repeat;
    background-size: 150px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.8px);
    -webkit-backdrop-filter:blur(12.8px);
    border: 1px solid rgba(255, 255, 255, 0.33);
	position: fixed;
    margin: auto;
	bottom: 15%;
    /* top: 0; */
    right: 5%;
	min-height: 240px;
	max-height: 320px;
	height: min-content;
	min-width: 390px;
	width: fit-content;

	color: #000;
	/* border: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(255, 255, 255, 0.09); */
	font-family: var(--font-kelson-normal);
	
	z-index: 3;
	animation: formAni 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation-delay: calc(var(--animation-delay) + 7s);
}

@keyframes formAni {
	0% {
		opacity: 0;
		transform: scaleY(0.4);
    	transform-origin: 0% 100%;
	}
	100% {
		opacity: 1;
		transform: scaleY(1);
    	transform-origin: 0% 100%;
	}
}

form div {
	font-size: 12px;
	text-align: left;
	grid-area: 6 / 1 / 9 / 2;
    /* grid-area: 6 / -2 / 1 / 1; */
	margin-top: 40px;
	color: #FFF;
    font-family: Helvetica, sans-serif;
	font-style: normal;
	padding:10px;
	letter-spacing: 1px;
}

input {
	padding: 10px 20px;
	color: #333;
	background: #fff;
	border-bottom: 1px solid #adadad;
    border-top: unset;
    border-left: unset;
    border-right: unset;
	font-size: 18px;
	outline: none;
	margin-top: 10px;
	width: 400px;
	height: 40px;
    border-radius: 0px;
}

input[name="email"] {
	grid-area: 2 / 1 / 3 / 2;
}

input[name="password"] {
	grid-area: 3 / 1 / 4 / 2;	
}

input[name="code"] {
	grid-area: 4 / 1 / 5 / 2;
}

input[name="code"]::placeholder {
	color: #ccc;
}

::placeholder {
	color: #888888;
	font-family: var(--form-font);
	font-size: 14px;
	font-weight: 400;
}

button
{
	border: none;
	color: #fff;
	cursor:pointer;
	font-family: var(--font-kelson-bold);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .5px;
	text-transform: uppercase;
	outline: none;
	display: block;
	margin-top: 10px;
	height: 40px;
	width: 195px;
    border-radius: 0px;
}

button.login-only.login {
	background: #FCD900;
	color: #000;	
	cursor: pointer;
    display: block;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.login:hover {
	background: #ca2d06;
	transition: 0.3s;
}

button.login-only.register {
	background: #002664;
    color: #FFF;
	margin-left: 205px;
	cursor: pointer;
	display: block;
	grid-area: 4 / 1 / 6 / 2;
}

button.login-only.register:hover {
	background: #0ba57c;
	transition: 0.3s;
}

button.login-only.forgot {
	background: none;
	color: #002664;
	width: 50%;
	text-align: left;
	font-weight: 400;
	line-height: 65px;
	cursor: pointer;
	font-size: 13px;
	grid-area: 5 / 1 / 8 / 2;
	margin-top: 15px;
	height: 20px;
}

button.login-only.forgot:hover {
	color: #000000;
	font-weight: 400;
	transition: 0.3s;
}

button.register-only.register {
	background:#8CC63F;
	color: #fff;
	grid-area: 5 / 1 / 7 / 2;
}

button.register-only.register:hover {
	background: #15BEF0;
	color: #fff;
	transition: 0.3s;
}

button.register-only.cancel {
	background: #136BBC;
	margin-left: 205px;
	grid-area: 5 / 1 / 7 / 2;
}

button.register-only.cancel:hover {
	background: #383838;
	transition: 0.3s;
}
/* FORM LOGIN END */
