li {
    list-style-type: circle;
}

ul {
    padding-left: 1rem;
}

/* Font-size 62.5% allows using rems as pixels. For ex: 1.6rem = 16px. Way es */
html {
    font-size: 62.5%;
}

body {
    font-family: "Inter UI", sans-serif;
    background: var(--secondary);
    color: var(--primary);
    font-size: 1.6rem;
}

h1 {
    font-family: "Noto Serif";
    font-weight: 400;
    font-size: 3rem;
}

h1>a,
h1>a:hover {
    border-bottom: none;
}

a {
    cursor: pointer;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 0.1rem solid var(--primary);
    word-wrap: break-word;
}

a:hover {
    border-bottom-style: dotted;
}

p {
    hyphens: auto;
    /* margin-bottom: 1.5rem; */
}

.entry {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -moz-page-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

.search-container {
    display: grid;
    height: 2.5rem;
    align-items: center;
    grid-template-columns: 16rem 3rem;
    grid-auto-flow: column;
    grid-column-gap: .5rem;
}

.search-box {
    font-size: 1rem;
    border-radius: 0.1rem;
    padding: .5rem;
    padding-left: 0.75rem;
    border: 0;
    color: var(--secondary);
    background: var(--primary);
}

.search-button {
    background-image: url("logo.svg");
    cursor: pointer;
    border: 0;
    transition: opacity 150ms;
    height: 2rem;
    width: auto;
    background-size: cover;
    background-position: center;
}

.search-button:hover {
    opacity: 0.5;
    transition: opacity 150ms;
}

.about-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-style: normal;
}

.lieu-link {
    font-size: 3rem;
    font-family: "Noto Serif";
    font-weight: 400;
    text-decoration: none;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 720px) {
    html {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 30pt;
        max-width: 100vw !important;
    }

    #results {
        display: grid;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 374px) {
    html {
        font-size: 40pt;
    }
}

/*
@media(prefers-color-scheme: light) {
:root {
    --primary: #000;
    --secondary: #fefefe;
}
*/