/*main.css*/
/*main css file of this php template*/

*{
	cursor: url(../img/cursor_smol.png),auto;

}

body{
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 0;
	margin: 0;

	font-family: sans-serif, Arial;
	font-size: clamp(1rem,1.5vw,2.1rem);
	font-size: clamp(1rem,3vmin,2.1rem);

	/*background-image: url(../img/so-white.png);*/
	background-image: url(../img/dot-grid.png);
	
	box-sizing: border-box;

}

h1{
	width: 100%;
	text-align: center;
}

h1>span{
	margin-left: 3px;
	margin-right: 3px; 

}

h2{
	width: 100%;
	text-align: center;
}

a, a:visited {
	text-decoration: none;
    text-transform: uppercase;
    color: white;
    background-color: black;
    font-family: sans-serif;
    padding: 5px;
	margin: 3px;
	overflow: auto;
	/* min-width: 1em; */
	text-align: center;
	font-size: clamp(1em,3vmin,2.1rem);
	
}
a:hover{
	color: grey;
	cursor: pointer;
	/*font-weight: 800;
	text-decoration: line-through;
	*/
}

.smalllink{
	color: black!important;
	background-color: rgba(255, 255, 255, 0)!important;
	text-decoration: underline!important;
	/* text-transform: lowercase; */
	font-size: clamp(0.8em,2.4vmin,1.8rem);

}

input[type="submit"]{
	border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: black;
    background-color: white;
	padding: 5px;
	font-size: min(1em);
    /*margin: 3px;
    margin-right: 5px;*/
    border: 3px solid;

    width: 100%;
}

input[type="submit"]:hover{
	cursor: pointer;
	border-color: black;
	color: white;
	background-color: black;
}

input[disabled],input[disabled]:hover{
	background-color: lightgray;
	color: black;
}

.desc_obj_wrapper{
	display: flex;
	flex-direction: column;
	outline: 3px solid;
    padding: 20px;
}

.desc_obj_wrapper>.desc{
	font-size: clamp(1rem,2.5vh,2.1rem);
}

.desc_obj_wrapper>.link_desc{
	font-style: italic;
	align-self: start;
	margin-top: 10px;
	
}

.send_obj_form{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	gap: 0px 0px;
}
.museum_obj_form{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 0px 0px;
}
.send_label{
    grid-area: 1/1/2/2;
    background-color: black;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}
.select_user{
	grid-area: 1/2/2/3;
    border: 3px solid;
    font-size: min(1em);
}
.send_btn{
	grid-area: 2/1/3/3;
}

#input_message{
	grid-area: 2/1/3/3;
	/* border: 3px solid; */
	border-left: 3px solid;
	border-right: 3px solid;
	cursor: revert;
	font-size: 0.75em;
}

/*Connexion form*/
.connexion_form_wrapper{
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: 1fr 1fr 1fr 1fr;
	border:1px solid;
}

.connexion_form_wrapper>input{
	cursor: pointer;
}

.customcheck{
	display: block;
	position: relative;
}

.customcheck>input[type="checkbox"]{
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 100%;
	width: 100%;

	z-index: 1;
}
.customcheck>.chackmark{
	position: absolute;
	/* top: 0;
	left: 0; */
	right: 0;
	height: 100%;
	width: 100%;
	background-color: #eee;
}

/* On mouse-over, add a grey background color */
.customcheck:hover input ~ .chackmark {
	background-color: #ccc;
  }
  
/* When the checkbox is checked, add a blue background */
.customcheck input:checked ~ .chackmark {
background-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.chackmark:after {
	content: "J'accepte les cookies";
	position: absolute;
	display: none;
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	
}

/* Show the checkmark when checked */
.customcheck input:checked ~ .chackmark:after {
display: block;
}

/* Style the checkmark/indicator */
.customcheck .chackmark:after {
left: 9px;
top: 5px;
width: 100%;
height: 10px;
/* border: solid white; */
/* border-width: 0 3px 3px 0; */
/* -webkit-transform: rotate(45deg); */
/* -ms-transform: rotate(45deg); */
/* transform: rotate(45deg); */
}

#label_remember_login{
	background-color: black;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}

#label_name_login{
	grid-area: 1/1/2/2;

	background-color: black;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}
#field_name_login{
	grid-area: 1/2/1/2;
}
#label_mdp_login{
	grid-area: 2/1/2/2;

	background-color: black;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;

}
#field_mdp_login{
	grid-area: 2/2/2/2;

}
#submit_btn{
	grid-area: 4/1/4/3;
}

.field_form{
	background-color: white;
	border: 2px solid;
    /* font-size: 1em; */
}

/*Inscription form*/
#inscription_form_wrapper{
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: 1fr 1fr 1fr 1fr;
	border:1px solid;
}

