html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
  padding: 0;
  margin: 0;
  font-size: 100%;
  font-weight: normal;
 }
 table { border-collapse: collapse; border-spacing: 0; }
 td, th, caption { text-align: left; }
 img, fieldset { border: 0; }
 ol { padding-left: 1.4em;     list-style: decimal; }
 ul { padding-left: 1.4em; list-style:square; }
 q:before, q:after { content:''; }


 @font-face {
  font-family: "raleway";
  src: url("fonts/raleway.woff2");
}

@font-face {
  font-family: "raleway2";
  src: url("fonts/raleway2.woff2");
}

@font-face {
  font-family: "raleway3";
  src: url("fonts/raleway3.woff2");
}

@font-face {
  font-family: "raleway4";
  src: url("fonts/raleway4.woff2");
}

@font-face {
  font-family: "raleway5";
  src: url("fonts/raleway5.woff2");
}

@font-face {
  font-family: "raleway6";
  src: url("fonts/raleway6.woff2");
}

@font-face {
  font-family: "opensans";
  src: url("fonts/opensans.woff2");
}

@font-face {
  font-family: "opensans2";
  src: url("fonts/opensans2.woff2");
}



@media only screen and (max-width: 550px) and (min-width: 201px) and (orientation: portrait) /*1366x768*/{

  #rt-main, #rt-header, .rt-container, .rt-container .rt-grid-8, .rt-container .rt-grid-8,.rt-container .rt-grid-9, .footer-container, .rt-container .rt-grid-3, .rt-container .rt-grid-6 {width: 99%;}
  
   body{min-width: 100%;}
  
   .rt-container .rt-grid-4 {display: none;}

   #hola {
    display: none;
  }
       
  h1 {
    margin-top: 100px;
    text-align: center;
    font-size: 60px;
    line-height: 70px;
    font-family: 'roboto', sans-serif;
  }
  #container {
    margin: 0 auto;
    max-width: 890px;
  }
  p { text-align: center; }
   .toggle, [id^=drop] {
   display: none;
  }
  nav {
    margin: 0;
    padding: 0;
    background-color: #23282d;
    position: absolute;
    z-index: 9;
    width: 100%;
    font-size: 16px;
  }
  
  #logo {
    display: block;
    padding: 0 30px;
    float: left;
    font-size: 20px;
    line-height: 60px;
  }
  
  nav:after {
    content: "";
    display: table;
    clear: both;
  }
  
  nav ul {
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    width: 100%;
  }
  
  nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
    background-color: #23282d;
    width: 25%;
    text-align: center;
  }
  
  nav a {
    display: block;
    padding: 0 20px;
    color: #FFF;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    font-family: raleway4;
  }
  
  nav ul li ul li:hover { background: #23282d; }
  
  nav a:hover { background-color: #26323f; }
  
  nav ul ul {
    display: none;
    position: absolute;
    top: 60px;
  }
  
  nav ul li:hover > ul { display: inherit; }
  
  nav ul ul li {
    width: 170px;
    float: none;
    display: list-item;
    position: relative;
    width: 25%;
  }
  
  nav ul ul ul li {
    position: relative;
    top: -60px;
    left: 170px;
  }
  
 /* innecesario */
  
  li > a:only-child:after { content: ''; } /* innecesario */
  
  #tryit {
    display: none;
  }

  #hiddenpls img{
    z-index: 1;
    width: 180px;
    height: 60px;
  }
  
  /* Media Queries
  --------------------------------------------- */
  
  @media all and (max-width : 950px) {
  
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }
  
  nav { margin: 0; }
  
  .toggle + a,
   .menu { display: none; }
  
  .toggle {
    display: block;
    background-color: #23282d;
    padding: 0 20px;
    color: #FFF;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    border: none;
    font-family: raleway4;
  }
  
  .toggle:hover { background-color: #23282d; }
  
  [id^=drop]:checked + ul { display: block; }
  
  nav ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul .toggle,
   nav ul ul a { padding: 0 40px; }
  
  nav ul ul ul a { padding: 0 80px; }
  
  nav a:hover,
   nav ul ul ul a { background-color: #000000; }
  
  nav ul li ul li .toggle,
   nav ul ul a { background-color: #212121; }
  
  nav ul ul {
    float: none;
    position: static;
    color: #ffffff;
  }
  
  nav ul ul li:hover > ul,
  nav ul li:hover > ul { display: none; }
  
  nav ul ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul ul li { position: static;
  
  }
  }
  
  @media all and (max-width : 330px) {
  
  nav ul li {
    display: block;
    width: 94%;
  }
  
  nav li {
    position: relative;
      line-height: 2.5rem;
      text-align: center;
  }
  
  }

header {
  position: relative;
}

header img {
    width: 100%;
    height: 15rem;
    position: relative;
    display: inline-block;
    text-align: center;
    z-index: -1;
}

header {
  position: relative;
  display: inline-block;
  text-align: center;
}

header h2 {
  width: 90%;
  font-family: raleway2;
  font-size: 2.8em;
  color: white;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}



/*-------------------BODY---------------------*/
@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

* {
  box-sizing: border-box;
}

.dd_heading{
  text-align: center;
  font-family: roboto thin;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  font-family: var(--font-sans);
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.d_card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
@media (min-width: 600px) {
  .d_card {
    height: 350px;
  }
}
.d_card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e),
    -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.d_card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    color-stop(11.7%, rgba(0, 0, 0, 0.009)),
    color-stop(22.1%, rgba(0, 0, 0, 0.034)),
    color-stop(31.2%, rgba(0, 0, 0, 0.072)),
    color-stop(39.4%, rgba(0, 0, 0, 0.123)),
    color-stop(46.6%, rgba(0, 0, 0, 0.182)),
    color-stop(53.1%, rgba(0, 0, 0, 0.249)),
    color-stop(58.9%, rgba(0, 0, 0, 0.32)),
    color-stop(64.3%, rgba(0, 0, 0, 0.394)),
    color-stop(69.3%, rgba(0, 0, 0, 0.468)),
    color-stop(74.1%, rgba(0, 0, 0, 0.54)),
    color-stop(78.8%, rgba(0, 0, 0, 0.607)),
    color-stop(83.6%, rgba(0, 0, 0, 0.668)),
    color-stop(88.7%, rgba(0, 0, 0, 0.721)),
    color-stop(94.1%, rgba(0, 0, 0, 0.762)),
    to(rgba(0, 0, 0, 0.79))
  );
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.009) 11.7%,
    rgba(0, 0, 0, 0.034) 22.1%,
    rgba(0, 0, 0, 0.072) 31.2%,
    rgba(0, 0, 0, 0.123) 39.4%,
    rgba(0, 0, 0, 0.182) 46.6%,
    rgba(0, 0, 0, 0.249) 53.1%,
    rgba(0, 0, 0, 0.32) 58.9%,
    rgba(0, 0, 0, 0.394) 64.3%,
    rgba(0, 0, 0, 0.468) 69.3%,
    rgba(0, 0, 0, 0.54) 74.1%,
    rgba(0, 0, 0, 0.607) 78.8%,
    rgba(0, 0, 0, 0.668) 83.6%,
    rgba(0, 0, 0, 0.721) 88.7%,
    rgba(0, 0, 0, 0.762) 94.1%,
    rgba(0, 0, 0, 0.79) 100%
  );
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e),
    -webkit-transform calc(var(--d) * 2) var(--e);
}
.d_card:nth-child(1):before {
  background-image: url(images/piscina8.jpeg);
}
.d_card:nth-child(2):before {
  background-image: url(images/Fachada2.jpeg);
}
.d_card:nth-child(3):before {
  background-image: url(images/cubierta1.jpeg);
}
.d_card:nth-child(4):before {
  background-image: url(images/castillo8.jpg);
}
.d_card:nth-child(5):before {
  background-image: url(images/bar1.jpeg);
}
.d_card:nth-child(6):before {
  background-image: url(images/bar8.jpeg);
}
.d_card:nth-child(7):before {
  background-image: url(images/piscina3.jpeg);
}
.d_card:nth-child(8):before {
  background-image: url(images/cubierta4.jpeg);
}



