/* version 1.0 */

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Gravity';
    src: url('./fonts/Gravity-Bold.otf');
    font-weight: 700;
}

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

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

.container {
    max-width: 1770px;
    margin: auto;
    padding: 0 50px;
}

header {
    background-color: #ecf6ea;
}

header ul {
    list-style: none;
    font-family: 'Montserrat';
    display: flex;
}

header ul a {
    text-decoration: none;
    color: #333333;
    padding: 10px 20px;
    display: block;
    font-size: 18px;
    transition: all 0.2s ease;
}

header ul a:hover {
    background-color: #E0E0E0;
}

header ul .current-menu-item a {
    background-color: #E0E0E0;
    font-weight: 600;
    pointer-events: none;
}

.top-bar {
    background-color: #4CAF50;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.top-bar a {
    text-decoration: none;
    color: #fff;
    font-family: 'Gravity';
    font-weight: 700;
    font-size: 20px;
}

.center-div {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

h1 {
    margin-top: 50px;
    text-align: center;
    font-family: 'Montserrat';
}

.extra-top-bar {
    text-align: center;
    background-color: #ffcbcb;
    padding: 20px;
    font-family: 'Montserrat';
    font-weight: 700;
    color: #ff0000;
    font-size: 20px;
}

@media (max-width: 710px) {
    .center-div {
        margin-top: 0;
    }
}

@media (max-width: 425px) {
    .container {
        padding: 0 20px;
    }
    header ul a {
        padding: 5px 10px;
        font-size: 16px;
    }
}

@media (max-width: 405px) {
    .top-bar .container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}