@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0px;
    padding: 0px;
    font-family: "Poppins";
    list-style: none;
    list-style-type: none;
    text-decoration: none;
}

svg {
    min-width: 1.5em;
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
}

header {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    transition: transform 0.35s ease;

    a,
    button {
        cursor: pointer;
        border: none;
        outline: none;
        color: inherit;
        background: none;
        box-shadow: none;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        column-gap: 0.35rem;
        white-space: nowrap;
        padding-block: 0.75rem;
        padding-inline: 1.25rem;
        border-radius: 20px;
        color: white;
        background-color: #2b81f8;
        transition: all 0.3s ease;
        width: 100%;
    }

    .btn:hover {
        background-color: #1a4f99;
    }

    .navbar {
        display: flex;
        align-items: center;
        position: relative;
        justify-content: space-between;
        column-gap: 1rem;
        width: 95%;
        padding: 10px;
        border-radius: 20px;
        border: 1px solid #eaeaea;
        margin-inline: auto;
        padding-inline: 1.5rem;
    }

    .navbar::before {
        content: "";
        backdrop-filter: blur(40px);
        position: absolute;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        z-index: -1;
    }

    .header-brand {
        font-size: 30px;
        align-items: center;
        line-height: 1.25;
        color: rgb(0, 0, 0);
        gap: 10px;
        display: flex;

        img {
            height: 40px;
        }
    }

    .header-menu {
        position: absolute;
        top: 90%;
        left: 0px;
        pointer-events: none;
        opacity: 0;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(40px);
        transition: top 0.5s, opacity 0.3s;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        border-radius: 20px;
    }

    .header-menu.is-active {
        pointer-events: initial;
        opacity: 1;
        top: 110%;
        padding: 10px;
        border: 1px solid #eaeaea;
    }

    .menu-inner {
        display: block;
    }

    .menu-item {
        padding: 10px 30px 10px 30px;
        border-bottom: 1px solid #ffffff;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-link {
        font-size: 16px;
        position: relative;
        color: black;
        transition: all 0.3s ease;
    }

    .menu-link:hover {
        color: #2b81f8;
    }

    .menu-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -5px;
        width: 0;
        height: 2px;
        background: #2b81f8;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .menu-link:hover::after {
        width: 100%;
    }


    .burger {
        position: relative;
        display: block;
        width: 1.2rem;
        height: 1rem;
        z-index: 99;
        visibility: visible;
    }

    @media only screen and (min-width: 912px) {
        .header-menu {
            position: relative;
            top: initial;
            left: initial;
            height: auto;
            padding: unset;
            background-color: unset;
            backdrop-filter: unset;
            background: unset;
            box-shadow: unset;
            transition: unset;
            width: unset;
            border: none;
            flex-direction: row;
            border-radius: unset;
            transform: unset;
            pointer-events: initial;
            opacity: 1;
        }

        .menu-item {
            padding: 0px;
            border-bottom: none;
        }

        .menu-inner {
            display: flex;
            flex-direction: row;
            align-items: center;
            column-gap: 2rem;
            margin-inline: auto;
        }

        .menu-link {
            text-transform: capitalize;
        }

        .burger {
            display: none;
            visibility: hidden;
        }

        .btn {
            width: unset;
        }
    }

    .burger-line {
        position: absolute;
        right: 0;
        opacity: 1;
        width: 100%;
        height: 2px;
        line-height: 1.25;
        background-color: black;
        transition: all 0.25s ease;
    }

    .burger-line:nth-child(1) {
        top: 0.25rem;
    }

    .burger-line:nth-child(2) {
        top: 0.75rem;
    }

    .is-active .burger-line:nth-child(1) {
        top: 0.5rem;
        transform: rotate(135deg);
        background-color: #2b81f8;
    }

    .is-active .burger-line:nth-child(2) {
        top: 0.5rem;
        transform: rotate(-135deg);
        background-color: #2b81f8;
    }

    @media only screen and (min-width: 490px) {
        .navbar {
            column-gap: 2rem;
        }
    }
}


header.is-sticky {
    top: 0;
    transform: translateY(-100%);
}

main {
    padding-top: 72px;

    .main-content {
        max-width: 900px;
        padding: 0px 20px;
        margin: 0px auto;
        text-align: justify;

        h1,
        h2,
        h3,
        h4 {
            margin: 25px 0px 20px;
            text-align: start;
        }

        li {
            margin: 5px 0px 5px;
            margin-left: 20px;
            list-style: disc;
        }

        li::marker {
            color: #2b81f8;
        }

        p,
        ul {
            margin: 15px 0px 15px;
            color: #575757;
            line-height: 1.6;
            letter-spacing: .198px;
        }
    }
}

footer {
    padding: 20px 0px;

    .footer-container {
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.753);
        backdrop-filter: blur(40px);
        border: 1px solid #eaeaea;
        margin: 0px auto;
        width: 95%;
        position: relative;
        overflow: hidden;

        a {
            color: #000;
        }

        a:hover {
            color: #2b81f8;
        }

        .footer-header {
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .footer-logo {
                font-size: 30px;
                display: flex;
                gap: 10px;
                align-items: center;

                img {
                    height: 40px;
                }
            }

            .social-media a {
                padding: 10px;
            }

            .social-media a:hover {
                color: #2b81f8;
            }

            .legal {
                display: flex;

                a:not(:last-child)::after {
                    content: "";
                    display: inline-block;
                    width: 5px;
                    height: 5px;
                    background-color: #2b81f8;
                    border-radius: 50%;
                    margin: 0 10px;
                    vertical-align: middle;
                }
            }

            @media only screen and (max-width: 912px) {
                flex-direction: column;
                gap: 20px;
            }
        }

        .copyright {
            border-top: 1px solid #eaeaea;
            text-align: center;
            padding: 20px;
            color: rgb(43, 129, 248);
        }
    }

    .footer-container::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;

        background: linear-gradient(120deg,
                rgba(43, 129, 248, 0.45),
                rgba(255, 255, 255, 0.15),
                rgba(43, 129, 248, 0.25));

        filter: blur(40px);
    }
}