@font-face {
    font-family: "rotundaextra_bold";
    src: url("/public/font/rotunda-extrabold-webfont.woff2") format("woff2"), url("/public/font/rotunda-extrabold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "rotunda_regularregular";
    src: url("/public/font/rotunda-regular-webfont.woff2") format("woff2"), url("/public/font/rotunda-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #10131d;
    font-family: Verdana, Tahoma, sans-serif;
    padding-top: 100px;
    color: white;
    font-size: 18px;
    line-height: 26px;
}

.logo {
    max-width: 320px;
    margin-bottom: 100px;
}

.wrapper {
    margin: 0 auto;
    max-width: 1440px;
    display: flex;
    padding: 0 0 0 30px;
}

section {
    width: 50%;
    flex-shrink: 0;
    margin-right: 40px;
}

aside {
    width: calc(50% - 40px);
    display: flex;
    align-items: end;
    overflow: hidden;
    margin-top: -186px;
    margin-bottom: -17px;
    position: relative;
}

aside .rel{
    position: relative;
    margin-bottom: -15px;
}

aside .rel img {
    width: 100%;
    position: relative;
    transition: 0.3s ease-out;
}
aside img.active {
    top: 0;
}

aside .rel:after {
    content: " ";
    width: 35.2%;
    height: 9.5%;
    background-color: #10131d;
    position: absolute;
    bottom: 59.5%;
    left: 9.9%;
    z-index: 2;
}

aside.active .rel:after {
    animation: border-flicker forwards 5s linear;
}

aside .rel:before {
    content: " ";
    width: 35.2%;
    height: 9.5%;
    background-color: #10131d;
    position: absolute;
    bottom: 59.5%;
    left: 54.9%;
    z-index: 2;
}

aside.active .rel:before {
    animation: border-flicker forwards 5s linear;
}

a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #00c9ff;
    transition: 0.3s ease;
}

a:hover {
    border-color: #92fe9d;
}

.small {
    font-size: 0.6em;
    margin-top: -52px;
}

h1,
h2 {
    font-family: "rotundaextra_bold";
    margin-top: 0;
}

h1 {
    margin-bottom: 100px;
    font-size: 3.55em;
    line-height: 1.34em;
    background: #00c9ff;
    background: -webkit-linear-gradient(to right, #00c9ff 0%, #92fe9d 100%);
    background: -moz-linear-gradient(to right, #00c9ff 0%, #92fe9d 100%);
    background: linear-gradient(to right, #00c9ff 0%, #92fe9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.2em;
    line-height: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

ul,
.list {
    margin: 0 0 100px 0;
}

ul {
    padding-left: 30px;
    list-style: none;
}

ul > li {
    position: relative;
}

ul > li:after {
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: -28px;
    top: 50%;
    margin-top: -4px;
    background-color: #00c9ff;
}

ul li,
.list > p {
    margin: 0 0 10px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media only screen and (max-width: 800px) {
    h1 {
        width: calc(100vw - 80px);
        font-size: 2.5em;
        line-height: 1.34em;
    }

    header .logo {
        max-width: 40%;
    }

    .small {
        margin-top: 0px;
    }

    header .wrapper {
        flex-direction: row;
    }

    .wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    section {
        width: 100%;
    }

    aside {
        width: 100%;

        margin-top: 0px;
        margin-bottom: -15px;
    }

    aside img {
        width: 100%;
    }

    footer {
        position: relative;
    }

    footer .small {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        color: #10131d;
    }
}

@media only screen and (max-width: 480px) {
    body {
        padding-top: 30px;
    }

    h1 {
        width: 100%;
        line-height: 1.34em;
    }

    header .wrapper {
        padding: 0 20px;
        justify-content: left;
    }

    header .logo {
        max-width: 160px;
    }

    footer .wrapper {
        padding: 0;
        justify-content: center;
    }
}

@keyframes border-flicker {
    0% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
    2% {
        opacity: 1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
    4% {
        opacity: 0.1;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }

    8% {
        opacity: 0;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
    70% {
        opacity: 0;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
    100% {
        opacity: 0;
        -webkit-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        -moz-box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
        box-shadow: 0px 0px 78px 4px rgba(16, 134, 232, 0.73);
    }
}
