@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root{
  --fontFamily: "Open Sans", sans-serif;
  --textSize: 19px;
  --smallSize: 14px;

  --mainColor: rgb(220, 106, 80);
}

body{
  font-family: var(--fontFamily);
  font-size: var(--textSize);
  color: var(--mainColor);
  line-height: 1.5;
  background: url("../images/back_ordi.jpg");
  background-size: cover;
}

a{
  color: var(--mainColor);
  font-weight: bold;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

img{
  width: 100%;
}

.overlay{
  background: rgba(228, 170, 104, 10);
  background: linear-gradient(90deg,rgba(228, 170, 104, 1) 0%, rgba(243, 208, 100, 1) 100%);
  opacity: 0.7;
  position: fixed;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
}

.encart{
  background: rgba(255, 255, 255, 0.9);
  width: 40%;
  min-width: 700px;
  padding: 90px 60px 90px 70px;
  border-radius: 0px 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

.encart_inner{
  display: flex;
  flex-wrap: wrap;
}

.encart_inner .logo{
  width: 26%;
}

.encart_inner .content{
  width: 65%;
  margin-left: 8%;
  margin-top: 10px;
}

.encart_inner .contact{
  font-size: var(--smallSize);
  margin-top: 40px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
}

.encart_inner .contact p{
  font-weight: bold;
}

.marginB{
  margin-bottom: 20px;
}

.encart_inner .contact .contact-left{
  width: 60%;
}

.encart_inner .contact .contact-right{
  width: 38%;
  padding-left: 30px;
}


@media only screen and (max-width: 840px) {
  :root{
    --textSize: 16px;
    --smallSize: 13px;
  }

/*  body{
    background: url("../images/back_phone.jpg");
    background-size: auto;
  }*/

  .encart{
    width: 90%;
    min-width: 0px;
    padding: 50px 30px 50px 30px;
    transform: translate(-50%, -50%);
  }

  .encart_inner{
    display: block;
  }

  .encart_inner .logo{
    width: 40%;
  }

  .encart_inner .content{
    width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }

  .encart_inner .contact{
    margin-top: 30px;
    display: block;
  }

  .encart_inner .contact .contact-left{
    width: 100%;
  }

  .encart_inner .contact .contact-right{
    width: 38%;
    margin-left: 62%;
    padding-left: 0px;
    margin-top: 30px;
  }
   
}









