* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    background-image: url(img/fond-login.jpg) ;
}

/*----------------------------le header--------------------*/
header {
  background-color: rgba(223, 222, 222, 0.95);
  position: sticky;
  top: 0px;
  /*  nécessaire au fonctionnement de 'sticky'  */
  display: flex;
  justify-content: space-between;
	align-items: center;
	padding: 12px 50px 0px 50px;
  z-index: 1000;
}
header .logo{
  transition: all 0.5s ease-out;
}


header .logo:hover{
  filter:contrast(10%);
}

/*MENU DEROULANT*/

header nav{
  width: 33%;
  text-align: left;
}

#menuToggle
{
  display: block;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: gray;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: black;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:hover ~ span{
	background: gray;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  height: 78vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background-color: rgba(223, 222, 222);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu li .sm{
    padding-left: 30px;
    list-style-type: none;
}

#menu li .sm li{
    font-size: 17px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

header .btn{
	font-size: 22px;
	text-decoration: none;
	transition: all 0.5s ease-out;
	margin: 20px;
	color: black;
}

header .button_cont{
	width: 33%;
    text-align: right;
}

header .btn:hover{
	color: gray;
	cursor: pointer;
	
}

header .titre{
	width: 34%;
	text-align: center;
}

/*----fin menu déroulant----*/














/*---------------------------fin du header----------------*/


/*----------------------le main-----------------------*/


main {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 125vh;
}

.container {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    transition: all 0.5s;
}

.container:hover{
  transform: scale(1.06);
	cursor: pointer;
  transition: all 0.5s;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.require {
    color: red;
    margin-top: -10px;
    margin-bottom: 10px;
}

input[type="button"] {
    background-color: gray;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="button"]:hover {
    background-color: #999;
}

a {
    color: #3498db;
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    color: #217dbb;
}


/*---------------------------fin du main----------------*/
.upfooter{
  background-color: rgba(162, 162, 162, 0.95);
  display:flex;
  justify-content: space-around;
  padding: 40px;
}

/*----------------------le footer-----------------------*/

.footer {
    padding: 30px 30px 20px 30px;
    background-color: rgba(223, 222, 222, 0.95);
    border-top: 1px solid #e5e5e5;
}


.navtitle {
    font-weight: 400;
    font-size: 15px;
}

.footernav{
	display: flex;
    flex-wrap: wrap;
	justify-content: space-evenly;
}
	


.navul a {
    color: #999;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer li {
    line-height: 2em;
}

.footer a {
    text-decoration: none;
}


.img_logo {
    margin: 5px;
}

/*----------------------fin footer----------------*/