/* -----------------------------
    Global Settings
--------------------------------
    Main, Header, Footer, Links
-------------------------------- */

* {
    box-sizing: border-box;
}

html {
    font-size: clamp(14px, 0.85vw, 18px);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    padding-top: calc(var(--header-height) + var(--header-padding));;
    display: flex;
    flex-direction: column;
    
    font-family: var(--font-main);
    color: var(--text-main-col);
    background: var(--bg-main-col);
    background-image: var(--bg-main-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main {
    flex: 1;
    padding: 0 2rem;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    text-align: center;
    max-width: var(--text-start-width);
    margin-left: auto;
    margin-right: auto;
}

main.start {
    max-width: var(--text-start-width);
}
main.about {
    max-width: var(--text-about-width);
}
main.gallery {
    max-width: var(--text-gallery-width);
}
main.fatima {
    max-width: var(--text-fatima-width);
}
main.info {
    max-width: var(--text-info-width);
}
main.privacy {
    max-width: var(--text-privacy-width);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: var(--heading-top-margin);
}

h1 {
    color: var(--heading-col);
}

main h1:first-child,
main h2:first-child,
main h3:first-child {
    margin-top: 1.0rem;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    height: var(--header-height);
    background: var(--bg-header-col);
    color: var(--text-header-col);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .logo {
    position: absolute;
    left: 2rem;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 0.8rem;
    border-radius: 4px;
}

header .logo span {
    font-size: 1.45rem;
    letter-spacing: 0.3px;
    font-weight: 600;
    color: var(--heading-col);
}

header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-header-col);
    margin-right: 3rem;
}

/* Footer */
footer {
    text-align: center;
    padding: calc(var(--footer-height) * 3.3) 1rem;
    margin-top: var(--footer-top-distance);
    font-size: 0.9rem;
    color: var(--text-footer-col);
    background: var(--bg-footer-col);
}

footer .footer-content p .seperator {
    margin: 0 0.7rem;
}

footer .footer-content p:nth-child(1) {
    color: var(--muted-text-footer-col);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

footer .footer-content p:nth-child(2) {
    color: var(--text-footer-col);
    margin-bottom: 0.8rem;
    font-weight: bold;
}

footer .footer-content p:nth-child(3) {
    font-size: 0.8rem;
    color: var(--muted-text-footer-col);
}

/* Links */
a {
    text-decoration: none;
    color: var(--link-col);
}

/* Buttons */
.back-to-start {
    text-align: center;
    margin: var(--start-button-top-space) 0 0rem;
}

.button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--corner-strength);
    background: var(--button-bg-col);
    color: var(--button-text-col);
    text-decoration: none;
}