/* GLOBAL STYLES */



@font-face {
    font-family: 'systematic_jcool';
    src: url('/assets/fonts/9systema-webfont.woff2') format('woff2'),
         url('/assets/fonts/9systema-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    color: white;
    font-family: 'systematic_jcool';
    src: url('/assets/fonts/9systema-webfont.woff2') format('woff2'),
         url('/assets/fonts/9systema-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
    position: relative;
    margin-bottom: 5rem;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url('/assets/factorybg.png') no-repeat center center;
    background-size: cover;
    animation: zoomBackground 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #11111197;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    z-index: 1000;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .footer-link:hover {
    color: #fff;
  }
  
  /* Mobile */
  @media (max-width: 600px) {
    .footer-links {
      align-items: center;
    }

    body {
        margin-bottom: 5rem;
    }
  }

@keyframes zoomBackground {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Links and buttons */
a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #ff784e; 
}

h1, h2, h3, h4, h5, h6, p {
    color: white;
}

footer {
    background-color: #1f1f1f;
    color: white;
    padding: 10px;
    text-align: center;
}

/* Page content container */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
  }

/* Navbar container */
.navbar {
    background: linear-gradient(to bottom, rgba(24, 24, 24, 0.726), rgba(54, 54, 54, 0.721));
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: 'systematic_jcool';
    src: url('/assets/fonts/9systema-webfont.woff2') format('woff2'),
         url('/assets/fonts/9systema-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    border-radius: 10px;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.navbar:hover {
    box-shadow: 0px 12px 14px rgba(0, 0, 0, 0.4);
}


/* Navbar buttons container (left side) */
.navbar ul {
    list-style-type: none;
    margin-left: 20px;
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Navbar buttons (move login/logout to the right) */
.navbar ul li {
    display: inline;
}

.navbar .login-logout-buttons {
    margin-left: auto;
}

/* Buttons */
.navbar ul li button {
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    font-weight: bold;
    border-radius: 20px;
    background-color: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

/* Hover effects */
.navbar ul li button:hover {
    background-color: #f0f0f0ad;
    transform: scale(1.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Active button */
.navbar ul li button.active {
    background-color: #d84315;
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/* General button hover and active effects */
.navbar button:hover {
    background-color: #8f8f8f;
    transform: scale(1.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar button:active {
    background-color: #999999;
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar a:hover {
    color: #bbbbbbcc;
}

.navbar .login-logout-buttons {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

/* Ensure navbar stays cohesive */
.navbar ul {
    flex: 1;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
  }

/* Dropdown button */
.dropdown-button {
    cursor: pointer;
    background-color: #bfbfbf;
    border: none;
    padding: 10px;
    border-radius: 15px;
  }

.dropdown-button:hover {
    background-color: #eaeaeaad;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1f1f1f;
    list-style: none;
    padding: 5px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Dropdown menu items */
.dropdown-menu li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    display: block;
}

.dropdown-menu li:hover {
    background-color: #7f7f7f;
}

.dropdown-menu img {
    height: 40px;
    width: auto;
}

/* Dropdown logo styling */
.dropdown-logo {
    display: block;
    margin: auto;
}

/* Display the dropdown when active */
.dropdown.active .dropdown-menu {
    visibility: visible;
    opacity: 1;
}

/* Dropdown logo in button */
.dropdown .logo {
    height: 40px;
    width: auto;
}


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

    .navbar ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .navbar ul li {
        margin: 5px 0;
    }

    .navbar .login-logout-buttons {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .dropdown {
        transform: translateX(1.5%);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .dropdown .dropdown-menu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        border-radius: 0;
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        padding: 15px;
        font-size: 16px;
    }

    .dropdown .dropdown-toggle {
        width: 100%;
        padding: 12px;
        font-size: 18px;
    }
}