@import url(https://fonts.googleapis.com/css2?family=Quicksand:400,500,700&subset=latin-ext);@import url(https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap);@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css);body,
html {
    background: #151515;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Quicksand", sans-serif;
}

.page {
    width: 600px;
    height: 320px;
    position: relative;
}

.logo {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 1;
    top: -166px;
    left: 0;
    font-family: "Bebas Neue", cursive;
}

.logo .text {
    color: #404040;
    font-size: 15em;
    letter-spacing: 1px;
}

.logo .text span {
    color: #3ce09d;
}

.container {
    width: 100%;
    height: 100%;
    background: #201f24;
    z-index: 999;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.card {
    transform-style: preserve-3d;
    transition: ease 1s;
    border-radius: 10px;
}

.card .top {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card .top .avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    margin: auto;
    position: relative;
    top: -44px;
}

.card .top .avatar .img {
    width: 100%;
}

.card .top .contacts,
.card .top .map {
    text-align: center;
    color: #ffffff;
    font-size: 1em;
    position: relative;
    top: -25px;
}

.card .top .contacts .name {
    color: #3ce09d;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.card .top .contacts .details {
    font-size: 1.4em;
    margin-bottom: 12px;
}

.card .social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card .social a {
    color: #ffffff;
    opacity: 0.7;
    transition: 0.25s;
    font-size: 1.6em;
    margin: 0px 10px;
}

.card .social a:hover {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 800px) {
    .page {
        width: 90%;
    }

    .logo .text {
        font-size: 13em;
    }
}

@media (max-width: 620px) {
    .logo {
        top: -127px;
    }

    .logo .text {
        font-size: 10em;
    }
}

@media (max-width: 470px) {
    .logo {
        top: -95px;
    }

    .logo .text {
        font-size: 7em;
    }
}

@media (max-width: 380px) {
    .card .top .contacts .details {
        font-size: 1.2em;
    }

    .logo {
        top: -85px;
    }

    .logo .text {
        font-size: 6em;
    }
}

.glitch {
    position: relative;
}

.glitch:after {
    content: attr(data-text);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 #376f37;
    top: 0;
    color: #404040;
    background: #151515;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}

.glitch:before {
    content: attr(data-text);
    width: 100%;
    height: 100%;
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 blue;
    top: 0;
    color: #404040;
    background: #151515;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}

@-webkit-keyframes noise-anim-2 {
    0% {
        clip: rect(50px, 9999px, 92px, 0);
    }

    10% {
        clip: rect(27px, 9999px, 16px, 0);
    }

    20% {
        clip: rect(24px, 9999px, 86px, 0);
    }

    30% {
        clip: rect(39px, 9999px, 12px, 0);
    }

    40% {
        clip: rect(18px, 9999px, 19px, 0);
    }

    50% {
        clip: rect(42px, 9999px, 57px, 0);
    }

    60% {
        clip: rect(11px, 9999px, 59px, 0);
    }

    70% {
        clip: rect(59px, 9999px, 75px, 0);
    }

    80% {
        clip: rect(89px, 9999px, 20px, 0);
    }

    90% {
        clip: rect(95px, 9999px, 78px, 0);
    }

    100% {
        clip: rect(26px, 9999px, 13px, 0);
    }
}

@keyframes noise-anim-2 {
    0% {
        clip: rect(50px, 9999px, 92px, 0);
    }

    10% {
        clip: rect(27px, 9999px, 16px, 0);
    }

    20% {
        clip: rect(24px, 9999px, 86px, 0);
    }

    30% {
        clip: rect(39px, 9999px, 12px, 0);
    }

    40% {
        clip: rect(18px, 9999px, 19px, 0);
    }

    50% {
        clip: rect(42px, 9999px, 57px, 0);
    }

    60% {
        clip: rect(11px, 9999px, 59px, 0);
    }

    70% {
        clip: rect(59px, 9999px, 75px, 0);
    }

    80% {
        clip: rect(89px, 9999px, 20px, 0);
    }

    90% {
        clip: rect(95px, 9999px, 78px, 0);
    }

    100% {
        clip: rect(26px, 9999px, 13px, 0);
    }
}

@-webkit-keyframes noise-anim {
    0% {
        clip: rect(84px, 9999px, 70px, 0);
    }

    10% {
        clip: rect(97px, 9999px, 16px, 0);
    }

    20% {
        clip: rect(3px, 9999px, 96px, 0);
    }

    30% {
        clip: rect(91px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(54px, 9999px, 45px, 0);
    }

    50% {
        clip: rect(77px, 9999px, 92px, 0);
    }

    60% {
        clip: rect(42px, 9999px, 13px, 0);
    }

    70% {
        clip: rect(65px, 9999px, 56px, 0);
    }

    80% {
        clip: rect(34px, 9999px, 76px, 0);
    }

    90% {
        clip: rect(52px, 9999px, 14px, 0);
    }

    100% {
        clip: rect(76px, 9999px, 24px, 0);
    }
}

@keyframes noise-anim {
    0% {
        clip: rect(84px, 9999px, 70px, 0);
    }

    10% {
        clip: rect(97px, 9999px, 16px, 0);
    }

    20% {
        clip: rect(3px, 9999px, 96px, 0);
    }

    30% {
        clip: rect(91px, 9999px, 40px, 0);
    }

    40% {
        clip: rect(54px, 9999px, 45px, 0);
    }

    50% {
        clip: rect(77px, 9999px, 92px, 0);
    }

    60% {
        clip: rect(42px, 9999px, 13px, 0);
    }

    70% {
        clip: rect(65px, 9999px, 56px, 0);
    }

    80% {
        clip: rect(34px, 9999px, 76px, 0);
    }

    90% {
        clip: rect(52px, 9999px, 14px, 0);
    }

    100% {
        clip: rect(76px, 9999px, 24px, 0);
    }
}
