/* fuentes */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&family=Roboto&display=swap');

div { box-sizing: border-box;}

:root {
    --main:#2fc1ff;
    --main_light:rgba(142, 209, 252, .2);
    --blanco:#fff;
    --negro:#000;
    --gris:#999;
    --gris_oscuro:#555;
    --descarga:#25D366;
    --Roboto: 'Roboto', sans-serif;
    --Popins: 'Poppins', sans-serif;
    --Playfair: 'Playfair Display', serif;
    --Oswald: 'Oswald', sans-serif;
    --max-ancho: 950px;
}

html{
    display: flex; flex-wrap: wrap; justify-content: center;
    scroll-behavior: smooth;
}


body{
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
    width: 100vw; max-width: var(--max-ancho);
    height: 100vh;
    font-family: var(--Popins);
    font-size: 16px;
    color: var(--gris);
    overflow: hidden;
    overflow-y: auto;
}
main{
    display: flex; flex-wrap: wrap; justify-content: center;
    width: 100vw; 
    max-width: var(--max-ancho);
}

section {
    display: flex; justify-content: center; align-items: center;
    width: 100vw; max-width: var(--max-ancho);
    height: auto;
    margin: 2em 0;
}

img {width: 100%; height: auto;}
h1, h2, h3, h4, h5, h6 { 
    margin: 0; 
    padding: 0; 
    font-family: var(--Playfair);
    color: var(--negro);
}

    p { margin: .8em 0; }
button {
    margin: .8em 0 0 0;
    padding: .8em 1.8em;
    color: var(--blanco);
    border-radius: .25em;
    border: none;
    outline: none;
    cursor: pointer;
}
button:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);
    transition: all .3s ease;
}
figure{ margin: 0; padding: 0;}

hr{
    width: 90%; max-width: var(--max-ancho); 
    height: 1px;
    margin: 2em 0;
    border: none;
    border-bottom: 2px dotted var(--main);
    opacity: .5;
}
.bg{
    display: flex; justify-content: center;
    width: 100vw; height: auto;
    background-color: var(--main_light);
}

.arriba:hover{background-color: var(--gris_oscuro); cursor: pointer; box-shadow: 0 0 5px rgba(0, 0, 0, .3);}
.arriba{
    z-index: 8;
    position: fixed; bottom: 0; right: 0;
    display: flex; justify-content: center; align-items: center;
    width: 30px; height: 30px;
    margin-bottom: 40vh; margin-right: 10px;
    color: var(--blanco);
    background-color: var(--main);
    border-radius: .2em;
    transition: all .3s ease;
}
#blog{
    display: none;
}