* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

video#bgvid {
    position: fixed; right: 0; bottom: 0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -100;
    /*background: url(polina.jpg) no-repeat;*/
    background-size: cover;
}

div.container {
    padding-top: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.logo {
    width: 536px; height: auto;
    max-width: 85%;
    margin-bottom: 40px;
}

.links a {
    padding: 15px;
}

.tags {
    margin-top: 40px;
    font-family: Clarikagrot, sans-serif;
    color: #fff;
    font-size: 39px;
    position: relative;
    margin-bottom: 100px;
    width: 40%;
    flex-grow: 1;
}

.tags .tag {
    display: block;
    opacity: 0;
    transition: all .2s linear;
}

.tags .tag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.tags span:first-child {
    display: inline-block;
    font-size: 33px;
}

.tags span:nth-child(2) {
    display: inline-block;
    margin-left: 40px;
}

.tags span:nth-child(3) {
    text-align: right;
}

.tags span:nth-child(4) {
    font-size: 40px;
}

.tags span:nth-child(5) {
    text-align: right;
    font-size: 57px;
}

.tags span:nth-child(6) {
    font-size: 44px;
}

.tags span:nth-child(7) {
    text-align: right;
    font-size: 35px;
}

footer {
    font-family: Clarikagrot, sans-serif;
    color: #fff;
    font-size: 48px;
    position: fixed;
    bottom: 45px;
}

footer .word {
    opacity: 0;
}

footer .word:first-child {
    animation: displayWord .7s ease-out .5s forwards;
}
footer .word:nth-child(2) {
    animation: displayWord .7s ease-out 1.2s forwards;
}
footer .word:nth-child(3) {
    animation: displayWord .7s ease-out 1.9s forwards;
}

@keyframes displayWord {
    from {
        opacity: 0;
    } to {
    opacity: 1;
      }
}


@font-face {
    font-family: Clarikagrot;
    src: url("clarikagrot-regular.ttf") format("truetype");
}

@media screen and (max-width: 1800px) {
    .tags {
        width: 50%;
    }
}

@media screen and (max-width: 1500px) {
    .tags {
        width: 60%;
    }
}

@media screen and (max-width: 1100px) {
    .tags {
        width: 75%;
    }
}

@media screen and (max-width: 800px) {
    html,body {
        padding-top: 1%;
    }
    .logo {
        margin-bottom: 120px;
    }
    .tags {
        width: 90%;
    }
    footer {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px) {
    .tags {
        text-align: center;
    }
    .tags .tag {
        display: block !important;
        margin: 0 !important;
        margin-bottom: 10px !important;
        top: 0 !important;
        text-align: center !important;
        font-size: 22px !important;
    }
}

@media screen and (max-width: 768px) and (max-height: 735px){
    .logo {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 768px) and (max-height: 680px){
    .logo {
        margin-bottom: 10px;
    }
}

@media screen and (max-height: 400px) {
    .logo {
        margin-bottom: 20px;
    }
    .tags .tag {
        margin-bottom: 2px !important;
    }
}
