* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    background: black;
    width: 100%;
    height: 100%;
}
.profile {
    width: 600px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}
.myAvatar {
    width: 100px;
    border-radius: 50%;
}
.myName {
    position: relative;
    top: 10px;
    color: #03e9f4;
    font-size: 20px;
}
.menu {
    text-align: center;
    margin: 0 auto;
    width: 600px;
}
.menuItem {
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 25px 0;
    width: 100%;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
}
.menuItem:hover {
    cursor: pointer;
    background: #03e9f4;
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px 10px #03e9f4;
}
.menuItem span {
    position: absolute;
    display: block;
}
.menuItem span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: animate1 1s linear infinite;
}
.menuItem span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}
.menuItem span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
.menuItem span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes animate1 {
    0% {left: -100%;}
    50%, 100% {left: 100%;}
}
@keyframes animate2 {
    0% {top: -100%;}
    50%, 100% {top: 100%;}
}
@keyframes animate3 {
    0% {right: -100%;}
    50%, 100% {right: 100%;}
}
@keyframes animate4 {
    0% {bottom: -100%;}
    50%, 100% {bottom: 100%;}
}
.inWaitingAnimation, .outWaitingAnimation {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: black;
    animation: blackToWhiteAnimation 2s ease infinite;
}
@keyframes blackToWhiteAnimation {
    10% {background: black;}
    50% {background: white;}
}
.outWaitingAnimation {
    background: white;
    animation: whiteToBlackAnimation 2s ease infinite;
}
@keyframes whiteToBlackAnimation {
    10% {background: white;}
    50% {background: black;}
}

.load {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}
.load :first-child {background: #19A68C;animation-delay: -1.5s;}
.load :nth-child(2) {background: #F63D3A;animation-delay: -1s;}
.load :nth-child(3) {background: #FDA543;animation-delay: -0.5s;}
.load :last-child {background: #193B48;}

@keyframes spin {
    0%, 100% {transform: translate(0);}
    25% {transform: translate(160%);}
    50% {transform: translate(160%, 160%);}
    75% {transform: translate(0, 160%);}
}

iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    background-color: white;
}

.invisible {
    display: none !important;
}
.miniAvatarDiv {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 0;
    animation: moveAvatarToBorder 0.5s linear;
}
@keyframes moveAvatarToBorder {
    0% {top: 40px; left: 50%; transform: translateX(-50%) translateY(0);}
    100% {transform: translateX(0) translateY(0);}
}
.miniAvatar {
    width: 50px;
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.2s;
    animation: miniAvatarGetSmall 0.5s linear;
}
@keyframes miniAvatarGetSmall {
    0% {width: 100px; opacity: 1;}
    10% {width: 100px; opacity: 1;}
    20% {width: 100px; opacity: 1;}
    30% {width: 95px; opacity: 1;}
    40% {width: 90px; opacity: 1;}
    50% {width: 85px; opacity: 1;}
    60% {width: 80px;}
    70% {width: 75px;}
    80% {width: 70px;}
    90% {width: 60px;}
    100% {width: 50px; opacity: 0.5;}
}
.miniAvatar:hover {
    width: 70px;
    opacity: 1;
    cursor: pointer;
}

