@font-face {
    font-family: 'BBB Poppins';
    src: url('fonts/BBBPoppinsTN-TextBold.woff2') format('woff2'),
    	url('fonts/BBBPoppinsTN-TextBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BBB Poppins';
    src: url('fonts/BBBPoppinsTN-TextRegular.woff2') format('woff2'),
    	url('fonts/BBBPoppinsTN-TextRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BBB Poppins';
    src: url('fonts/BBBPoppinsTN-TextRegularItalic.woff2') format('woff2'),
    	url('fonts/BBBPoppinsTN-TextRegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'BBB Poppins';
    src: url('fonts/BBBPoppinsTN-TextBoldItalic.woff2') format('woff2'),
    	url('fonts/BBBPoppinsTN-TextBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}


:root{
	--maincolor: rgb(138, 0, 255);
	--secondcolor: rgb(0, 255, 204);
	--black: rgb(50, 50, 50);
	--white: rgb(247, 247, 247);
	--cellH: 46px;
	--hearderH: 30px;
}

html {
	scroll-behavior: smooth;
}

body{
	font-family: "BBB Poppins", sans-serif;
	margin:0;
	font-size: 20px;
	line-height: 1.4;
	overflow-x: hidden;
	color: var(--black);
	background: var(--white);
}

h1, h2, h3, h4, h5{
	font-weight: normal;
}

header{
	background: var(--maincolor);
	height: 27px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}

header h1, 
header h1 a{
	color:  var(--white);
	font-size: 25px;
	margin: 0;
}



.marquee, .marquee-menu {
  overflow: hidden;
  display: flex;
}

.marquee h1, .marquee-menu h1{
  white-space: nowrap;
  font-size: 25px;
  color:  var(--white);
}

.row{
	margin:0;
}

nav {
    position: fixed;
    top: 27px;
    left: -27px;
    width: 57px;
    height: calc(100vh - 30px);
    background-color: var(--secondcolor); 
    z-index: 100;
}

nav h1{
	font-size: 25px;
}

nav .menu-btn {
    white-space: nowrap; 
    writing-mode: vertical-rl; 
    text-align: center;
    color: var(--white); 
    margin-left: 22px;
}

/*.row{
	display: flex;
	justify-content: space-around;
}*/


main{
	margin: var(--hearderH) 0 var(--hearderH) var(--hearderH);
	width: calc(100% - var(--hearderH));
	padding-bottom: 200px;
}

/*section article{
	width: 40%;
	margin-top: 40px;
	margin-bottom: 40px;
}*/

section.welcome{
	min-height: 90vh;
}

section.welcome article{
	position: relative;
}

section.welcome article h2{
	margin-top: calc(var(--cellH) * 4);
	min-height: calc(var(--cellH) * 4);
	padding-top: 10px;
	font-size: 40px;
}

section.welcome article p{
	min-height: calc(var(--cellH) * 2);
}

section.welcome article .arrow-bottom{
	position: absolute;
	left: 50%;
	transform: translateX(-40px);
	bottom: 0;
	width: 80px;
	height: 80px;
	border-radius: 100%;
	background: var(--secondcolor);
	text-align: center;
	color: #FFF;
	font-size: 55px;
	padding-top: 5px;
}

section.welcome article .arrow-bottom a{
	text-decoration: none;
	color: white;
}


section.welcome article .arrow-bottom:hover{
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
}
section.welcome article .arrow-bottom:hover {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
   0%, 20%, 50%, 80%, 100% {
    bottom: 0;
  }
  40% {
     bottom: 30px;
  }
  60% {
     bottom: 15px;
  }
}

section article h2{
	color: var(--maincolor);
	font-size: 36px;
	background: #FFF;
	margin-top: calc(var(--cellH) * 2);
	padding: 0px 20px;
}

section article p{
	color: var(--black);
	font-size: 20px;
	background: #FFF;
	margin-top: calc(var(--cellH) - 5px);
	padding: 20px 20px;
	min-height: calc(var(--cellH) * 6);
}

.big-circle {
    width: calc(var(--cellH) * 4);
    height: calc(var(--cellH) * 4);
    background: var(--secondcolor);
    margin: auto;
    border-radius: 50%;
    margin-top: calc(var(--cellH) * 2);
    margin-bottom: var(--cellH);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s linear;
}

.big-circle:hover{
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
}


.big-circle.smiley:hover{
	animation: turn 5s infinite alternate ease-in-out;
}

.big-circle.smiley:hover::before,
.big-circle.smiley:hover::after,
.big-circle.smiley:hover .smile{
	display: block;
}

/* Eyes */
.big-circle.smiley::before,
.big-circle.smiley::after {
    content: "";
    width: 20px;
    height: 20px;
    background: #FFF;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    display: none;
}

.big-circle.smiley::before {
    left: 30%;
}

.big-circle.smiley::after {
    right: 30%;
}

/* Mouth */
.big-circle.smiley .smile {
    width: 100px;
    height: 50px; 
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border: 8px solid #FFF;
    border-top: 0;
    margin-top: 60px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
}

@keyframes turn {
    0%{
    	transform: rotate(0);
/*        transform: translateY(0);*/
    }
    100% {
    	transform: rotate(180deg);
/*        transform: translateY(-10px);*/
    }
}

#bg-gradient {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  background: linear-gradient(180deg, rgba(247,247,247,1) 50%, rgba(236,215,255,1) 100%);
}


.grid {
  position: absolute;
  z-index: -1;
  top: var(--hearderH);
  left: var(--hearderH);
  width: calc(100vw - var(--hearderH));
  height: 100vh;
}

.grid .grid-row{
	height: var(--cellH);
	border-bottom: 3px solid #FFF;
}

.grid .grid-cell{
	border-right: 3px solid #FFF;
}

.grid-left,
.grid-right{
	width: calc(50% - 13px);
}

.diag-page{
/*	overflow-y: hidden;*/
}

.diag-page .grid-wrapper{
/*	height: 100vh;*/
/*	width: 100%;*/
/*	overflow: hidden;*/
/*	position: absolute;*/
}

.grid-left{
/*	overflow-y: scroll;*/
}

.grid-right{
	margin-left: calc(50% - 13px);
}

main.diag{
	height: calc(100vh - var(--hearderH));
	overflow: hidden;
	padding-bottom: 0;
}

.diag-left{
	height: calc(100vh - var(--hearderH));
	border-right: 2px solid var(--maincolor);
	overflow: scroll;
}

.list-wrapper{
	margin-top: var(--cellH);
	margin-right: 8.333%;
	columns: 2;
	column-gap: 0px;
/*	column-width: auto;*/
}

.list-wrapper li{
	list-style: none;
	margin-bottom: 15px;
}

.list-wrapper li span{
	border: 2px solid var(--maincolor);
	background: #FFF;
	color: var(--black);
	display: inline-block;
	padding: 8px 10px 3px;
	max-width: calc(100% - 40px);
	transition: all 0.5s ease;
}

.list-wrapper li span:hover{
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
	cursor: pointer;
	background: rgb(240, 240, 240);
}

.list-wrapper li.active span{
	background: rgb(200, 200, 200);
	opacity: 0.7;	
}

.diag-right .big-circle{
	margin-top: 50%;
	transform: translateY(calc(var(--cellH) * -2));
	transition: all 0.5s ease;
}


.big-circle.animate{
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
	width: calc(var(--cellH) * 5);
	height: calc(var(--cellH) * 5);
}

.big-circle.animateremove{
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
}

.diag-right {
	position: relative;
}

.diag-right .list-wrapper{
	position: absolute;
	top: 0;
	left:0;
	height: 100vh;
	width: 100%;
}

.diag-right .list-wrapper li{
	opacity: 0;
	transition: opacity 0.5s linear;
	position: absolute;
}

.diag-right .list-wrapper li.active span{
	background: #FFF;
	opacity: 1;
	width: auto;
	max-width: none;
}

.diag-right .list-wrapper li span:hover{
	box-shadow: none;
	cursor: auto;
}

.diag-right .list-wrapper{
	columns: 1;
}

/*     L O A D I N G     P A G E     */

.loading{
	height: calc(100vh - var(--hearderH));
	padding-bottom: 0;
}

.loading-circle-container{
	width: 300px;
	height: 300px;
	background: var(--secondcolor);
	border-radius: 100%;
	position: fixed;
	top: calc(45% - 150px);
	left: calc(50% - 150px);
	-webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
	animation: beat 3.5s ease-in-out infinite;
}

@keyframes beat {
  0% {
    -webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
  }
  50% {
    -webkit-box-shadow: 0px 0px 2px 0px var(--maincolor); 
	box-shadow: 0px 0px 2px 0px  var(--maincolor);
  }
  80% {
    -webkit-box-shadow: 0px 0px 25px 0px var(--maincolor); 
	box-shadow: 0px 0px 25px 0px  var(--maincolor);
  }
  100% {
    -webkit-box-shadow: 0px 0px 19px 0px var(--maincolor); 
	box-shadow: 0px 0px 19px 0px  var(--maincolor);
  }
}

.loading-circle-container text {
	fill: var(--black);
	font-family: "BBB Poppins", sans-serif;
	font-size: 45px;
	font-variant-ligatures: none;
	letter-spacing: 2px;
	animation: rotate 25s linear infinite;
	transform-origin: 250px 250px;
}

.loading-circle-container svg{
	max-width: 300px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.textcircle {
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  transform-origin: center center;
}

.loading-cartel .list-wrapper{
	margin:0;
}

.loading-cartel li{
	position: absolute;
	min-width: 300px;
	margin:0;
	opacity: 1;
	pointer-events: none;
}

#li-loading-1{
	top: calc(var(--cellH) * 3.65);
	left: 10vw;
	opacity: 0;
	animation: appear 10s 1s linear infinite;
}

#li-loading-2{
	top: calc(var(--cellH) * 12);
	left: 70vw;
	opacity: 0;
	animation: appear 8s 5s linear infinite;
}

#li-loading-3{
	top: calc(var(--cellH) * 8);
	left: 25vw;
	animation: disapear 12s 3s linear infinite;
}

#li-loading-4{
	top: calc(var(--cellH) * 3);
	left: 60vw;
	opacity: 0;
	animation: appear 7s 20s linear infinite;
}

#li-loading-5{
	top: calc(var(--cellH) * 17);
	left: 30vw;
	animation: disapear 10s 12s linear infinite;
}

