﻿@font-face {
    font-family: Roboto-Light;
    src: url(./fonts/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto-Bold;
    src: url(./fonts/Roboto-Bold.ttf);
}

@font-face {
    font-family: Roboto-Medium;
    src: url(./fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: Roboto-Thin;
    src: url(./fonts/Roboto-Thin.ttf);
}


/* OpenSans */

@font-face {
    font-family: OpenSans-Light;
    src: url(./fonts/OpenSans-Light.ttf);
}

@font-face {
    font-family: OpenSans-Bold;
    src: url(./fonts/OpenSans-Bold.ttf);
}

@font-face {
    font-family: OpenSans-Regular;
    src: url(./fonts/OpenSans-Regular.ttf);
}


/* Glorila */

@font-face {
    font-family: Glorila-Medium;
    src: url(./fonts/GloriolaStdMedium.otf);
}

@font-face {
    font-family: Glorila-Regular;
    src: url(./fonts/GloriolaStdRegular.otf);
}

@font-face {
    font-family: Glorila-Thin;
    src: url(./fonts/GloriolaDisplayThin.otf);
}

@font-face {
    font-family: Glorila-Hair;
    src: url(./fonts/GloriolaDisplayHair.otf);
}

* {
    box-sizing: border-box;
}

body {
    font-family: OpenSans-Light;
    font-size: 0.9em;
    margin: 0;
    min-width: 500px;
}

.width-change {
    width: 100%;
    max-width: 1400px;
}

#header,
.main {
    display: flex;
    justify-content: center;
}

#header>div,
.content {
    padding-left: 50px;
    padding-right: 50px;
}

.content {
    margin-top: 93px;
}

.name-bold {
    font-family: Glorila-Medium;
}


/* LINKS */

a.more-link,a.more-link:visited,
a.name,a.name:visited,
a.menu-link,a.menu-link:visited,
a.post-link,a.post-link:visited {
    color: black;
    opacity: 1;
    text-decoration: none;
}

a.more-link {
    width: 100%;
    display: none;
}

a.menu-link:hover {
    color: gray;
}


a:link, a:visited {
    color: black;
    opacity: 1;
    text-decoration: none;
}

a:hover {
    color: black;
}


/* HEADER */

#header {
    position: fixed;
    width: 100%;
    top: 0px;
    padding-bottom: 12px;
    min-height: 60px;
    z-index: 3;
    font-size: 1.4em;
    letter-spacing: 1px;
    font-family: Glorila-Thin;
    color: black;
    background-color: white;
    min-width: 500px
}

#header>div {
    height: 45px;
    display: flex;
    flex-direction: row;
}

#menu-first {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    justify-content: space-between;
}

#menu {
    flex-grow: 0;
    width: 300px;
    display: flex;
    justify-content: space-between;
}

a.name, a.name:visited,
#menu,
#menu-icon {
    color: black;
    opacity: 1;
    text-decoration: none;
    align-self: flex-end;
}

#menu-icon {
    display: none;
}

#menu-icon img {
    width: 40px;
}

@media screen and (max-width: 750px) {
    #menu-first {
        width: 100%;
        min-height: 80px;
        display: flex;
        flex-grow: 1;
        flex-direction: row;
        justify-content: space-between;
    }
    #menu-icon {
        display: inline;
        cursor: pointer;
    }
    #header>div {
        height: 80px;
        display: flex;
        flex-direction: column;
    }
    #menu {
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: white;
        padding: 5px 0px;
        z-index: 3;
    }
    #menu span {
        padding: 5px 0px;
        background-color: white;
    }
}


/*----------------------------------------*/

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 1px solid #f3f3f3;
    border-radius: 50%;
    border-top: 1px solid black;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}