body {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
/*  font-family: 'Public Sans', sans-serif; */
  font-family: 'Roboto', sans-serif;
  background-color: #eeeeee;
}
* {
  box-sizing: border-box;
}
/*
#######################################
	GRID
#######################################
*/
.grid {
/*   display: block; */
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}
.grid::after {
  content: "";
  clear: both;
  display: table;
}
[class*="col-"] {
  padding: 10px;
}
@media screen and (min-width: 576px) {
  .grid {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 30px;
    margin: auto;
    width: 90%;
  }
  .col-1  {grid-column: span 1; }
  .col-2  {grid-column: span 2; }
  .col-3  {grid-column: span 3; }
  .col-4  {grid-column: span 4; }
  .col-5  {grid-column: span 5; }
  .col-6  {grid-column: span 6; }
  .col-7  {grid-column: span 7; }
  .col-8  {grid-column: span 8; }
  .col-9  {grid-column: span 9; }
  .col-10 {grid-column: span 10; }
  .col-11 {grid-column: span 11; }
  .col-12 {grid-column: span 12; }
}
/*
#######################################
	HEADER
#######################################
*/
nav {
  position: sticky;
  overflow: hidden;
  top: 0;
  background-color: #eeeeee;
  z-index: 999;
}

nav .active {
 font-weight: bold;
}
.menu {
  overflow: hidden;
  background-color: #eeeeee;
}
.menu a {
  float: left;
  display: block;
  color: #bbbbbb;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.menu a:hover {
  background-color: #aaaaaa;
  color: black;
}
.menu-right {
 float: right;
}
.menu .icon {
  display: none;
}
@media screen and (max-width: 1150px) {
  .menu .menu-right a {display: none;}
  .menu a.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 1150px) {
  .menu.responsive {position: sticky;}
  .menu.responsive .icon {
    position: fixed;
    right: 0;
    top: 0;
  }
  .menu.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.anchor { position:relative; top:-48px;}
/*
#######################################
	HOME
#######################################
*/
header {
  position: relative;
}
header .text1 {
  position: absolute;
  width: 100%;
  top: 13%;
  text-align: center;
  font-size: 4em;
}
@media screen and (max-width: 500px) {
  header .text1 {
    top: 2%;
  }
}
header .text2 {
  position: absolute;
  width: 100%;
  top: 50%;
  text-align: center;
  font-size: 2em;
  padding: 10px;
  background-color: #029EA0;
}
header .img1 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
}
header .img1 img {
  width: 60%;
  min-width: 300px;
  opacity: 1;
}

header .bg { 
  width: 100%;
/*  height: auto; */
  min-height: 750px;
  object-fit: cover;
  opacity: 0.4;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
/*
#######################################
	ARTICLE
#######################################
*/
.article {
  width: 100%;
  line-height: 1.6;
  top: 0;
}

.article img {
  width: 100%;
  aspect-ratio: 3 / 2;
}
.article h1 {
  font-weight: normal;
}
.article p {
  margin-top: 0;
}
@media screen and (min-width: 576px) {
  .imatgebox {
    height: 0;/* remove it from heigt calculation*/
    min-height: 100%;/* give it a min-height to match rows's height */
  }
}
.imatgebox {
  overflow: hidden;
}

.imatge {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.imatge img {
  object-fit: cover;
}
@media screen and (max-width: 576px) {
  .imatge img {
    aspect-ratio 3 / 2;
    object-fit: cover;
    translate: -200px;
 }
}
@media screen and (max-width: 2000px) {
  .imatge img {
    object-fit: cover;
    translate: -200px;
  }
}
.img {
  overflow: hidden;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
.imgm {
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}
.prova img {
 height: 100%;
 width: 100%;
 object-fit: cover;
}

.img img {
  aspect-ratio: 2 / 3; 
  height: 100%;
  object-fit: cover;
}
.mini img {
  width: 100%;
}
.article p {
  text-align: justify;
  text-justify: inter-word;
}
.titol img {
  width: 54px;
  vertical-align: middle;
}
.titol h1 { 
  display: inline-block;
  vertical-align: middle;
}
.titol {
  font-size: 1.2em; 
}
.desc {
  align-self: center;
}
/*
#######################################

#######################################
 */
.btn:link, .btn:visited {
  background-color: #029EA0;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn:hover, .btn:active {
  background-color: #247576;
}
.contactT {
  width: 100%;
  text-align: center;
  font-size: 3em;
}
.contact {
  width: 100%;
  text-align: center;
}
.contactI {
  display: block;
  margin: auto;
  width: 25%;
  min-width: 300px;
}
/*
#######################################
footer
#######################################
 */
footer {
  background-color: rgb(231, 226, 221);
  color: rgb(109, 104, 95);
}
footer img {
  width: 100%;
  /* aspect-ratio: 3 / 2; */
}

.flex {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.fcol {
  flex: 14%;
  max-width: 14%;
  padding: 0 4px;
}

.fcol img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 1000px) {
  .fcol {
    flex: 25%;
    max-width: 25%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .fcol {
    flex: 50%;
    max-width: 50%;
  }
}

/*
#######################################
Oportunidades
#######################################
 */
/*.opor {
  display: block;
}*/
.opor {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 30px;
}

.opor::after {
  content: "";
  clear: both;
  display: table;
}
[class*="opc-"] {
  padding: 10px;
  border-radius: 25px;
  border: 2px solid #000000;
}
@media screen and (min-width: 576px) {
  .opor {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
  }
  .opc-1  {grid-column: span 1; }
  .opc-2  {grid-column: span 2; }
  .opc-3  {grid-column: span 2; }
}

@media screen and (min-width: 1000px) {
  .opor {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
  }
  .opc-1  {grid-column: span 1; }
  .opc-2  {grid-column: span 2; }
  .opc-3  {grid-column: span 3; }
}

.opor2 {
  border-radius: 25px;
  border: 2px solid #000000;
  margin: 10px;
  padding: 10px;
  height: 100%;
}
.opor p {
  text-align: justify;
  text-justify: inter-word;
}
.opor .mas {
  text-align:center;
}
.opor a:link, .opor a:visited {
  background-color: #cccccc;
  color: #000000;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 25px;
  align: center;
}

.opor a:hover, .opor a:active {
  background-color: #dddddd;
}



/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 1000px) {
  .ocol {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .ocol {
    flex: 100%;
    max-width: 100%;
  }
}
