/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    max-width: 800px;
    padding: 1rem;
    margin: auto;
    display: flex;
    justify-content: center;
    background-color: #0A0A0F;
    color: #E8E8FF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", system-ui, sans-serif;
    font-size: normal;
    line-height: 1.7;
}

#app {
}

.main {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 2rem;
    border-radius: 6px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 0px rgba(122, 0, 255, 0.5),
        inset 0 -2px 0px rgba(122, 0, 255, 0.5);
    background: #1A1A22;
    text-align: justify;
    font-size: normal;
}

.cards {
    width: 700px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-self: center;
}

.card {
    width: 48%;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-radius: 6px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 0px rgba(122, 0, 255, 0.5),
        inset 0 -2px 0px rgba(122, 0, 255, 0.5);
    background: #1A1A22;
    text-align: justify;
    font-size: normal;
}

.quote {
    max-width: 70%;
    width: max-content;
    margin: 0rem auto;
    padding: 0rem;
    text-align: center;
    font-style: italic;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 1rem auto;
    color: #E8E8FF;
    line-height: 1.6;
}

header h1 {
    border: 0;
    letter-spacing: -6px;
    padding-bottom: 0;
    line-height: normal;
    font-size: 3rem;
    text-shadow:
        0 0 25px rgba(122, 0, 255, 0.6),
        -1px -1px 0 rgba(122, 0, 255, 0.9),
        -1px 1px 0 rgba(122, 0, 255, 0.9);
}

header h4 {
    padding-top: 10px;
    padding-bottom: 10px;
    font-style: italic;
}

header div#pantera {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 800px;
    width: 737px;
    height: 16rem;
    background-image:
        linear-gradient(to right, rgba(10, 10, 15, 0) 45%, rgba(10, 10, 15, 1) 100%),
        url(/e3aacf311acf2ac58912.png);
    background-repeat: no-repeat;
    background-size: 200px;
    background-position-x: 17%;
    background-position-y: 7px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: 700px;
    padding: 0rem 0.3rem 0rem 0;
}

footer p {
    text-align: right;
    font-size: smaller;
    font-family: 'Courier New', Courier, monospace;
}

p {
    font-size: 1.1rem;
    margin-top: 1rem;
    /* color: #555; */
}

strong {
    color:#b6e9f2;
}

h1 {
    color: #33E0FF;
    border-bottom: 1px solid #33E0FF;
    padding-bottom: 0.1em;
}

a {
    color: #7a00ff;
    text-decoration: none;
}

a:hover {
    color: #33E0FF;
    text-shadow: 0 0 3px #33E0FF;
    text-decoration: none;
}

a.lang-selected {
    color: #33E0FF;
}

ul {
    list-style: none; /* remove default dots */
    padding-left: 1rem;
    font-size:large;
}

ul li {
    position: relative;
    padding-left: 1.7rem; /* space for the emoji */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

ul li::before {
    content: "🐾";
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.telegram-button {
    display: flex;
    gap: 5px;
    justify-self: center;
    align-items: center;
    background-color: #0088cc;
    color: white;
    margin-top: 2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}
.telegram-button:hover {
    background-color: #007bb5;
}


/* Responsive adjustments for mobile */
@media (max-width: 700px) {
    header div#pantera {
        width: 100%;
        background-position-x: 0%;
    }

    header h4 {
        font-size: small;
    }

    .main {
        max-width: 97%;
        width: fit-content;
        padding: 1rem;
        text-align: left;
    }

    .main h1 {
        padding-bottom: 10px;
    }

    .main p, .main li {
        font-size: medium;
    }
    
    .main ul {
        padding: 0;
    }

    h1 {
        text-align: center;
        font-size: large;
    }

    .quote {
        max-width: 70%;
        width: fit-content;
        font-size: small;
    }

    .cards {
        max-width: 97%;
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        text-align: left;
    }

    .telegram-button {
        font-size: small;
    }

    footer {
        max-width: 97%;
        width: fit-content;
        font-size: smaller;
    }

    footer p {
        text-align: center;
    }
}
