body {
    background-color: #010101;
    background-image: url("../assets/background-pattern.png");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: white;
    font-family: 'Dongle', sans-serif;
    transition: all 0.2s ease-out;
    line-height: 1.2;
}

a {
    color: #ba3939;
    font-weight: 100;
    text-decoration: none;
    margin: 0;
}

h3 {
    margin: 0px;
    margin-top: 0px;
    font-size: 40px;
}

p {
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: 100;
    font-size: 30px;
    vertical-align: middle;
}

canvas {
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
}

.qrCodeBlock {
    transition: opacity 0.2s, max-height 0.6s;
    opacity: 0;
    max-height: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.70);
    z-index: -1;
}

.qrCodeBlock.active {
    opacity: 1;
    max-height: 500px;
}

.qrCode {
    height: 250px;
    width: 250px;
    opacity: 95%;
}

.closeButton {
    position: absolute;
    top: 0px;
    right: -50px;
    background-color: #161616;
    padding: 15px;
    border-radius: 20px;
    transition: 0.4s;
}

.closeButton:hover {
    transition: 0.4s;
    cursor: pointer;
    background-color: #1e1e1e;
}

.closeIcon {
    width: 15px;
    height: 15px;
    display: block;
}

.profileBlock {
    background-color: #161616;
    padding: 20px;
    border-radius: 30px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 400px;
    box-shadow: 0px 20px 60px 0px rgba(0, 0, 0, 0.50);
}

.profileInfo {
    margin-top: 12px;
    margin-bottom: 14px;
}

.profileImage {
    background-image: url("../assets/avatar.png");
    background-size: cover;
    height: 100px;
    width: 100px;
    border-radius: 10000px;
    border: 7px solid #161616;
    margin-top: 140px;
}

.profileBackground {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../assets/profile-back.png");
    background-size: cover;
    width: 100%;
    height: 220px;
    z-index: -1;
}

.displayInfoBlock {
    background-color: #1B1B1B;
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 15px;
    margin-top: 8px;
}

.infoSelector {
    display: flex;
    margin-bottom: 8px;
}

.buttonText {
    margin: 0 0 0 5px;
}

.selectorButton {
    background-color: #222222;
    border-radius: 15px;
    padding: 10px 18px 10px 18px;
    margin-right: 8px;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    opacity: 50%;
    user-select: none;
}

.selectorButtonEnabled {
    background-color: #292929;
    color: rgba(255, 255, 255, 1);
    opacity: 100%;
}

.selectorButton:hover {
    background-color: #292929;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    opacity: 100%;
}

.selectorButtonIcon {
    height: 15px;
}

.displayInfoBlock {
    transition: opacity 0.6s, max-height 2.0s;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    height: 0px;
    padding: 0px;
    margin-top: 0px;
}

.displayInfoBlock.active {
    transition: opacity 0.6s, max-height 2.0s;
    opacity: 1;
    max-height: 500px;
    height: 100%;
    padding: 20px;
}

.copyrightBlock {
    position: absolute;
    bottom: 10px;
    user-select: none;
    font-size: 28px;
    font-weight: 100;
    z-index: -1;
}

.linksBlock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.linkBlock {
    background-color: #161616;
    border-radius: 12px;
    width: calc(100% - 40px);
    padding: 10px 20px 10px 20px;
    display: flex;
    align-items: center;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}

.linkBlock:hover {
    opacity: 1;
    transition: 0.3s;
}

.linkBlockIcon {
    height: 20px;
    margin-bottom: 2px;
    margin-right: 7px;
}

.linkBlockText {
    font-size: 30px;
    display: block;
}

.qrCodeButton {
    position: absolute;
    right: 19px;
    top: 19px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 12px;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    cursor: pointer;
}

.qrCodeButton:hover {
    transition: 0.4s;
    background-color: rgba(0, 0, 0, 0.5);
}

.qrCodeIcon {
    height: 22px;
    display: block;
}

@media (max-width: 600px) {
    .profileBlock {
        min-width: 0;
    }
}