#radios_label_register{
	grid-area: 3/1/3/2;
	background-color: black;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
}

#radios_btn_register{
    display: flex;
    align-items: center;
}

#submit_btn_register{
	grid-area: 4/1/4/3;
}

.lieu_description{
	width: clamp(50vw,30em,95vw);
    margin-bottom: 25px;
}

.user_description{
	width: clamp(50vw,30em,95vw);
	margin-bottom: 25px;
	text-align: center;
	/* font-size: clamp(1rem,2.5vh,2.1rem); */
}
#discord_icon{
	background-color: transparent;
    position: fixed;
	right: 0;
	width: auto;
}
#discord_icon>img{
	max-width: 14vw;
	cursor: pointer;
}

#registre_wrapper{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: clamp(50vw,30em,95vw);
}

#registre_wrapper>a{
	background-color: transparent;
	width: auto;
	/* width: 1em; */
	overflow: hidden;
	font-size: clamp(5vh,7.5vh,2.5rem);
}

#inventory_wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: clamp(50vw,30em,95vw);
	align-items: center;
	justify-items: center;
}

#inventory_wrapper>a{
	margin: 10px;
	grid-area: auto;
	width: 80%;
}

hr {
	height: 10px;
	background-image: linear-gradient(45deg,
	  hsla(0, 0%, 5%, 0),
	  hsla(0, 0%, 5%, 0) 33.33%,
	  hsla(0, 0%, 5%, 1) 33.33%,
	  hsla(0, 0%, 5%, 1) 66.67%,
	  hsla(0, 0%, 5%, 0) 66.67%,
	  hsla(0, 0%, 5%, 0) 100%);
	background-size: 1em 100%;
	width: 500px;
  }

  .mine_grid{
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	align-items: center;
	justify-items: center;
	width: clamp(50vw,30em,95vw);
	height: clamp(50vw,30em,95vw);
  }

  .mine_grid>div{
	  /* width: 10vw;
	  height: 10vw; */
	  width: 100%;
	  height: 100%;
	  text-align: center;
	  margin: 0;
	  border: solid black;
	  display: flex;
	  justify-content: center;
	  align-content: center;
  }

  /* .mine_grid>span{
	
  }

  .emoji{

  } */

  a>.emoji{
	cursor: pointer;
	width: clamp(5vh,7.5vh,3.5rem);
  }
  h1>.emoji, h2>.emoji{
	height: 1em; 
  }

  #input_chat{
	/* position: fixed; */
	position: sticky;
	bottom: 0;
	width: 100%;
	display: grid;
	grid-template-columns: 8fr 1fr 1fr;
	margin-bottom: 20px;
  }

  #input_chat>input[type="text"]{
	font-size: 1.5em;
  }

  #input_chat>button{
	  background-color: black;
	  color: white;
	  margin: 0;
	  padding: 0;
	  border: 0;
	  cursor: pointer;
  }
  #input_chat>button:hover{
	  background-color: white;
	  color: black;
  }

  button>.emoji{
	  height: 70%;
	  cursor: pointer;

  }
  #chat_wrapper{
	display: grid;
	grid-template-rows: 1fr 3em;

	position: fixed;
	top: 0;
	height: 95vh;
	width: clamp(50vw,30em,95vw);
	filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.24));
  }

  #content_chat{
	background-color: white;  
	background-image: url(../img/webb.png);
	background-position: 0%;

	  
  }

  .message_chat{
	margin: 10px;
	display: flex;
	align-items: end;
	align-items: flex-end;
  }

  .emoji_chat{
	  background-color: transparent;
	  width: 2em;
	  margin: 0;
	  overflow: hidden;
	  width: clamp(5vh,7.5vh,2.5rem);

  }

  .content_chat{
	position: relative;
	/* width: 300px; */
	text-align: center;
	line-height: 1.4em;
	margin-bottom: 60px;
	background-color: #fff;
	border: 8px solid rgb(0, 0, 0);
	padding: 20px;
  }

  .content_chat:before{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 20px;
	bottom: -50px;
	border: 25px solid;
	border-color: rgb(0, 0, 0) transparent transparent rgb(0, 0, 0);
  }

  .content_chat:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 28px;
	bottom: -30px;
	border: 15px solid;
	border-color: #fff transparent transparent #fff;
}

  .action_chat{
	margin: 20px;
	margin-top: 0;
	font-style: italic;
	color: rgb(70, 67, 67);
	text-align: center;
  }

  .center_content{
	  display: flex;
	  justify-content: center;
	  align-items: center;
  }

  .user_msg{
	flex-direction: row-reverse;
  }

  .user_msg>.content_chat:after{
	right: 28px;
	left: auto;
	border-color: #fff #fff transparent transparent ;
  }
  .user_msg>.content_chat:before{
	right: 20px;
	left: auto;
	border-color: rgb(0, 0, 0) rgb(0, 0, 0) transparent transparent ;
}

