@font-face {
    font-family: "Handjet";
    src: url('img/fonts/Handjet-Bold.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

body {
    font-family: "Consolas", monospace;
    background-color: #ecf0f1;
    color: black;
    line-height: 1.6;
    font-size: 1.2em;
    letter-spacing: 0.25px;
}

h1 {
    font-family: "Handjet", "Consolas", monospace;
    font-size: 3em;
    font-weight: bold;
    line-height: 1.2;
    border-style: dotted;
    border-width: 3px;
    color: Tomato;
    text-align: center;
    text-transform: uppercase;
}

h2 {
    font-family: "Handjet", "Consolas", monospace;
    text-transform: uppercase;
    font-size: 2em;
    letter-spacing: 1px;
    line-height: 1.2;
}

h3 {
    font-size: 1.3em;
    line-height: 1.2;
}

h4,
h5 {
    font-size: 0em;
    line-height: 1;
}

h1,
h2,
h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.nutshell-expandable {
    border-bottom: dotted 1px;
}

.page-wrap {
    margin: auto;
    width: 100%;
    max-width: 750px;
}

.notepad {
    margin: auto;
    display: block;
    width: 95%;
    max-width: 800px;
    border-radius: 0%;
}

.hebrew {
    font-family: 'Heebo', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.4px;
}

.wideimage {
    margin: auto;
    display: block;
    width: 95%;
    min-width: 256px;
    border-radius: 5%;
}

.sidenote {
    font-size: 75%;
    text-align: center;
}

.just {
    font-family: 'Heebo', sans-serif;
    text-align: justify;
}

.sansserif {
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.85;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.case {
    max-width: 350px;
}

.zoomin,
.case {
    transition: 0.25s;
}

.zoomin:hover,
.case:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.serif {
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 1.25em;
    line-height: 1.85;
}

img {
    display: block;
    padding: 10px;
    margin: auto;
    min-width: 128px;
    max-width: 700px;
    border-radius: 5%;
}

a {
    font-weight: bold;
}

@media only screen and (orientation:portrait) and (max-width: 700px) {
    .grid-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .case {
        max-width: 300px;
    }

    img {
        display: block;
        padding: 10px;
        margin: auto;
        min-width: 128px;
        max-width: 100%;
        border-radius: 5%;
    }
}

@media (prefers-color-scheme: dark) {

    body {
        color: white;
        background-color: #111;
    }

    a {
        font-weight: bold;
        color: #3498db;
    }

    .notepad {
        -webkit-filter: invert(100%);
        filter: invert(100%);
    }

    h1 {
        color: Tomato;
    }
}