@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');

/* Define CSS variables for colors and font sizes */
:root {
    --main-bg-color: #d1d5db;
    --main-text-color: #444444;
    --main-text-dark-color: #222222;
    --hover-color: #007BFF;
    --font-size: 0.8em;
    --margin: 5%;
}

/* Apply variables */
body {
    background-color: var(--main-bg-color);
    font-size: var(--font-size);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    margin: var(--margin);
    color: var(--main-text-color);
}

.policy-body {
    background-color: var(--main-bg-color);
    font-size: var(--font-size);
    font-family: 'Merriweather', serif;
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 12%;
    margin-right: 12%;
    color: var(--main-text-color);
}

body#b {
    color: var(--main-text-color);
}

body#policy-page {
    background-color: var(--main-bg-color);
    font-size: 0.5em; /* Decrease the font size for mobile devices */
}

section {
    max-width: 500px;
    padding-top: 3%;
}

.no-padding-top {
    padding-top: 0;
}

a {
    text-decoration: underline;
    color: inherit;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

/* Default styles for larger screens */
#logo {
    height: 100px;
}

/* Styles for mobile devices */
@media (max-width: 768px) {
    #logo {
        width: 60vw;
        height: auto;
    }
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    animation: appear 1.4s 1;
    animation-fill-mode: forwards;}

@keyframes appear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.container-white-bg {
    padding: 40px; /* Adjust padding as needed */
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); !* Optional: add a subtle shadow *!*/
    border-radius: 5px; /* Optional: add rounded corners */
    position: relative;
    z-index: 1; /* Ensure it is above the particles */
    color: #ffffff;
    font-family: 'Merriweather', serif;
    font-size: 3em; /* Adjust the font size as needed */
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .container-white-bg {
        font-size: 1.8em; /* Adjust the font size for smaller screens */
        padding: 0; /* Adjust padding as needed */

    }
}

.button-bottom-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: inherit; /* Inherit font size from parent */
    font-family: inherit; /* Inherit font family from parent */
    color: inherit; /* Inherit text color from parent */
    background: none;
    border: none;
    cursor: pointer; /* Display small hand cursor on hover */
}

.paragraph-content {
    font-size: 0.7em;
    line-height: 1.8; /* Adjust this value to increase/decrease line spacing */
}

.subtitle-content {
    font-size: 1em;
    line-height: 1.8;
}

.half-line-left {
    border: 0; /* Remove the default border */
    height: 2px; /* Set the thickness of the line */
    background-color: #ffffff; /* Set the color of the line */
    width: 50%; /* Make the line half the width of the container */
    margin: 20px 0; /* Add margin to the top and bottom */
    float: left; /* Align the line to the left */
}

@media (max-width: 600px) {
    .half-line-left {
        float: none; /* Remove floating */
        width: 50%; /* Optionally adjust width on smaller screens */
    }
}

.remove-on-mobile {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 600px) {
    .remove-on-mobile {
        display: none; /* Hide the <br> on mobile */
    }
}

.half-line-right {
    border: 0; /* Remove the default border */
    height: 2px; /* Set the thickness of the line */
    background-color: #ffffff; /* Set the color of the line */
    width: 50%; /* Make the line half the width of the container */
    margin: 20px 0; /* Add margin to the top and bottom */
    float: right; /* Align the line to the left */
}

.footer-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.paragraph-content-bottom {
    margin: 0;
    text-align: right; /* Ensures the text is aligned to the right */
    flex-grow: 1; /* Allows the paragraph to take up remaining space */
    font-size: 0.7em;
}

/* Media query for smaller screens (phones) */
@media (max-width: 600px) {
    .paragraph-content-bottom {
        font-size: 0.3em; /* Adjust the font size for smaller screens */
    }
}

.indented-line {
    margin-left: 40px; /* Adds indentation */
}

.content-size {
    display: inline-block;
    width: auto;
    height: auto;
}

video {
    width: 70%;
    margin: 0 auto;
    display: block;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 15px;
    margin-top: 20px;
}

.screenshot {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.screenshot img {
    width: 100%;
    display: block;
}

.timestamp {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    text-align: center;
}

.screenshots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 10px 0;
}

.screenshots-header h3 {
    margin: 0;
    color: var(--main-text-color);
}

.download-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #45a049;
}

.download-btn.small {
    font-size: 12px;
    padding: 3px 8px;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(76, 175, 80, 0.8);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.screenshot:hover .download-btn.small {
    opacity: 1;
}
