/*SCROLLBAR*/

  body {
    overflow: overlay;
  }
  
  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.01);
  }
  
/*SCROLLBAR*/

:root {
    --rose : rgb(186, 42, 78);
   }

*,
::before,
::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

body{
    background: url("images/background.jpg") no-repeat center fixed;
    background-size: 100%;

}

ul{
    margin: 0;
    padding: 0;
}

#ulnav{
    display: flex;
    justify-content: space-between;
    background-color: white;
}

#ulnav li{
    background-color: white;
    list-style-type: none;
    float: left;
    text-align: center;
    align-items: center;
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;

}

#ulnav li a img{
    width: 20rem;
}



#ulnav2{
    display: flex;
    justify-content: space-between;
    background-color: var(--rose);
}

#ulnav2 li{
    background-color: var(--rose);
    border-right: 0.01rem solid rgb(255, 255, 255);
    list-style-type: none;
    float: left;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 1rem;
    width: 30rem;
    height: 2rem;
    text-decoration: none;

}

#ulnav2 li a{
    color: white;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

#ulnav2 li a:hover{
    color: black;
}

#info{
    background-color: rgba(255, 255, 255, 0.75);
    width: 65%;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.imginfo{
    width: 100%;
}

.carre{
    border: 0.01rem solid var(--rose);
    width: 30%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.petit{
    width: 1rem;
    height: 1rem;
}

.flx{
    display: flex;
    justify-content: center;

}

.carre p, .carre a{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

#footer{
    background-color: rgb(29, 29, 29);
    color: white;
    text-align: center;
    padding: 1rem;
}

.petit2{
    width: 1rem;
    height: 1rem;
    margin: 1rem;
}

#lescarre{
    display: flex;
    justify-content: space-between;
}

#display5{
    text-align: center;
    margin: 0 0 6rem 0;
    width: 100%;
}


/* téléphone */
@media (width <= 960px){

    body{
      background: url("images/background.jpg");
      background-size: cover;
    }

    #ulnav{
        display: inline-block;
        width: 100%;
    }
    
    #ulnav li{
        justify-content: center;
        float: none;
    
    }

    #ulnav2{
        display: inline-block;
        background-color: var(--rose);
        width: 100%;
    }
    
    #ulnav2 li{
        background-color: var(--rose);
        border-bottom: 0.01rem solid rgb(255, 255, 255);
        list-style-type: none;
        float: none;
        width: 100%;
        height: 3rem;
    }

    #lescarre{
        display: inline-block;
        justify-content: center;
        margin: auto;
    }
    .carre{
        width: 100%;
        margin-bottom: 1rem;
    }
    #info{
        width: 95%;
    }

}

/* téléphone */



/* register */

.container{
    background-color: var(--rose);
    max-width: 80%;
    /* avec margin 0 auto, l'élément reste centré (responsive)  */
    margin: 0 auto;
    border-radius: 20px;
    margin-top: 6rem;
    margin-bottom: 2rem;
    padding: 30px;
    color: white;
  }
  
  
  h2{
    text-align: center;
    font-weight: 700;
  }
  
  .inputs-container{
    display: flex;
    justify-content: center;
  }
  
  
  .inputs-container label{
    display: block;
  }
  
  .inputs-container input{
    padding: 0.5rem;
    border-radius: 20px;
    box-shadow: 4px 6px 7px ;
    border: none;
  }
  
  
  .inputs-container input:hover{
    outline: 2px solid rgb(7, 7, 7);
  }

  .inputs-container div{
    padding: 2rem;
    padding-top: 1rem;
  }
  
  
  button{
    display: block;
    margin: 0 auto;
    background: radial-gradient(rgb(0, 217, 255), rgb(0, 115, 255));
    border: none;
    cursor: pointer;
    box-shadow: 5px 7px 9px;
    padding: 0.5rem;
    border-radius: 10px;
  }
  
  button:hover{
    background: radial-gradient(rgb(0, 146, 172), rgb(0, 62, 137));
    color: white;
  }
  
  
  
  @media (width < 900px){
  
    .inputs-container{
      flex-direction: column;
      align-items: center;
    
    }
  
    .second-input{
  
      margin-top: 1rem;
  
    }
  }
  
/* register */