.content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.heading {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.data-content {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

@media (hover: hover) and (min-width: 600px) {
  .d_card:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.heading) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
  }

  .d_card:hover,
  .d_card:focus-within {
    -webkit-box-align: center;
    align-items: center;
  }
  .d_card:hover:before,
  .d_card:focus-within:before {
    -webkit-transform: translateY(-4%);
    transform: translateY(-4%);
  }
  .d_card:hover:after,
  .d_card:focus-within:after {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .d_card:hover .content,
  .d_card:focus-within .content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .d_card:hover .content > *:not(.heading),
  .d_card:focus-within .content > *:not(.heading) {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
    transition-delay: calc(var(--d) / 8);
  }

  .d_card:focus-within:before,
  .d_card:focus-within:after,
  .d_card:focus-within .content,
  .d_card:focus-within .content > *:not(.heading) {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
  }
}

body h2 {
  font-size: 1.6em;
  font-family: raleway;
  letter-spacing: 4px;
  text-align: center;
}

body h3 {
  margin: 3rem 0 0 10%;
  width: 80%;
  font-size: 1em;
  letter-spacing: 1px;
  text-align: justify;
  color: rgb(117, 117, 117);
  font-family: opensans2;
}

#uno {
clear: both;
margin-top: 5rem;
}

