/* GLOBAL STYLES */
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fantaisie Artistique';
    src: url('../fonts/FantaisieArtistique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    background: #000;
    text-align: left;
    margin: 30px 0 0 0;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1000;
}

footer p {
    margin: 0;
}

footer a {
    color: #4287f5;
    text-decoration: none;
}

/* HEADINGS */
h2 {
    font-family: 'Fantaisie Artistique', serif;
    font-size: 120px;
    line-height: 1;
    color: #ac5492;
}

h3, h4 {
    font-family: 'Nunito Sans', sans-serif;
    color: white;
}

h3 {
    font-size: 54px;
    line-height: 1.2;
}

h4 {
    font-size: 32px;
    line-height: 1.3;
}

/* INTRO SECTION */
.intro {
    max-width: 800px;
    margin: 40px auto 10px;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
}

.intro h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.intro p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 24px;
  line-height: 1.6;
  color: #ffffff;
  padding: 0 20px;
  text-align: center;
  margin: 0; /* reset default paragraph margins if you like */
}

.intro p a {
  text-decoration: none;
  color: #ffffff;
}

/* LAYOUT */
#page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden;
  text-align: center;    /* ← this centers all inline text inside #page */
}

/* ELEMENTS */
div#pyrmkje {
    border-radius: 24px;
    box-shadow: 0px 0px 14px #000000;
    background-image: url('../images/mountains - spring.png');
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: black;
    padding: 0px;
    width: 100%;
    height: 495px;
    color: black;
}

iframe {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

/* NAVIGATION BAR */
nav {
    background-color: #333;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #4287f5;
    border-radius: 5px;
}

/* TABLE STYLING */
.faq-table {
    background-color: black;
    color: white;
    border-collapse: collapse;
    width: 100%;
}

.faq-table th {
    background-color: #4287f5;
    color: #000;
    padding: 10px;
    text-align: left;
}

.faq-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #fff;
}

/* COLLAPSIBLE CONTENT */
.collapsible {
    cursor: pointer;
    user-select: none;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    background-color: #4287f5;
    color: white;
}

.active, .collapsible:hover {
    background-color: #00008b;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #333333;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}

.copy-toast {
  display: none;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #007BFF;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* RESPONSIVENESS */
@media screen and (max-width: 800px) {
    h2 {
        font-size: 72px;
    }

    h3 {
        font-size: 32px;
    }

    .intro h1 {
        font-size: 28px;
    }

    .faq-table td, .faq-table th {
        font-size: 12px;
        padding: 6px;
    }

    div#page {
        width: 95%;
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .intro {
        padding: 15px;
        font-size: 16px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 8px 10px;
    }
}

/* MISC */
.spacer {
    height: 200px;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    position: relative;
    top: -200px;
}

.center2 {
    display: block;
    position: relative;
    text-align: center;
    top: -420px;
}

#links {
    margin-bottom: 40px;
}


#code-display {
  font-weight: bold;
  font-size: 28px;
  color: #66ccff;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s ease;
  margin-top: 20px;
}


/* COLOR CLASSES */
.color01 { color: #de5b1e; }
.color02 { color: #f0b747; }
.color03 { color: #6aa427; }
.color04 { color: #9bcfb2; }
.color05 { color: #912d76; }
.weiss { color: #ffffff; }


html, body {
  overflow-x: hidden;
}

/* Make all images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Make large headings scale */
h2 {
  font-size: clamp(40px, 10vw, 120px);
}