/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* HAMBURGER BUTTON */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 990;

    background: none;
    border: none;
    color: #000;
    font-size: 36px;
    cursor: pointer;
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.6);

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.35s ease;

    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SLIDE-IN MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;

    width: 320px;
    max-width: 85vw;
    height: 100vh;

    background: #000000;

    transform: translateX(-100%);
    transition: transform 0.4s ease;

    z-index: 999;

    display: flex;
    justify-content: center; 
    align-items: center;     
}

.mobile-menu.active {
    transform: translateX(0);
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    font-weight:100;
    cursor: pointer;
}

/* NAVIGATION */
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu li {
    margin: 0 0 30px 0;
    list-style: none;
}

.mobile-menu a {
    display: block;

    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;

    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu a:hover {
    color: #aebfff;
    transform: translateX(5px);
}

.mobile-menu.active + .hamburger {
    display: none;
}


/* MORE MENU */

.submenu {
    position: sticky;
    top: 62px;
    left: 0;
    right: 0;
    width: 100%;
    background: #156aa5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 14px 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 999 ;
  animation: descend .5s ease-out 0s;
    }

.down-triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
position: absolute;
top: 44px;
right: 200px;
animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* ======================================================

                         MOBILE 

====================================================== */

@media (max-width: 600px) {


/* ==============================================
                     MENU                             [MOBILE]
============================================== */

.submenu {
  display:none;
  }

.down-triangle {
  display: none;
  }

}