@font-face { font-family: main; src: url(../fonts/Inter-Regular.ttf); }
@font-face { font-family: mainBold; src: url(../fonts/Inter-Bold.ttf); }
@font-face { font-family: mainExtraBold; src: url(../fonts/Inter-ExtraBold.ttf); }
@font-face { font-family: mainLight; src: url(../fonts/Inter-Light.ttf); }

* {
    font-family: main;
}

html, body {
    background-color: black;
    margin: 0; 
    padding: 0;
}

body>div {
    padding-top: 45px;
}

/* -------------- */
/* --- HEADER --- */
/* -------------- */

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    height: 45px;
    position: fixed;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

header>div {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    height: 100%;
    margin-right: 34px;
}

header>div>a {
    background-color: black;
    border-right: 1px solid white;
    color: white;
    margin: 5px 0;
    padding: 8px; 
    cursor: pointer;
    height: calc(100% - 16px);
    width: 180px;
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    font-size: 18px;
    transition: all 0.3s;
}
header>div>a:last-child { border-right : none; }
header>div>a { text-decoration: none; }
header>div>a:hover, header>div>a.active { background-color: #dcd9d9; color: black; }

header>p { margin-left: 45px; }

/* --------------- */
/* --- SECTION --- */
/* --------------- */

div.sectionContainer {
    border-top: 1px solid black;
    background-color: #0e181d;
    padding: 30px 0;
}
div.sectionContainer.secondary {
    background-color: #37474f;
}
div.sectionContainer.tertiary {
    background-color: #37474f;
}

.containedText {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    max-width: 1100px;
    margin: auto;
}
.containedText.padded {
    padding: 50px;
}
.containedText.smallPart {
    align-items: flex-start;
}

/* ------------------ */
/* --- MAIN TEXTS --- */
/* ------------------ */

h1 {
    margin: 0 0 14px 0;
    text-align: center;
    flex-grow: 1;
    color: white;
    font-family: mainLight;
    font-size: 70px;
    letter-spacing: .9rem;
}

h2 {
    margin: 0;
    font-family: mainLight;
    font-size: 45px;
    letter-spacing: .4rem;
    text-align: center;
    font-variant: small-caps;
    color: white;
}
h2.bordered { 
    border-bottom: 2px solid black;
}

h3 {
    margin: 0;
    font-family: main;
    font-size: 35px;
    letter-spacing: .4rem;
    text-align: center;
    font-variant: small-caps;
    color: white;
}
.smallPart .h3 {
    letter-spacing: .05rem;
}

h4 {
    margin: 30px 0 0 0;
    font-family: mainLight;
    font-size: 16px;
    letter-spacing: .1rem;
    text-align: left;
    color: white;
    font-weight: normal;
}

p {
    font-family: mainLight;
    font-size: 22px;
    letter-spacing: .1rem;
    line-height: 1.8;
    text-align: justify;
    color: white;
    margin-top: 12px;
    margin-bottom: 12px;
}
p.textAlone {
    text-align: center;
}
p.noMargin {
    margin-top: 0; margin-bottom: 0;
}

.smallPart p {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 6px;
    letter-spacing: .04rem;
}
.smallPart p.important {
    font-weight: bold;
}
p.smallText {
    font-size: 14px;
    font-style: italic;
}

footer {
    background-color: black;
    margin: 25px 0 0 0;
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    color: white;
}
footer>p {
    text-align: center;
    font-size: 13px;
}


@media all AND (max-width: 1023px) {

    header {
        flex-direction: column;
        height: auto;
    }

    header>p {
        display: none;
    }

    header>div {
        margin: 0;
        width: 100%;
    }

    header>div>a {
        flex: 1;
        height: 35px;
    }

    .containedText {
        max-width: calc(100% - 50px);
        padding: 20px;
    }

}