/* ===================GLOBAL==================*/
:root {
    --gradient: linear-gradient(90deg, #0a369d, #4472ca);
    --primary: #0a369d;
    --inactive: rgba(149, 157, 165, 0.2);
    --secondary: #4472ca;
    --background: #ffffff;
    --headings: #000000;
    --text: #525252;
    --shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.hidden {
    display: none !important;
}

body,
html {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: var(--headings);
    font-size: clamp(3rem, 2.4545rem + 2.7273vw, 4.5rem);
    font-weight: 600;
}

h2 {
    color: var(--headings);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    color: var(--headings);
    font-size: clamp(1.2rem, 1.0909rem + 0.5455vw, 1.5rem);
    font-weight: 600;
    line-height: 2rem;
}

p,
ul,
a,
li {
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
    font-weight: 500; 
    line-height: 1.3;
}

hr {
    width: 100%;
    border: solid 1px rgba(149, 157, 165, 0.2);
}

a:hover {
    cursor: pointer;
    transition: var(150ms cubic-bezier(0.215, 0.61, 0.355, 1));
    color: black;
}

input {
    font-size: 1rem;
}

label {
    font-size: 14px;
}

i {
    color: var(--primary);
    font-size: 35px;
}

b {
    font-weight: 700;
}

#container {
    width: 100%;
    max-width: 1200px;
    padding: 20px 25px;
}

.primary-button {
    width: auto;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    color: white;
    padding: 14px 20px;
}

.inactive-button {
    width: auto;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
    border-radius: 8px;
    background-color: var(--inactive);
    font-size: 20px;
    font-weight: 600;
    color: white;
    padding: 14px 20px;
}

.secondary-button {
    width: auto;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: solid 2px var(--primary);
    border-radius: 8px;
    background-color: white;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    padding: 14px 20px;
}

.hover-animation:hover {
    transition: all 0.2s ease-in-out;
    transform: scale(1.04);
}

.text-hover-animation:hover {
    font-weight: 700;
    transition: all 0.2s ease-in-out;
}

.text-highlight {
    color: var(--primary);
}

.text-red {
    color:#BB263A; 
}

.logo {
    width: auto;
    height: 25px;
}

/* ===============================HEADER===============================*/

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-direction: row;
}

nav.nav-bar > a {
    font-size: 20px;
    font-weight: 600;
}

nav.nav-bar > ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        flex-direction: row;
    }

.submenu-arrow {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.buger-has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.nav-bar-reseni li {
    margin: 20px;
}


nav.nav-bar a {
    font-size: 20px;
    font-weight: 600;
}


.nav-bar-reseni a {
    gap: 20px;
    margin: 10px;
}


header .burger-menu-icon {
    display: none;
}

@media (max-width: 850px) {
    nav.nav-bar {
        display: none;
    }

    header .burger-menu-icon {
        display: flex;
    }
}

/* ================================BURGER MENU===============================*/
#burger-menu {
    z-index: 10;
    transition: all 0.3s;
    margin-right: -200vw;
    width: 100%;
    background-color: white;
    right: 0px;
    top: 0px;
    position: fixed;
    height: 100%;
    box-shadow: var(--shadow);
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 40px;
}

    #burger-menu.show {
        margin-right: 0;
    }

nav.burger-nav-bar{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav.burger-nav-bar > ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


nav.burger-nav-bar a {
    font-size: 20px;
    font-weight: 600;
}

form.burger-login {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 330px;
    width: 100%;
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-group {
    width: 100%;
    gap: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

input,
textarea {
    width: 100%;
    display: block;
    padding: 8px 15px;
    border: solid 1px #b0bec5;
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out;
}

    input::placeholder {
        color: #b0bec5;
    }

    input:focus,
    textarea:focus {
        outline: none;
        border: solid 1px var(--primary);
    }

.burger-menu-icon {
    cursor: pointer;
    color: var(--primary);
    font-size: 35px;
}

.position-fixed {
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 1200px;
    padding: 20px 30px;
    z-index: 5;
    position: fixed;
}

.forgot-password-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
}

.forgot-password {
    font-size: 13px;
}

/* ================================LOGIN MENU===============================*/
#login-window {
    z-index: 10;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
}

    #login-window.show {
        position: fixed;
        display: flex;
    }

/* =========================================FOOTER======================================*/

footer {
    margin: 75px 0px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

    footer :nth-child(1n) {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
    }

/*footer > article :nth-child(1) {*/
footer > article * {
        margin-bottom: 5px;
    }

#footerLogo {
    width: auto;
    height: 25px;
}

@media (max-width: 740px) {
    footer {
        text-align: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

        footer :nth-child(1n) {
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
}
