

@font-face {
	font-family: 'bazar_book';
	src: url('../fonts/bazar_book.eot');
	src: local('☺'), url('../fonts/bazar_book.woff') format('woff'), url('../fonts/bazar_book.ttf') format('truetype'), url('../fonts/bazar_book.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'bazar_book_bold';
	src: url('../fonts/bazar_book_bold.eot');
	src: local('☺'), url('../fonts/bazar_book_bold.woff') format('woff'), url('../fonts/bazar_book_bold.ttf') format('truetype'), url('../fonts/bazar_book_bold.svg') format('svg');
	font-weight: normal !important;
	font-style: normal !important;
}


body {
  background-color: white;
  margin: 0;
  font-family: bazar_book;
}

b,strong{
  font-family: 'bazar_book_bold';
}


:root {
  --grid-gap: 0.4rem;
}

.home,
.container-result

{

      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
      article {
        padding: 10px;
        border: 0.5vw solid black;

        a {
          text-decoration: none;
          color: black;

        }
        > * {
          color: black;

        }

      }

    article.span-3 {
        grid-row: span 3;
    }
    article.span-2 {
        grid-row: span 2;
    }
}

.menu  .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

}
.menu a {

    color: black;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    @media (min-width: 768px) {
    font-size: 3rem;
    }
}
body > header {

  position: sticky;
  top:0;
  background-color: white;
  z-index: 100;
}

article > .label {
  display: flex;
  justify-content: space-between;


  span:nth-of-type(2) {

    text-transform: uppercase;
    font-size: 20px;
  }
  span:nth-of-type(2) {

    text-transform: uppercase;
    font-size: 1rem;
  }
  span:nth-of-type(1) {
    font-size: 1rem;
    text-decoration: underline;
  }

}

.home article {

  h2 a {
    font-size: 1.5rem;
    content: '';
  }
  p {
    font-size: 1.2rem;
  }
  .button {
    border: 1px solid;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 5px;

  }
  .button:hover {
    color: white;
  }
  .button:hover:after {
    content: " tu t'emmerdes à ce point ?";
  }
}

.post article {
  width: clamp(100px, 100vw, 1200px);
  margin: 0 auto;
  > * {
  padding: 0 30px;
  }
  h1 {
    color: white;
    font-size: clamp(1.5rem, 2.5vw, 4rem);
    margin: 0;
  }
  p,ul li {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    line-height: 1.4;
  }

  img {

    max-width: 100%;
    height: auto;
  }
  > a.label {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 1vw, 1.4rem);
    padding-top: 5px;

  }
}

b,strong{

	font-family: 'bazar_book_bold';

}

h4 small
{
    display: block;
    font-size: 60%;
    color: #888;
}

li{
  line-height:1.6rem;
}

.explain .hidden {

  display: none;
}

p.mention {
	font-family: monospace;
  padding: 25px;
  background: url(../img/uni.gif) !important;

}
.animated.blink {

  display: inline-block;
  text-transform: uppercase;
  animation: 0.9s ease-in 0s infinite alternate blink_white;


}
@keyframes blink_white {
  from { color: red; transform: scale(1); }

  to { color: white; transform: scale(1.03);}
}


article  ul {
  padding: 0 20px 20px;

}
article  ul li {
  font-style: italic;
  list-style: none;
  display: block;
}
article  ul li:before {
  content:"❆-- ";
  color: crimson;

}

.main-footer {
  width: clamp(100px, 100vw, 1200px);
  padding: 20px 0;
  margin: 0 auto;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}
.footer-nav {
  width: clamp(100px, 100vw, 1200px);
  margin: 0 auto;
  .to-home {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  text-decoration: none;
  color: pink;

  }
  nav {
    display: flex;
    justify-content: space-between;

    font-size: clamp(1.1rem, 1.8vw, 1.3rem);

    a {
      color: black;

    }
  }
}

.cards {
 display: grid;
 padding-bottom: 100px;

      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 10px;
}
.card {
  background: white;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  .image {
    width: 100%;
  }
  .header {
  font-size: 1.3rem;

  }
  .meta {
  font-size: 1.2rem;
  }
  .description {
  font-size: 1.1rem;
  }

}

.tag-as-list {
  text-decoration: none;

    font-size: clamp(1.5rem, 2.5vw, 4rem);
    color: black;
    padding: 40px;

}
.tag-title {
  color: white;
  text-transform: uppercase;
  background-color: black;
    font-size: clamp(1.5rem, 2.5vw, 4rem);
    text-align: center;
    padding: 30px;

}


.search-me {
  display: flex;
  text-decoration: none;
  font-size: 1.5rem;

  input {
    width: 50%;

  }
  margin-bottom: 30px;
}
.doSearch {

  font-size: 1.5rem;
  background: gray;
  color: white;
  padding: 10px;

}

main {

  min-height: 95vh;
}
