@charset "UTF-8";

@font-face {
  font-family: "StickRice";
  src: url("../../fonts/stickrice.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
:root {
  --blau: #003366;
  --color-fons: #fefefe;
  --color-h2: #fff;
  --color-text: #444;
  --color-escrit: #f2f2f2;
  --color-hover: darkgrey;
}

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

body {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  background-color: #fffffa;
  color: #eee;
}

/* ----------  Header  ----------   */

header {
  width: 100%;
  height: 65vh; /* era 75vh; 28/01/2021 - 650px; CPM 16/12/2020 */
  min-height: 270px; /*  PPM per Portrait  11/02/2021 */
  background-image: url("../../img/fons01.jpg");
  -webkit-background-attachment: scroll; /* proba mobils  fixed;  15/02/2021  */
  -webkit-background-position: center;
  -webkit-background-size: cover; /* TPM  per probar en IOS  22/01/2021  */
  background-attachment: scroll; /* proba mobils  fixed;  15/02/2021  */
  background-position: center;
  background-size: cover; /*   TPM  per probar en IOS  22/01/2021  */
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fffffa;
  text-align: center;
  z-index: 1; /* PPM Proba degradat Seban txt 8/01/2021 */
  /* text-shadow: 0 5px 5px #000;  *Ennegreix totalment el text Sebantoni */
}

header .textos {
  /* margin-top: 180px /* 155px 45px 152px; */
  width: 90%; /* PPM 5/02/2021  */
  display: flex;
  flex-direction: column; /* revisar 07/12/2020 */
  justify-content: center; /* space-around; /* revisar 07/12/2020 */
  align-items: center; /* revisar 07/12/2020 */
}

header .seo {
  font-size: 0px;
  color: transparent;
  cursor: none;
}

header .titol {
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 1.1rem; /* 8rem;  era   75px;   22/01/2021  */
  color: #f2f2f2; /*  #eee;    cyan; */
  text-shadow: 0 4px 4px #000; /* PPM proba a Sebantoni TXT 5/01/2021 */
  /* position: absolute           /* PPM proba a Sebantoni TXT 8/01/2021 */
  /*top: 0;                      /* PPM proba a Sebantoni TXT 8/01/2021 */
  /*left: 0;                     /* PPM proba a Sebantoni TXT 8/01/2021 */
}

header .sebantoni_txt {
  /* margin-left: 20px;  */
  font-family: "StickRice", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 4.5rem; /* 7.5rem; 28/01/2021 10em; era 140px 17/12/2020 */
  letter-spacing: 1px; /*  PPM  11/02/2021  */
  color: transparent;
  text-align: center;
  background: linear-gradient(
    180deg,
    #f2f2f2 -5%,
    #666 95%
  ); /* (180deg, #fff 50%, #000 90%); 8-01-2021 Crea el degradat de blanc a negre a 175º (175deg, #f2f2f2 -5%, #666 98%) */
  -webkit-background-clip: text; /* Pluguin pel Chrome */
  -moz-osx-background-clip: text; /* Pluguin pel Firefox */
  -o-background-clip: text; /* Pluguin pel Opera */
  background-clip: text;
  position: relative; /* Per poder sobreposar els text un sobre l'altre  */
  /*  z-index: 20; */
}

header .sebantoni_txt::before {
  content: "Sebantoni"; /* Repeteix el text */
  position: absolute; /* Per posarlo sobre l'anterior text */
  width: 100%;
  top: -2px; /*top: 2px;   Per ajustar la alçada de l'ombra del text 4px */
  left: -4px; /*  left: 24%;   Per ajustar la horitzontal de l'ombra del text 2px */
  color: darkgrey; /* grey;   /* lightblue; */
  z-index: -10;
  /* text-shadow: 0 2px 2px #bbb;    /* 0 5px 5px #ccc; - PPM proba a Sebantoni TXT 5/01/2021 */
}

header .subtitol {
  font-size: 0.85rem; /* 5rem; /* era 36px  28/01/2021  */
  font-weight: 600;
  margin-bottom: 1rem;
  /* padding: 0 1rem;   TPM 5/02/2021 */
  text-shadow: 0 3px 3px #000; /* PPM proba a Sebantoni TXT 5/01/2021 */
  color: #eee; /* #f2f2f2;   2/02/2021  */
}

header .boto,
.boto {
  display: inline-block;
  padding: 4px; /*  era 6px;   11/02/2021  */
  width: 110px; /* era 128px;  11/02/2021 */
  border: 2px solid #fff;
  color: #fff;
  font-size: 19px;
  text-align: center;
  text-decoration: none;
  border-radius: 16px;
  cursor: pointer;
}

header .boto:hover {
  border: 2px solid #fff;
  background-color: #eee;
  font-weight: bold;
  color: var(--blau);
  text-shadow: none;
}

header .boto:active {
  border: 2px groove #ccc; /* 16/12/2020 */
  background-color: transparent; /* #002861; */
  font-weight: normal;
  color: #ccc;
}

.cut-down {
  z-index: 10;
  position: absolute;
  bottom: 0;
  left: 0;
  border-width: 0 100vw 8vh 0; /* 0 30vw 20vh 0; /* 0 0 35vh 100vw; */
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

.cut-up {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  border-width: 8vh 0 0 100vw; /* 20vh 90vw 0 0; /* 35vh 100vw 0 0; */
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.contenidor {
  width: 90%;
  margin: auto;
  overflow: hidden;
  padding: 40px 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ----------  Main  ----------   */

.sobre_nosaltres {
  margin: 24px auto; /*  era  0 auto;   auto 7px 24px;   8/02/2021   */
  /* text-align: center;
  /* margin-left: 3%; */
  /* transform: translateX(-50%); */
  text-shadow: 5px 5px 5px blue; /* Ombra Titols */
  font-size: 2.75rem; /* era 56px;  1/02/2021  */
  margin-bottom: 24px; /*  era 10px  5/02/2021   */
  font-weight: 600;
  /* position: absolute;   19/02/2021
  top: 20px;
  left: 50%;
  transform: translateX(-50%); */
  z-index: 10;
}

.slogan {
  margin: 0 auto 24px auto; /* era  auto 7px 24px;   fins 8/02/2021  */
  text-align: right;
  /* font-size: 24px;      TPM 5/02/2021   */
  font-weight: 600;
  /* margin-right: 25%;    */
  /* transform: translateX(-50%); */
  /* margin-left: -15px; /* PPM  5/02/2021  */
  color: #777; /* PPM per editar color text 4/01/2021  */

  /* position: absolute;  19/02/2021
  top: 130px;
  left: 50%;
  transform: translateX(-50%); */
  z-index: 10; /*  PPM  18/02/2021 */
}

.paragraf {
  margin-bottom: 13px;
  font-size: 14px; /*   PPM  sense serien uns 16px per defecte 1/02/2021  */
  font-weight: 300;
  text-align: left; /*   PPM  1/02/2021  */
  /* text-align: justify; */
  line-height: 20px;
  color: rgb(24, 16, 16);
}

/* era .acerca-de .boto    18/02/2021  */
.sobre .boto {
  display: inline-block;
  margin: auto;
  margin-top: 24px;
  padding: 6px;
  width: 128px;
  font-weight: 600; /*   era 300    1/02/2021  */
  border: 2px solid var(--blau); /*  era  rgba(24, 16, 16, 0.7);   1/02/2021 */
  color: var(--blau);
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border-radius: 16px;
}

.boto:hover {
  /* PPM 07-12-2020 */
  border: 2px solid var(--blau);
  background-color: var(--blau);
  color: #ccc;
  font-weight: bold;
}

.boto:active {
  border: 2px groove #ccc; /* 16/12/2020 */
  background-color: #ccc; /* #002861; */
  font-weight: normal;
  color: #666; /* color: #ccc; 16/12/2020 */
}

.galeria {
  width: 100%;
  height: auto; /*   era  500px;    1/02/2021   */
  position: relative;
  display: flex;
  flex-direction: column; /* PPM proba  imatges en columne per mobil 1/02/2021  */
  flex-wrap: wrap;
  overflow: hidden;
}

.imatges {
  width: 100%;
  height: 200px; /*  era 500px;    1/02/2021   */
  position: relative;
  overflow: hidden;
}

.imatges img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.damunt {
  position: absolute;
  top: 50%; /* PPM era 0; 11/12/2020 */
  left: 50%; /* PPM era 0; 11/12/2020 */
  transform: translate(-50%, -50%);
  width: 60%; /* 50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
  height: 30%; /* 10%; escriptori  - PPM era 100% 11/12/2020 */
  border-radius: 15px 0 15px 0;
  background: rgba(0, 51, 102, 0.75); /* rgba(52, 73, 94, 0.815); 11/12/2020  */
  /* border: 2px solid #ccc;   /* PPM revisar els 4 border's 18/12/2020 */
  border: 3px solid;
  /* border-style: solid; */
  border-color: #ccc #999 #999 #ccc;
}

.damunt h4 {
  position: relative;
  top: 20%; /*  20%; /* PPM  era 15% 28/01/21 - 45% 11/12/2020 */
  font-size: 20px; /* 18px; 16px;  5/02/2021/* PPM  era 20px 28/01/21 - 16/12/2020 */
  text-align: center;
  color: #fff;
}

.damunt div {
  position: relative;
  display: block;
  top: 22%; /*  20%; /* PPM era 17%  28/01/21 - 46% 11/12/2020 */
  width: 40px;
  height: 5px;
  background: red; /* #fff; PPM 11/12/2020 */
  margin: auto;
}

/* ----------   SERVEIS  ---------------- */

.cards {
  width: 100%;
  display: flex;
  flex-direction: column; /*  PPM 1/02/2021  */
  /* flex-wrap: wrap;  */
  justify-content: space-around;
  color: #777; /* PPM Per pintar el text dels SVG 12-01-2021 */
}

.card {
  margin: 10px auto; /* era 20px 0;  5/02/2021  */
  width: 90%; /*   30%;    2/02/2021  */
  height: 260px;
  text-align: center;
  padding: 10px;
  border-radius: 5px; /* PPM 5/02/2021  */
  box-shadow: 0px 0px 5px 0 rgba(52, 73, 94, 0.849); /*  0px 0px 4px 0 rgba(52, 73, 94, 0.849);  5/02/2021 */
}

.cards img,
.icon-svg {
  width: auto; /*  PPM era 120px;   22/01/2021 */
  height: 120px; /* 100px; /*  PPM era 120px;   22/01/2021 */
  object-fit: cover;
  margin-bottom: 1rem;
}

.card > h3 {
  /* PPM ratlla separadora  22/01/2021 */
  position: relative;
}

.card > h3::after {
  /* PPM ratlla separadora  22/01/2021 */
  margin: 5px 0;
  content: "";
  width: 50%; /* era 70%; 18/02/2021 /* 1ª proba 100px;   22/01/2021 */
  height: 3px;
  background-color: red;
  position: absolute;
  top: 1em;
  left: 50%;
  transform: translateX(-50%);
}

.card > p {
  /* PPM ratlla separadora 100px;   22/01/2021 */
  margin: 1em 0;
  text-align: center; /*  PPM  5/02/2021  */
  line-height: 18px;
  font-size: 16px;
  font-weight: 300;
}

/* .fondo {
  height: 900px;
  position: relative;
  /* background-image: url("../../fondo.png"); 
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  padding-top: 130px;
}  */

/* ------------ ON SOM -------------------  */

.on_som {
  width: 100%; /* PPM 18/02/2021  */
  height: 1700px;
  background-image: url("../../img/map.jpg");

  background-repeat: no-repeat; /* PPM 22/02/2021 */
  -webkit-background-attachment: scroll; /* era fixed;  a escriptori  22/02/2021 */
  -webkit-background-position: center;
  -webkit-background-size: cover; /* TPM  per probar en IOS  22/01/2021  */
  background-attachment: scroll; /* fixed;  */
  background-position: center;
  background-size: cover; /*   TPM  per probar en IOS  22/01/2021  */

  display: flex;
  flex-direction: column; /* PPM 18/02/2021  */
  flex-wrap: wrap; /* PPM 18/02/2021  */
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.contenidor_on_som {
  display: hidden; /* PPM proba 2021-12  22/02/2021 */
  width: 98%;
  height: 1400px;
  border-radius: 1em; /*  era 25px;  PPM 18/02/2021 */
  background-color: transparent;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 130px;
  left: 50%; /* era auto;  10px;   19/02/2021 */
  transform: translateX(-50%);
  /* right: auto; /*  TPM  17/02/2021 */
  padding-top: 0;
  padding-bottom: 24px;
}

.on_som_arrivar_txt {
  width: 90%; /*260px; /* 80%; /* 50%; /* era 100%;  22/02/2021 */
  height: 130px;
  /* padding: 0.6em; /* PPM proba alinear contenidors sense foto  22/02/2021 */
  margin: auto;
  background: rgba(
    255,
    255,
    255,
    0.8
  ); /* #fff; /* per centrar #388fe6; 22/02/2021 */
  border-radius: 1em;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sobre_nosaltres_on_som {
  margin-top: 0; /* era 1rem; 22/02/2021 */
  padding-top: 0.25em;
}

.slogan_on_som {
  margin-top: 0px;
  text-align: center;
}

.map {
  display: none; /* block;   TPM  22/02/2021 */
  width: 98%;
  height: 900px;
  margin: auto; /* era 0 18/02/2021 */
  background-color: transparent;
  margin-bottom: 1.5em;
  object-fit: cover; /* PPM 18/02/2021  */
}

.contenidor_adreca {
  width: 260px; /* era 80%;  22/02/2021  */
  padding: 0.6em;
  position: absolute;
  top: 180px; /* era 1060px; quan hi ha foto 2021-12   22/02/2021 */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /*#fff; /*#f2f2f2; /*  era rgb(201, 198, 204);  22/02/2021 */
  border-radius: 1em; /* era 20px; 20/02/2021 */
  /* Grid no funciona a iphone 5 o IOS v10  la resta sí */
  /*display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: 50px 1fr; */

  display: -ms-inline-flexbox;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;

  /* justify-content: center;
  align-items: left;
  text-align: center;
  line-height: center; */
}

.icon_adreca {
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;

  margin: 5px auto;
  padding: 5px;
  width: 20%;
  height: 40px;
}

.adreca_txt {
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;

  margin: auto; /* comprobar a més px en portrait si queda el text a l'esquerra o centrat  17/02/2021  */
  padding: 5px;
  width: 80%;
  font-size: 12px;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-weight: 300;
  color: #444;
}

.boto_maps {
  margin-top: 3em; /*  era 1.3em;  20/02/2021 */
  display: inline-block;
  padding: 6px; /*  era 6px;   11/02/2021  */
  width: 135px; /* era 128px;  11/02/2021 */
  border: 2px solid var(--blau);
  color: var(--blau);
  background-color: white;
  font-size: 19px;
  text-align: center;
  text-decoration: none;
  border-radius: 16px;

  position: absolute;
  top: 1300px; /* era 1250px; quan hi ha foto 2021-12  - 22/02/2021 */
  left: 50%;
  transform: translateX(-50%);

  cursor: pointer;
}

.boto_maps:hover {
  /* PPM 07-12-2020 */
  border: 2px solid var(--blau);
  background-color: var(--blau);
  color: #ccc;
  font-weight: bold;
}

.boto_maps:active {
  border: 2px groove #ccc; /* 16/12/2020 */
  background-color: #ccc; /* #002861; */
  font-weight: normal;
  color: #666; /* color: #ccc; 16/12/2020 */
}

/* -------------------------------------------------*/
/* ---------------   FOOTER ----------------------*/
/* -------------------------------------------------*/

.cut-down-footer {
  z-index: 10;
  position: absolute;
  bottom: 0;
  left: 0;
  border-width: 0 100vw 10vh 0; /*0 0 35vh 100vw; */
  border-style: solid;
  border-color: transparent transparent #003366 transparent; /* era otiginal #2c3e50  23/02/2021 */
}

/* ----------------------------------- */
/* ----------  FOOTER -------------- */
/* ----------------------------------- */

footer {
  width: 100%; /*  era 100%  23/02/2021  */
  height: auto; /* era 560px; 28/04/2021 - auto; /* 550px; /* era auto 14/04/2021 - 23/02/2021 */
  background: var(--blau); /* era original #2c3e50;    23/02/2021 */
  display: flex; /*  PPM   23/02/2021  */
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

footer .contacte-footer {
  width: 100%;
  text-align: center;
}

.contacte-footer h2 {
  margin: 24px auto; /*  era  0 auto;   auto 7px 24px;   8/02/2021   */
  text-shadow: 5px 5px 5px #ccc; /* Ombra Titols era 5px 5px 5px 26/02/2021 */
  font-size: 2.75rem; /* era 56px;  1/02/2021  */
  /*margin-bottom: 24px; /*  era 10px  5/02/2021   */
  font-weight: 600;
}

footer .contenidor-footer {
  width: 100%; /* era 90%;  28/04/2021  -  es del 100% posso 80% per probar a tamany 1024   PPM 3/03/2021  */
  height: auto; /* era 550px; 28/04/2021 -  era 360px; avanç de possar horari 14/04/2021  */
  margin-bottom: 1em;
  /* background-color: #000; /*  PPM18/02/2021  */ /* era otiginal #2c3e50  23/02/2021 */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  position: relative;
}

.adreca-footer {
  width: 80%; /*  PPM  29/02/2021  */
  position: relative;
  /* margin-left: 10px;  /* TPM  14/04/2021 */
  margin-bottom: 5px;
  padding-top: 5px;
  padding-left: 2px;
  text-align: left;
  line-height: 24px;
  /* background-color: rgba(252, 252, 252, 0.05);  PPM 5/03/2021 */
  /* box-shadow: 1px 1px 2px 0 rgba(255,255,255, 0.849); /*  0px 0px 4px 0 rgba(52, 73, 94, 0.849);  5/02/2021 */
  border-radius: 5px;
}
.adreca-footer:nth-child(1),
.adreca-footer:nth-child(2),
.adreca-footer:nth-child(3),
.adreca-footer:nth-child(4) {
  width: 80%; /* era 80%; 28/04/2021 - era 80%  5/03/2021 */
  position: relative;
  text-align: left;
  top: 0;
  left: 0;
  /* background-color: rgb(4, 66, 148); /* Ajuda per centrar28/04/2021 */
}

.adreca-footer h2 {
  text-align: left;
  color: #ccc;
  position: relative;
  left: 0;
  margin-bottom: 18px;
}
.adreca-footer h2::before {
  content: "";
  width: 45px;
  height: 4px;
  position: absolute;
  top: 28px;
  background-color: red;
}
.adreca-footer ul li {
  list-style: none;
}
.icon_adreca_footer {
  width: 16px;
  margin: 0 6px 0 0;
}
.icon_tel_footer {
  width: 16px;
  margin: 0 0 -3px 0;
}

.adreca-footer a:link,
.adreca-footer a:visited,
.n_telf {
  text-decoration: none !important;
  color: #fff;
}

.contenidor-correu-footer {
  /* position: absolute; 
 /*  margin: 24px auto; 
 left: 0;
  top: 550px; */
  position: relative;
  left: -4px;
  top: 0;
  /* padding-top: 5px; */
  /* padding-left: 0; */

  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  outline: none;
}

.icon-correu-footer {
  width: 46px;
  height: 38px;
  padding: 0;
  /*PPM26/04/20241*/
  margin-left: 0;
  margin-right: 15px;
  border: 2px #fff;
  border-radius: 5px;
  /*margin-top: 6px;
  margin: 0 0 -3px 0;
  */ /*position: relative;
  /*PPM19/05/2021Perpossarenhoverunafotodelaadraçadecorreu*/
  transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}

/*
.contenidor-correu-footer::after,
.contenidor-correu-footer::before {
  content: "";
  width: 150px;
  height: 30px;
  background-color: #ccc;
  color: var(--blau);
  position: absolute;
  top: 45px;
  left: 4px;
  z-index: 1000;
}
*/

.icon_face_footer {
  width: 36px;
  height: 30px;
  margin-top: 6px;
  padding: 4px;
  border: 2px solid #fff;
  border-radius: 5px 0 5px 0;
  cursor: pointer;
  transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}

.icon_face_footer:hover {
  background-color: #999;
}

.foto-correu-footer {
  visibility: hidden;
  opacity: 0;
  width: 150px;
  height: 30px;
  position: absolute;
  top: 45px;
  left: 3px;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
}

.icon-correu-footer:hover ~ .foto-correu-footer {
  visibility: visible;
  opacity: 1;
}

/*

.foto-correu-footer {
  display: none; /*  PPM 19/05/2021 Per possar en hover una foto de la adraça de correu 
}

.icon-correu-footer:hover .foto-correu-footer {
  display: block; /*  PPM 19/05/2021 Per possar en hover una foto de la adraça de correu 
} */

/* --------------------------------------------  */
/* ----  FORMULARI DE CONTACTE --------  */
/* --------------------------------------------  */

.contenidor-contacte {
  position: relative;
}

.form-contacte {
  visibility: hidden;
  width: 95%; /* 80%;  a full screen  */
  height: 90vh; /* 60vh;  a full screen  */
  padding: 8px; /* 16px;  /* 20px;  a full screen */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -90vh
  ); /* era (-50%, -80vh); a full screen 9/03/2021 */
  background-color: var(--color-fons);
  border: 1px solid var(--color-text);
  box-shadow: 5px 5px 5px blue;
  border-radius: 1em;
  color: #444;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  transition: 1s;
}

.form-contacte h2 {
  width: 100%;
  margin-top: 10px; /* PPM a 280px 9/03/2021 */
  margin-bottom: 10px;
  text-shadow: 5px 5px 5px blue; /* Ombra Titols */
  font-size: 2em; /* era a full screen 2.75rem; /* era 56px;  9/03/202/  */
  font-weight: 600;
  color: var(--color-h2);
  /*  font-size: 36px; */
  text-align: center;
}
.form-contacte .row100 {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  ); /* era (300px, 1fr) a full screen 9/03/2021 */
}
.form-contacte .row100 .col {
  position: relative;
  width: 100%;
  padding: 0 10px;
  margin: 30px 0 10px;
  transition: 0.5s;
}
.form-contacte .row100 .inputBox {
  position: relative;
  width: 100%;
  height: 30px; /* era 40px a full screen  9/03/2021 */
  color: var(--color-text);
}
.form-contacte .row100 .inputBox input,
.form-contacte .row100 .inputBox.textarea textarea {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: none;
  border: none;
  outline: none;
  font-size: 14px; /* A FULL SCREEN ERA 18px  9/03/2021 */
  line-height: 30px; /* PPM  9/03/2021 */
  padding: 0 10px;
  z-index: 1;
  color: var(--color-escrit);
}
.form-contacte .row100 .inputBox .text {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 30px; /* A FULL SCREEN ERA 40px  9/03/2021 */
  font-size: 18px; /* A FULL SCREEN ERA 18px  9/03/2021 */
  padding: 0 10px;
  display: block;
  transition: 0.5s;
  pointer-events: none;
}
.form-contacte .row100 .inputBox input:focus + .text,
.form-contacte .row100 .inputBox input:valid + .text {
  top: -35px;
  left: -10px;
}
.form-contacte .row100 .inputBox .line {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: 0.5s;
  border-radius: 2px;
  pointer-events: none;
}
.form-contacte .row100 .inputBox input:focus ~ .line,
.form-contacte .row100 .inputBox input:valid ~ .line {
  height: 100%;
}
.form-contacte .row100 .inputBox.textarea {
  position: relative;
  width: 100%;
  height: 100px;
  padding: 10px 0;
}
.form-contacte .row100 .inputBox.textarea textarea {
  height: 100%;
  resize: none;
}
.form-contacte .row100 .inputBox textarea:focus + .text,
.form-contacte .row100 .inputBox textarea:valid + .text {
  top: -35px;
  left: -10px;
}
.form-contacte .row100 .inputBox textarea:focus ~ .line,
.form-contacte .row100 .inputBox textarea:valid ~ .line {
  height: 100%;
}
input[type="submit"] {
  border: none;
  padding: 7px 35px;
  cursor: pointer;
  outline: none;
  background-color: var(--color-text);
  color: var(--color-fons);
  font-size: 18px;
  border-radius: 20px;
}
input[type="submit"]:hover {
  background-color: var(--color-hover);
  color: #fff; /* var(--color-escrit); */
}
input[type="submit"]:active {
  background-color: var(--color-hover);
  color: var(--color-escrit);
}

/* --------------------------------------------  */
/* ---  FI DE FORMULARI DE CONTACTE ---  */
/* --------------------------------------------  */

.footer-info {
  width: 100%;
  margin: auto;
  padding: 0.5em;
  color: #666;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
}

.footer-info a {
  font-size: 12px;
  text-decoration: none;
  color: #666;
}
.footer-info a:hover {
  color: #999;
}
.copy {
  font-size: 12px;
}
.mobil {
  display: none;
}

.footer-info a.dissenynet:hover {
  color: dodgerblue;
}
/*.legal {
  width: 50%;
  margin-bottom: 10px;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  color: #999;
}

/*  ----------------------------  */
/*  ------- Responsive -------  */
/*  ----------------------------  */

@media screen and (min-width: 320px) {
  /* PPM per ajustar dispositius diferents 28/01/2020 */
  header {
    height: 67vh; /* era 67vh; 28/01/2021  */
    min-height: 310px;
  }

  /* header .sebantoni_txt {
    /* PPM  8/02/2021    */
  /* font-size: 4rem; /*  8/02/2021  
  } */

  /* header .subtitol {
    /* font-size: 0.95rem; /*  12/02/2021 */
  /*  margin-bottom: 32px; 
  } */

  footer .contenidor-footer {
    width: 90%; /* PPM  5/03/2021 */
  }

  .adreca-footer {
    max-width: 70%; /* PPM 28/04/2021 */
  }
}

@media screen and (min-width: 360px) {
  /* header .textos {
    /* margin-top: 100px; TPM pel display-flex 16/12/2020 
  } */

  header .titol {
    /* font-size: 45px; /* era 65px; 16/12/2020 */
    font-size: 2rem; /* 1.5rem a 280px 5/02/2021 - 8rem;  era   75px;   22/01/2021  */
  }

  header .sebantoni_txt {
    /* PPM  5/02/2021    */
    font-size: 6.5rem; /*  5/02/2021 - 7.5rem; 28/01/2021 10em; era 140px 17/12/2020 */
  }

  header .subtitol {
    font-size: 1.15rem; /* era 20px 5/02/2021 - Calcular en rems  8/01/2021 */ /* erq 25px;  16/12/2020 */
    /*  margin-bottom: 32px; */
  }

  /* .sobre_nosaltres {
    /* font-size: 46px;   
  } */

  /* .slogan {
    /* font-size: 20px;  
  } */

  .paragraf {
    font-size: 1rem; /* a 280px era 14px;   5/02/2021 -   PPM  sense serien uns 16px per defecte 1/02/2021  */
    text-align: justify;
  }

  .damunt {
    width: 50%; /* era 60%; fins a 320px  15/02/2021 -  5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 30%; /*  era 30%; fins a 320px 15/02/2021 - 10%; escriptori  - PPM era 100% 11/12/2020 */
  }

  footer .contenidor-footer {
    width: 90%; /* PPM  5/03/2021 */
  }

  .adreca-footer {
    max-width: 63%; /*era 71%; 29/04/20241 - PPM 28/04/2021 */
  }
}

@media screen and (min-width: 411px) {
  /* PPM per ajustar dispositius diferents 28/01/2020 */
  header {
    height: 75vh; /* era 67vh; 28/01/2021  */
  }

  /* header .titol {
    /* font-size: 2rem; /*  11/02/2021  50px;  era 75px; 16/12/2020 */
  /* letter-spacing: 1px; /* PPM espai a sebantoni txt 16/12/2020 
  } */

  header .sebantoni_txt {
    font-size: 6rem; /* 11/02/2021  105px; /* Calcular en rems  8/01/2021 */
    /* letter-spacing: 3px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .subtitol {
    font-size: 0.8rem; /*   11/02/2021  22px; /* erq 25px;  16/12/2020 */
    /* margin-bottom: 55px; /* era 32px; 16/12/2020 */
  }

  .damunt {
    width: 45%; /* 50%; a 320px  60%; a 280px 15/02/2021 -   5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
  }
  footer .contenidor-footer {
    width: 65%; /* PPM  5/03/2021 */
  }

  .adreca-footer {
    max-width: 55%; /* PPM 28/04/2021 */
  }
}

@media screen and (min-width: 540px) {
  /*  era 610px   11/02/2021 */
  /* header .textos {
    /* margin-top: 130px; TPM 16/12/2020 pel display-flex
  } */

  /* header .titol {
    /* font-size: 2rem; /*  11/02/2021  50px;  era 75px; 16/12/2020 */
  /* letter-spacing: 1px; /* PPM espai a sebantoni txt 16/12/2020 
  } */

  header .sebantoni_txt {
    font-size: 8rem; /* 11/02/2021  105px; /* Calcular en rems  8/01/2021 */
    /* letter-spacing: 3px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .subtitol {
    font-size: 1.05rem; /*   11/02/2021  22px; /* erq 25px;  16/12/2020 */
    /* margin-bottom: 55px; /* era 32px; 16/12/2020 */
  }

  .damunt {
    width: 30%; /* 60% 15/02/2021 - 50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 30%; /* 30% 15/02/2021 - 10%; escriptori  - PPM era 100% 11/12/2020 */
  }

  .imatges {
    flex-grow: 1;
  }

  .card {
    width: 45%; /* era 90%;  8/02/2021   */
  }

  .contenidor_adreca {
    width: 50%; /* era 260px; a 280px - 80%;  22/02/2021  */
  }

  .fondo {
    height: auto;
  }

  .especial {
    display: none;
  }

  .cliente {
    width: 90%;
    height: 200px;
    margin-bottom: 50px;
  }
  .adreca-footer {
    max-width: 42%; /* PPM 29/04/2021 */
  }
}

@media screen and (min-width: 768px) {
  header {
    height: 75vh; /* era 67vh; 12/02/2021  */
    min-height: 390px;
  }

  /* header .textos {
    /* width: 96%; /* PPM 8/02/2021  
  } */

  header .titol {
    font-size: 2.5rem; /*  11/02/2021 50px; /* era 75px; 16/12/2020 */
    /* letter-spacing: 1px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .sebantoni_txt {
    /* PPM  5/02/2021    */
    font-size: 13rem; /*  5/02/2021 - 7.5rem; 28/01/2021 10em; era 140px 17/12/2020 */
    /*letter-spacing: 3px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .subtitol {
    font-size: 1.7rem; /* 2.3rem;  era 20px 5/02/2021 - Calcular en rems  8/01/2021 */ /* erq 25px;  16/12/2020 */
    /*  margin-bottom: 32px; */
  }

  header .boto,
  .boto {
    padding: 6px; /*  era 6px;   12/02/2021  */
    width: 128px; /* era 128px;  12/02/2021 */
  }

  .sobre_nosaltres {
    font-size: 50px; /* era 46px a menys resolució  - PPM  8/02/2021  */
  }

  .slogan {
    font-size: 22px; /*  era 20px;  a menys resolució  - PPM  8/02/2021  */
  }

  .galeria {
    width: 100%;
    height: auto; /*600px; /* era auto a 280px  8/02/2021   */
    display: flex;
    flex-direction: row;
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    /* flex-direction: row; /* PPM proba  imatges en columne per mobil 1/02/2021  */
    /* overflow: hidden; */
  }

  .imatges {
    width: 45%; /* era 100%;  per q capiguen dues 8/02/2021 */
    height: 500px; /*  era 500px;    1/02/2021   */
    position: relative;
    overflow: hidden;
  }

  .damunt {
    width: 50%; /* 60%; /* 50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 12%; /*30%; /* 10%; escriptori  - PPM era 100% 11/12/2020 */
  }

  .damunt h4 {
    top: 20%; /*  20%; /* PPM  era 15% 28/01/21 - 45% 11/12/2020 */
    font-size: 24px; /* 20px;   8/02/2021 /* 18px; 16px;  5/02/2021/* PPM  era 20px 28/01/21 - 16/12/2020 */
  }

  .damunt div {
    top: 22%; /*  20%; /* PPM era 17%  28/01/21 - 46% 11/12/2020 */
  }

  .cards {
    /*  width: 100%; /*  NO ACtua !!!  PPM per q ocupin de dos en dos  8/02/2021 */
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    width: 47%; /*  PPM per q ocupin de dos en dos  8/02/2021 */
  }

  .contenidor_adreca {
    width: 50%; /* era 260px; a 280px - 80%;  22/02/2021  */
  }

  footer {
    width: 100%;
    height: 250px; /* 28/04/2021 - 320px 27/04/2021 -auto;  14/04/2021 /* 500px; /*  era auto;  24/02/2021 */
    /* background: #444; */
  }

  /* PPM 3/03/2021  */
  footer .contenidor-footer {
    width: 100%; /*  era 90%;  avanç horaris 14/04/2021 */
    height: 180px; /* 28/04/2021 - era 150px;  avanç horaris 14/04/2021 */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    /* background: rgb(17, 37, 124);  ajusa per centrar */
  }
  /* .adreca-footer h2 {
    /* margin-left: -115px;  
  } */

  .adreca-footer {
    width: 90%; /* PPM 28/04/2021 */
  }

  .adreca-footer:nth-child(1) {
    width: 30%; /*27%; 29/04/2021 - era 28%; 28/04/2021 - era 30% 27/04/2021 - 80%  5/03/2021 */
    /*left: 0; /* era 15px; 28/04/2021 */
    margin-left: auto;
    margin-right: auto;
  }
  .adreca-footer:nth-child(2) {
    width: 24%; /* 22%; 29/04/2021 - era 23%; 28/04/2021 - era 30% 27/04/2021 - 80%  5/03/2021 */
    /*left: 0; /* era 15px; 28/04/2021 */
    margin-left: auto;
    margin-right: auto;
  }
  .adreca-footer:nth-child(3) {
    width: 27%; /*24%; 29/04/2021 - era 30% 27/04/2021 - 80%  5/03/2021 */
    /*left: 0; /* era 15px; 28/04/2021 */
    margin-left: auto;
    margin-right: auto;
  }
  .adreca-footer:nth-child(4) {
    width: 13%; /*12%; 29/04/2021 - era 10% 27/04/2021 */
    /*left: 0; /* era 15px; 28/04/2021 */
    margin-left: auto;
    margin-right: auto;
  }

  .foto-correu-footer {
    width: 120px;
    left: -3px;
  }

  /* PPM per horaris 14/04/2021 */
  /* .boto_form {
    width: 80px;
    height: 40px;
    /* margin-right: 10px; 
    padding: 0;
  } */

  .footer-info {
    width: 100%;
    margin: 0;
    padding: 5px;
    background-color: #000;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
  }
  .mobil {
    display: block;
  }
}

@media screen and (min-width: 900px) {
  /* header {
    /* flex-wrap: wrap; /* PPM per q a 900 trenqui els titols 16/12/2020 */
  /* -webkit-background-attachment: fixed; /* PPM per escriptori i mobils no 15/02/2021  */
  /*background-attachment: fixed; /* PPM per escriptori i mobils no 15/02/2021  
  } */

  header .titol {
    font-size: 3rem; /*  55px;  11/02/2021 40px; /* era 75px; 16/12/2020 */
    /* letter-spacing: 1px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .sebantoni_txt {
    font-size: 15rem; /*16rem;  80px;  11/02/2021 Calcular en rems  8/01/2021 */
    /* letter-spacing: 3px; /* PPM espai a sebantoni txt 16/12/2020 */
  }

  header .subtitol {
    font-size: 1.9rem; /*  11/02/2021  23px; /* erq 25px;  16/12/2020 */
    /* margin-bottom: 35px; /* era 32px; 16/12/2020 */
  }

  /* header .boto,
  .acerca-de .boto {
    /* padding: 0.9rem; /* PPM  11/02/2021  
  } */

  .damunt {
    width: 80%; /* 60%  50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 15%; /* 30%  10%; escriptori  - PPM era 100% 11/12/2020 */
  }

  .damunt h4 {
    top: 26%; /*  20%; /* PPM  era 15% 28/01/21 - 45% 11/12/2020 */
    font-size: 19px; /* 18px; 16px;  5/02/2021/* PPM  era 20px 28/01/21 - 16/12/2020 */
  }

  .damunt div {
    top: 27%; /* 22%; era a menys px 15/02/2021 -  20%; /* PPM era 17%  28/01/21 - 46% 11/12/2020 */
    width: 40px;
  }

  .cards {
    width: 100%; /*    PPM per q ocupin de dos en dos  8/02/2021 */
  }

  .card {
    width: 31%; /*PPM  802/2021  */
  }

  .imatges {
    width: 20%; /* era 100%;  per q capiguen dues 8/02/2021 */
    height: 500px; /*  era 500px;    1/02/2021   */
    position: relative;
    overflow: hidden;
  }

  .contenidor {
    /*  PPM   1/02/2021  */
    width: 90%;
    max-width: 1000px;
  }
}

footer .contenidor-footer {
  width: 90%;
  max-width: 1000px;
}
/* .contenidor-footer {
  width: 100%; /* PPM 1024 Ipad 27/04/2021 
} */
.adreca-footer {
  width: 90%;
}

/*
.adreca-footer:nth-child(1) {
  /*width: 22%; /* era 28% a mobil - 30% 27/04/2021 - 80%  5/03/2021 */
/* left: 5%; 
}
.adreca-footer:nth-child(2) {
  /*width: 18%; /* era 30% 27/04/2021 - 80%  5/03/2021 */
/* left: 2%; 
}
.adreca-footer:nth-child(3) {
  /*width: 20%; /* era 30% 27/04/2021 - 80%  5/03/2021 
  /* left: 1%; 
}
.adreca-footer:nth-child(4) {
  /*width: 10%; /* era 10% 27/04/2021 
  /*left: 0; /* PPM probar bé  14/04/2021 
}
*/
.foto-correu-footer {
  left: 3px;
}

@media screen and (min-width: 1100px) {
  .on_som {
    -webkit-background-attachment: fixed; /* era scroll;  a menys px  22/02/2021 */
    background-attachment: fixed; /* era scroll;  a menys px  22/02/2021 */
  }

  .on_som_arrivar_txt {
    width: 1000px; /* 260px; /* 80%; /* 50%; /* era 100%;  22/02/2021 */
  }

  .contenidor_adreca {
    width: 1000px; /* era 80%;  22/02/2021  */
  }

  .adreca_txt {
    font-size: 16px; /* PPM  22/02/2021*/
  }
}

@media screen and (min-width: 1200px) {
  header {
    -webkit-background-attachment: fixed; /* PPM per escriptori i mobils no 15/02/2021  */
    background-attachment: fixed; /* PPM per escriptori i mobils no 15/02/2021  */
  }

  .damunt {
    width: 60%; /* 60%  50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 15%; /* 30%  10%; escriptori  - PPM era 100% 11/12/2020 */
  }
}

@media screen and (min-width: 1400px) {
  .damunt {
    width: 50%; /* 60%  50%;    5/02/2021 /* 80%;     PPM era 100% 11/12/2020 */
    height: 15%; /* 30%  10%; escriptori  - PPM era 100% 11/12/2020 */
  }
}
