/*¿ ÍNDEX *************/
/*¿ 0.- tipografías&colores *************/
/*? font-family: 'Poppins', sans-serif; *************/
/*? color: #447ece; *************/
/*?  *************/
/*¿ 0.- reset *************/
/*¿ 1.- general *************/
/*¿ 2.- header *************/
/*¿ Image Hero ***********************/

/*¿ 3.- #triada *************/
/*¿ 4.- #txtIntro *************/
/*¿ 5.- #video *************/
/*¿ 6.- #servicios *************/
/*¿ 7.- #contacto *************/
/*¿ 8.- footer *************/
/*¿ 9.- @medias *************/

/*- *********** *************/
/*- 0.- reset *************/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  transition: all 0.7s;
}

body {
  overflow-x: hidden;
}

img,
video {
  object-fit: cover;
  width: 100%;
  border-radius: 3%;
}

a {
  color: inherit;
  text-decoration: none;
}

/*- *********** ********************/
/*- 1.- General ********************/

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  scroll-behavior:smooth;
}

h1,
h2 {
  font-size: 3em;
  color: #092c5e;
  padding-top: 25px;
  text-align: center;
}

section {
  padding: 2em 2em;
}

hr {
  border: none;
  border-top: 1px dashed#092c5e;
  width: 50%;
  margin: 0 auto;
}

/*- ******** ***********************/
/*- 2.- Menú ***********************/

header {
  position: fixed;
  width: 100%;
  padding: 0.3em 1.3em;
  background-color: #fefefe;
  border-bottom: 1px solid #333;
  box-shadow: 0 0 10px #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

header img {
  width: 10em;
  padding: 0.3em;
}
header > a {
  display: none;
}

header nav > a {
  display: inline-block;
  padding: 1.3em 2.1em;
  color: #092c5e;
  font-weight: 800;
}

header nav a:hover {
  background-color: #092c5e;
  color: #fefefe;
}

/*- ********** ***********************/
/*- Image Hero ***********************/

#hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5)), url("../img/barcelona.jpg");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
}

.hero-text h1{
  font-size: 40px;
  color:#eee;
}

.hero-text button{
  border: none;
  color: rgb(255, 255, 255);
  background-color: chocolate;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  margin-top: 50px;
}

#enunciado_servicios {
  padding-top: 100px;
  font-size: 30px;
  text-align: center;
  text-shadow: 1px 1px rgb(0, 0, 0);
}

/*- ********** ***********************/
/*- Servicios ***********************/

#triada {
  height: 40vh;
  display: flex;
  padding: 0;
}
#triada article {
  width: 15%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  filter: saturate(90%);
  flex-grow: 1;
  flex-shrink: 1;
  background-position: center;
  background-size: cover;
}

#triada article:hover {
  z-index: 10;
  filter: saturate(100%);
  box-shadow: 0 0 15px #333;
  flex-grow: 5;
}

#triada article:hover h2 {
  color: #ffffff;
  background-color:#092c5e;
}

#triada article:nth-of-type(1) {
  background-image: url(../img/img01.jpg);
}

#triada article:nth-of-type(2) {
  background-image: url(../img/img2.jpg);
}

#triada article:nth-of-type(3) {
  background-image: url(../img/img4.jpg);
}

#triada article:nth-of-type(4) {
  background-image: url(../img/img3.jpg);
}


#triada article h2 {
  width: 100%;
  font-size: 2em;
  line-height: 0.8em;
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.5);
  color: #333;
}

/*- ************ ***********************/
/*- 4.- txtIntro ***********************/

#txtIntro {
  min-height: 50vh;
  padding: 1em 5em;
  color: #092c5e;
  background-color: #fefefe;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px dotted #fefefe;
}

#txtIntro h1 {
  color: #fefefe;
}

#txtIntro h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}


/*- ************* ***********************/
/*- .- servicios ***********************/

#servicios {
  height: 100vh;
  display: grid;
  grid-template-columns: 25% 25% 50%;
  grid-template-rows: 25% 25% 50%;
  font-size: 0.8em;
  text-align: center;
}

#servicios img {
  height: 100%;
}

#servicios article {
  padding: 1em;
  align-self: center;
}

#servicios h2 {
  font-size: 1.7em;
}

#servicios article:nth-of-type(1) {
  grid-area: 2 / 1 / 3 / 4;
  font-size: 1.3em;
}

/*- ************* ***********************/
/*- .- Sticky Social Bar ***********************/

.icon-bar {
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 100;
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

.content {
  margin-left: 75px;
  font-size: 30px;
}


/*- ************ ***********************/
/*- Acordeon ***********************/

.accordion {
  background-color: rgb(7, 49, 104);
  color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
  margin: 10px 30px;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}



/*- ************ ***********************/
/*- Portfolio ***********************/

#portfolio{
  height: 100vh;
}

#portfolio h2{
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Center website */
/*.main {
  max-width: 1000px;
  margin: auto;
}

h1 {
  font-size: 50px;
  word-break: break-all;
}*/


.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 5px;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 48%;
  margin: 0.2%;
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  color: #092c5e;
  text-align: center;
  padding: 10px;
  border: 0.2px solid#092c5e;
  border-radius: 3%;
}



