:root {
    --accent-color: red;
    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;
    background-color: #99ccff;
}

.block {
    display: inline-block;
}

nav {
    background-color: white;
    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: #303030;
    padding: 0.2rem;
}

.links a:hover {
    background-color: rgba(0,0,0,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/tpcchart.png");
    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;
    backdrop-filter: blur(0.6px);
}

.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;
}

p {
    margin-bottom: 0.5em;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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: white;
    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;
}

.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;
}

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

.highlight {
    border: 3px dotted red;
}
