*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Fonts */
  --title-font: Archivo Narrow, sans-serif;
  --base-font: Roboto, sans-serif;
}
html{ 
  scroll-behavior: smooth;
  /* width: 1900px;   */
}

body {
  font-family: var(--base-font);
}

main {
  margin: 2vw;
  padding: 1vw;
  background-color: #dfd7c9;
  border-radius: 3.2rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.main-2 {
  padding: 1vw;
  display: flex;
  flex-direction: column;
}

.title {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.title img {
  height: 4vw;
  filter: grayscale();
}

.block-title {
  width: 87%; 
margin: 1vw auto;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #3f3b37;
}

.main-title {
  font-family: var(--base-font);
  font-weight: 400;
  
  font-size: clamp(40px, 5vw, 130px); 
  color:#3f3b37;
}

.main-title span {
  font-style: italic;
}
.sub-title{
  font-family: var(--base-font);
  font-weight: 400;
  font-size: clamp(10px, 3vw, 30px);
  color: #3f3b37;
  text-transform: uppercase;
}

@media screen and (max-width: 750px) {
  .main-title {
    text-align: center;
  }

  .title img {
    display: none;
  }
}

.block-cards{
  width: 80%;
  margin: auto;
}

.block-cards p{
  font-family: var(--title-font);
  font-size: 1.4em;
  line-height: 1.5;
  color: #3f3b37;
}

.block-cards ul{
  font-family: var(--title-font);
  font-size: 1.4em;
  line-height: 1.5;
  color: #3f3b37;
  margin-left: 2vw;
  margin-top: 1vw;
  list-style-type: circle;
}

h3 {
  font-size: 2em;
  font-weight: 400;
  margin-top: 1vw ;
  margin-bottom: 1vw;
  
}

section{
  margin: 1vw auto;
    display: flex;
    width: 87%;
    flex-direction: column;
}
.card-btn{
  display: flex;
  justify-content:space-between ;
}
.btn-suivant {
 width: 200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content:space-between;
  padding: 10px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-suivant::before {
  content: "";
  position: absolute;
  top: 7em;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fcff77;
  transition: all 0.6s;
  z-index: -1;
}

.btn-suivant:hover::before {
  top: 0;
}

.btn-suivant a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #3f3b37;
}

#arrow {
  color: #3f3b37;
  font-size: 1.5em;
  padding: 10px;
}

.btn-suivant span {
  padding: 10px;
  font-size: 1.5em;
}

.btn-pbf:hover {
  border: 1px solid #dfd7c9;
}

.btn-pbf a {
  font-size: 1.2em;

  text-decoration: none;
  color: #3f3b37;
}

.btn-pbf span {
  padding-left: 1vw;
}

button{
  width: 200px;
  border: #dfd7c9;
  background: #dfd7c9;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
button::before {
  content: "";
  position: absolute;
  top: 7em;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fcff77;
  transition: all 0.6s;
  z-index: -1;
}

button:hover::before {
  top: 0;
}
#print span{
  font-size: 2.5em;
  color: #E7AA2C;
}
#print:hover span{
  transition:0.6s;
  color: #3f3b37;
}

@media (max-width: 520px) {
  .card-btn {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 2vw;
  }
}