/*- ************ ***********************/
/*- 7.- contacto ***********************/

#contacto {
  display: flex;
  flex-wrap: wrap;
  padding: inherit 0;
}

#contacto h2, fieldset {
  width: 100%;
  text-align: center;
  padding: 20px;
}

#contacto article {
  width: 50%;
  padding: 2em;
}

#contacto iframe {
  width: 100%;
  height: 40vh;
}


#dos fieldset {
  padding: 1em;
  margin-bottom: 1em;
  border: 2px dotted #eee;
  background-color: rgb(68, 100, 46);
  border-radius: 0.8em;
}

#dos legend {
  font-size: 2em;
  font-weight: bold;
  padding: 0.3em;
}

#dos label {
  display: block;
  margin: 1em 0 0.5em;
}
#contacto input,
#contacto textarea {
  width: 60%;
  padding: 0.8em;
  background-color: rgb(251, 253, 249);
  border: none;
  border-bottom: 2px dotted #eee;
  border-radius: 0.3em;
  box-shadow: 0 0 0px #efefef;
  resize: none;
}

#contacto input:focus {
  outline: none;
  width: 100%;
  box-shadow: 0 0 10px #333;
  background-color: rgb(60, 68, 55);
}

/*- ********** ***********************/
/*- 8.- footer ***********************/

footer {
  background-color: #eee;
  color: #333;
  border-top: 1px solid #333;
  box-shadow: 0 0 10px #333;
  text-align: center;
  padding: 1em 3em;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

footer img {
  width: 100px;
}

footer article {
  text-align: right;
  font-size: 0.8em;
}

/*- *********** ***********************/
/*- 9.- @medias ***********************/

@media (max-width: 550px) {
  /*- ** general ***********************/

  section {
    padding: 2em 0.5em;
  }

  /*- ** header ***********************/

  header > a {
    display: block;
  }
  nav {
    display: none;
  }

  /*- ** txtIntro ***********************/

  #txtIntro h1 {
    font-size: 2em;
  }

  /*- ** triada ***********************/

  #triada article h2 {
    font-size: 1.4em;
  }

  /*- ** servicios ***********************/
  #servicios {
    min-height: 100vh;
    grid-template-columns: 50% 50%;
    grid-template-rows: 20% 20% 20% 20% 20%;
    padding: 0.5em;
  }

  #servicios article:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 3;
  }

  #servicios article:nth-of-type(2) {
    grid-area: 2 / 2 / 4 / 3;
  }

  #servicios article:nth-of-type(3) {
    grid-area: 3 / 1 / 5 / 2;
  }

  #servicios article:nth-of-type(4) {
    grid-area: 5 / 1 / 6 / 3;
  }

  #servicios img:nth-of-type(2) {
    display: none;
  }

  #servicios img:nth-of-type(3) {
    grid-area: 4 / 2 / 5 / 3;
  }

/*- ** contacto ***********************/

  #contacto {
    flex-direction: column;
  }
  #contacto article {
    width: 100%;
  }


  
}


/***************Lista de precios*****/
#precios {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#precios .swiper-container {
  width: 100%;
  padding-bottom: 50px !important;
}

#precios .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 380px !important;
  max-width: 90%;
  background: #ddd;
  box-shadow: 0 15px 50px rgba(0,0,0,.15);
  filter: blur(2px);
}

#precios .swiper-slide-active {
  filter: blur(0);
  background: #fff;
}

/*  ..................   */

#precios .pricing_card h2/*> div:first-of-type*/ {
  background-color: #ffffff;
  text-align: center;
  padding-top: 25px;
  font-size: 50px;
}

#precios .pricing_card p/*> div:first-of-type*/ {
  background-color: #ffffff;
  text-align: center;
  padding-bottom: 25px;
  font-size: 18px;
}

/* CUADRO VERDE */
#precios .pricing_card > div > .h2 {
  padding: 3em 0;
  text-align: center;
  font-size: 30px;
  clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 0m), 0% 100%);
  background-color: rgb(7, 46, 83);
  color: #efefef;
}

/* PRECIO EN € */
#precios .pricing_card > div > .h1 {
  font-family: 'Squada One', cursive;
  text-align: center;
  padding: 1rem 0;
}

/* SIMBOLO € */
#precios .pricing_card > div > .h1 > span {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: .5em;
  font-weight: 600;
  vertical-align: top;
  margin-right: 0.5rem;
}

/* LISTADO DE CARACTERÍSTICAS */
#precios .pricing_card > ul {
  list-style: none;
  text-align: center;
  background-color: #e9e9e9;
}
#precios .pricing_card > ul > li {
  padding: 1.2em 0;
  font-weight: 600;
  font-size: 1em;
}
#precios .pricing_card > ul > li:not(:last-of-type){
    border-bottom: 1px solid #ccc;
}

/* ZONA BOTÓN Y MENSAJE DE ALERTA */
#precios .pricing_card > div:nth-of-type(2){
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em 0;
}

#precios .pricing_card > div > .small {
  color: #333;
  font-weight: 500;
  padding: 0 2rem;
  text-align: center;
}
