:root {
    --accent-color: #fc5d5d;
    font-size: 13pt;
    scroll-behavior: smooth;
}

@media screen and (max-width: 620px) {
    :root {
        font-size: 9pt;
    }
}

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body {
    width: 100%;
    min-width: 360px;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.block {
    display: inline-block;
}

nav {
    background-color: #4c4848;
    z-index: 2;
    position: sticky;
    top: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    column-gap: 1rem;
    padding: 1.25rem 2rem;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.3);
    font-size: 1.5rem;
}

.links {
    margin-left: auto;
    display: inline-block;
}

.links a {
    text-decoration: none;
    color: var(--accent-color);
    padding: 0.2rem;
}

.links a:hover {
    background-color: rgba(255,255,255,0.1);
    border-bottom: solid 3px var(--accent-color);
}

.corner-logo {
    height: 1.5em;
}

.corner-title {
    color: var(--accent-color);
}

.hero {
    background-image: url("../images/decathlon-inverted.jpg");
    background-position: 90% 25%;
    background-repeat: no-repeat;
    background-size: auto 300%;
    background-color: #A4B3D0;
    height: 20rem;
}
.hero-text {
/*    background-color: rgba(0,0,0,0.5);*/
    height: 100%;
    width: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0px 2px 5px black;
    text-align: center;
}

.cta {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.3rem;
    margin: 0.5rem 2ch;
    text-shadow: none;
    box-shadow: 0px 2px 5px black;
}

.cta:hover {
    background-color: var(--accent-color);
    color: white;
}

.checkerboard {
    height: 2rem;
    width: 100%;
    background-image: url("../images/checkerboard.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    border-top: solid red 4px;
    border-bottom: solid red 4px;
    transform: rotate(2deg) translate(0px, -1rem) scale(1.01, 1);
}

p {
    margin-bottom: 0.5em;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #332828;
    color: white;
}

main h2 {
    scroll-margin-top: 5rem;
}

.card {
    margin: 2rem;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    scroll-margin-top: 5rem;
    background-color: #4c4848;
    padding: 2rem;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    border-radius: 10px;
}

.card h3 {
    margin-bottom: 1em;
}

.card a {
    color: var(--accent-color);
}

.card img {
    max-width: 40%;
    align-self: center;
    margin: 1rem;
}

.card p {
    align-self: baseline;
    text-align: justify;
}

.card ul {
    margin-top: 1em;
    margin-bottom: 1em;
}

.lang-en {
    display: block;
    padding: 0.3em;
    border: 1px solid var(--accent-color);
    border-radius: 0.3em;
}

.icon {
    margin: 0 !important;
    height: 1.2em;
    vertical-align: middle;
}

.highlight {
    border: 3px dotted red;
}
