@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    --color-blueberry: #4568BC;
    --color-pink: #FC70A4;
    --color-blueish: #53C2EF;
    --color-lightblue: #00CEF0;
    --color-violet: #3B2459;
    --color-red: #E63946;
    --color-carrot: #FF6769;
    --color-pumpkin: #FFAF42;
    --color-black: #000000;
    --color-white: #ffffff;

    /* Element colors */
    /* --color-toolbar-background: #1b263b;
    --color-toolbar-content: #edf2f4; */
    --color-toolbar-background: #ffffff;
    --color-toolbar-content: #3B2459;
    --color-background: #f8f8f8;
    --color-title: #E63946;
    --color-card-background: #ffffff;
    --color-card-content: #000000;

    background: var(--color-background);
    font-family: 'Nunito', sans-serif;
}

body.dark {
    --color-toolbar-background: #404040;
    --color-toolbar-content: #00CEF0;
    --color-background: #202020;
    --color-title: #FFAF42;
    --color-card-background: #404040;
    --color-card-content: #ffffff;
}

::selection {
    background: #212529;
    color: #ffffff;
}

.dark ::selection{
    background: #edf2f4;
    color: #343a40;
}

.dark div {
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-title);
    font-family: 'Montserrat', sans-serif;
}

h2 {
    margin-top: 16px;
    margin-bottom: 0px;
}

a {
    color: var(--color-title);
    cursor: pointer;
}

p, li {
    color: #000000;
    font-size: 18px;
    text-align: justify;
}

.dark p, .dark li {
    color: #ffffff;
}

p.description {
    line-height: 1.6rem;
}

.highlight {
    color: var(--color-title);
}

.blueberry-text {
    color: var(--color-blueberry);
}

.hidden {
    display: none;
}

.montserrat {
    font-family: 'Montserrat', sans-serif;
}

.toolbar {
    align-self: center;
    align-items: center;
    background: var(--color-toolbar-background);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 8px;
    color: var(--color-yellow);
    font-family: 'Montserrat', sans-serif;
    justify-content: flex-end;
    left: 0;
    line-height: normal;
    overflow: hidden;
    padding: 24px 32px;
    position: fixed;
    right: 0;
    text-overflow: ellipsis;
    top: 0;
    white-space: nowrap;
    z-index: 50;
}

.toolbar svg {
    display: block;
    fill: var(--color-toolbar-content);
    height: 36px;
    width: 36px;
}

.toolbar-title {
    font-weight: bold;
}

.toolbar-title span {
    margin: 0 1px;
}

.toolbar-title span.red {
    color: #D32F2F;
}

.toolbar-title span.orange {
    color: #F57C00;
}

.toolbar-title span.yellow {
    color: #FFD600;
}

.toolbar-title span.green {
    color: #388E3C;
}

.toolbar-title span.blue {
    color: #1976D2;
}

.toolbar-title span.indigo {
    color: #303F9F;
}

.toolbar-title span.purple {
    color: #7B1FA2;
}

.dark .toolbar-title span.red {
    color: #ffcdd2;
}

.dark .toolbar-title span.orange {
    color: #ffe0b2;
}

.dark .toolbar-title span.yellow {
    color: #fff9c4;
}

.dark .toolbar-title span.green {
    color: #c8e6c9;
}

.dark .toolbar-title span.blue {
    color: #b3e5fc;
}

.dark .toolbar-title span.indigo {
    color: #c5cae9;
}

.dark .toolbar-title span.purple {
    color: #e1bee7;
}

.toolbar-content {
    align-items: center;
    display: flex;
    flex-basis: fit-content;
    flex-direction: row;
    margin: 0 auto;
    max-width: 1280px;
    vertical-align: middle;
}

.toolbar-expanded {
    flex: 1;
}

.toolbar a {
    color: var(--color-toolbar-content);
    font-size: 40px;
    font-weight: bold;
    text-decoration: none !important;
}

.toolbar a.l24 {
    margin-left: 24px;
}

.toolbar i {
    vertical-align: middle;
}

.toolbar img {
    display: inline-block;
    line-height: 24px;
    vertical-align: text-top;
    width: 40px;
}

.content-wrapper {
    margin: auto;
    margin-top: 120px;
    max-width: 1240px;
    padding: 20px;
}

