@import url("https://fonts.googleapis.com/css2?family=Mulish&family=Petit+Formal+Script&family=Source+Serif+Pro:wght@600&display=swap");
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background-image: url(../valeria_s_meijide-360.png);
    background-color: #e5e5e5;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Mulish', sans-serif;
    color: #333;
}

h1 {
    font-family: 'Source Serif Pro', serif;
}

h2 {
    font-family: 'Petit Formal Script', cursive;
    font-size: 1.2rem;
    color: #777;
}

body {
    padding-top: 101%;
}

.card {
    padding: 1rem;
    background-color: rgba(229, 229, 229, 0.95);
}

header,
nav {
    width: 100%;
    padding: .5rem 0;
}

ul {
    list-style: none;
    margin: 0.5rem 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

ul a {
    color: inherit;
    width: 2em;
    height: 2em;
    margin: 0 0.3125rem;
    border-radius: 50%;
    border-width: 0.125em;
    border-style: solid;
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 1.625em;
    font-size: 1.5rem;
    position: relative;
}

ul a svg {
    width: .9em;
    height: .9em;
    margin-top: .4em;
}

.sgv-icono path {
    fill: rgba(0, 0, 0, 0.8);
}

.redes-in:hover .sgv-icono path {
    fill: #e5e5e5;
}

.redes-wp,
.redes-in,
.redes-cp {
    -webkit-transition: none !important;
    transition: none !important;
}

.redes-in:hover {
    border-color: #2867B2;
    background: #2867B2;
}

.redes-wp:hover .sgv-icono path,
.redes-cp:hover .sgv-icono path {
    fill: #e5e5e5;
}
.redes-cp  .sgv-icono {
   transform: scale(1.4);
}

.redes-cp:hover {
    border-color: #111;
    background: #111;
}

.redes-wp:hover {
    border-color: #21759b;
    background: #21759b;
}

ul a:focus,
ul a:active,
ul a:hover {
    background-color: rgba(255, 255, 255, .85);
}

ul a:focus {
    outline-width: 0;
}

ul a::after {
    content: '';
    display: block;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    border-width: 0.18em;
    border-style: solid;
    border-color: rgba(255, 255, 255, .85);
    position: absolute;
    top: -0.30em;
    left: -0.30em;
    opacity: 0;
}

ul a:hover::after {
    opacity: 0.3;
}

noscript {
    position: fixed;
    z-index: 99999;
    top: 20px;
    display: block;
    width: 300px;
    text-align: center;
    padding: 10px;
    border: 1px dashed #222;
    left: 50%;
    top: 30%;
    margin-left: -150px;
}

.csstransitions ul a::after,
.csstransitions ul a {
    -webkit-transition: background .3s linear;
    transition: background .3s linear;
}

.csstransitions ul a:focus,
.csstransitions ul a:active,
.csstransitions ul a:hover {
    -webkit-transition-duration: .1s;
    transition-duration: .1s;
}

.fondo-animado {
    background-position: -0.5rem 0;
    -webkit-animation-name: holafoto;
    animation-name: holafoto;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

.cargado.fondo-animado {
    -webkit-animation-play-state: running;
    animation-play-state: running;
}

.cssanimations .card {
    opacity: 0;
    -webkit-animation-name: hola;
    animation-name: hola;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

.cssanimations .cargado .card {
    -webkit-animation-play-state: running;
    animation-play-state: running;
}

@-webkit-keyframes holafoto {
    0% {
        background-position: -3px 0;
    }
    100% {
        background-position: top left;
    }
}

@keyframes holafoto {
    0% {
        background-position: -3px 0;
    }
    100% {
        background-position: top left;
    }
}

@-webkit-keyframes hola {
    0% {
        -webkit-transform: translateY(-.6rem);
        transform: translateY(-.6rem);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes hola {
    0% {
        -webkit-transform: translateY(-.6rem);
        transform: translateY(-.6rem);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

@-webkit-keyframes upa {
    0%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        -webkit-transform: translateY(-.5rem);
        transform: translateY(-.5rem);
        opacity: .6;
    }
}

@keyframes upa {
    0%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        -webkit-transform: translateY(-.5rem);
        transform: translateY(-.5rem);
        opacity: .6;
    }
}

@-webkit-keyframes taluego {
    100% {
        opacity: 0;
    }
}

@keyframes taluego {
    100% {
        opacity: 0;
    }
}

@media (min-width:960px) {
    body {background-image:url(../valeria_s_meijide-640.png);}
    .card {
        max-width: 29rem;
    }
    body {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center; 
    }
}

@media (min-width:1200px) {
    body {background-image:url(../valeria_s_meijide.png);}
    html {
        font-size: 18px;
    }
    .card {
        margin-right: 10%;
    }
    ul a {
        font-size: 1rem;
    }
}

@media (orientation: landscape) {
    body {
        padding-top: 0%;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .card {
        max-width: 29rem;
    }
}

@media (-webkit-min-device-pixel-ratio:2),
(min-resolution:192dpi) {
    .card {
        background-color: rgba(229, 229, 229, 0.95);
    }
}

/*texto escalable*/
@media screen and (min-width: 25em){
  html { font-size: calc( 16px + (19 - 16) * (100vw - 400px) / (800 - 400) ); }
}
