﻿@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lemon&family=Libre+Caslon+Display&display=swap');
﻿
:root {
    --main-color: rgba(255, 255, 255, 0.5);
    --second-color: #f8f9fa;
    --third-color: rgba(3, 96, 251, 0.3);
    --fourth-color: #ededed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.lemon-regular {
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;
}

.libre-caslon-display-regular {
    font-family: "Libre Caslon Display", serif;
    font-weight: 400;
    font-style: normal;
}

.inter-font {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.lobster-regular {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.konkhmer-sleokchher-regular {
    font-family: "Konkhmer Sleokchher", system-ui;
    font-weight: 400;
    font-style: normal;
}




header {
    /*    position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    transition: 0.5s ease;
    margin-bottom: 300px;
}

    header .brand {
        color: #fff;
        font-size: 1.5em;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
    }

    header .navigation {
        position: relative;
    }

        header .navigation .navigation-items a {
            position: relative;
            color: #fff;
            font-size: 1em;
            font-weight: 500;
            text-decoration: none;
            margin-left: 30px;
            transition: 0.3s ease;
        }

            header .navigation .navigation-items a::before {
                content: "";
                position: absolute;
                background: #fff;
                width: 0;
                height: 3px;
                bottom: -5px;
                left: 0;
                transition: 0.3s ease;
            }

            header .navigation .navigation-items a:hover::before {
                width: 100%;
            }

@media (max-width: 1040px) {
    header {
        padding: 12px 20px;
    }

        header .navigation {
            display: none;
        }

            header .navigation.active {
                position: fixed;
                width: 100%;
                height: 100vh;
                top: 0;
                left: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                background: rgba(1, 1, 1, 0.5);
            }

            header .navigation .navigation-items a {
                color: #222;
                font-size: 1.2em;
                margin: 20px;
            }

                header .navigation .navigation-items a:before {
                    background: #222;
                    height: 5px;
                }

            header .navigation.active .navigation-items {
                background: #fff;
                width: 600px;
                max-width: 600px;
                margin: 20px;
                padding: 40px;
                display: flex;
                flex-direction: column;
                align-items: center;
                border-radius: 5px;
                box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
            }

    .menu-btn {
        background: url('../images/menu.png') no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
    }

        .menu-btn.active {
            z-index: 999;
            background: url('../images/close.png') no-repeat;
            background-size: 25px;
            background-position: center;
            transition: 0.3s ease;
        }
}

@media (max-width: 576px) {
    header .navigation.active .navigation-items {
        width: 90%;
        padding: 30px;
    }
}