.content-wrapper.home {
    display: grid;
    grid-gap: 24px;
    grid-template-columns: repeat(12, 1fr);
}

.code {
    background: #000000;
    border-radius: 4px;
    color: #ffffff;
    font-family: monospace;
    font-size: 16px;
    padding: 12px;
}

.card {
    background: var(--color-card-background);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 4px;
    color: var(--color-card-content);
    padding: 24px;
}

.card img {
    filter: drop-shadow(0 2px 2px #80808080);
}

.home .header {
    grid-column: span 12;
    text-align: center;
}

.home .patcell {
    grid-column: span 12;
    text-align: center;
}

.home .card.app {
    grid-column: span 6;
    align-self: stretch;
}

.home .card.privacy-policy, .home .card.me {
    grid-column: span 12;
}

.home .card.privacy-policy p, .home .card.me p {
    margin: 0;
    padding: 0;
}

.home .card.app a {
    align-items: center;
    color: var(--color-card-content);
    display: flex;
    height: 100%;
    text-decoration: none;
    vertical-align: middle;
}

.home .card.app a path{
    fill: var(--color-card-content);
}

.home .card img {
    margin-right: 20px;
    width: 96px;
}

.home .card .card-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5em;
    margin: 8px 0;
}

.home .card .card-subtitle {
    font-size: 16px;
    margin: 8px 0;
    overflow: hidden;
    text-align: justify;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.content-wrapper.taptap div.screenshots {
    align-items: center;
    display: flex;
    margin: 40px 0;
}

.content-wrapper.taptap img.screenshots {
    max-width: 270px;
    width: 100%;
}

.content-wrapper.taptap div.screenshots-container {
    flex: 1;
    text-align: center;
}

.screenshots-button {
    border-radius: 50%;
    cursor: pointer;
    padding: 2vw;
}

.screenshots-button:hover {
    background: #00CEF0;
}

.screenshots-button svg {
    display: block;
}

.dark .screenshots-button svg {
    fill: #ffffff;
}

.product-page.screenshots {
    text-align: center !important;
}

.product-page img.screenshots {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    max-width: 1080px;
    width: 100%;
}

#downloads {
    text-align: center;
}

#downloads a {
    display: inline;
    text-decoration: none;
    width: 320px;
}

#downloads img {
    height: 125px;
}

#downloads button {
    align-items: center;
    background: #000000;
    border: none;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    flex-wrap: wrap;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    margin: 12px;
    outline: none;
    padding: 8px 20px;
    text-align: center;
    text-transform: uppercase;
    width: 360px;
}

#downloads svg {
    display: block;
    fill: #ffffff;
    height: 20px;
    width: 20px;
}

.dark #downloads button {
    background: var(--color-toolbar-content);
    color: #000000;
}

.dark #downloads svg {
    fill: #000000;
}

.dark .card img {
    filter: drop-shadow(0 2px 2px #10101040);
}

@media only screen and (max-width: 1024px) {
    .home .card.app {
        grid-column: 1 / span 12;
    }
    .content-wrapper.taptap img.screenshots {
        grid-column: span 6;
    }
}

@media only screen and (max-width: 600px), (max-height: 600px) {
    p, li {
        font-size: 16px;
    }
    p.description {
        line-height: 1.4rem;
    }
    .content-wrapper {
        padding: 20px 12px;
    }
    .toolbar {
        padding: 16px 16px;
    }
    .toolbar a {
        font-size: 24px;
    }
    .toolbar svg {
        height: 24px;
        width: 24px;
    }
    .content-wrapper {
        margin-top: 60px;
    }
    .home .card.app {
        grid-column: span 12;
        padding: 12px 24px;
    }
    .home .card.privacy-policy, .home .card.me {
        grid-column: span 12;
    }
    .home .card img {
        width: 64px;
    }
    .home .card .card-title {
        font-size: 24px;
    }
    #downloads img {
        height: 80px;
    }
    #downloads button {
        font-size: 16px;
        margin: 0;
        margin-bottom: 12px;
        max-width: unset;
    }
}

@media only screen and (max-width: 360px), (max-height: 240px) {
    #downloads button {
        width: 100%;
    }
}