@font-face {
  font-family: "Drunk Tank";
  src: url('./font/DrunkTank-Regular.ttf')  format('tff');
}
body {
  margin: 0;
  background-color: #6a2634;
  background-image: url(img/temple.svg);
  color: #ffffff;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #6a2634;
  z-index: 10;
}

.indexheader {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(img/FondBG.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.brand {
  font-family: "Drunk Tank";
  color: white;
  text-align: center;
  font-size: 10rem;
  z-index: 2;
}

.logo {
  font-family: "Drunk Tank";
  display: flex;
  float: left;
  align-items: center;
  color: white;
  padding: 1%;
  font-size: 1.2rem;
}
.imgdetail {
  height: 5h50px;
  width: 550px;
}
ul {
  list-style-type: none;
  overflow: hidden;
  font-size: 1.5rem;
}

a {
  text-decoration: none;
  color: #ffffff;
}
li a {
  align-items: center;
  display: block;
  color: white;
  font-family: "Drunk Tank";
  text-align: center;
  float: right;
  text-decoration: none;
  padding: 1%;
}

h2.title {
  font-family: "Drunk Tank";
  color: white;
  text-align: center;
  font-size: 3rem;
  text-decoration: none;
}

/*Slider books*/

section {
  padding: 20px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.simple-carousel {
  position: relative;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.simple-carousel-inner {
  position: relative;
  display: flex;
  overflow-y: scroll;
  overflow-x: scroll;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.simple-carousel-inner::-webkit-scrollbar {
  display: none;
}

.simple-carousel-inner .item {
  min-width: 320px;
  padding-right: 30px;
}

.simple-carousel-inner .image {
  position: relative;
  overflow: hidden;
}

.simple-carousel-inner .item img {
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}

/*Slider comments*/

.slider-comments blockquote {
  padding-left: 0;
}

.slider-comments {
  margin-top: -20px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: center;
}

.slider__nav {
  width: 12px;
  height: 12px;
  margin: 3rem 12px;
  border-radius: 50%;
  z-index: 1;
  outline: 6px solid #e2e2e2;
  outline-offset: -6px;
  box-shadow: 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  cursor: pointer;
  appearance: none;
  backface-visibility: hidden;
}

.slider__nav:checked {
  animation: check 0.4s linear forwards;
}

.slider__nav:checked:nth-of-type(1) ~ .slider__inner {
  left: 0%;
}

.slider__nav:checked:nth-of-type(2) ~ .slider__inner {
  left: -100%;
}

.slider__nav:checked:nth-of-type(3) ~ .slider__inner {
  left: -200%;
}

.slider__nav:checked:nth-of-type(4) ~ .slider__inner {
  left: -300%;
}

.slider__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 100%;
  transition: left 0.4s;
  display: flex;
  flex-flow: row nowrap;
}

.slider__contents {
  height: 100%;
  padding: 0rem;
  text-align: center;
  display: flex;
  -ms-flex: 1;
  flex: 1;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.slider-comments {
  color: white;
}
.slider__image {
  font-size: 2.7rem;
  color: #ffffff;
}

.slider__caption {
  font-weight: 500;
  margin: 2rem 0 1rem;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}

.slider__txt {
  color: #ffffff;
  margin-bottom: 3rem;
  max-width: 300px;
}

@-webkit-keyframes check {
  50% {
    outline-color: #ffffff;
    box-shadow: 0 0 0 12px #ffffff, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }

  100% {
    outline-color: #ffffff;
    box-shadow: 0 0 0 0 #ffffff, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

@keyframes check {
  50% {
    outline-color: #ffffff;
    box-shadow: 0 0 0 12px #fdfdfd, 0 0 0 36px rgba(0, 0, 0, 0.2);
  }

  100% {
    outline-color: #ffffff;
    box-shadow: 0 0 0 0 #ffffff, 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.author {
  font-variant: small-caps;
  color: #ffffff;
  padding-top: 10px;
  display: block;
  font-size: 1.5rem;
}

blockquote {
  word-break: break-word;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.far {
  font-family: "Arial, Helvetica, sans-serif";
  font-weight: 400;
}
.comment {
  color: #ffffff;
  font-size: 4rem;
}

/*Slider vertical*/

.book {
  width: 15%;
  display: flex;
  float: left;
  margin-right: 2rem;
}

.theBlock {
  color: #ffffff;
}

.blocks-box,
.slick-slider {
  margin: 0;
  padding: 0 !important;
}

.Vertical-Slider {
  width: 70vw;
  margin: 1px auto;
}

.Vertical-Slider .item h3 {
  font-family: "Drunk Tank";
}
.Vertical-Slider .item p {
  font-family: "Arial, Helvetica, sans-serif";
  font-size: 1rem;
}

.rows {
  margin-bottom: 2rem;
  background-color: #461922;
  padding: 1rem;
  border-radius: 2rem;
  height: 35vh;
}

.brand1 {
  text-align: center;
  font-family: "Drunk Tank";
  color: white;
  font-size: 10rem;
  margin: 0;
}

.bgform {
  background-image: url(img/FondBG.jpg);
  background-size: cover;
  height: calc(100vh - 120px);
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "Drunk Tank";
}

.bgform form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 20rem;
}
input {
  padding: 10px;
  border-radius: 8px;
}
.login {
  align-items: center;
  width: 15%;
  height: 15%;
}

.container1 {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(5, [col] auto);
  grid-template-rows: repeat(5, [row] auto);
  gap: 2rem;
}
.box {
  background-color: #461922;
  color: #ffffff;
  border-radius: 5px;
  padding: 5px;
  font-size: 150%;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, [col] auto);
  grid-template-rows: repeat(2, [row] auto);
  margin: auto;
  width: min-content;
}
.box:hover {
  box-shadow: 0 0 2px 1px rgb(255, 255, 255);
}
.add_box {
  background-color: #461922;
  color: #ffffff;
  border-radius: 5px;
  padding: 5px;
  font-size: 10rem;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, [col] auto);
  grid-template-rows: repeat(2, [row] auto);
  margin: auto;

}
.space {
  margin-top: 10%;
}
.add_box:hover {
  background-color: rgb(255, 255, 255);
}
.titre {
  text-align: center;
  grid-column: 1/3;
  grid-template-columns: repeat(3, 1fr);
}
.book1 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 30vh;
  width: 100%;
}
.bouton1 {
  text-align: center;
  grid-row: 2;
  grid-column: 1/2;
}
.bouton2 {
  text-align: center;
  grid-row: 2;
  grid-column: 2;
}
.bouton3 {
  text-align: center;
  grid-row: 1/3;
  grid-column: 1/3;
}
.bouton3 img {
  height: 30px;
}
table {
  border-collapse: collapse;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}
td,
th {
  background-color: #461922;
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}
.image {
  display: block;
  margin: 0 auto;
  width: 360px;
  height: 520px;
}

button {
  margin: 20px 0 0 124px;
}

header {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.C {
  text-align: end;
}
.G-detail {
  background-color: #461922;
  border-radius: 10px;
  margin-bottom: 50px;
  text-align: center;
  display: grid;
  padding: 110px 10px 10px 10px;
}
.G2 {
  grid-row-start: 4;
}
.G7,
.G8,
.G9,
.G10,
.G11 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  padding: 15px;
  padding-right: 0px;
}
.G7-2,
.G8-2,
.G9-2,
.G10-2,
.G11-2 {
  text-align: end;
  padding-right: 15px;
}
.G7,
.G9,
.G11 {
  background-color: #54202b;
}

.Resume {
  background-color: #461922;
  border-radius: 10px;
  margin-bottom: 50px;
  padding: 20px;
  padding-left: 50px;
}
.features {
  background-color: #461922;
  border-radius: 10px;
  padding: 20px;
  padding-left: 50px;
  margin-bottom: 50px;
}
.F2,
.F3,
.F4,
.F5,
.F6,
.F7,
.F8,
.F9,
.F10,
.F11,
.F12 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
}
.F2,
.F4,
.F6,
.F8,
.F10,
.F12 {
  background-color: #54202b;
}
.F2-2,
.F3-2,
.F4-2,
.F5-2,
.F6-2,
.F7-2,
.F8-2,
.F9-2,
.F10-2,
.F11-2,
.F12-2 {
  text-align: end;
}

.Avis {
  grid-template-rows: 1fr repeat(5);
}
.livre {
  background-color: #461922;
  padding: 20px;
  text-align: center;
}
.l5 {
  background-color: #ffffff;
  border-radius: 10px;

  padding: 10px 20px;
  margin-bottom: 20px;
  color: black;
}

.commentaires form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.commentaires form textarea {
  height: 5rem;
  resize: vertical;
  width: 80%;
}

.comm-G {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.avisimg {
  width: 50%;
  height: 50%;
}
.comm {
  background-color: #6a2634;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-radius: 2rem;
}
.tableau {
  color: #ffffff;
}

td,
th {
  background-color: #461922;
}

@media screen and (min-width: 1024px) {
  header {
    display: grid;
    grid-template-columns: 3fr 1fr;
  }
  .C {
    text-align: end;
  }
  /*g-detail */
  .G-detail {
    margin-top: 110px;
    display: grid;
    grid-template-columns: 5fr 5fr 1fr;
    background-color: #461922;
    padding: 50px;
    padding-bottom: 70px;
    margin-bottom: 50px;
    border-width: 0;
  }
  /*placement des grids */
  .G1 {
    padding: 20px;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
  }
  .G2 {
    padding: 20px;
    grid-row-start: 1;
    grid-column-start: 2;
    grid-column-end: 3;
  }
  .G3 {
    padding: 20px;
    grid-column-start: 3;
    font-size: 40px;
  }

  .G4 {
    padding: 20px;
    grid-row-start: 2;
    grid-row-end: 9;
    grid-column-start: 1;
    grid-column-end: 2;
    margin-right: 200px;
  }
  .G5 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    background-color: #54202b;
    border-radius: 20px;
    padding-left: 30px;
  }
  .G6 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    padding-left: 30px;
  }
  .G7 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #54202b;
    border-radius: 20px;
    padding-left: 30px;
  }

  .G8 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 30px;
  }
  .G9 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #54202b;
    border-radius: 20px;
    padding-left: 30px;
  }
  .G10 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 30px;
  }
  .G11 {
    padding: 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #54202b;
    border-radius: 20px;
    padding-left: 30px;
  }
  /*resume */
  .Resume {
    background-color: #461922;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 20px;
    padding-left: 50px;
    margin: 50px;
  }

  /*features */
  .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #461922;
    border-radius: 10px;
    column-gap: 50px;
    padding: 20px;
    padding-left: 50px;
    margin-bottom: 50px;
    margin: 50px;
  }
  /*placement des grids */
  .F1 {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  .F2,
  .F3,
  .F4,
  .F5,
  .F6,
  .F7,
  .F8,
  .F9,
  .F10,
  .F11,
  .F12 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    border-radius: 10px;
  }
  .F2,
  .F3,
  .F6,
  .F7,
  .F10,
  .F11 {
    background-color: #54202b;

    padding: 20px;
  }
  .F4,
  .F8,
  .F12 {
    background-color: #461922;
  }

  /*AVIS */
  .Avis {
    display: grid;
    column-gap: 20px;
    grid-template-rows: 1fr repeat(5);
    margin: 50px;
  }
  .livre {
    background-color: #461922;
    padding: 20px;
    text-align: center;
  }
  .l5 {
    background-color: #ffffff;
    border-radius: 10px;
    width: fit-content;
    padding: 10px 20px;
    margin-left: 425px;
    margin-bottom: 20px;
    color: black;
  }

  .commentaires form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .commentaires form textarea {
    height: 5rem;
    resize: vertical;
    width: 80%;
  }

  .comm-G {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .avisimg {
    width: 50%;
    height: 50%;
  }
  .comm {
    background-color: #6a2634;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 2rem;
  }
}
@media only screen and (max-device-width: 640px) {
  .indexheader {
    background-image: url("img/FondBG.jpg");
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
  }
  .rows {
    margin-bottom: 1rem;
    background-color: #461922;
    padding: 1rem;
    border-radius: 2rem;
    height: auto;
  }
  .book {
    width: 30%;
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .bgform {
    background-image: url(img/FondBG.jpg);
    background-size: cover;
    height: calc(100vh - 120px);
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: "Drunk Tank";
    background-position: center;
  }
  input {
    padding: 20px;
    border-radius: 8px;
  }
  .bgform form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 30rem;
  }
  .container1 {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, [col] auto);
    grid-template-rows: repeat(2, [row] auto);
    gap: 2rem;
  }
  .box {
    background-color: #461922;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px;
    font-size: 150%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, [col] auto);
    grid-template-rows: repeat(2, [row] auto);
    margin: auto;
    width: min-content;
  }
}
@media (min-device-width: 641px) and (max-device-width: 1007px) {
  .indexheader {
    background-image: url("img/FondBG.jpg");
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
  }
  .rows {
    margin-bottom: 1rem;
    background-color: #461922;
    padding: 1rem;
    border-radius: 2rem;
    height: auto;
  }
  .bgform {
    background-image: url(img/FondBG.jpg);
    background-size: cover;
    height: calc(100vh - 120px);
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: "Drunk Tank";
    background-position: center;
  }
  input {
    padding: 20px;
    border-radius: 8px;
  }
  .bgform form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 30rem;
  }
  .container1 {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, [col] auto);
    grid-template-rows: repeat(3, [row] auto);
    gap: 2rem;
  }
  .box {
    background-color: #461922;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px;
    font-size: 150%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, [col] auto);
    grid-template-rows: repeat(2, [row] auto);
    margin: auto;
    width: min-content;
  }
}

.rating {
  display: flex;
}

.rating input {
  position: absolute;
  left: -100vw;
}

.rating label {
  width: 48px;
  height: 48px;
  padding: 48px 0 0;
  overflow: hidden;
  color: #461922;
  background: url("./img/stars.svg") no-repeat top left;
}

.rating:not(:hover) input:indeterminate + label,
.rating:not(:hover) input:checked ~ input + label,
.rating input:hover ~ input + label {
  background-position: -48px 0;
}

.rating:not(:hover) input:focus-visible + label {
  background-position: -96px 0;
}