#dos {
margin: 0;
padding: 0;
clear: both;
margin-bottom: 2rem;
margin:auto;
vertical-align:middle;
}

#tres {
  margin:auto;
  vertical-align:middle;
  margin-top: 2rem;
  display: none;
}

#cuatro {
  margin:auto;
  vertical-align:middle;
  margin-top: 2rem;
}

#cinco {
  margin-top: 5rem;
  text-decoration: underline;
}

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

.realfooter {
  margin: 0;
}

.fullfooter {
  width: 100%;
  height: 58%;
  max-height: 400px;
  position: absolute;
  z-index: 0;
}

.fullfooter img {
  width: 100%;
  height: 170%;
}

.firstfooter {
  width: 100%;
  height: 54%;
  max-height: 400px;
  position: absolute;
  z-index: 1;

}

.firstfooter img {
  width: 55%;
  height: 100px;
  margin: 5% 0 0 23%;

}

.firstfooter h4 {
  color: white;
  font-family: raleway6;
  display: flex;
  justify-content: center;  
  align-items: center;
  letter-spacing: 2px;
  width: 100%;
  font-size: 0.8em;
}

.firstfooter hr {
  width: 90%;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
  display: flex;
  justify-content: center;  
  align-items: center;
}

.secondfooter {
  width: 100%;
  max-height: 400px;
  height: 54%;
  position: absolute;
  z-index: 2;
  margin-top: 20%;
  margin-left: 0;
}

.secondfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 10px;
}

.secondfooter hr {
  margin: 3px 0 0 10px;
  width: 80px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.li2 {
  color: white;
  font-family: raleway6;
  font-size: 15px;
  margin: 0 0 0 18%;
}

.secondfooter ul {
  margin-top: 5%;
}

.secondfooter li {
  color: white;
  font-family: raleway6;
  text-decoration: none;
  list-style-type: circle;
  margin: 5% 0 0 18%;
  font-size: 15px;
}



.thirdfooter {
  width: 100%;
  height: 48%;
  margin-top: 80%;
  max-height: 350px;
  position: absolute;
  z-index: 1;
}

.thirdfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 10px;
}

.thirdfooter hr {
  margin: 3px 0 0 10px;
  width: 100px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.thirdfooter ul {
  margin-left: -12%;
}

.thirdfooter li {
  list-style: none;
  float: left;
  margin: 8% 0 0 12%;
}


.thirdfooter li img {
  width: 47px;
  height: 47px;
}

.thirdfooter h4 {
  position: absolute;
  font-family: opensans2;
  color: #ffc13c;
  font-size: 30px;
  width: 100%;
  letter-spacing: 2px;
  text-align: center;
  margin-top: 7rem;
}

@media all and (max-width : 350px) {
  
  .firstfooter h4 {
    color: white;
    font-family: raleway6;
    display: flex;
    justify-content: center;  
    align-items: center;
    letter-spacing: 2px;
    width: 100%;
    font-size: 0.6em;
  }

  .thirdfooter li {
    list-style: none;
    float: left;
    margin: 8% 0 0 10%;
  }
}


.contenedorfull {
  overflow: hidden;
}

body p {
  text-align: left;
}

.newbanner1 {
  overflow: hidden;
}

.newbanner1 img {
  width: 200%;
  margin-left: -6rem;
}
#cajacookies {
  box-shadow: 0px 0px 5px 5px #808080;
  background-color: white;
  color: black;
  padding: 10px;
  margin-left: 0px;
  margin-right: -15px;
  margin-bottom: 0px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 9999999999999;
  font-family: raleway4;

}
#cajacookies p {
  text-align: center;
}
#cajacookies button {
  color: black;
}
}

