html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

* {
    font-family: 'Poppins', sans-serif;
    transition: transform .2s, filter .2s;
    margin: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* ============================== */

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    margin: 0 auto;
}

html,
body {
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-image: url("/static/img/one-bg.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    height: 92%;
    /*
    - 51em min (good space between items in desktop) | 
    - 100vh -3rem (in small screens allows to compression, whole vertical screen minus the defined 3rem of margin top for <main>) |
    - min-height (allows <main> to be stretchd, even in small height & large landscape scenarios, if needed so the background can always cover the whole screen)
    */
    min-height: min(51em, 100vh - 3rem);
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5em;
    margin-top: 3rem !important;
    font-size: .7em;
    font-size: min(0.5em + 0.5vw, 1em);
}

main .logo {
    width: 21em;
}

footer {
    position: absolute;
    bottom: 0;
}

h2 {
    color: var(--red);
}

h3, h4 {
    color: var(--black);
    font-weight: normal;
}

section {
    text-align: center;
    font-size: 1.2em;
    padding-top: 1em;
}

section>* {
    line-height: 1.2;
}

section:not(.contact) h3, section:not(.contact) h4 {
    font-size: 1.1em;
}

.contact h3 {
    font-size: 1.4em;
}