#li-loading-6{
	top: calc(var(--cellH) * 10);
	left: 5vw;
	opacity: 0;
	animation: appear 13s 10s linear infinite;
}


#li-loading-7{
	top: calc(var(--cellH) * 8);
	left: 80vw;
	opacity: 0;
	animation: appear 8s 8s linear infinite;
}

@keyframes disapear {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/*         F O O T E R           */

footer{
	margin: var(--hearderH) 0 var(--hearderH) var(--hearderH) !important;
	width: calc(100% - var(--hearderH));
	padding-bottom: 100px;
}

footer > div{
	background: #FFF;
	padding: 15px;
}

footer > div p{
	margin-bottom: 10px;
}

footer > div figure{
	width: 100px;
}

footer ul li{
	font-size: 16px;
	list-style: none;
	margin-bottom: 10px;
}

@media only screen and (max-width: 48em) {
	section article h2{
		font-size: 28px;
	}

	section article p{
		font-size: 18px;
	}

	main.diag{
		height: 100vh;
		overflow: hidden;
	}

	/*.diag-left{
		height: 50vh;
		border-bottom: 2px solid var(--maincolor);
		border-right: none;
	}*/

	.diag-left .list-wrapper{
		margin-right: 0;
	}

	.list-wrapper li span{
		font-size: 16px;
		padding: 0px 5px;
		max-width: calc(100% - 20px);
	}

	.diag-right{
		height: 100vh;
		overflow: scroll;
	}

	/*.diag-right .list-wrapper{
		height: 50vh;
	}*/

	.diag-right .big-circle{
		width: calc(var(--cellH) * 3);
  		height: calc(var(--cellH) * 3);
	}

	.diag-right .big-circle p{
		font-size: 18px;
	}
}