@media only screen and (max-width: 1019px) and (min-width: 551px) /*1366x768*/{

  #rt-main, #rt-header, .rt-container, .rt-container .rt-grid-8, .rt-container .rt-grid-8,.rt-container .rt-grid-9, .footer-container, .rt-container .rt-grid-3, .rt-container .rt-grid-6 {width: 99%;}
  
   body{min-width: 100%;}
  
   .rt-container .rt-grid-4 {display: none;}

   #hola {
    display: none;
  }
       
  h1 {
    margin-top: 100px;
    text-align: center;
    font-size: 60px;
    line-height: 70px;
    font-family: 'roboto', sans-serif;
  }
  #container {
    margin: 0 auto;
    max-width: 890px;
  }
  p { text-align: center; }
   .toggle, [id^=drop] {
   display: none;
  }
  nav {
    margin: 0;
    padding: 0;
    background-color: #23282d;
    position: absolute;
    z-index: 9;
    width: 100%;
    font-size: 16px;
  }
  
  #logo {
    display: block;
    padding: 0 30px;
    float: left;
    font-size: 20px;
    line-height: 60px;
  }
  
  nav:after {
    content: "";
    display: table;
    clear: both;
  }
  
  nav ul {
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    width: 100%;
  }
  
  nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
    background-color: #23282d;
    width: 25%;
    text-align: center;
  }
  
  nav a {
    display: block;
    padding: 0 20px;
    color: #FFF;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    font-family: raleway4;
  }
  
  nav ul li ul li:hover { background: #23282d; }
  
  nav a:hover { background-color: #26323f; }
  
  nav ul ul {
    display: none;
    position: absolute;
    top: 60px;
  }
  
  nav ul li:hover > ul { display: inherit; }
  
  nav ul ul li {
    width: 170px;
    float: none;
    display: list-item;
    position: relative;
    width: 25%;
  }
  
  nav ul ul ul li {
    position: relative;
    top: -60px;
    left: 170px;
  }
  
 /* innecesario */
  
  li > a:only-child:after { content: ''; } /* innecesario */
  
  #tryit {
    display: none;
  }

  #tryit img {
    width: 180px;
    height: 60px;
    margin-top: 5px;
  }

  #tryit a {
    line-height: 0px;
  }


  #hiddenpls img{
    z-index: 10;
    width: 180px;
    height: 60px;
  }

  /* Media Queries
  --------------------------------------------- */
  
  @media all and (max-width : 950px) {
  
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }
  
  nav { margin: 0; }
  
  .toggle + a,
   .menu { display: none; }
  
  .toggle {
    display: block;
    background-color: #23282d;
    padding: 0 20px;
    color: #FFF;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    border: none;
    font-family: raleway4;
  }
  
  .toggle:hover { background-color: #23282d; }
  
  [id^=drop]:checked + ul { display: block; }
  
  nav ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul .toggle,
   nav ul ul a { padding: 0 40px; }
  
  nav ul ul ul a { padding: 0 80px; }
  
  nav a:hover,
   nav ul ul ul a { background-color: #000000; }
  
  nav ul li ul li .toggle,
   nav ul ul a { background-color: #212121; }
  
  nav ul ul {
    float: none;
    position: static;
    color: #ffffff;
  }
  
  nav ul ul li:hover > ul,
  nav ul li:hover > ul { display: none; }
  
  nav ul ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul ul li { position: static;
  
  }
  }
  
  @media all and (max-width : 330px) {
  
  nav ul li {
    display: block;
    width: 94%;
  }
  
  nav li {
    position: relative;
      line-height: 2.5rem;
      text-align: center;
  }
  
  }
header {
  position: relative;
}

header img {
    width: 100%;
    height: 30vh;
    position: relative;
    display: inline-block;
    text-align: center;
    z-index: -2;
}

header {
  position: relative;
  display: inline-block;
  text-align: center;
}

header h2 {
    width: 90%;
    font-family: raleway2;
    font-size: 3.0em;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  z-index: -1;
}


@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

* {
  box-sizing: border-box;
}

.dd_heading{
  text-align: center;
  font-family: roboto thin;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  font-family: var(--font-sans);
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.d_card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
@media (min-width: 600px) {
  .d_card {
    height: 350px;
  }
}
.d_card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e),
    -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.d_card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    color-stop(11.7%, rgba(0, 0, 0, 0.009)),
    color-stop(22.1%, rgba(0, 0, 0, 0.034)),
    color-stop(31.2%, rgba(0, 0, 0, 0.072)),
    color-stop(39.4%, rgba(0, 0, 0, 0.123)),
    color-stop(46.6%, rgba(0, 0, 0, 0.182)),
    color-stop(53.1%, rgba(0, 0, 0, 0.249)),
    color-stop(58.9%, rgba(0, 0, 0, 0.32)),
    color-stop(64.3%, rgba(0, 0, 0, 0.394)),
    color-stop(69.3%, rgba(0, 0, 0, 0.468)),
    color-stop(74.1%, rgba(0, 0, 0, 0.54)),
    color-stop(78.8%, rgba(0, 0, 0, 0.607)),
    color-stop(83.6%, rgba(0, 0, 0, 0.668)),
    color-stop(88.7%, rgba(0, 0, 0, 0.721)),
    color-stop(94.1%, rgba(0, 0, 0, 0.762)),
    to(rgba(0, 0, 0, 0.79))
  );
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.009) 11.7%,
    rgba(0, 0, 0, 0.034) 22.1%,
    rgba(0, 0, 0, 0.072) 31.2%,
    rgba(0, 0, 0, 0.123) 39.4%,
    rgba(0, 0, 0, 0.182) 46.6%,
    rgba(0, 0, 0, 0.249) 53.1%,
    rgba(0, 0, 0, 0.32) 58.9%,
    rgba(0, 0, 0, 0.394) 64.3%,
    rgba(0, 0, 0, 0.468) 69.3%,
    rgba(0, 0, 0, 0.54) 74.1%,
    rgba(0, 0, 0, 0.607) 78.8%,
    rgba(0, 0, 0, 0.668) 83.6%,
    rgba(0, 0, 0, 0.721) 88.7%,
    rgba(0, 0, 0, 0.762) 94.1%,
    rgba(0, 0, 0, 0.79) 100%
  );
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e),
    -webkit-transform calc(var(--d) * 2) var(--e);
}
.d_card:nth-child(1):before {
  background-image: url(images/piscina8.jpeg);
}
.d_card:nth-child(2):before {
  background-image: url(images/Fachada2.jpeg);
}
.d_card:nth-child(3):before {
  background-image: url(images/cubierta1.jpeg);
}
.d_card:nth-child(4):before {
  background-image: url(images/castillo8.jpg);
}
.d_card:nth-child(5):before {
  background-image: url(images/bar1.jpeg);
}
.d_card:nth-child(6):before {
  background-image: url(images/bar8.jpeg);
}
.d_card:nth-child(7):before {
  background-image: url(images/piscina3.jpeg);
}
.d_card:nth-child(8):before {
  background-image: url(images/cubierta4.jpeg);
}


