/*----- ESTILOS GENERALES -----*/ html, body { height: 100%; } /*modificar el modelo de cajas de CSS*/ html { -webkit-box-sizing: border-box; box-sizing: border-box; } *, *:before, *:after { -webkit-box-sizing: inherit; box-sizing: inherit; } /*resetear margenes y padding*/ * { margin: 0; padding: 0; } body { font-family: 'Open Sans' , sans-serif; } .container { width: 90%; max-width: 1366px; margin: 0 auto; } .container2 { position: relative; margin: 0 auto; } /*estilos de los contenidos* /*estilos del header*/ header { z-index: 900; position: absolute; -webkit-filter: none; filter: none; height: 50px; width: 100%; } #logo { background-size: contain; background-repeat: no-repeat; width: 35px; -webkit-filter: invert(100%); filter: invert(100%); padding: .5em 0; float: left; } #logo img { -webkit-transform: scale(.6); -ms-transform: scale(.6); transform: scale(.6); } #infoContacto { float: right; margin-top: 12px; } #infoContacto i { color: white; margin-right: 12px; font-size: 1.20rem; } /*----- SECCIÓN 1 - CABECERA -----*/ article > section:nth-child(1) { position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; height: 849px; } @-webkit-keyframes scale { 0%{-webkit-transform: scale(1);transform: scale(1);} 100%{-webkit-transform: scale(3);transform: scale(3);} } #filtro { position: absolute; height: 0; } #intro { background-size: cover; background-repeat: no-repeat; z-index: 20; display: -webkit-box; display: -ms-flexbox; display: flex; padding: 0px 0px; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; flex-flow: row wrap; width: 100%; height: 100%; min-height: 600px; } #bgintro { position: absolute; -webkit-animation: scale 25s infinite alternate linear; animation: scale 25s infinite alternate linear; background: -webkit-gradient(linear,left top, left bottom,from(#020505),color-stop(#020505),color-stop(#061113),color-stop(#153b41), color-stop(#006c84),color-stop(#bcc2be), color-stop(#ffccbb),color-stop(#fa916e),color-stop(#ffccbb), color-stop(#bcc2be), color-stop(#4dcbdf), color-stop(#3da6b6), to(#3da6b6)); background: -o-linear-gradient(#020505,#020505,#061113,#153b41, #006c84,#bcc2be, #ffccbb,#fa916e,#ffccbb, #bcc2be, #4dcbdf, #3da6b6, #3da6b6); background: linear-gradient(#020505,#020505,#061113,#153b41, #006c84,#bcc2be, #ffccbb,#fa916e,#ffccbb, #bcc2be, #4dcbdf, #3da6b6, #3da6b6); background-size: cover; background-repeat: no-repeat; z-index: 0; width: 100%; height: 100%; min-height: 600px; } @-webkit-keyframes scale { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-65%);transform: translateY(-65%);} } @keyframes scale { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-65%);transform: translateY(-65%);} } #textura { background-color: rgb(255, 115, 0); position: absolute; background-size: cover; background-repeat: repeat; z-index: 16; opacity: 0.3; width: 100%; height: 100%; min-height: 600px; bottom: 0; } #sol { position: absolute; -webkit-animation: solMove 25s infinite alternate linear; animation: solMove 25s infinite alternate linear; background: rgb(63,94,251); background: -o-radial-gradient(circle, rgb(250, 246, 235) 50%, rgb(245, 235, 181) 100%); background: radial-gradient(circle, rgb(250, 246, 235) 50%, rgb(245, 235, 181) 100%); background-color: white; -webkit-filter: drop-shadow(0px 0px 50px rgba(238, 207, 34, 0.466)); filter: drop-shadow(0px 0px 50px rgba(238, 207, 34, 0.466)); background-size: cover; background-repeat: no-repeat; z-index: 0; width: 200px; height: 200px; border-radius: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); left: 50%; top: 0%; } @-webkit-keyframes solMove { 0%{-webkit-transform: translateY(200%) translateX(-50%);transform: translateY(200%) translateX(-50%);} 100%{-webkit-transform: translateY(-100%) translateX(-50%);transform: translateY(-100%) translateX(-50%);} } @keyframes solMove { 0%{-webkit-transform: translateY(200%) translateX(-50%);transform: translateY(200%) translateX(-50%);} 100%{-webkit-transform: translateY(-100%) translateX(-50%);transform: translateY(-100%) translateX(-50%);} } #estrellas { -webkit-animation: estrellasMove 25s infinite alternate linear; animation: estrellasMove 25s infinite alternate linear; position: absolute; background-image: url(../images/estrellas1.png); background-size: contain; background-repeat: repeat; z-index: 3; width: 100%; height: 50%; } @-webkit-keyframes estrellasMove { 0% {opacity: .5;-webkit-transform: translateY(0);transform: translateY(0);} 30% {opacity: 0;-webkit-transform: translateY(-20%);transform: translateY(-20%);} 100% {opacity: 0;-webkit-transform: translateY(0);transform: translateY(0);} } @keyframes estrellasMove { 0% {opacity: .5;-webkit-transform: translateY(0);transform: translateY(0);} 30% {opacity: 0;-webkit-transform: translateY(-20%);transform: translateY(-20%);} 100% {opacity: 0;-webkit-transform: translateY(0);transform: translateY(0);} } #nubes1 { -webkit-animation: backgroundMove 60s linear infinite; animation: backgroundMove 60s linear infinite; position: absolute; z-index: 5; background-image: url(../images/nubes1.png); /*filter: url("#turbulence");*/ background-size: contain; background-repeat: no-repeat; background-position: top; opacity: .5; top: 0; left: 0; width: 100%; height: 100%; min-height: 600px; } @-webkit-keyframes backgroundMove { 0% {background-position: 300px top;} 100% {background-position: -1000px top;} } @keyframes backgroundMove { 0% {background-position: 300px top;} 100% {background-position: -1000px top;} } #sea { position: absolute; z-index: 10; background-image: url(../images/sea.jpg); background-size: contain; background-repeat: no-repeat; background-position: bottom; bottom: 0; left: 0; width: 100%; height: 100%; min-height: 600px; } #barco { -webkit-animation: barcoMove 80s linear infinite; animation: barcoMove 80s linear infinite; position: absolute; z-index: 11; -webkit-filter: brightness(30%); filter: brightness(30%); opacity: .5; background-image: url(../images/barco.png); background-size: contain; background-repeat: no-repeat; background-position: bottom; bottom: 62%; right: 0; width: 50px; height: 50px; } @-webkit-keyframes barcoMove { 0% {-webkit-transform: translateX(150%);transform: translateX(150%);} 100% {-webkit-transform: translateX(-4000%);transform: translateX(-4000%);} } @keyframes barcoMove { 0% {-webkit-transform: translateX(150%);transform: translateX(150%);} 100% {-webkit-transform: translateX(-4000%);transform: translateX(-4000%);} } /*GAVIOTA 1*/ .gaviota { -webkit-animation: gaviotaMove 30s linear infinite; animation: gaviotaMove 30s linear infinite; position: absolute; z-index: 11; -webkit-filter: brightness(30%); filter: brightness(30%); opacity: .5; background-image: url(../images/gaviota.png); background-size: contain; background-repeat: no-repeat; background-position: bottom; top: 100px; right: 0; width: 15px; height: 15px; &.ala1 { -webkit-animation: gaviotaMove 30s linear infinite, alaOpa 1s infinite linear; animation: gaviotaMove 30s linear infinite, alaOpa 1s infinite linear; background-image: url(../images/gaviota_ala1.png); } &.ala2 { -webkit-animation: gaviotaMove 30s linear infinite,alaOpa2 1s infinite linear; animation: gaviotaMove 30s linear infinite, alaOpa2 1s infinite linear; background-image: url(../images/gaviota_ala2.png); } } .gaviota2 { -webkit-animation: gaviotaMove 30s 1s linear infinite; animation: gaviotaMove 30s 1s linear infinite; position: absolute; z-index: 11; -webkit-filter: brightness(30%); filter: brightness(30%); opacity: .5; background-image: url(../images/gaviota.png); background-size: contain; background-repeat: no-repeat; background-position: bottom; top: 140px; right: 0; width: 15px; height: 15px; &.ala1 { -webkit-animation: gaviotaMove 30s 1s linear infinite, alaOpa 1s infinite linear; animation: gaviotaMove 30s 1s linear infinite, alaOpa 1s infinite linear; background-image: url(../images/gaviota_ala1.png); } &.ala2 { -webkit-animation: gaviotaMove 30s 1s linear infinite,alaOpa2 1s infinite linear; animation: gaviotaMove 30s 1s linear infinite, alaOpa2 1s infinite linear; background-image: url(../images/gaviota_ala2.png); } } .gaviota3 { -webkit-animation: gaviotaMove 30s 2s linear infinite; animation: gaviotaMove 30s 2s linear infinite; position: absolute; z-index: 11; -webkit-filter: brightness(30%); filter: brightness(30%); opacity: .5; background-image: url(../images/gaviota.png); background-size: contain; background-repeat: no-repeat; background-position: bottom; top: 180px; right: 0; width: 15px; height: 15px; &.ala1 { -webkit-animation: gaviotaMove 30s 2s linear infinite, alaOpa 1s infinite linear; animation: gaviotaMove 30s 2s linear infinite, alaOpa 1s infinite linear; background-image: url(../images/gaviota_ala1.png); } &.ala2 { -webkit-animation: gaviotaMove 30s 2s linear infinite,alaOpa2 1s infinite linear; animation: gaviotaMove 30s 2s linear infinite, alaOpa2 1s infinite linear; background-image: url(../images/gaviota_ala2.png); } } @keyframes gaviotaMove { 0% {-webkit-transform: translateX(150%) translateY(0);transform: translateX(150%) translateY(0);} 100% {-webkit-transform: translateX(-14000%) translateY(500%);transform: translateX(-14000%) translateY(500%);} } @-webkit-keyframes gaviotaMove { 0% {-webkit-transform: translateX(150%) translateY(0);transform: translateX(150%) translateY(0);} 100% {-webkit-transform: translateX(-14000%) translateY(500%);transform: translateX(-14000%) translateY(500%);} } @-webkit-keyframes alaOpa { 0% {opacity: 1;} 25% {opacity: 1;} 49% {opacity: 1;} 50% {opacity: 0;} 75% {opacity: 0;} 99% {opacity: 0;} 100% {opacity: 0;} } @-webkit-keyframes alaOpa2 { 0% {opacity: 0;} 25% {opacity: 0;} 49% {opacity: 0;} 50% {opacity: 1;} 75% {opacity: 1;} 99% {opacity: 1;} 100% {opacity: 1;} } @keyframes alaOpa { 0% {opacity: 1;} 25% {opacity: 1;} 49% {opacity: 1;} 50% {opacity: 0;} 75% {opacity: 0;} 99% {opacity: 0;} 100% {opacity: 0;} } @keyframes alaOpa2 { 0% {opacity: 0;} 25% {opacity: 0;} 49% {opacity: 0;} 50% {opacity: 1;} 75% {opacity: 1;} 99% {opacity: 1;} 100% {opacity: 1;} } #sea_filter { position: absolute; z-index: 15; background-image: url(../images/sea.jpg); -webkit-filter: url("#turbulence"); filter: url("#turbulence"); background-size: contain; background-repeat: no-repeat; background-position: bottom; bottom: 0; left: 0; width: 100%; height: 100%; min-height: 600px; } #descripcion { -webkit-filter: drop-shadow(0px 0px 1px white); filter: drop-shadow(0px 0px 1px white); -webkit-transform: translateY(90%); -ms-transform: translateY(90%); transform: translateY(90%); background-position: center; height: 40%; z-index: 20; -ms-flex-preferred-size: 100%; flex-basis: 100%; color: #fff; } #reloj { position: absolute; width: 100%; text-align: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: white; } #juanvaquero { position: absolute; background-image: url(../images/juanvaquero1.svg); background-repeat: no-repeat; background-position: center; width: 100%; height: 200px; } #juanvaquero2 { position: absolute; background-image: url(../images/juanvaquero2.svg); background-repeat: no-repeat; background-position: center; width: 100%; height: 200px; } #juanvaquero3 { position: absolute; background-image: url(../images/juanvaquero3.svg); background-repeat: no-repeat; background-position: center; width: 100%; height: 200px; } #juanvaquero4 { position: absolute; background-image: url(../images/juanvaquero4.svg); background-repeat: no-repeat; background-position: center; width: 100%; height: 200px; } #juanvaquero5 { position: absolute; background-image: url(../images/juanvaquero5.svg); background-repeat: no-repeat; background-position: center; width: 100%; height: 200px; } #descripcion h2 { z-index: 20; text-align: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; font-size: 1.8rem; font-family: arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ; margin-bottom: 25px; } #descripcion p { text-align: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; z-index: 20; margin-bottom: 30px; line-height: 1.65; } .infoContacto1, .infoContacto2, .infoContacto3 { z-index: 20; padding: 0 .5em; font-weight: 100; color: rgba(255, 255, 255, 0.5); text-decoration: none; -webkit-transform-origin: center; -ms-transform-origin: center; transform-origin: center; -webkit-transition: all .1s ease; -o-transition: all .1s ease; transition: all .1s ease; } .infoContacto1:hover { color: white; -webkit-transition: all .1s ease; -o-transition: all .1s ease; transition: all .1s ease; } .infoContacto2:hover { color: white; -webkit-transition: all .1s ease; -o-transition: all .1s ease; transition: all .1s ease; } .infoContacto3:hover { color: white; -webkit-transition: all .1s ease; -o-transition: all .1s ease; transition: all .1s ease; } #scroll1 { z-index: 20; position: absolute; background-position: center; bottom: 0%; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); width: 2em; height: 20%; } #scroll2 { z-index: 20; -webkit-animation: upDown 400ms 1s infinite alternate linear; animation: upDown 400ms 1s infinite alternate linear; position: absolute; background-position: center; bottom: 0%; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); width: 2em; height: 20%; } @-webkit-keyframes upDown { 0% {-webkit-transform: translateY(0%) translateX(-50%);transform: translateY(0%) translateX(-50%);} 100% {-webkit-transform: translateY(5%) translateX(-50%);transform: translateY(5%) translateX(-50%);} } @keyframes upDown { 0% {-webkit-transform: translateY(0%) translateX(-50%);transform: translateY(0%) translateX(-50%);} 100% {-webkit-transform: translateY(5%) translateX(-50%);transform: translateY(5%) translateX(-50%);} } /*----- SECCIÓN 2 MY WORK -----*/ article > section:nth-child(2) { padding: 0px 0; text-align: center; } #myWork { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } #myWorkB { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } #myWork h2 { -ms-flex-preferred-size: 100%; flex-basis: 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; text-align: center; } .container-all { max-width: 1000px; margin: auto; margin-top: 100px; } .container-box { background-position: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-box a { text-decoration: none; color: #181C2B; } .box { cursor: pointer; width: 345px; height: 280px; padding: 60px; background: #181C2B; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; background-size: cover; } .box:hover { -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p, .box .imagen { position: relative; z-index: 1; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box .imagen { width: 100%; padding: 0 20px; -webkit-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .box:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } .box h3 { text-align: center; padding: 0 20px; font-size: .9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } .box:hover h3 { -webkit-transform: translateY(10%); -ms-transform: translateY(10%); transform: translateY(10%); opacity: 1; color: #181C2B; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box p { font-size: 1em; } .box .background-hover { width: 100px; height: 100px; background: #F0EFEF; border-radius: 100%; top: 250px; left: -170px; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } .box:hover .background-hover { width: 500px; height: 500px; top: -80px; left: -80px; } /*CARD 1*/ #card1 { position: absolute; cursor: pointer; width: 1650px; height: 680px; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); background: #181C2B; background-position: right; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; background-size: cover; } #card1 .imagen { background-size: contain; width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card1 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 70%; height: 180%; background-size: contain; background-position: right; top: 0; right: -230px; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } .box h3, .box p { margin-top: 10px; } #card1 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card1:hover h3 { -webkit-transform: translateY(350%); -ms-transform: translateY(350%); transform: translateY(350%); opacity: 1; color: #181C2B; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card1 p { font-size: 3em; } #card1 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -100%; left: -100%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card1:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -5%; } /*CARD 2*/ #card2 { cursor: pointer; width: 825px; height: 680px; padding: 60px; left: 0%; background: #181C2B; background-image: url(../images/portada_pomona.jpg); background-position: right; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; margin: 0px; background-size: cover; } #card2 .imagen { width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card2:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card2 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 200%; height: 200%; background-size: contain; top: 0; left: 0; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } #card2:hover .imagen2 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } #card2 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card2:hover h3 { -webkit-transform: translateY(500%); -ms-transform: translateY(500%); transform: translateY(500%); opacity: 1; color: #181C2B; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card2 p { font-size: 3em; } #card2 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -115%; left: -115%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card2:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -10%; } /*CARD 3*/ #card3 { cursor: pointer; width: 825px; height: 680px; padding: 60px; left: 0%; background: #181C2B; background-position: center; background-image: url(../images/portada_yorokobu.gif); -webkit-filter: brightness(98%); filter: brightness(98%); background-position: right; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; margin: 0px; background-size: cover; } #card3 .imagen { width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card3:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card3 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 200%; height: 200%; background-size: contain; top: 0; left: 0; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } #card3:hover .imagen2 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } #card3 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card3:hover h3 { -webkit-transform: translateY(500%); -ms-transform: translateY(500%); transform: translateY(500%); opacity: 1; color: #181C2B; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card3 p { font-size: 3em; } #card3 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -115%; left: -115%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card3:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -10%; } /*CARD 4*/ #card4 { cursor: pointer; width: 1650px; height: 680px; padding: 60px; left: 0%; background-color: #373fe1; background-position: right; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; margin: 0px; background-size: cover; } .imagen_revista { height: 70%; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); background-size: cover; -webkit-animation: floating 5s infinite alternate linear; animation: floating 5s infinite alternate linear; } @-webkit-keyframes floating { 0% {-webkit-transform: translate(-50%,-50%) rotate(0deg);} 100% {-webkit-transform: translate(-50%,-50%) rotate(20deg);} } @keyframes floating { 0% {-webkit-transform: translate(-50%,-50%) rotate(0deg);} 100% {-webkit-transform: translate(-50%,-50%) rotate(20deg);} } #card4 .imagen { width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card4:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card4 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 200%; height: 200%; background-size: contain; top: 0; left: 0; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } #card4:hover .imagen2 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } #card4 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card4:hover h3 { -webkit-transform: translateY(500%); -ms-transform: translateY(500%); transform: translateY(500%); opacity: 1; color: #181C2B; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card4 p { font-size: 3em; } #card4 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -100%; left: -100%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card4:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -5%; } /*CARD 5*/ #card5 { cursor: pointer; width: 825px; height: 680px; padding: 60px; left: 0%; background: -webkit-gradient(linear, left top, left bottom, from(#7cd1ce), to(#44A29F)); background: -o-linear-gradient(top, #7cd1ce, #44A29F); background: linear-gradient(to bottom, #7cd1ce, #44A29F); //background-size: 15%; background-position: top; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; margin: 0px; background-repeat: no-repeat; } .imagen_mano { position: absolute; -webkit-animation: manomove 5s infinite alternate linear; animation: manomove 5s infinite alternate linear; height: 100%; top: 0; left: 50%; -webkit-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); transform: translate(-50%, 0); background-position: center; background-size: cover; } @-webkit-keyframes manomove { 0% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0);} 100% {-webkit-transform: translate(-50%, -20%);transform: translate(-50%, -20%);} } @keyframes manomove { 0% { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0);} 100% {-webkit-transform: translate(-50%, -20%);transform: translate(-50%, -20%);} } #card5 .imagen { width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card5:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; -webkit-filter: blur(1rem); filter: blur(1rem); } #card5 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 200%; height: 200%; background-size: contain; top: 0; left: 0; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } #card2:hover .imagen2 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } #card5 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card5:hover h3 { -webkit-transform: translateY(500%); -ms-transform: translateY(500%); transform: translateY(500%); opacity: 1; color: black; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card5 p { font-size: 3em; } #card5 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -115%; left: -115%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card5:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -10%; } /*CARD 6*/ #card6 { cursor: pointer; width: 825px; height: 680px; padding: 60px; left: 0%; animation: backgroundcolor 10s infinite alternate linear; -webkit-animation: backgroundcolor 10s infinite alternate linear; background-position: top; background-size: cover; text-align: center; position: relative; overflow: hidden; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; margin: 0px; background-repeat: no-repeat; } .imagen_interface { position: absolute; background-image: url(../images/ui/userinterface.png); -webkit-animation: floating2 5s infinite alternate linear; animation: floating2 5s infinite alternate linear; height: 100%; width: 100%; top: 0; left: 0%; background-position: center; background-size: contain; background-repeat: no-repeat; } @-webkit-keyframes floating2 { 0% {-webkit-transform:skew(0deg);transform:skew(0deg);} 100% {-webkit-transform:skew(15deg);transform:skew(15deg);} } @keyframes floating2 { 0% {-webkit-transform:skew(0deg);transform:skew(0deg);} 100% {-webkit-transform:skew(15deg);transform:skew(15deg);} } #card6 .imagen { width: 100%; padding: 0 40%; -webkit-transform: translateY(700%); -ms-transform: translateY(700%); transform: translateY(700%); } #card6:hover .imagen { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; -webkit-filter: blur(1rem); filter: blur(1rem); } #card6 .imagen2 { position: absolute; -webkit-animation: rotate 15s infinite linear; animation: rotate 15s infinite linear; width: 200%; height: 200%; background-size: contain; top: 0; left: 0; } @-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } @keyframes rotate { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);} } #card2:hover .imagen2 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); opacity: 0; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } .box h3, .box p { margin-top: 10px; } #card6 h3 { text-align: center; padding: 0 20px; font-size: 1.9em; font-weight: 100; -webkit-transform: translateY(100px); -ms-transform: translateY(100px); transform: translateY(100px); opacity: 0; } #card6:hover h3 { -webkit-transform: translateY(500%); -ms-transform: translateY(500%); transform: translateY(500%); opacity: 1; color: black; -webkit-transition: .3s ease all; -o-transition: .3s ease all; transition: .3s ease all; } #card6 p { font-size: 3em; } #card6 .background-hover { width: 1000px; height: 1000px; background: rgba(255, 255, 255, 0.87); border-radius: 100%; top: -115%; left: -115%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card6:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -10%; } @-webkit-keyframes backgroundcolor { 0% {background-color:#b21d44 ;} 35% {background-color:#5b1db2 ;} 65% {background-color: #77c1c6;} 100% {background-color: #77c697;} } @keyframes backgroundcolor { 0% {background-color:#b21d44 ;} 35% {background-color:#5b1db2 ;} 65% {background-color: #77c1c6;} 100% {background-color: #77c697;} } /*----- FOOTER -----*/ footer { z-index: 50; background-color: transparent; padding: 20px 0; } .copyright { text-align: center; float: right; color: black; padding-top: 8px; } #icons { width: 100%; display:-webkit-box; display:-ms-flexbox; display:flex; text-align: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; margin: .5em 0 .5em 0; } .mail, .telefono, .linkedin2, .cv , .instagram {color: black;} .nav { float: left; } #pieDePagina { overflow: hidden; } .nav li { display: inline-block; font-size: 0.80rem; padding: 12px 0 0; } .nav li a { color: black; text-decoration: none; } .nav li a:hover { text-decoration: underline; } #developed { font-size: .6rem; opacity: .5;} /*media queries*/ @media screen and (max-width: 3840px){ article > section:nth-child(1) { height: 825px; } .container { width: 91%; max-width: 3840px !important; } #bgintro, #textura, #sea, #sea_filter { width: 100%; max-width: 3840px !important; } h2 {padding: 180px 0 60px;} .nav li a {padding-right: 1.5rem;} } @media screen and (max-width: 1920px){ article > section:nth-child(1) { height: 940px; } article > section:nth-child(2) { position: relative; } h2 {padding: 50px 0 50px;} .nav li a {padding-right: 1.5rem;} .container { max-width: 1920px; } #descripcion { -webkit-transform: translateY(115%) !important; -ms-transform: translateY(115%) !important; transform: translateY(115%) !important; } #intro { height: 590px !important; } #card1 .imagen { padding: 0 35%; -webkit-transform: translateY(400%); -ms-transform: translateY(400%); transform: translateY(400%); margin-left: -40%; } #bgintro { -webkit-animation: scale2 25s infinite alternate linear; animation: scale2 25s infinite alternate linear; } @-webkit-keyframes scale2 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-40%);transform: translateY(-40%);} } @keyframes scale2 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-40%);transform: translateY(-40%);} } } @media screen and (max-width: 1600px){ article > section:nth-child(1) { background-repeat: no-repeat; background-size: cover; background-position: center; height: 930px; } h2 { padding: 50px 0 50px !important;} .nav li a {padding-right: 1.5rem;} #textura { background-size: cover; height: 100%; position: absolute; bottom: 0; } #descripcion { -webkit-transform: translateY(70%) !important; -ms-transform: translateY(70%) !important; transform: translateY(70%) !important; } .gaviota{ top: 60px; } .gaviota2 { top: 80px; } .gaviota3 { top: 100px; } #card1, #card4 { width: 1150px; height: 580px; } #card2, #card3, #card5, #card6 { width: 575px; height: 580px; background-position: center; } #card1 .imagen { padding: 0 30%; -webkit-transform: translateY(400%); -ms-transform: translateY(400%); transform: translateY(400%); margin-left: -40%; } #card1:hover .background-hover, #card4:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -15%; } #card2:hover .background-hover, #card3:hover .background-hover, #card5:hover .background-hover, #card6:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -25%; } #card2 .background-hover, #card3 .background-hover, #card5 .background-hover, #card6 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -150%; left: -150%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } } @media screen and (min-width: 960px) and (max-width: 1199px){ article > section:nth-child(1) { height: 770px; } .col h3 { font-size: 1.05rem; } h2 { padding: 180px 0 60px; font-size: 1.43rem; } .nav li a {padding-right: 1.5rem;} #bgintro { -webkit-animation: scaleb 25s infinite alternate linear; animation: scaleb 25s infinite alternate linear; } @-webkit-keyframes scaleb { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-20%);transform: translateY(-20%);} } @keyframes scaleb { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-20%);transform: translateY(-20%);} } #card1, #card4 { width: 800px; height: 400px; } #card1 .imagen { padding: 0 30%; -webkit-transform: translateY(400%); -ms-transform: translateY(400%); transform: translateY(400%); margin-left: -40%; } #card2, #card3, #card5, #card6 { width: 400px; height: 400px; background-position: center; } #card1:hover .background-hover, #card4:hover .background-hover { width: 2000px; height: 2000px; top: -100%; left: -45%; } #card1 .background-hover, #card4 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -150%; left: -150%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card2:hover .background-hover, #card3:hover .background-hover, #card5:hover .background-hover, #card6:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -60%; } #card2 .background-hover, #card3 .background-hover, #card5 .background-hover, #card6 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -250%; left: -250%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card1:hover h3 { -webkit-transform: translateY(200%); -ms-transform: translateY(200%); transform: translateY(200%); font-size: 1.5em; } #card2:hover h3,#card3:hover h3, #card4:hover h3, #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); font-size: 1.5em; } #card4:hover h3 { -webkit-transform: translateY(250%); -ms-transform: translateY(250%); transform: translateY(250%); } #card5:hover h3, #card6:hover h3{ -webkit-transform: translateY(250%); -ms-transform: translateY(250%); transform: translateY(250%); } } @media screen and (min-width: 800px) and (max-width: 959px){ #textura { background-size: cover; height: 100%; position: absolute; bottom: 0; } article > section:nth-child(1) { height: 896px; max-height: 896px; } h2 {padding: 155px 0 50px;} .nav li a {padding-right: 1.5rem;} #descripcion { -webkit-transform: translateY(30%) !important; -ms-transform: translateY(30%) !important; transform: translateY(30%) !important; } #bgintro { -webkit-animation: scale2 25s infinite alternate linear; animation: scale2 25s infinite alternate linear; } @-webkit-keyframes scale2 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-20%);transform: translateY(-20%);} } @keyframes scale2 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-20%);transform: translateY(-20%);} } #intro{ -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-flow: column wrap; flex-flow: column wrap; } h1 { font-size: 3.3rem; } #descripcion { -ms-flex-preferred-size: 100%; flex-basis: 100%; -webkit-box-flex: 0; -ms-flex-positive: 0; flex-grow: 0; padding: 0 0 0 0; position: relative; -webkit-transform: scale(0.8) !important; -ms-transform: scale(0.8) !important; transform: scale(0.8) !important; top: 23%; } article > section:nth-child(2){ padding: 0px 0; } #myWork { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-flow: column wrap; flex-flow: column wrap; } #card1, #card4, #card5, #card6 { width: 800px; height: 400px; } #card2, #card3 { width: 400px; height: 400px; } #card1:hover .background-hover, #card4:hover .background-hover { width: 2000px; height: 2000px; top: -100%; left: -45%; } #card1 .background-hover, #card4 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -150%; left: -150%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card2:hover .background-hover, #card3:hover .background-hover, #card5:hover .background-hover, #card6:hover .background-hover { width: 2000px; height: 2000px; top: -90%; left: -60%; } #card2 .background-hover, #card3 .background-hover, #card5 .background-hover, #card6 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -250%; left: -250%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card1:hover h3 { -webkit-transform: translateY(50%); -ms-transform: translateY(50%); transform: translateY(50%); } #card2:hover h3,#card3:hover h3, #card4:hover h3, #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); } #card4:hover h3 { -webkit-transform: translateY(250%); -ms-transform: translateY(250%); transform: translateY(250%); } #card5:hover h3, #card6:hover h3{ -webkit-transform: translateY(250%); -ms-transform: translateY(250%); transform: translateY(250%); } .col { padding: 30px 0; } #seccionTres { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-flow: column wrap; flex-flow: column wrap; } #seccionTres div { -ms-flex-preferred-size: 100%; flex-basis: 100%; padding: 0; } #seccionTres a { width: 100%; padding: 12px 0; text-align: center; } video { -ms-flex-preferred-size: 100%; flex-basis: 100%; width: 100%; } article > section:nth-child(4){ padding: 30px 0 0; } #seccionCuatro { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-flow: column; flex-flow: column; } #seccionCinco { text-align: center; } } @media screen and (min-width: 660px) and (max-width: 799px){ article > section:nth-child(1) { height: 905px; } #sea, #sea_filter { background-size: contain; width: 100%; height: 200px; background-size: bottom; bottom: 0; } .nav li a {padding-right: 1.5rem;} #sea_filter { z-index: 16; } #bgintro { bottom: 0; height: 100%; -webkit-animation: scalec 10s linear infinite alternate; animation: scalec 10s linear infinite alternate; } @-webkit-keyframes scalec { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-15%);transform: translateY(-15%);} } @keyframes scalec { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-15%);transform: translateY(-15%);} } #textura { background-size: cover; height: 100%; position: absolute; bottom: 0; } #juanvaquero, #juanvaquero2,#juanvaquero3,#juanvaquero4,#juanvaquero5{ position: absolute; background-repeat: no-repeat; background-position: center; width: 100%; height: 150px; } h2 { padding: 180px 0 60px; font-size: 1.43rem; } article > section:nth-child(2) { padding: 0px 0; } #card1 .imagen { background-size: contain; background-position: left; padding: 0 25%; margin-left: -25%; width: 90%; -webkit-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } #card1 h3, #card2 h3, #card3 h3, #card4 h3, #card5 h3 { font-size: 1.5em; margin-top: 7%; } #card1, #card4, #card5, #card6 { width: 600px; height: 300px; } #card2, #card3 { width: 300px; height: 300px; } #card1:hover .background-hover, #card4:hover .background-hover { width: 2000px; height: 2000px; top: -100%; left: -55%; } #card1 .background-hover, #card4 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -150%; left: -170%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card2:hover .background-hover, #card3:hover .background-hover, #card5:hover .background-hover, #card6:hover .background-hover { width: 2000px; height: 2000px; top: -100%; left: -100%; } #card2 .background-hover, #card3 .background-hover, #card5 .background-hover, #card6 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -300%; left: -300%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card1:hover h3 { -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); } #card2:hover h3,#card3:hover h3, #card4:hover h3, #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(50%); -ms-transform: translateY(50%); transform: translateY(50%); } #card4:hover h3, #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); } } @media screen and (max-width: 667px){ article > section:nth-child(1) { height: 700px; } header { height: 100px; } #infoContacto { top: 40%; position: absolute; width: 100%; text-align: center; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); } h2 {padding: 50px 0 50px;} .nav li a {padding-right: 0rem;} #textura { opacity: 0.5; -webkit-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); background-size: cover; height: 100%; position: absolute; bottom: 0; } #juanvaquero, #juanvaquero2,#juanvaquero3,#juanvaquero4,#juanvaquero5{ position: absolute; background-repeat: no-repeat; background-position: center; width: 100%; height: 100px; margin-top: 30%; padding: 0px 50px !important; } #bgintro { bottom: 0; height: 100%; -webkit-animation: scale3 10s linear infinite alternate; animation: scale3 10s linear infinite alternate; } @-webkit-keyframes scale3 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-5%);transform: translateY(-5%);} } @keyframes scale3 { 0%{-webkit-transform: translateY(0%);transform: translateY(0%);} 100%{-webkit-transform: translateY(-5%);transform: translateY(-5%);} } .gaviota, .gaviota2, .gaviota3 { margin-top: 60%; } #nubes1 { top: 30%; } #descripcion {margin-top: 30%;} #sol { -webkit-animation: solMove2 25s infinite alternate linear; animation: solMove2 25s infinite alternate linear; } @-webkit-keyframes solMove2 { 0%{-webkit-transform: translateY(200%) translateX(-50%);transform: translateY(200%) translateX(-50%);} 100%{-webkit-transform: translateY(0%) translateX(-50%);transform: translateY(0%) translateX(-50%);} } @keyframes solMove2 { 0%{-webkit-transform: translateY(200%) translateX(-50%);transform: translateY(200%) translateX(-50%);} 100%{-webkit-transform: translateY(0%) translateX(-50%);transform: translateY(0%) translateX(-50%);} } #sea, #sea_filter { width: 100%; bottom: 0; background-size: contain; -webkit-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); } #logo { top: 5%; position: absolute; text-align: center; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); left: 50%; float: center; width: 40px; } #card1 ,#card2, #card3,#card4, #card5, #card6 { width: 475px; height: 475px; background-position: center; } #card5 { background-position: top center; } #card1:hover .background-hover, #card4:hover .background-hover, #card2:hover .background-hover, #card3:hover .background-hover, #card5:hover .background-hover, #card6:hover .background-hover { width: 2000px; height: 2000px; top: -100%; left: -100%; } #card1 .background-hover, #card4 .background-hover , #card2 .background-hover, #card3 .background-hover, #card5 .background-hover, #card6 .background-hover { width: 1000px; height: 1000px; border-radius: 100%; top: -300%; left: -300%; background-repeat: no-repeat; position: absolute; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } #card1:hover h3 { -webkit-transform: translateY(5%); -ms-transform: translateY(5%); transform: translateY(5%); } #card2:hover h3,#card3:hover h3, #card4:hover h3, #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } #pieDePagina { text-align: center; } .nav { float: none; } .nav li { display: block; margin: 20px 0; } .copyright { float: none; border-top: 1px solid #3e3e3e; margin-top: 30px; } #card1 .imagen { padding: 0 20%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); margin-left: -50%; } #card1 .imagen2 { width: 130%; height: 160%; top: 20px; right: -230px; } #card1:hover h3 { -webkit-transform: translateY(100%); -ms-transform: translateY(100%); transform: translateY(100%); } #card2:hover h3, #card3:hover h3 { -webkit-transform: translateY(300%); -ms-transform: translateY(300%); transform: translateY(300%); } .imagen_revista { height: 50%; } #icons { display:-webkit-box; display:-ms-flexbox; display:flex; text-align: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-pack: distribute; justify-content: space-around; margin: 1em 0 1em 0; } } @media screen and (max-width: 568px) { article > section:nth-child(1) { //height: 566px; } article > section:nth-child(2) { text-align: center; } #reloj {top: -45%;} #textura { opacity: 0.5; -webkit-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); background-size: cover; height: 100%; position: absolute; bottom: 0; } .nav li a {padding-right: 0rem;} h2 {padding: 132px 0 50px;} #juanvaquero, #juanvaquero2,#juanvaquero3,#juanvaquero4,#juanvaquero5{ position: absolute; background-repeat: no-repeat; background-position: center; width: 100%; height: 100px; padding: 0px 50px !important; } #descripcion { margin-top:50% !important; } #sea, #sea_filter { width: 100%; bottom: 0; background-size: contain; -webkit-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); } .gaviota, .gaviota2, .gaviota3 { margin-top: 80%; } #card1 ,#card2, #card3,#card4, #card5, #card6{ width: 330px; height: 330px; } #card1:hover h3 { -webkit-transform: translateY(-25%); -ms-transform: translateY(-25%); transform: translateY(-25%); } #card2:hover h3, #card3:hover h3, #card4:hover h3 , #card5:hover h3, #card6:hover h3 { -webkit-transform: translateY(50%); -ms-transform: translateY(50%); transform: translateY(50%); } .imagen_revista { height: 50%; } #icons { display:-webkit-box; display:-ms-flexbox; display:flex; text-align: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-pack: distribute; justify-content: space-around; margin: 1em 0 1em 0; } #descripcion { margin-top: 90%; -webkit-transform: scale(.8)!important; -ms-transform: scale(.8)!important; transform: scale(.8)!important; } #card1 .imagen { padding: 0px 20%; -webkit-transform: translateY(-220%); -ms-transform: translateY(-220%); transform: translateY(-220%); margin-left: -59%; } } @media screen and (max-width: 480px) { article > section:nth-child(1) { height: 750px; } } /* -----ANIMATIONS----- */ @-webkit-keyframes leftRight { 0% {-webkit-transform: translateX(-40%);transform: translateX(-40%); opacity: 0;} 100% {-webkit-transform: translateX(0%);transform: translateX(0%); opacity: 1;} } @keyframes leftRight { 0% {-webkit-transform: translateX(-40%);transform: translateX(-40%); opacity: 0;} 100% {-webkit-transform: translateX(0%);transform: translateX(0%); opacity: 1;} }