@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 960px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
}

header {
    background-color: #2a3b4c;
    color: white;
    padding: 30px 30px;
    font-family: 'Merriweather', serif;
    letter-spacing: 2px;
}

header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .container img {
    margin-right: 10px;
}

header h1 {
    flex: 1;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    text-align: left;
}

.legal h1 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.legal h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.legal h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
    text-align: left;
}

.legal p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.legal li {
    font-size: 1.2rem;
    margin: 0.1rem 0;
}

ul {
    padding: 0;
    list-style-type: disc;
}

li {
    margin: 0.1rem 0;
    font-size: 1.3rem;
}

ul {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6em;
    text-align: left;
    color: inherit;
    line-height: 1.5em;
    list-style-type: square;
}

ul li {
    margin-bottom: 1em;
}

header .container h1 {
    font-family: 'Merriweather', serif;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

h2 {
    font-family: 'Merriweather', serif;
    color: #2a3b4c;
    letter-spacing: 0.05em;
    font-size: 4em;
    line-height: 1.25em;
    margin: 30px 0px 30px 0px;
    text-align: center;
}

.android-btn {
    background-color: #ff9500;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 1.5em;
    margin: 20px;
}

.features-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-image {
    flex: 1;
    text-align: right;
}

.feature-list {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

nav {
    display: flex;
    font-size: 1.2em;
}

nav a {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #9ab0c9;
}

#banner,
#features,
#download {
    padding: 0px 0;
}

#banner img,
.feature img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

#download a {
    display: flex;
    justify-content: center;
    width: 100%;
}

#download img {
    width: 200px;
}

.bodycont {
    padding: 40px 0px 40px 0px;
    border-top: 0px solid transparent;
    overflow: hidden;
}

.bodycont p {
    line-height: 1.5em;
    padding: 0px 20px 0px 20px;
}

.bodycont.s1 {
    background-color: #F8F8F8;
}

.bodycont.s1 h2 {
    text-shadow: 3px 3px 5px #ffffff;
    color: #000000;
}

.bodycont.s2 {
    background-color: #5C7DA2;
    color: #ffffff;
}

.bodycont.s2 ul li,
.bodycont.s2 p {
    color: #ffffff;
}

.bodycont.s2 h2 {
    color: #ffffff;
    text-shadow: 0px 0px 0px #f1f7ff;
}

footer {
    background-color: #2a3b4c;
    color: white;
    text-align: center;
    padding: 30px 0px 20px 0px;
    width: 100%;
}

/* Default logo + title sizing (desktop) */
header .container > a > img {
    width: 100px;
    height: 100px;
}

h1.title {
    font-size: 1.7rem;
}

/* Responsive design for smaller devices */
@media (max-width: 768px) {

    header .container,
    footer .container,
    #banner .container,
    #features .container,
    #download .container {
        padding: 0 15px;
    }

    header {
        padding: 20px 0 20px 0px;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin-bottom: 10px;
    }

    .features-container {
        flex-direction: column;
    }
}

.screenshots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.screenshot {
    width: 20%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.50);
}

/* Responsive adjustments (screenshots, logo, title) */
@media (max-width: 768px) {

    h1.title {
        font-size: 1.2rem;
    }

    .screenshot {
        width: 30%;
        margin-bottom: 20px;
    }

    header .container > a > img {
        width: 60px;
        height: 60px;
    }
}

/* Even smaller devices */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    h1.title {
        font-size: 1.2rem;
    }

    #download img {
        width: 150px;
    }

    header .container > a > img {
        width: 50px;
        height: 50px;
    }
}

.text-image-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    color: inherit;
}

.text-section,
.image-section {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.text-section {
    padding: 20px;
    color: inherit;
}

.text-section h2 {
    text-align: left;
    padding: 20px;
}

.image-section {
    text-align: center;
}

.image-section .download-badge {
    width: 150px;
    padding: 15px;
}

.placeholder-img {
    max-width: 100%;
    border-radius: 10px;
    max-width: 400px;
    filter: drop-shadow(5px 5px 10px #f1f1f1);
}

@media (max-width: 768px) {
    .text-image-flex {
        flex-direction: column;
        text-align: center;
    }
}
