@import "variables.css";
@import "intra-nav.css";
@import "intra-forms.css";
@import "intra-common-parts.css";
@import "intra-parts.css";

* {
    box-sizing: border-box;
    font-family: var(--primary-font);
}

body {
    margin: 0;
    padding: 0;
    top: 0;
    height: 100%;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 16px;
    background-color: white;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

#main {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding-top: 112px;
}

#content {
    padding: 0 30px 40px 30px;
    width: calc(100% - 280px);
    max-width: 1000px;
    margin-left: 280px;
}

.without-nav #content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*-------------------------------*/

.material-symbols-outlined {
 font-variation-settings:
     'FILL' 0,
     'wght' 200,
     'GRAD' 0,
     'opsz' 24
}

/*------------------------------*/

h1 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

/*------------------------------*/

#cookies {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 700px;
    border-radius: 10px;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    background-color: rgb(220,220,220);
    font-size: 14px;
    gap: 20px;
    z-index: 10000;
}

#cookies h3 {
    font-size: 20px;
    margin-top: 0;
    font-weight: bold;
    margin-bottom: 15px;
}

#cookies p {
    margin: 0;
}

#cookies a, #cookies a:visited, #cookies a:hover {
    color: var(--text);
}

#cookies div:last-of-type {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

a {
    color: var(--text);
}

@media screen and (max-width: 1080px) {
    #content {
        margin-left: 0;
        width: 100%;
    }

    #main {
        padding-top: 62px;
    };
}

@media screen and (max-width: 670px) {
    #content {
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }
}