.content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.heading {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.data-content {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

@media (hover: hover) and (min-width: 600px) {
  .d_card:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.heading) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
  }

  .d_card:hover,
  .d_card:focus-within {
    -webkit-box-align: center;
    align-items: center;
  }
  .d_card:hover:before,
  .d_card:focus-within:before {
    -webkit-transform: translateY(-4%);
    transform: translateY(-4%);
  }
  .d_card:hover:after,
  .d_card:focus-within:after {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .d_card:hover .content,
  .d_card:focus-within .content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .d_card:hover .content > *:not(.heading),
  .d_card:focus-within .content > *:not(.heading) {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
    transition-delay: calc(var(--d) / 8);
  }

  .d_card:focus-within:before,
  .d_card:focus-within:after,
  .d_card:focus-within .content,
  .d_card:focus-within .content > *:not(.heading) {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
  }
}

body h2 {
  font-size: 1.6em;
  font-family: raleway;
  letter-spacing: 4px;
  text-align: center;
  text-decoration: underline;
}

header h2 {
  text-decoration: none;
  font-family: raleway2;
  font-size: 3.0em;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 10%;
  z-index: -1;
}

body h3 {
  margin: 3rem 0 0 10%;
  width: 80%;
  font-size: 1em;
  letter-spacing: 1px;
  text-align: justify;
  color: rgb(117, 117, 117);
  font-family: opensans2;
}

#uno {
  clear: both;
  margin-top: 5rem;
}

#dos {
margin: 0;
padding: 0;
clear: both;
margin-left: 18vw;
margin-bottom: 2rem;
}

#tres {
  margin:auto;
  vertical-align:middle;
  margin-top: 2rem;
}

#cuatro {
  margin:auto;
  vertical-align:middle;
  margin-top: 2rem;
}

#cinco {
  margin-top: 5rem;
}

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

.realfooter {
  margin-top: 0;
}

.fullfooter {
  width: 100%;
  height: 58%;
  max-height: 400px;
  position: absolute;
  z-index: 0;
}

.fullfooter img {
  width: 100%;
  height: 100%;
}

.firstfooter {
  width: 33.3%;
  height: 54%;
  max-height: 400px;
  position: absolute;
  z-index: 1;
  display: none;
}

.firstfooter img {
  width: 55%;
  margin: 25% 0 0 23%;

}

.firstfooter h4 {
  color: white;
  font-family: raleway6;
  display: flex;
  justify-content: center;  
  align-items: center;
  margin-top: 7%;
  letter-spacing: 2px;
  width: 100%;
}

.firstfooter hr {
  width: 90%;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
  display: flex;
  justify-content: center;  
  align-items: center;
}

.secondfooter {
  width: 35.6%;
  max-height: 400px;
  height: 54%;
  position: absolute;
  z-index: 2;
  margin-left: 5.5%;
}

.secondfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 50px;
}

.secondfooter hr {
  margin: 3px 0 0 50px;
  width: 80px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.li2 {
  color: white;
  font-family: raleway6;
  font-size: 15px;
  margin: 0 0 0 18%;
}

.secondfooter ul {
  margin-top: 5%;
}

.secondfooter li {
  color: white;
  font-family: raleway6;
  text-decoration: none;
  list-style-type: circle;
  margin: 5% 0 0 18%;
  font-size: 15px;
}



.thirdfooter {
  width: 45.4%;
  height: 54%;
  max-height: 400px;
  position: absolute;
  z-index: 1;
  margin-left: 50.6%;
}

.thirdfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 -30px;
}


