/*----- ESTILOS GENERALES -----*/
html, body {
height: 100%;
max-width: 100% !important;
}
/*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 {
overflow-x: hidden;
font-family: 'Open Sans' , sans-serif;
}
.container {
width: 90%;
max-width: 1366px;
margin: 0 auto;
}
header {
position: absolute;
z-index: 900;
-webkit-filter: none;
filter: none;
height: 50px;
width: 100%;
}
.icono {
background-image: url(../images/firma.svg);
z-index: 1000;
position: absolute;
float: left;
-webkit-transform: translateY(0%);
-ms-transform: translateY(0%);
transform: translateY(0%);
background-size: contain;
background-repeat: no-repeat;
filter: invert(100%);
width: 10%;
height: 33.5%;
top: 30% !important;
left: 2%;
top: 0;
}
#logo {
padding: 1em 0;
float: left;
}
#infoContacto {
float: right;
margin-top: 12px;
}
#infoContacto i {
color: black;
margin-right: 12px;
font-size: 1.20rem;
}
.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;
}
/*-----
SECCIÓN 1 - FORM
-----*/
article > section:nth-child(1) {
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
background-image: -webkit-gradient( linear, left top, right top, from(rgba(22, 21, 21, 1)) , to(rgba(44,42,42,0.1))), url(../images/about/horizontal0.jpg);
background-image: -o-linear-gradient( left, rgba(22, 21, 21, 1) , rgba(44,42,42,0.1)), url(../images/about/horizontal0.jpg);
background-image: linear-gradient( to right, rgba(22, 21, 21, 1) , rgba(44,42,42,0.1)), url(../images/about/horizontal0.jpg);
width: 100%;
background-position-y: 40%;
left: 0;
top: 0%;
}
form {
position: absolute;
top: 18%;
left: 15%;
width: 70%;
color: #fff;
max-width: 650px;
padding: 1rem;
margin: 0 auto;
}
input, textarea {
width: 100%;
padding: .5rem;
color: #fff;
border: 1px solid white;
background-color: transparent;
}
input:hover, textarea:hover {
background-color: rgba(255, 255, 255, 0.514);
}
input[type=submit] {
padding: .5rem;
border-radius: 5px;
background-color: transparent;
cursor: pointer;
}
input[type=submit]:hover {
background-color: white;
cursor: pointer;
color: black;
}
label, small {
font-size: small;
}
/*-----
SECCIÓN 5 MÁS PROYECTOS
-----*/
.container-section {
position: absolute !important;
z-index: 1000 !important;
width: 100%;
}
a {
text-decoration: none;
width: 100%;
}
/*----- FOOTER -----*/
footer {
z-index: 100;
position: static;
z-index: 50;
background-color: transparent;
padding: 20px 0;
position: absolute;
bottom: 0;
width: 100%;
}
#icons {
width: 100%;
display:flex;
text-align: center;
align-items: center;
justify-content: space-between;
margin: .5em 0 .5em 0;
}
.mail, .telefono, .linkedin2, .cv , .instagram {color: white;}
.copyright {
text-align: center;
float: right;
color: white;
padding-top: 8px;
}
.nav {
float: left;
}
#pieDePagina {
overflow: hidden;
}
.nav li {
display: inline-block;
font-size: 0.80rem;
padding: 12px 0 0;
}
.nav li a {
color: white;
text-decoration: none;
padding-right: 1.5rem;
}
.nav li a:hover {
text-decoration: underline;
}
#developed {
font-size: .6rem;
opacity: .5;}
/*------
MEDIA QUERIES
---------*/
@media screen and (max-width: 3840px){
.container {
width: 91%;
max-width: 3840px;
}
}
@media screen and (max-width: 1920px){
.container {
max-width: 1920px;
}
#intro {
height: 970px !important;
}
}
@media screen and (min-width: 960px) and (max-width: 1300px){
.col h3 {
font-size: 1.05rem;
}
form {left: 25%;
top: 36px;}
article > section:nth-child(1) {
position: absolute;
background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(22, 21, 21, 0.6)) , to(rgba(44,42,42,0.1))), url(../images/about/vertical.jpg);
background-image: -o-linear-gradient( top, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-image: linear-gradient( to bottom, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-position: center;
background-size: cover;
background-position: bottom;
background-position-y: 84%;
}
}
@media screen and (max-width: 959px){
header {
width: 100%;
}
article > section:nth-child(2){
padding: 0px 0;
}
.col {
padding: 30px 0;
}
article > section:nth-child(1) {
position: absolute;
background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(22, 21, 21, 0.6)) , to(rgba(44,42,42,0.1))), url(../images/about/vertical.jpg);
background-image: -o-linear-gradient( top, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-image: linear-gradient( to bottom, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-position: center;
background-size: cover;
background-position: bottom;
}
#seccionCinco {
text-align: left;
}
article > section:nth-child(5):hover {
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.5)), to(rgba(0, 0, 0, 0.5))) , url(../images/portada_peekaboo.jpg);
background: -o-linear-gradient(rgba(0,0,0,0.5), rgba(0, 0, 0, 0.5)) , url(../images/portada_peekaboo.jpg);
background: linear-gradient(rgba(0,0,0,0.5), rgba(0, 0, 0, 0.5)) , url(../images/portada_peekaboo.jpg);
-webkit-transition: .3s ease;
-o-transition: .3s ease;
transition: .3s ease;
background-size: cover;
background-position: center 40%;
}
}
@media screen and (max-width: 659px){
article > section:nth-child(1) {
position: absolute;
background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(22, 21, 21, 0.6)) , to(rgba(44,42,42,0.1))), url(../images/about/vertical.jpg);
background-image: -o-linear-gradient( top, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-image: linear-gradient( to bottom, rgba(22, 21, 21, 0.6) , rgba(44,42,42,0.1)), url(../images/about/vertical.jpg);
background-position: center;
background-size: cover;
background-position: bottom;
}
form {
position: relative;
top: 15%;
left: 0;
padding-bottom: 100px;
}
section {
width: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
}
header {
width: 100%;
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%);
}
.icono {
height: 32.5%;
top: 15% !important;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
left: 50%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
position: absolute;
float: center;
width: 30px;
}
footer {position: relative; top: 18%;}
article > section:nth-child(1) {
position: absolute;
height: 1000px;
}
/*SECCION 1*/
/*pie de pagina*/
#pieDePagina {
text-align: center;
}
.nav {
float: none;
}
.nav li {
display: block;
margin: 20px 0;
}
.copyright {
float: none;
border-top: 1px solid #fff;
margin-top: 30px;
}
#icons {
display:flex;
text-align: center;
align-items: center;
justify-content: space-around;
padding: 0 2em 0 2em;
margin: 1em 0 1em 0;
}
#developed {
font-size: .6rem;
opacity: .5;}
#icons {
display:flex;
text-align: center;
align-items: center;
justify-content: space-around;
margin: 1em 0 1em 0;
}
}
@media screen and (max-width: 480px){
p {line-height: 1.1 !important;}
#icons {
display:flex;
text-align: center;
align-items: center;
justify-content: space-around;
margin: 1em 0 1em 0;
}
}
/* -----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;}
}
@-webkit-keyframes color {
0% {background-color: white;}
100% {background-color: rgba(255, 255, 255, 0.699);}
}
@keyframes color {
0% {background-color: white;}
100% {background-color: rgba(255, 255, 255, 0.699);}
}