/*
- Así se define una regla CSS:
slector {
    propiedad: vavlor;
}
*/

@font-face {
    font-family: 'owltail';
    src: url('owltailbrush-regular-webfont.woff2') format('woff2'),
         url('owltailbrush-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} 

:root {
    --text-color: rgb(255, 251, 0);
    --bg-color:hwb(0 22% 78% / 0.939);
    --accent-color: rgb(255, 251, 0);
    --title-font: "owltail", sans-serif;
    --text-font: "parabolica", sans-serif;
    --text-shadow-color: rgb(255, 0, 0);
}

* {
    box-sizing: border-box;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: var(--text-font);
    color: var(--text-color);
    font-size: 1.4rem;
    background-color: #000;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    padding: 1em;
    text-align: left;
}

main {

}

nav {
    text-align: left;
    color: red;
    position: sticky;
    top: 0;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: min(5vw, 2em);
    font-weight: bold;
    margin-right: 1em;
    font-family: var(--title-font), sans-serif;
}

@media screen and (min-width: 600px) {
    body {
        display: flex;
    }
    header {
        width: 50%;
    }
    main {
        width: 50%;
    }
    
}

body.hero-body {
    background-image: url("../ims/primerpuesto.png");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}
main {
    width: 100%;
    max-width: 960px;
    margin: 0px auto;
    min-height: 100dvh;
    padding: 1em;
}

.hero-body main {
    display: flex;
    justify-content: center;
    align-items: center;
}

p, li{
    max-width: 65ch;
}

a {
    color: var(--accent-color)
}
h1, h2, h3, h4, h5, h6{
    font-family: var(--title-font), sans-serif;
    font-variation-settings: "wdth" 50, "slnt" 0;
    font-size: 6em;
    font-weight: 100;
    text-shadow: .035em .035em 0px var( --text-shadow-color);
}

h1 {
    font-size: min(35vw, 12.5em);
    line-height: .8em;
    margin: 0;
    text-transform: uppercase;
    margin-bottom: -.1em;
}

h1 small {
    display: block;
}
.hero {
    --accent-color: black;
    padding: 1em;
}
.hero p {
    font-size: min(10vw, 3.5em);
    font-variation-settings: "wdth" 80, "slnt" 30;
    line-height: 0.7;
    font-family: var(--title-font), sans-serif;
    line-height: 1.1em;
    margin: 0;
    margin-top: 0em;
    text-shadow: .1em .1em 0px var(--text-shadow-color);
}
.hero p::first-line {
    font-size: .8em;
}
.hero footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.4em;
    text-align: center;
    background-color:rgb(255, 251, 0);
    font-family: var(--title-font), sans-serif;
    font-size: 2em;
    font-variation-settings: "wdth" 80, "slnt" 30;
    line-height: 1.2em;
    display: block;
    padding: .1em 0;
}
h2 {

    font-size: 18em; 
    font-variation-settings: "wdth" 80, "slnt" 30;
    line-height: 0.7
}

h3 {font-size: min(8vw, 4em);font-variation-settings: "wdth" 80, "slnt" -26;line-height: 1em}

h4 {

    font-size: 5em; 
    font-variation-settings: "wdth" 80, "slnt" -26;
    line-height: 0.01
}

h5 {

    font-size: 7em; 
    font-variation-settings: "wdth" 80, "slnt" -26;
    line-height: 0.01
}

h6 {

    font-size: 13em; 
    font-variation-settings: "wdth" 80, "slnt" -26;
    line-height: 0.01
}