/*RESET CSS*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Open Sans', sans-serif;
    color: white;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

/*INTRO ------------------------------*/
#intro {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: url(Img/interfaz/BGintro.jpg) no-repeat;
    background-size: cover;
    background-position: left bottom;
    transition: 1s background-position ease;
}


header {
    width: 100%;
    display: grid;
    justify-content: center;
}

.logo {
    width: 100%;
    max-width: 300px;
    mix-blend-mode: hard-light;
}

.logoDesk {
    display: none;
}

.info {
    margin: 25px 0 10px;
    text-align: center;
}

.fotoYorch {
    width: 75%;
    margin-bottom: 20px;
    max-width: 250px;
    /*Variante*/
    display: none;
}

h2 {
    font-size: 7.5vw;
    font-weight: 600;
    line-height: 1.1em;
    padding-bottom: 5px;
}

h3 {
    font-size: 6.5vw;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.2em;
    padding-bottom: 25px;
}

p {
    font-size: 1.2em;
    line-height: 1.3em;
    font-weight: 400;
}

p span {
    font-size: 0.7em;
    line-height: 0.1em;
}

/*GENERALES ------------*/
.paddingSeccion {
    padding: 40px 40px 50px;
}

.titSeccion {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}

.lastLetter {
    letter-spacing: 0;
}

/*PORTAFOLIO -----------*/
#portafolio {
    background-color: #e5235f;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

.icSeccPort {
    opacity: 0.7;
    width: 70%;
}

h1 {
    font-size: 8vw;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    position: absolute;
}

.verMasButton {
    display: flex;
    width: 100%;
    height: 2.2em;
    justify-content: center;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #E5235F;
    background-color: white;
    border: white solid 2px;
    letter-spacing: 0.25em;
}

.flip {
    display: inline-block;
    transform: scale(-1, 1);
}

/*SERVICIOS ----------------*/
#servicios {
    background-color: #153d69;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.icSeccServ {
    width: 60%;
    opacity: 0.5;
    mix-blend-mode: multiply;

}

.servBox {
    margin-top: -25px;
}

.servInfo {
    margin-bottom: 50px;
}

.icServ {
    margin: 0 0 10px 0;
}

.menos {
    transform: scale(0.9);
}

.izquierda {
    margin: 0 0 10px -10px;
}

h4 {
    font-family: 'Rowdies', cursive;
    font-size: 1.7em;
    line-height: 1em;
    margin-bottom: 15px;
}

.nota {
    font-size: 0.8em;
    font-weight: 300;
    line-height: 0.1em;
}

.nota a,
.nota a:hover {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/*CONTACTO ----------------*/
#contacto {
    background-color: #0f8681;
    text-align: center;
}

.icSeccContact {
    width: 70%;
    mix-blend-mode: difference;
}

.WAbox {
    margin: 0 0 1em -1em;
    display: flex;
    justify-content: center;
}

.WAbox img {
    transform: scale(0.6)
}

.WAbox span {
    margin-left: -10px;
}

.WAbox a {
    display: flex;
    align-items: center;
    font-family: 'Rowdies', cursive;
    font-size: 1.8em;
    line-height: 1.1em;
    color: #FFF;
    text-decoration: none;

}

.LIicon {
    transform: scale(0.6)
}

/*FORM ----------*/
.formularioBox {
    /*ACTIVAR CUANDO FUNCIONE EL FORMULARIO*/
    display: none;
    width: 100%;
    padding-top: 25px;
}

.campo::placeholder {
    font-size: 0.9em;
    line-height: 1.4em;
    font-weight: 300;
    color: white;
    opacity: 0.75;
}

.campo,
textarea {
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    line-height: 1.4em;
    font-weight: 400;
    color: white;
    background-color: hsla(0, 0%, 100%, 0.3);
    border: white solid 0.15em;
    padding: 7px 10px;
    margin: 25px 0 0 0;
}

#CreateForm textarea {
    height: 100px;
    max-height: 200px;
}

.EnviarBox {
    display: flex;
    justify-content: center;
    margin: 25px 0 10px 0;
}

.EnviarButton {
    display: flex;
    width: 100%;
    height: 2.2em;
    justify-content: center;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #0f8681;
    background-color: white;
    border: white solid 2px;
    letter-spacing: 0.25em;
}

/*FOOTER ------------*/
footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: url(Img/interfaz/BGfooter.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
    transition: 1s background-position ease;
}

.footerBox {
    text-align: center;
}

.footerBox img {
    width: 100%;
    max-width: 500px;
    mix-blend-mode: overlay;
    opacity: 0.8;
}

footer p {
    margin-top: 2em;
    font-size: 1em;
    line-height: 1em;
    font-weight: 400;
    color: #eedc66;
}


