@font-face {
    font-family: 'Telegraf'; /*a name to be used later*/
    src: url(fonts/Telegraf\ UltraLight\ 200.otf); /*URL to font*/
}

@font-face {
    font-family: 'Sego'; /*a name to be used later*/
    src: url(fonts/SEGO.ttf); /*URL to font*/
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
}
body {
    /* background-color: lightblue; */
    background: linear-gradient(-45deg, #F6F4F0, #f1efe7, #e4e2dd);
	background-size: 300% 300%;
	animation: gradient 15s ease infinite;
    padding: 60px;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

#main {
    /* background-color: orange; */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bar {
    margin: 10px auto 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
    /* padding-left: 50px;
    padding-right: 50px; */
}

.top-component {
    width: 100%;
    font-family: 'Telegraf';
}

.right {
    text-align: right;
    padding-right: 5px;
}

.left {
    padding-left: 5px;
}

#middle {
    height: 100%;
    text-align: center;
    height: 100%;
    font-size: 8vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-7%);
}

#middle h2 {
    line-height: 6vh;
    font-size: 6vh;
    font-family: 'Telegraf';
}

#middle h1 {
    font-size: 20vh;
    line-height: 4vh;
    font-family: 'Sego';
    transform: translateY(-20%);
}

hr {
    /* display: block; */
    height: 1px;
    border: 0;
    border-top: 1px solid #222222;
    /* margin: 1em 0; */
    padding: 0;
}

.bottom {
    margin-bottom: 3px;
}

.second-bar {
    display: none;
}

@media (max-width: 700px) {
    #middle h2 {
        line-height: 4vh;
        font-size: 5vh;
    }
    #middle h1 {
        line-height: 4vh;
        font-size: 15vh;
    }
}

@media (max-width: 550px) {
    #middle h2 {
        line-height: 4vh;
        font-size: 4vh;
    }
    #middle h1 {
        line-height: 4vh;
        font-size: 10vh;
    }

    .bar {
        display: flex;
        flex-direction: column;
        text-align: center;
        height: 70px;
        padding: 0px auto 0px;
        font-size: 14px;
    }
    .right {
        text-align: center;
    }

    #top {
        display: none;
    }
    .second-bar {
        display: block;
    }

    #middle {
        transform: none;
    }
    #middle h1 {
        transform: none;
    }
}