.thirdfooter hr {
  margin: 3px 0 0 -30px;
  width: 100px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.thirdfooter ul {
  margin-left: -25%;
}

.thirdfooter li {
  list-style: none;
  float: left;
  margin: 7% 0 0 10%;
}

.thirdfooter li img {
  width: 47px;
  height: 47px;
}

.thirdfooter h4 {
  position: absolute;
  font-family: opensans2;
  color: #ffc13c;
  font-size: 30px;
  letter-spacing: 2px;
  margin: 30% 0 0 2%;
  transition: ease-in .5s;
}

.thirdfooter h4:hover {
  transition: all .5s;
  color: orange;
  text-shadow: 0px 0px 30px orange; 
  transform: scale(1.2);
  font-size: 35px;
}


.contenedorfull {
  overflow: hidden;
}

body p {
  text-align: left;
}
#cajacookies {
  box-shadow: 0px 0px 5px 5px #808080;
  background-color: white;
  color: black;
  padding: 10px;
  margin-left: 0px;
  margin-right: -15px;
  margin-bottom: 0px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 9999999999999;
  font-family: raleway4;

}
#cajacookies p {
  text-align: center;
}
#cajacookies button {
  color: black;
}

@media all and (max-width : 850px) and (orientation : landscape) {
 
  .newbanner1 img {
    margin-top: 60px;
  }

  .newbanner1 h2 {
    margin-top: 30px;
  }

  .fullfooter {
    height: 50rem;
  }

  .fullfooter img{
    height: 100%;
  }

}

}

