@font-face {
    font-family: Oilvare Base;
    src: url(../fonts/Oilvare_Base.ttf) format(truetype);
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto_VariableFont_wdth\,wght.ttf) format(truetype);
}

@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans-VariableFont_opsz\,wght.ttf) format(truetype);
}

@font-face {
    font-family: Quicksand;
    src: url(../fonts/Quicksand_VariableFont_wght.ttf) format(truetype);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    background-image: linear-gradient(to top, #03212f 5%, #083e69 31%, #56317a 100%);
}

.header-main {
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 1000;
}
.header-main-logo img {
    height: 100%;
    transform: scale(2.0);
    transform-origin: left center;
    cursor: pointer;
}


.header-main-nav {
    width: fit-content;
}

.header-main-nav ul {
    list-style: none;
}

.header-main-nav ul li {
    font-family: DMSans;
    font-size: 20px;
    font-weight: 600;
    color: #ffff;
    display: inline;
    cursor: pointer;
    line-height: 50px;
    padding-right: 35px;
    transition: all ease-in-out 0.3s;
}

.header-main-nav ul li:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    /* Optional: thickness */
    text-underline-offset: 8px;
    /* Controls how low the underline is */
    color: #c13584;
}


.menu-icon {
    display: none; /* ✅ hidden by default (desktop) */
    flex-direction: column;
    justify-content: space-between;
    width: 23px;
    height: 17px;
    cursor: pointer;
    margin-right: 20px;
    z-index: 1001;
}

.menu-icon span {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: 0.4s;
}

/*  Animate into X when clicked */
#sidebar-active {
    display: none;
}

#sidebar-active:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#sidebar-active:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#sidebar-active:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.links-container {
    display: flex;
    align-items: center;
}

@media (max-width: 450px) {
  /* Hide desktop nav */
    .header-main-nav ul {
        display: none;
    }

    /* Show menu icon */
    .menu-icon {
        display: flex;
    }

      .links-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 60px;
        right: -100%;
        width: 220px;
        height: auto;
        background-image: linear-gradient(to top, #03212f 5%, #083e69 31%, #56317a 100%);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        transition: right 0.75s ease-out;
        padding: 20px;
        z-index: 10;
    }

#sidebar-active:checked ~ .links-container {
  right: 0;
}

  .links-container ul {
    display: flex;
    flex-direction: column;
    width: 100%;
     -webkit-tap-highlight-color: transparent; /*removes blue flash */
  }

  .links-container ul li {
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    display: block;
  }
  .links-container a {
    color: white;
    text-decoration: none;
}

}
