
* {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-backface-visibility:hidden;
}

body {
    font-family: 'Work Sans', sans-serif, SansSerif;
    scroll-behavior: smooth;
    margin: 0;
    height: 100%;
    background-color: #18191c;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom center;
    background-image: url(https://agw.lv/assets/img/mt-bg-1.jpg);
}

a, a:active, a:hover, a:focus {
    color: #d03333;
    text-decoration: none;
}

.content {
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@keyframes fx-bg-fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.logo {
    position: relative;
}

.logo-symbol {
    position: relative;
    max-width: 50vw;
    z-index: 2;
}


.logo-symbol--front {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .2;
}

.logo-backdrop {
    mix-blend-mode: color-burn;
}

.logo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-color: #d03333;
    clip-path: polygon(50% 0%, 0% 80%, 100% 80%);
    z-index: 1;
}

.logo-background.triangle {
    transform: translate(-50%, -55%);
}

.logo-background::before,
.logo-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d03333;
    clip-path: polygon(50% 0%, 0% 80%, 100% 80%);
}

.logo-background.down,
.logo-background.down:before,
.logo-background.down:after
{
    clip-path: polygon(0% 20%, 100% 20%, 50% 100%);
}

.logo-background.circle,
.logo-background.circle:before,
.logo-background.circle:after
{
    clip-path: circle(50% at 50% 50%);
}

.logo-background.square,
.logo-background.square:before,
.logo-background.square:after
{
    clip-path: inset(0% 0% 0% 0% round 0%);
}

.logo-background::before {
    background-color: #ff4444;
    mix-blend-mode: screen;
    animation: glitch-1 3s infinite;
}

.logo-background::after {
    background-color: #aa0000;
    mix-blend-mode: multiply;
    animation: glitch-2 2.5s infinite;
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    10% {
        transform: translate(-5px, 2px);
        opacity: 0.9;
    }
    20% {
        transform: translate(3px, -3px);
        opacity: 0.7;
    }
    30% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    40% {
        transform: translate(4px, 1px);
        opacity: 0.85;
    }
    50% {
        transform: translate(-2px, -2px);
        opacity: 0.75;
    }
    60% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.7;
    }
    15% {
        transform: translate(4px, -2px);
        opacity: 0.8;
    }
    25% {
        transform: translate(-3px, 3px);
        opacity: 0.6;
    }
    35% {
        transform: translate(0, 0);
        opacity: 0.7;
    }
    45% {
        transform: translate(-4px, -1px);
        opacity: 0.75;
    }
    55% {
        transform: translate(2px, 2px);
        opacity: 0.65;
    }
    65% {
        transform: translate(0, 0);
        opacity: 0.7;
    }
}

.footer-content {
    position: fixed;
    flex-direction: column;
    color: #f8f8f8;
    font-weight: 600;
    text-align: center;
    display: flex;
    bottom: 20px;
    left: 0;
    right: 0;
}

.footer-content a {
    padding: 10px;
    color: inherit;
    position: relative;
}

.footer-content a:hover, .footer-content a:active, .footer-content a:focus{
    text-decoration: none;
    outline: none;
}

.footer-content a:after {
    content: "";
    display: block;
    height: 1px;
    width: 1%;
    background-color: #d03333;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    top: 35px;
    opacity: 0;
    transform: translateX(-50%);
}

.footer-content a:hover:after, .footer-content a:focus:after {
    opacity: 1;
    width: 100%;
}