/* This style sheet is used to style the information pages like about.html, contact.html, disclaimer.html, privacy.html & terms.html. */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #e6f0f9;
    --toolbar-bg: #6FB6EF;
    --toolbar-text: #ffffff;
    --site-desc-color: #3a3a3a;
    --text-color: #0c538e;
    --para-color: #333;
}

/* Dark theme: keep scheme similar but tuned for low light */
.dark-mode {
    --bg-color: #0f1113;
    --toolbar-bg: #17303f;
    --toolbar-text: #fff;
    --site-desc-color: #cfd6da;
    --text-color: #e9eef1;
    --para-color: #ccc;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

header {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ========== TOOLBAR ========== */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--toolbar-bg);
    color: var(--toolbar-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 10px 15px;
    z-index: 1000;
}

header a {
    text-decoration: none;
    color: inherit;
}

.toolbar-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;

}

.toolbar-left img {
    height: 120px;
    width: 120px;
    border-radius: 18px;
}

.site-name {
    flex: 1;
    text-align: center;
}

#site-name {
    font-size: 50px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    color: var(--toolbar-text);
}

#site-description {
    font-size: 25px;
    color: var(--site-desc-color);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
}

/* .icon {
      cursor: pointer;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: var(--toolbar-text);
    } */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 160px 15px 30px 15px;
    min-height: 80vh;
}

section {
    max-width: 600px;
    margin: 5px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 15px;
    color: var(--text-color);
}

section p {
    margin-bottom: 10px;
    margin-left: 10px;
    color: var(--para-color);
    text-align: justify;
    text-indent: 1.2em;
}

section ul {
    list-style-type: none;
    padding-left: 40px;
    margin-bottom: 10px;
    color: var(--para-color);
}

section ul li {
    margin-bottom: 8px;
}

section ul li a {
    text-decoration: none;
}

form {
    max-width: 250px;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form .inputs {
    margin-bottom: 10px;
}

form .submit {
    text-align: right;
}

footer {
    text-align: center;
    padding: 15px;
    background: var(--toolbar-bg);
    color: var(--toolbar-text);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {

    .toolbar-left img {
        height: 80px;
        width: 80px;
    }

    .toolbar-right {
        gap: 10px;
        padding-right: 0px;
    }

    #site-name {
        font-size: 35px;
    }

    #site-description {
        font-size: 18px;
    }

    main {
        padding-top: 120px;
    }

}

@media (max-width: 520px) {

    .toolbar-left img {
        height: 50px;
        width: 50px;
    }

    .toolbar-right {
        gap: 10px;
        padding-right: 0px;
    }

    #site-name {
        font-size: 25px;
    }

    #site-description {
        font-size: 13px;
    }

    main {
        padding-top: 90px;
    }
}