@font-face {
    font-family: 'cherolina';
    src: url('fonts/cherolina/Cherolina.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

/* menu button */
#menu-toggle {
    display: none;
}

.menu {
    display: none;
}

.menu-button {
    display: block;
}

#menu-toggle:checked + .menu-button span {
    visibility: hidden;
}

#menu-toggle:checked + .menu-button + .menu {
    display: block;
}

#menu-toggle:checked + .menu-button::after {
    content: "X";
    color: #333;
    font-size: 18px;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    visibility: visible;
}

/* overall header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(119, 134, 126, 0.78), rgba(119, 134, 126, 0));
    padding: 11px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-header .header-title {
    margin: 0;
    font-size: 3rem;
    font-family: 'cherolina', cursive;
}

.header-title .logo-wild {
  color: rgba(36, 41, 38, 0.559);
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.header-title .logo-era {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.top-header .page-label {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #333;
    background: #ffffff8a;
    padding: 6px 12px;
    border-radius: 999px;
}

/* navigation menu styling */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    padding: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #000;
}

body {
    padding-top: 0px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation Bar */
nav {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff5e;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Navigation Bar adjustments for mobile devices */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        padding: 20px 10px;
        font-size: 5px;
    }

    nav { 
        width: calc(100% - 20px);
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        text-align: center;
        padding: 10px 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .menu-button {
        position: absolute;
        top: 20px;
        right: 10px;
        font-size: .6rem;
        text-align: center;
    }

    .top-header .header-title {
    margin: 0 auto;
    font-size: 1.25rem;
    }

    .top-header .page-label {
        margin-top: 8px;
        font-size: 0.85rem;
    }
}

/* Banner */
.faq-banner {
    background-image: url('images/5D0A1909.jpg');
    background-size: cover;
    background-position: center;
    padding: 300px 0;
    text-align: center;
    letter-spacing: 2px;
    font-size: 38px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(31, 30, 30, 0.588);
    margin-top: 0;
}

/* FAQ Content */
.faq {
    background: #77867e46;
    padding: 60px 20px;
    text-align: left;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-content h2 {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 18px;
    margin: 14px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq { padding: 20px 16px; }
    .faq-item { padding: 16px; }
}

/* faq-banner button */
.buttoninsta {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    border: 2px solid #5959599d;     /* border color */
    color: #000000;                 /* text color */
    background-color: transparent;  /* background color */
    transition: background-color 0.3s, color 0.3s;
}

.buttoninsta:hover,
.buttoninsta:focus {
    color: #000000;                 /* keep text same */
    background-color: #5768607d;    /* hover shading */
    text-decoration: none;
    outline: none;
}

@media (max-width: 768px) {
    .faq-banner a {
        flex-direction: column;
        text-align: center;
    }
}

.faq-container {
    text-align: center;
}

.faq-container img {
    display: block;
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
}

@media (max-width: 768px) {
    .faq-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        align-items: center;
    }
    
    .faq-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Connect */
.connect {
  padding: 0;
}

.connect-content {
  background: #ffffff;
  color: #53605be1;
  padding: 50px 0;
  text-align: center;
  margin-bottom: -50px;
}

.connect-content h2 {
  margin-bottom: 20px;
  font-size: 35px;
  font-weight: 400;
}

.connect-content a {
  color: #141414b8;
  text-decoration: none;
  margin: 0 20px;
  display: inline-block;
}

.connect-content a:hover {
  text-decoration: underline;
}

.connect-content img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

@media (max-width: 768px) {
    .connect-content a {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer */
.footer {
    background-color: #77867e72;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content {
    font-size: 14px;
    color: #666;
}

.footer-content h2 {
    text-align: center;
    font-weight: 200;
    color: #000;
    font-size: 150%;
}

.footer-content1 {
    text-align: left;
    font-size: 90%;
    color:#000000b4
}

.footer-content2 {
    text-align: right;
    font-size: 90%;
    color:#000000b4
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-content,
    .footer-content2 {
        margin: 5px 0;
    }
}

.top-header, .main-banner, .faq-banner {font-family: 'Cinzel', Georgia, serif;}
