:root {
    --navy: #10143b;
    --navy2: #181d50;
    --red: #f23636;
    --gold: #ffc928;
    --green: #10a85a;
    --blue: #1264e8;

    --bg: #f4f8fd;
    --ink: #101634;
    --muted: #66708b;
    --line: #dfe6f0;
    --white: #fff;

    --shadow: 0 10px 30px rgba(16, 20, 59, .09);
    --radius: 16px;
    --max: 1180px;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: Inter, Arial, sans-serif;

    background: var(--bg);
    color: var(--ink);

    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: auto;
}


.topbar {
    height: 62px;

    background: #fff;

    border-bottom: 1px solid var(--line);

    position: sticky;
    top: 0;

    z-index: 100;
}

.nav {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 22px;
}

.logo {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 25px;
    font-weight: 950;

    color: var(--navy);

    white-space: nowrap;
}

.crown {
    font-size: 31px;

    filter: drop-shadow(0 2px 2px #aaa);
}

.logo em {
    font-style: normal;
    color: var(--red);
}

.tagline {
    display: block;

    font-size: 9px;

    text-align: center;

    margin-top: -5px;

    color: var(--navy);

    font-weight: 800;
}


.navlinks {
    display: flex;
    align-items: center;

    gap: 23px;

    margin-left: auto;

    font-size: 12px;

    font-weight: 850;
}

.navlinks a:hover,
.navlinks .active {
    color: var(--red);
}


.join {
    background: linear-gradient(
        135deg,
        #1264e8,
        #2b80ee
    );

    color: #fff;

    padding: 10px 15px;

    border-radius: 8px;

    font-weight: 900;

    font-size: 12px;
}

.search-icon {
    font-size: 22px;
}


.hamb {
    display: none;

    background: none;

    border: 0;

    font-size: 25px;

    color: var(--navy);

    cursor: pointer;
}


@media (max-width: 950px) {
    .navlinks {
        gap: 12px;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 20px);
    }

    .topbar {
        height: 58px;
    }

    .nav {
        gap: 10px;
    }

    .logo {
        font-size: 19px;
    }

    .crown {
        font-size: 25px;
    }

    .tagline {
        font-size: 7px;
    }

    .navlinks {
        display: none;
    }

    .join,
    .search-icon {
        display: none;
    }

    .hamb {
        display: block;
        margin-left: auto;
    }
}