footer{
	width: 100%;
	margin-top: 15vh;
	text-align: center;
	margin-bottom: 10px;
	color: rgb(122, 122, 122);
	font-size: 18px!important;
}

footer>i{
	font-size: small;
}

footer>a{
	font-size: 18px;
}

.edit_desc_field{
	width: clamp(50vw,30em,95vw);
}
#gallerie_fridge, #gallerie_fridge_full{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}
#gallerie_fridge>img, #gallerie_fridge_full>img{
	border: solid black 2px;
	max-width: 45vw;
}
#gallerie_fridge>img:nth-child(1){
	transform: translate(20px,4px);
}
#gallerie_fridge>img:nth-child(2){
	transform: rotate(2deg);
}
#gallerie_fridge>img:nth-child(3){
	transform: rotate(8deg);
}
#gallerie_fridge>img:nth-child(4){
	transform: rotate(-2deg);
}

#sig-submitBtn{
	margin-bottom: 30px;
	height: 50px;
	font-size: inherit;

    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: black;
    background-color: white;
	padding: 5px;
	font-size: min(1em);
    /*margin: 3px;
    margin-right: 5px;*/
    border: 3px solid;
}

#sig-submitBtn:hover{
	cursor: pointer;
	border-color: black;
	color: white;
	background-color: black;
}

.btn_change_color{
	width: 100%;
}

.pnj_button{
	display: block;
	margin: 2em;
	padding:1em;

	color:black;
	background-color:white;
	border:3px solid black;
	border-radius:10px
}

.pnj_button:hover{
	color: black;
	background-color: lightgray;
}

#chaise_wrapper{
	width: clamp(50vw,30em,95vw);
}

/*         Chaises !          */

.action_chaise{
	display: flex;
	flex-direction: column;
}

.action_chaise>a {
	margin:0;
}

#chaise_message{
	border: solid 3px;
	text-align:center
}

#pile_chaise_img{
	display: flex;
	flex-direction: column-reverse;
	width: max-content;
	margin-left: 3em;
}

#pile_chaise_img>img:nth-child(odd){
	transform: scale(-1, 1);
}

/* zone de texte  */
.display_none{
	display: none;
}

#txt_display_area>span{
	box-sizing: border-box;

	display: block;
	background-color: white;
	margin-bottom: 1em;
	padding: 0.8em;

	font-style: italic;
	width: max-content;
	filter: drop-shadow(0 0 0.5rem rgba(0,0,0,0.5));

	width:100%;
}

#textarea_chaise{
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 1em;
	padding: 0.8em;
	
}


/*      Historique du courrier        */

#historique_wrapper{
	display: flex;
	flex-direction:column;
}

#historique_wrapper>span{
	margin: 0.5em;
}
#historique_wrapper>span>i{
	display: block;
	text-align: center;
	margin-top: 1em;
}

#historique_wrapper>span>i>img{
	width: 1.5em;
}

.historique_sent{
	
}
.historique_sent::before{
	content: url("https://twemoji.maxcdn.com/v/13.0.1/72x72/1f4e4.png");
	position:relative; 
	left:-3px;
	top:10px;
}

progress{
	background: white;
    border: none;
	width: 100%;
	-webkit-appearance: none;
}
progress::-webkit-progress-value {
	background:rgb(151, 133, 133);
}
  
progress::-moz-progress-bar {
	background: white;
}
  
progress::-webkit-progress-value {
	background: rgb(151, 133, 133);
}
  
progress::-webkit-progress-bar {
	background: white;
}

.historique_recu{

}
.historique_recu::before{
	content:url("https://twemoji.maxcdn.com/v/13.0.1/72x72/1f4e5.png") ;
	position:relative; 
	left:-3px;
	top:10px;
}

/* Description don au musée de Wired City */
.description_don{
	text-align: center;
	text-decoration: wavy;
	font-style: italic;
	font-family: 'Times New Roman', serif;
	quotes: "“" "”" "‘" "’";
}
.description_don::before {
    content: open-quote;
}
.description_don::after {
    content: close-quote;
}

.affichage_don>h2 {
	color:BlueViolet;
}
.affichage_don>h2::before {
	content: "⁘"
}
.affichage_don>h2::after {
	content: "⁘"
}

.grille_produit_magasin{
	/* display: flex;
	flex-direction: row;
	flex-wrap: wrap; */
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	width: clamp(50vw,30em,95vw);
}
.grille_produit_magasin>div{
	
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-content: center;
	text-align: center;
	grid-area: ;
	border: solid black 2px;
}

/* iPads (landscape) ----------- */
@media (max-width : 1000px) {
	a{
		width: 10em;
		/* color:red; */
		margin: 10px;
		/* font-size: 1.2em; */
	}
/* Styles */
}