@font-face {
  font-family: "font-1";
  src: url(./assets/LibreBaskerville-Regular.ttf);
}

* {
  list-style-type: none;
}
body {
  background: black;
  color: white;
  text-align: center;
  font-family: "font-1", cursive;
}
input {
  border: none;
  border-radius: 25px 25px 0 0;
  outline: none;
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
  font-family: "font-1", cursive;
  margin: 3px 0px;
  width: 300px;
  padding: 10px 0px;
}
input::placeholder {
  text-align: center;
  font-size: 1.2rem;
}
input[type="submit"] {
  border-radius: 0 0 25px 25px;
  background: rgb(177, 176, 176);
  transition: 0.3s ease;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: rgb(46, 46, 46);
  color: white;
  letter-spacing: 1px;
}

img {
  object-fit: cover;
  width: 40%;
  max-width: 250px;
}
.result-container {
  margin: 0 auto;
}
ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: auto;
  /*max-width: 1400px;*/
}
li {
    /*max-width: 400px;*/
    border: 2px solid rgb(206, 206, 206);
    border-radius: 10px;
    padding: 3px 10px 3px 10px;
    margin: 10px;
}
/*h2 {
  margin: 10px 0 25px;
}*/
ul li.selected .card-content {
    display: grid;
    grid-template-columns: 40% 60%;
}
.card-content img {
  width: 90%;
  border-radius: 5px;
  box-shadow: -3px 3px 10px 3px #242323;
}
.card-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

/*#themes{
    max-height:90vh;
    min-width:90vw;
}
*/
ul li.selected{
    background-color:darkcyan;
}
#themes ul {
    max-height: 90vh;
    min-width: 90vw;
    overflow-y: scroll;
}
#themes p{
    font-size:0.8em;
}

ul.close {
    max-height: 10vh;
    min-width: 90vw;
    overflow-y: hidden;
}
ul.close li.selected .card-content {
    display: none;
}
ul.close li:not(.selected) {
    display: none;
}
li.item {
    text-align:left;
}
#selection{
    background-color:black;
    width:100%;
}
#selection input {
    border: none;
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
    padding: 2px 4px;
    height: 40px;
    direction: rtl;
    margin: 0;
}
#selectionTheme {
    /*
        padding: 10px 5px;
        border: 1px solid white;
        border-radius: 5px 0 0 5px;
        background-color: white;
        height: 40px;

    */
    margin: 0;
    text-align: end;
    font-size: 1rem;
    color: black;
    /*width:30%;*/
}
#selectionItem {
    /*width: 68%;*/
    text-align:start;
}
#unite {
    padding: 2px 4px;
}
#valeur{
    text-align :right;
    width:50vw;
}
#titre {
    position: fixed;
    top: 5px;
    left: auto;
    right: auto;
    text-align: center;
    width: 100%;
}
#titre {
    width: 80vw;
    overflow-x: hidden;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 15vh;
    z-index:100;
}
corps.xl {
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100vw;
    height: 80vh;
    overflow-y: auto;
    z-index: 1;
}
corps {
    padding:5px;
    position: fixed;
    top: 15vh;
    left: 0;
    width: 100vw;
    height: 75vh;
    overflow-y: auto;
    z-index: 1;
}

foot {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    background-color: #00d1b2;
    z-index: 100;
}