/*TABLET -------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {

    /*INTRO ------------*/
    #intro {
        background-position: right bottom;
    }

    .info {
        display: flex;
        margin-top: 35px;
    }

    .fotoBox {
        margin-top: 2.3em;
    }

    .fotoYorch {
        min-width: 250px;
        /*Variante*/
        display: block;
    }

    .yosoyBox {
        text-align: left;
        padding: 0 1.5em;
    }

    h2 {
        font-size: 4vw;
    }

    h3 {
        font-size: 3.2vw;
        line-height: 1em;
        padding-bottom: 25px;
    }

    p {
        font-size: 1.2em;
        line-height: 1.4em;
    }


    /*GENERALES ------------*/
    .paddingSeccion {
        padding: 40px;
    }

    /*PORTAFOLIO -----------*/
    .icSeccPort {
        width: 40%;
    }

    h1 {
        font-size: 6vw;
        letter-spacing: 0.8em;
    }

    .verMasButton {
        height: 2.4em;
        font-size: 1.2em;
        letter-spacing: 0.35em;
    }

    /*SERVICIOS ----------------*/
    .servBox {
        display: flex;
        flex-wrap: wrap;
    }

    .icSeccServ {
        width: 30%;
    }

    .servInfo {
        margin: 0 15px 50px 15px;
        width: calc(50% - 30px);
        text-align: center;
    }

    .icServ {
        transform: scale(1);
        margin: 0 0 15px 0;
    }

    h4 {
        font-size: 1.8em;
        line-height: 1.1em;
        margin-bottom: 20px;
    }

    /*CONTACTO ----------------*/
    .icSeccContact {
        width: 38%;
    }

    .WAbox {
        margin: 1em 0 1em -1em;
    }

    .WAbox img {
        transform: scale(0.8)
    }

    .WAbox a {
        font-size: 2.5em;
    }

    .LIicon {
        margin-top: 1em;
        transform: scale(0.8)
    }

    /*FORM ----------*/
    .campo::placeholder {
        font-size: 1em;
    }

    .formContact {
        height: 10em;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 1.5em;
    }

    .campo,
    textarea {
        width: calc(50% - 20px);
        margin: 0 10px;
    }

    .msgField {
        height: 100% !Important;
    }

    .EnviarBox {
        margin: 25px 10px 10px;
    }

    .EnviarButton {
        height: 2.4em;
        font-size: 1.2em;
        letter-spacing: 0.35em;
    }

    /*FOOTER ------------*/
    .footerBox {
        padding: 1em 0;
    }

    .footerBox img {
        width: 75%;
    }

    footer p {
        font-size: 1.1em;
    }

}

/*ESCRITORIO ---------------------------------------------------------------*/
@media screen and (min-width: 992px) {
    header {
        margin-top: -20px;
        width: 80%;
        justify-content: left;
    }

    .logo {
        display: none;
    }

    .logoDesk {
        display: block;
        width: 100%;
        min-width: 300px;
        max-width: 500px;
        mix-blend-mode: hard-light;
    }

    .info {
        margin: 5em auto 1em;
        width: 75%;
        max-width: 1200px;
    }

    .fotoBox {
        margin-top: 1em;
    }

    .fotoYorch {
        min-width: 300px;
    }

    .yosoyBox {
        margin-left: 3.5em;
        padding: 1.8em 1.5em 0;
        max-width: 800px;
    }

    h2 {
        font-size: 2.3vw;
    }

    h3 {
        font-size: 2vw;
    }

    p {
        font-size: 1.2em;
    }

    p span {
        font-size: 0.8em;
    }

    /*PORTAFOLIO -----------*/
    .box-max {
        max-width: 1200px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .icSeccPort {
        width: 80%;
    }

    h1 {
        font-size: 3.5vw;
        letter-spacing: 1em;
    }

    .verMasButton,
    .js .verMasButton {
        /*Meto la clase JS para centrar el texto del boton*/
        width: 20%;
        padding-left: 0.7em;
    }

    .verMasButton:hover {
        background-color: #1254A1;
        color: white;
        transition: .3s background-color ease;
    }

    /*SERVICIOS ----------------*/
    .icSeccServ {
        width: 65%;
    }

    .servBox {
        margin-top: 1em;
        max-width: 1200px;
    }

    .servInfo {
        margin: 0 30px 60px 30px;
        width: calc(33.33% - 60px);
    }

    h4 {
        margin-bottom: 25px;
    }

    .nota {
        font-size: 0.8em;
        font-weight: 300;
        line-height: 0.1em;
    }

    .nota a:hover {
        color: darkorange;
    }

    /*CONTACTO ----------------*/
    .icSeccContact {
        width: 18%;
    }

    .WAbox img,
    .LIicon {
        transform: scale(0.65)
    }

    .WAbox a {
        font-size: 2em;
    }

    /*FORM ----------*/
    .formularioBox {
        max-width: 1100px;
        margin: 0 auto;
    }

    .EnviarButton {
        width: 20%;
    }

    .EnviarButton:hover {
        background-color: #e5235f;
        color: white;
        transition: .3s background-color ease;
    }
}


/*ESCRITORIO ---------------------------------------------------------------*/
@media screen and (min-width: 1619px) {
    .fotoYorch {
        margin-left: 3em;
    }
}
