@font-face {
    font-family: cprime;
    src: url("cprime.ttf");
}

:root {
    --choc: #5a2d06;
    --chocb: #FFF9DE;
    --rose: #f3d4d5;
}s

body {
    font: times;
    /* font-family:Heslvetica, sans-serif; */
    /* background: #faf6f2; */
    color: var(--choc);
    
}

.links {
    color:var(--choc);
    background-color:var(--chocb);
    text-decoration: none;
    padding: 0 2px;
}

/* .links:hover {
    text-decoration-color: var(--rose);
} */

.links2 {
    color:var(--rose);
}

.links3 {
    color:var(--rose);
     text-decoration: none;
     font-family: cprime;
}



hr {
  border: none;
  height: 1px;
  background-color: var(--choc);
}

#top {
    /* margin:20px; */
    font-size: 14px;
    max-width: 333px;
    font-family: 'Times New Roman', Times, serif;
    color:var(--choc);
}

#top2 {
    /* margin:20px; */
    font-size: 14px;
    max-width: 333px;
    font-family: 'Times New Roman', Times, serif;
    text-decoration: none;
    color:var(--choc);
}

select {
    font-family: 'Times New Roman', Times, serif;
    color:var(--choc);
    border:none;
    margin:0;
    padding:0;
}

#grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 0;
  grid-auto-flow: row;
  column-gap: 20px;
  row-gap: 10px;
margin-top:6px;
  width: 98vw;
  max-width: 1000px;

  /* font-family:  Helvetica, sans-serif; */
  text-decoration: none;
}

.chocolat-item {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-self: start;

  font-size: 16px;
  line-height: 16px;
  
}

.choc-link {
    text-decoration: none;
}

.choc-nom {
    font-size: 26px;
    font-weight: bold;
    background-color: var(--choc);
    margin:0;
    padding:0 2px;
    line-height: 30px;
    color:var(--chocb);
    text-decoration: none;
}

.chocolat-item img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1px;
  border: 1px solid var(--choc);
}

.chocolat-item img:hover,
.chocolat-item img:active {
    -webkit-filter: url("#chocolate-brown");
    filter: url("#chocolate-brown");
    
}


.resume {
  color: var(--choc);
  background-color: var(--rose);
  padding:0 4px ;
  font-style: italic;
  text-decoration: none;
  
}
.prix-row {
  display: flex;
  justify-content: flex-start;
  position: absolute;
}

.prix {
  color: var(--choc);
  background-color: var(--rose);
  /* font-family: 'Times New Roman', Times, serif; */
  padding:4px 5px;
  font-weight: bold;
  transform: rotate(-7deg) translate(0px,-22px);
  position: relative;
  border: 1px dotted var(--choc);
  border-radius: 50%;
  text-decoration: none;
  /* box-shadow: 1px 1px 2px var(--choc); */
  font-size: 12px;
  position: relative;
  font-style: italic;
}




/* */




.tag {
    background: var(--rose);
    border-radius: 999px;
    padding: 2px 9px;
    /* margin-right:px; */
    /* margin-bottom: 5px; */
    font-size: 0.8rem;
    white-space: nowrap;
    display: inline-block;
    color: var(--choc);
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    /* font-weight: bold; */
    /* border: 1px solid var(--choc) */
}

.tag2 {
    margin-bottom: 4px;
}

.tag:hover {
    background: #e4d5c2;
}

.prix-row2 {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.prix2 {
  color: var(--choc);
  background-color: var(--chocb);
  padding:5px 7px;
  border-radius: 50%;
  transform: rotate(6deg) translate(60px,-3px);
  position: relative;
  border: 1px solid var(--choc);
  text-decoration: none;
  font-size: 12px;
}

.prix3 {
  color: var(--choc);
  background-color: var(--rose);
  /* font-family: 'Times New Roman', Times, serif; */
  padding:4px 5px;
  font-weight: bold;
  transform: rotate(-7deg) translate(0px,-3px);
  position: relative;
  border: 1px dotted var(--choc);
  border-radius: 50%;
  text-decoration: none;
  /* box-shadow: 1px 1px 2px var(--choc); */
  font-size: 12px;
  position: relative;
  font-style: italic;
}

.gouteur {
    color:var(--choc);
    font-style: italic;
    background-color: var(--chocb);
}

.chocolat-description {
    color:var(--choc);
}

.chocolat-description,
.chocolat-description * {
    font-family: inherit !important;
}

.chocolat-description p {
     margin-top: 0;
}


#photo1 {
    width:90vw;
    max-width: 333px;
}

.photo2 {
 width:90vw;
max-width: 333px;
}

.chocolat-description {
    max-width: 666px ;
    width:96vw;
}

.chocolat-draft {
    filter: grayscale(100%);
}






@media screen and (max-width: 777px) {

#grid {

  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
}

}