@media only screen and (max-width: 7024px) and (min-width: 1021px) /*1366x768*/{

  #rt-main, #rt-header, .rt-container, .rt-container .rt-grid-8, .rt-container .rt-grid-8,.rt-container .rt-grid-9, .footer-container, .rt-container .rt-grid-3, .rt-container .rt-grid-6 {width: 99%;}
  
   body{min-width: 100%;}
  
   .rt-container .rt-grid-4 {display: none;}

   #hola {
    display: none;
  }
       
  h1 {
    margin-top: 100px;
    text-align: center;
    font-size: 60px;
    line-height: 70px;
    font-family: 'roboto', sans-serif;
  }
  #container {
    margin: 0 auto;
    max-width: 890px;
  }
  p { 
    text-align: center; 
  }

   .toggle, [id^=drop] {
   display: none;
  }


  nav {
    margin: 0;
    padding: 0;
    background-color: #23282d;
    position: absolute;
    z-index: 9;
    width: 100%;
    font-size: 16px;
  }
  
  #logo {
    display: block;
    padding: 0 30px;
    float: left;
    font-size: 20px;
    line-height: 60px;
  }
  
  nav:after {
    content: "";
    display: table;
    clear: both;
  }
  
  nav ul {
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    width: 100%;
  }
  
  nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
    background-color: #23282d;
    width: 20%;
    text-align: center;
  }
  
  nav a {
    display: block;
    padding: 0 0px;
    color: #FFF;
    font-size: 16px;
    line-height: 65px;
    text-decoration: none;
    font-family: raleway4;
  }
  
  nav ul li ul li:hover {
    background: #23282d;
  }
  
  nav a:hover {
    background-color: #26323f;
  }
  
  nav ul ul {
    display: none;
    position: absolute;
    top: 60px;
  }
  
  nav ul li:hover > ul {
    display: inherit;
  }
  
  nav ul ul li {
    width: 170px;
    float: none;
    display: list-item;
    position: relative;
    width: 20%;
  }
  
  nav ul ul ul li {
    position: relative;
    top: -60px;
    left: 170px;
  }
  
 /* innecesario */
  
  li > a:only-child:after { content: ''; } /* innecesario */
  
  #hiddenpls {
    display: none;
  }

  #tryit img {
    width: 180px;
    height: 60px;
    margin-top: 5px;
  }

  #tryit a {
    line-height: 0px;
  }


  /* Media Queries
  --------------------------------------------- */
  
  @media all and (max-width : 950px) {
  
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }
  
  nav { margin: 0; }
  
  .toggle + a,
   .menu { display: none; }
  
  .toggle {
    display: block;
    background-color: #23282d;
    padding: 0 20px;
    color: #FFF;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    border: none;
    font-family: raleway4;
  }
  
  .toggle:hover { background-color: #23282d; }
  
  [id^=drop]:checked + ul { display: block; }
  
  nav ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul .toggle,
   nav ul ul a { padding: 0 40px; }
  
  nav ul ul ul a { padding: 0 80px; }
  
  nav a:hover,
   nav ul ul ul a { background-color: #000000; }
  
  nav ul li ul li .toggle,
   nav ul ul a { background-color: #212121; }
  
  nav ul ul {
    float: none;
    position: static;
    color: #ffffff;
  }
  
  nav ul ul li:hover > ul,
  nav ul li:hover > ul { display: none; }
  
  nav ul ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul ul li { position: static;
  
  }
  }
  
  @media all and (max-width : 330px) {
  
  nav ul li {
    display: block;
    width: 94%;
  }
  
  nav li {
    position: relative;
      line-height: 2.5rem;
      text-align: center;
  }
  
  }

header img {
    width: 100%;
    z-index: -2;
}

header h2 {
    font-family: raleway2;
    font-size: 3.0em;
    color: white;
    display: flex;
    justify-content: center;  
    align-items: center;
    margin-top: -12%;
    margin-bottom: 15%;
    z-index: -1;
}


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

.realfooter {
  clear: both;
}

.fullfooter {
  width: 100%;
  height: 58%;
  max-height: 400px;
  position: absolute;
  z-index: 0;
  
}

.fullfooter img {
  width: 100%;
  height: 100%;
  max-height: 400px;
}

.firstfooter {
  width: 33.3%;
  height: 54%;
  max-height: 400px;
  position: absolute;
  z-index: 1;
}

.firstfooter img {
  width: 55%;
  margin: 25% 0 0 23%;

}

.firstfooter h4 {
  color: white;
  font-family: raleway6;
  display: flex;
  justify-content: center;  
  align-items: center;
  margin-top: 7%;
  letter-spacing: 2px;
  width: 100%;
}

/*-------------MEDIA QUERIES----------------*/

@media all and (max-width : 1250px) {
  
  .firstfooter h4 {
    color: white;
    font-family: raleway6;
    display: flex;
    justify-content: center;  
    align-items: center;
    margin-top: 7%;
    letter-spacing: 2px;
    width: 100%;
    font-size: 0.75em;
  }
}

.firstfooter hr {
  width: 90%;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
  display: flex;
  justify-content: center;  
  align-items: center;
  margin-left: 5%;
}

.secondfooter {
  width: 33.3%;
  max-height: 400px;
  height: 54%;
  position: absolute;
  z-index: 2;
  margin-left: 33.3%;

}

.secondfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 50px;
}

.secondfooter hr {
  margin: 3px 0 0 50px;
  width: 80px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.li2 {
  color: white;
  font-family: raleway6;
  font-size: 15px;
  margin: 0 0 0 18%;
}

.secondfooter ul {
  margin-top: 5%;
}

.secondfooter li {
  color: white;
  font-family: raleway6;
  text-decoration: none;
  list-style-type: circle;
  margin: 5% 0 0 18%;
  font-size: 15px;
}



.thirdfooter {
  width: 33.4%;
  height: 54%;
  max-height: 400px;
  position: absolute;
  z-index: 1;
  margin-left: 66.6%;

}

.thirdfooter h3 {
  font-family: raleway4;
  color: white;
  font-size: 21px;
  margin: 100px 0 0 -30px;
}


.thirdfooter hr {
  margin: 3px 0 0 -30px;
  width: 100px;
  height: 1px;
  background-color: #ffc13c;
  border-color: #ffc13c;
}

.thirdfooter ul {
  margin-left: -30%;
}

.thirdfooter li {
  list-style: none;
  float: left;
  margin: 8% 0 0 12%;
}

.thirdfooter li img {
  width: 47px;
  height: 47px;
}

.thirdfooter h4 {
  position: absolute;
  font-family: opensans2;
  color: #ffc13c;
  font-size: 30px;
  letter-spacing: 2px;
  margin: 30% 0 0 2%;
  transition: ease-in .5s;
}

.thirdfooter h4:hover {
  transition: all .5s;
  color: orange;
  text-shadow: 0px 0px 30px orange; 
  transform: scale(1.2);
  font-size: 35px;
}

body p {
  text-align: left;
}

@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

* {
  box-sizing: border-box;
}

.dd_heading{
  text-align: center;
  font-family: roboto thin;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  font-family: var(--font-sans);
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.d_card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
@media (min-width: 600px) {
  .d_card {
    height: 350px;
  }
}
.d_card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e),
    -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.d_card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    color-stop(11.7%, rgba(0, 0, 0, 0.009)),
    color-stop(22.1%, rgba(0, 0, 0, 0.034)),
    color-stop(31.2%, rgba(0, 0, 0, 0.072)),
    color-stop(39.4%, rgba(0, 0, 0, 0.123)),
    color-stop(46.6%, rgba(0, 0, 0, 0.182)),
    color-stop(53.1%, rgba(0, 0, 0, 0.249)),
    color-stop(58.9%, rgba(0, 0, 0, 0.32)),
    color-stop(64.3%, rgba(0, 0, 0, 0.394)),
    color-stop(69.3%, rgba(0, 0, 0, 0.468)),
    color-stop(74.1%, rgba(0, 0, 0, 0.54)),
    color-stop(78.8%, rgba(0, 0, 0, 0.607)),
    color-stop(83.6%, rgba(0, 0, 0, 0.668)),
    color-stop(88.7%, rgba(0, 0, 0, 0.721)),
    color-stop(94.1%, rgba(0, 0, 0, 0.762)),
    to(rgba(0, 0, 0, 0.79))
  );
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.009) 11.7%,
    rgba(0, 0, 0, 0.034) 22.1%,
    rgba(0, 0, 0, 0.072) 31.2%,
    rgba(0, 0, 0, 0.123) 39.4%,
    rgba(0, 0, 0, 0.182) 46.6%,
    rgba(0, 0, 0, 0.249) 53.1%,
    rgba(0, 0, 0, 0.32) 58.9%,
    rgba(0, 0, 0, 0.394) 64.3%,
    rgba(0, 0, 0, 0.468) 69.3%,
    rgba(0, 0, 0, 0.54) 74.1%,
    rgba(0, 0, 0, 0.607) 78.8%,
    rgba(0, 0, 0, 0.668) 83.6%,
    rgba(0, 0, 0, 0.721) 88.7%,
    rgba(0, 0, 0, 0.762) 94.1%,
    rgba(0, 0, 0, 0.79) 100%
  );
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e),
    -webkit-transform calc(var(--d) * 2) var(--e);
}
.d_card:nth-child(1):before {
  background-image: url(images/piscina8.jpeg);
}
.d_card:nth-child(2):before {
  background-image: url(images/Fachada2.jpeg);
}
.d_card:nth-child(3):before {
  background-image: url(images/cubierta1.jpeg);
}
.d_card:nth-child(4):before {
  background-image: url(images/castillo8.jpg);
}
.d_card:nth-child(5):before {
  background-image: url(images/bar1.jpeg);
}
.d_card:nth-child(6):before {
  background-image: url(images/bar8.jpeg);
}
.d_card:nth-child(7):before {
  background-image: url(images/piscina3.jpeg);
}
.d_card:nth-child(8):before {
  background-image: url(images/cubierta4.jpeg);
}




