/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* GLOBAL */
*{ padding: 0; margin: 0; max-width: 100%; word-break: break-word; color: white; }
::-webkit-scrollbar{ position: fixed; right: 0; width:.5rem; background-color:#000; opacity:0}
::-webkit-scrollbar-thumb{ background-color:#dfdfeb; border-radius:.25rem;}
html{ overflow-y: scroll; scroll-behavior: smooth; }
body{
	margin: 0; background-color: #000; color: white; /*color: #1B1B38;*/
	font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 400;
	line-height: 1.5; 
}
a{ font-weight: normal; word-break: break-word; }
button {
	background-color: rgba(255, 255, 255, .8); color: #000;
    cursor: pointer; display: inline-block;
    padding: 0 20px; border-radius: 20px; border: 0;
    height: 40px; line-height: 40px; font-weight: 500;
    font-size: 13px; font-family: Lato, Helvetica, Arial;
}
.title{ display: block; font-weight: bold; width: fit-content; }
.subtext{ font-weight: normal; opacity: .7; }
.subtextplus{ font-weight: normal; opacity: .8; }

/* HEADER */
header{
	position: fixed; top: 0; width: calc(100% - 30px);
	display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between;
	height: 52px; padding: 8px 15px 8px 15px; z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, .7);
}
header .logo{ height: 30px; }
header .pfp{ border-radius: 50%; height: 45px; border: 3px solid rgba(255, 255, 255, .3); }
header .right{ display: flex; justify-content: flex-end; align-items: center; }
header .right *{ margin-left: 10px; }




/* LOGIN */
.login *{ color: black; }
.logged_as{ line-height: 45px; margin-right: .5rem; opacity: .7; }
.modal_overlay{ 
	display: flex; position: fixed; z-index: 200;
	width: 100%; height: 100%; top: 0;
	justify-content: center; align-items: center;
	background-color: rgba(0, 0, 0, .7);
}
.modal{
	position: relative; width: 500px; max-width: 90vw;
	border-radius: 8px; background-color: white;
}
.modal .close{    
	position: absolute; top: 12px; right: 12px; padding: 0;
    vertical-align: middle; display: inline-block;
    width: 36px; height: 36px; z-index: 20; cursor: pointer;
    font-size: 20px; text-align: center; line-height: 24px; opacity: .6;
    background: url("data:image/svg+xml,%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m10.53634,9.00012l6.52972,-6.52992c0.42494,-0.42474 0.42494,-1.1115 0,-1.53624c-0.42474,-0.42474 -1.1115,-0.42474 -1.53624,0l-6.52992,6.52992l-6.52972,-6.52992c-0.42494,-0.42474 -1.1115,-0.42474 -1.53624,0c-0.42494,0.42474 -0.42494,1.1115 0,1.53624l6.52972,6.52992l-6.52972,6.52992c-0.42494,0.42474 -0.42494,1.1115 0,1.53624c0.21168,0.21187 0.49,0.31831 0.76812,0.31831c0.27812,0 0.55625,-0.10644 0.76812,-0.31831l6.52972,-6.52992l6.52992,6.52992c0.21187,0.21187 0.49,0.31831 0.76812,0.31831c0.27812,0 0.55625,-0.10644 0.76812,-0.31831c0.42494,-0.42474 0.42494,-1.1115 0,-1.53624l-6.52972,-6.52992zm0,0'/%3E%3C/svg%3E") no-repeat center;
}
.modal .close:hover { opacity: 1; }
.modal .title{ font-size: 28px; padding: 12px 24px; padding-bottom: 0px; }
.modal form{ padding: 24px; }

input, textarea{
	background: #FBFBFF; box-sizing: border-box; border-radius: 8px;
	width: 1%; min-width: 0; padding-right: 40px; padding: .5625rem 1.125rem;
	font-size: 1rem; font-weight: 400; line-height: 1.5;
	color: #1B1B38; border: 1px solid #dfdfeb;
	box-shadow: 0 0 0 0 transparent;
	transition: border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out;
	width: 100%; margin-bottom: 1rem;
}
label{ font-weight: 600;padding-bottom: 7px; padding-left: 18px; }




/* MAIN */
main::before{   
	content: '';
    /*background-image: url(../img/gradient.jpeg);*/
    top: 0; left: 0; right: 0; bottom: 0;
    background-position: center top -400px;
    position: absolute;
    transition: opacity 1.5s .3s;
    background-repeat: no-repeat;
}

main{ 
	width: calc(100% - 40px);
	max-width: 1585px; min-height: 100vh;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 80px;
}

.intro{ margin-bottom: 15px; }
.intro span{ font-size: 15px; }
.intro .title{ font-size: 27px; }












/* LEGEND */
.legend_w{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.legend_w .title{ font-size: 15px; }
.legend{ width: fit-content; position: relative; }
.legend span, .legend div{ display: inline-block; width: fit-content; }
/*.legend .colors{ position: relative; content: ''; width: 50px; height: 15px; border: 1px solid #1B1B38; border-radius: 2px;
background: linear-gradient(90deg, rgba(0,255,255,0.4) 16%, rgba(255,255,0,0.4) 32%, rgba(253,129,0,1) 48%, rgba(255,42,1,0.6) 64%, rgba(220,13,14,0.7) 80%); }
*/
.legend .colors{ content: ''; width: 100px; height: 15px; border: 1px solid #1B1B38; border-radius: 2px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
.colors div{ content: ''; width: 20px; }
.legend .colors:before, .legend .colors:after { 
	opacity: .7; font-size: 12px; 
	position: absolute; word-break: keep-all;
}
.legend .colors:before{ content: 'Informative'; left: 0; transform: translate(-110%, -1px); }
.legend .colors:after{ content: 'Critical'; right: 0; transform: translate(120%, -1px); }

/* EXPLAINATIONS */
.explanations{ margin-bottom: 10px; display: none; }
.explanations.show{ display: block; }
.explanations div .title{ text-decoration: underline; font-size: 15px; display: inline-block; }
.explanations div .explanation{ opacity: 1; font-size: 13px; }
.explanations div .examples{ display: block; opacity: .7; margin-left: 15px; font-size: 13px; }

.categories{
	display: grid; grid-template-columns: 1fr 1fr;
	position: relative; width: 100%; grid-gap: 1rem;
}
.categorie > .title{ font-size: 20px; text-decoration: underline; line-height: 2; }
.categorie:nth-child(1){ grid-column: 1; grid-row-start: 1; grid-row-end: 3; }
.categorie:nth-child(2){ grid-column: 2; }
.categorie:nth-child(3){ grid-column: 2; }


.bug{
	position: relative;
	border: 1px solid #1B1B38; border-radius: 3px;
	transition: 0.3s ease-in; box-shadow: 5px 5px 0px rgb(0 0 0 / 5%);
	margin-bottom: 1rem; 
	padding-left: 5px; padding-right: 5px; padding-top: 3px; padding-bottom: 3px;
}
.bug:hover{ box-shadow: 3px 3px 0 #1B1B38; }
.bug .content{ display: none; overflow: hidden; }
.bug > .content{ /*margin-top: 10px;*/ width: auto; }
.bug .content{ margin-left: 5px; }
.bug .content .content{ margin-left: 10px; margin-bottom: 10px; word-break: break-word; }
.bug.show .content{display: block;}
.bug .demo{ font-weight: bold; margin-bottom: 10px; }
.bug .icons{ position: absolute; bottom: 0; right: 5px; }
.bug .icons span{ margin-left: 5px; }
.bug .icons img{ height: 15px; }

@media (max-width: 1630px) {
	.categories{ grid-template-columns: 1fr 1fr; }
	.new{ grid-column: 1; grid-row-start: 1; grid-row-end: 3; }
	.pending{ grid-column: 2; }
	.fixed{ grid-column: 2; }
}

@media (min-width: 1280px){
	header{ width: calc(100% - 3.75rem); padding-right: 1.875rem; padding-left: 1.875rem; }
}

@media (max-width: 1000px) {
	.categories{ grid-template-columns: 1fr; }
	.categorie:nth-child(1){ grid-column: 1; grid-row-start: 1; grid-row-end: 1; }
	.categorie:nth-child(2){ grid-column: 1; }
	.categorie:nth-child(3){ grid-column: 1; }
}

@media (max-width: 600px){
	.logged_as{ font-size: 12px; }
	.little_pfiou{ display: none; }
}

