@font-face {
    font-family: 'foncik';
    src: url('fonts/foncik.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unisans';
    src: url('fonts/Uni\ Sans\ Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body
{
    font-family: 'foncik';
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #333333;
    color: white;
}

#container
{
    margin-left: auto;
    margin-right: auto;
}

#firstPage
{
    min-height: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid white;
}

#titleArea {
    font-family: 'unisans';
    margin-left: 200px;
    display: flex;
    justify-content: center;
    padding: 15px;
    font-size: 60px;
}

#rest {
    display: flex;
    flex-direction: column;
}

#staticTxt {
    margin-top: 5px;
    margin-left: 10px;
}

#rest
{
    margin-left: 13px;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
}

.dynTxt
{
    position: relative;
    top: 0;
    animation: slide 12s steps(4) infinite;
}
@keyframes slide
{
    100%
    {
        top: -320px;
    }
}

.dynTxt span
{
    position: relative;
}

.dynTxt span::after
{
    content: "";
    left: 0;
    background-color: #333333;
    position: absolute;
    height: 100%;
    width: 100%;
    border-left: 2px solid white;
    animation: typing 3s steps(20) infinite;
}

@keyframes typing {
    45%
    {
        left: 100%;
        margin: 0 -35px 0 0px;
    }
    55%
    {
        left: 100%;
        margin: 0 -35px 0 0px;
    }
}

#videoArea
{
    min-width: 100%;
    min-height: 450px;    
}

#secondPage
{
    height: 500px;
}

#left
{
    border-right: 2px solid white;
    padding-left: 5%;
    float: left;
    height: 120%;
    width: 25%;
}

#middle
{
    float: left;
    padding-left: 2.5%;
    height: 100%;
    width: 35%;
}

#right
{
    border-left: 2px solid white;
    float: left;
    margin-left: 40px;
    height: 120%;
    width: 25%;
}

.headerTitle
{
    font-family: 'unisans';
    text-align: center;
    font-size: 150%;
    padding-bottom: 5%;
}
.title
{
    padding-top: 8%;
    padding-bottom: 3%;
    text-align: center;
}

a
{
    color: white;
}

.gallery
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.column
{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.gallery img
{
    padding: 5px;
    width: 100%;
    transition: transform 0.3s ease-in-out;;
}

.gallery img:hover
{
    transform: scale(2);
}

#middlePage
{
    min-height: 300px;
    border-bottom: white 2px solid;
    margin-bottom: 40px;
    margin-top: 70px;
}

#header
{
    font-family: 'unisans';
    margin-left: 20%;
    font-size: 60px;
}

#personalPhoto
{
    float: left;
    margin-left: 18%;
    margin-right: 5%;
    border-radius: 50%;
    width: 15%;
    height: 15%;
}

#infoContent
{
    margin-bottom: 7%;
    width: 40%;
    font-size: 15px;
    padding-top: 1%;
    margin-left: 30%;
}