.content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.heading {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.data-content {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

@media (hover: hover) and (min-width: 600px) {
  .d_card:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.heading) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
  }

  .d_card:hover,
  .d_card:focus-within {
    -webkit-box-align: center;
    align-items: center;
  }
  .d_card:hover:before,
  .d_card:focus-within:before {
    -webkit-transform: translateY(-4%);
    transform: translateY(-4%);
  }
  .d_card:hover:after,
  .d_card:focus-within:after {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .d_card:hover .content,
  .d_card:focus-within .content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .d_card:hover .content > *:not(.heading),
  .d_card:focus-within .content > *:not(.heading) {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
    transition-delay: calc(var(--d) / 8);
  }

  .d_card:focus-within:before,
  .d_card:focus-within:after,
  .d_card:focus-within .content,
  .d_card:focus-within .content > *:not(.heading) {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
  }
}

body h2 {
  font-size: 1.6em;
  font-family: raleway;
  letter-spacing: 4px;
  text-align: center;
  text-decoration: underline;
}

header h2 {
  text-decoration: none;
  font-family: raleway2;
  font-size: 3.0em;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -12%;
  margin-bottom: 10%;
  z-index: -1;
}

body h3 {
  margin: 3rem 0 0 10%;
  width: 35%;
  font-size: 0.94vw;
  letter-spacing: 1px;
  text-align: left;
  color: rgb(117, 117, 117);
  font-family: opensans2;
}

#uno {
  clear: both;
  margin-top: 20vw;
}

#dos {
margin: 0;
padding: 0;
clear: both;
margin-left: 34vw;
}

#tres {
  float: left;
  margin-left: 10%;
  margin-top: 5vw;
}

#cuatro {
  float: left;
  margin-left: 8%;
  margin-top: 5vw;
}
#cajacookies {
  box-shadow: 0px 0px 5px 5px #808080;
  background-color: white;
  color: black;
  padding: 10px;
  margin-left: 0px;
  margin-right: -15px;
  margin-bottom: 0px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 9999999999999;
  font-family: raleway4;

}
#cajacookies p {
  text-align: center;
}
#cajacookies button {
  color: black;
}
}

