@font-face {
    font-family: 'FC-Iconic-Medium';
    src: url(fonts/FC-Iconic/FCIconic-Medium.otf);
}
@font-face {
    font-family: 'FC-Iconic-Regular';
    src: url(fonts/FC-Iconic/FCIconic-Regular.otf);
}
@font-face {
    font-family: 'FC-Iconic-Semibold';
    src: url(fonts/FC-Iconic/FCIconic-SemiBold.otf);
}
@font-face {
    font-family: 'FC-Iconic-Bold';
    src: url(fonts/FC-Iconic/FCIconic-Bold.otf);
}

/* Header */
header {
    margin-top: -15.3vh;
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0.5s ease;
    box-shadow: rgba(149, 157, 165, 0.08) 0px 8px 24px;
    display: block;
    align-items: center;
    justify-content: center;
    padding: 0px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.logo {
    width: 50px;
    margin: 0 auto;
}

.logo img {
    margin-top: 1vh;
    display: block;
    height: 60px;
}

.n-name,
.info-name {
    display: block;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.n-name {
    margin-bottom: -13px;
    font-family: "FC-Iconic-Regular";
    color: #0c240c;
    font-size: 30px;
    position: relative;
    top: -10px;
}

.info-name {
    font-family: "FC-Iconic-Regular";
    color: #1a4819;
    font-size: 15px;
}

/* menubar */

li a {
    font-family: 'FC-Iconic-Regular';
    display: inline-block;
    color: #303030;
    text-align: center;
    position: relative;
    padding: 1.5vh 8vh;
    font-size: 20px !important;
    text-decoration: none;
    transition: all 0.3s;
}

li a:hover {
    color: rgb(128, 197, 120);
}


li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(128, 197, 120);
    transition: width 0.3s ease-in-out;
}

li a:hover::before {
    width: 50%;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin-top: 0vh;
    margin-bottom: 0vh;
}

.nav-menu a.active::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(128, 197, 120);
    transition: width 0.3s ease-in-out;
}

.nav-menu a.active:hover {
    color: black;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #424242;
}

@media (max-width: 1500px) {
    .logo {
        width: 50px;
        margin-bottom: -5px;
        margin: 0 auto;
    }

    .logo img {
        height: 50px;
    }

    li a {
        font-size: 17px !important;
    }

    .n-name {
        font-size: 25px;
    }

    .info-name {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        z-index: 100;
        display: inline-block;
        position: fixed;
        margin-top: 2vh;
        right: 6vw;
    }

    li a {
        font-size: 15px !important;
    }
}

    @media (max-width: 1050px) {
        body {
            overflow-y: auto;
        }
        
        header {
            box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
            top: 15vh;
        }
        
        .hamburger {
            display: inline-block;
            position: fixed;
            top: 3.5vh;
            right: 7vw;
        }
        
        .hamburger.active .bar:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active .bar:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        
        
        .nav-menu {
            position: fixed;
            right: 0;
            gap: 4.5vh;
            flex-direction: column;
            background-color: rgba(255, 255, 255, 1);
            width: 100%;
            height: 200vh;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out;
            top: -65vh;
            pointer-events: none;
        }
        
        .nav-menu.active {
            opacity: 1;
            top: -60vh;
            transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out;
            pointer-events: auto;
        }
        
        .nav-menu a.active:hover {
            color: black;
        }
        
        .hamburger.active .bar {
            background-color: #424242;
        }
        
        .logo img {
            padding-top: 5px;
            padding: 4px;
            display: block;
            height: 50px;
            margin: 0 auto;
        }
        
        .n-name,
        .info-name {
            display: block;
            margin: 0 auto;
            padding: 0;
            text-align: center;
        }
        
        .n-name {
            margin-bottom: -12px;
            color: #0c240c;
            font-size: 25px;
            position: relative;
            top: -10px;
        }
        
        .info-name {
            color: #1a4819;
            font-size: 12px;
            padding-bottom: 10px;
        }

        li a {
            font-size: 25px !important;
            padding: 10px 30px;
        }

        li a:hover {
            color: #303030;
        }
        
        
        li a::before {
            content: "";
            position: absolute;
            width: 0;
            height: 1.8px;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background-color: white;
            transition: width 0.3s ease-in-out;
        }
        
        li a:hover::before {
            width: 50%;
        }
        
        .nav-menu {
            display: flex;
            justify-content: center;
            list-style-type: none;
            margin-top: 20px;
        }
        
        .nav-menu a.active::before {
            content: "";
            position: absolute;
            width: 25%;
            height: 2px;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgb(128, 197, 120);
            transition: width 0.3s ease-in-out;
        }

    }