*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
    scroll-behavior: smooth;
    font-size: 20px;
}

body {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.aks-picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content {
    width: 100%;
    height: fit-content;
    min-height: 100vh;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    background: var(--bg);
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.user {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 50px;
}

.user .avatar-container {
    width: fit-content;
    height: fit-content;
    position: relative;
    margin-top: 30px;
}

.user .avatar-container .share {
    position: absolute;
    top: -10px;
    right: -10px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user .avatar {
    width: 196px;
    height: 196px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 9999px;
}

.user .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.user .name {
    font-weight: 500;
    color: var(--text);
    font-size: 26px;
    line-height: 32px;
    word-wrap: break-word;
    text-align: center;
    margin: 0;
}

.user .sub-name {
    font-weight: 500;
    color: var(--text);
    font-size: 18px;
    line-height: 32px;
    word-wrap: break-word;
    text-align: center;
    margin: 0;
    opacity: .8;
}

.link-list {
    width: 100%;
    position: relative;
    margin-top: 30px;
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.link-item {
    width:calc(50% - 10px);
    padding: 13px 18px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--border-radius);
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    margin-bottom: 20px;
    margin-right: 20px;
    text-decoration: none;
    background: var(--link-bg);
    color: var(--link-text);
}

.link-item.text-center {
    text-align: center;
    justify-content: center;
}

.link-item:nth-child(2n) {
    margin-right: 0;
}

.link-item .wrap {
    display: flex;
    align-items: center;
}

.link-item .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 10px;
}

.link-item .icon svg {
    width: 100%;
    height: 100%;
}

.link-item .name {
    line-height: 1.5;
    font-weight: 500;
    word-wrap: break-word;
    color: var(--link-text);
    font-size: 16px;
}

.link-item .share {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    color: var(--link-text);
}

.app-logo {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
    cursor: pointer;
}

.app-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.copyright {
    width: 100%;
    font-size: 15px;
    line-height: 1;
    color: var(--text);
    text-align: center;
    padding-bottom: 20px;
    margin-top: 140px;
}

.langauges-dropdown {
    width: 60px;
    position: absolute;
    top: 20px;
    right: 22px;
}

.langauges-dropdown.active a:nth-child(1) {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.langauges-dropdown a {
    opacity: 0;
    width: 100%;
    border-style: none;
    background: #f5f5f5;
    color: #363636;
    padding: 10px;
    outline: none;
    cursor: pointer;
    pointer-events: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.langauges-dropdown.active a:hover {
    border: 1px solid #e0e0e0;
}

.langauges-dropdown a:nth-child(1) {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.langauges-dropdown a:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.langauges-dropdown.active a {
    opacity: 1 !important;
    pointer-events: auto;
}

.langauges-dropdown a .flag-icon {
    margin-right: 4px;
    width: 24px;
}

.popup {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.popup-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #21252950;
}

.popup-content {
    width: 320px;
    height: auto;
    background: white;
    position: relative;
    z-index: 1;
    display: block;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 10px #00000028;
}

.popup-qr-image {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.popup-qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.popup-qr-button {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    text-align: center;
    background: var(--bg);
    color: var(--text);
    font-weight: 500;
    user-select: none;
    cursor: pointer;
    transition: all .2s ease;
    border-radius: var(--border-radius);
}

.popup-qr-button:hover,
.popup-qr-button:focus {
    opacity: .8;
}

.share-popup {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.share-popup-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #21252950;
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(100%);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-popup-content {
    width: 100%;
    max-width: 620px;
    background: #fff;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px 8px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: auto;
    animation: slide-in-bottom 0.4s ease-in-out both;
}

.share-popup-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
}

.share-popup-header .title {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    color: #131c25;
}

.share-popup-header .close {
    width: 24px;
    height: 24px;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    border-radius: 9999px;
}

.share-popup-header .close:hover,
.share-popup-header .close:focus {
    opacity: .8;
}

.share-url-copy {
    width: 100%;
    height: 45px;
    background: #F4F5F9;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    position: relative;
}

.share-url-copy .share-url {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.5;
    margin-right: 12px;
}

.share-url-copy .copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9297B7;
    transition: all .2s ease;
    transform: scale(1);
}

.share-url-copy .copy-btn:active {
    transform: scale(0.9);
}

.share-list {
    width: 100%;
    position: relative;
}

.share-btn {
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
    background: #FFFFFF;
    border: 1px solid #DFE3EE;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    padding-left: 18px;
    padding-right: 15px;
    text-decoration: none;
}

.share-btn:hover,
.share-btn:focus {
    background: #DFE3EE2e;
}

.share-btn:last-child {
    margin-bottom: 0;
}

.share-btn .wrap {
    display: flex;
    align-items: center;
}

.share-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 18px;
}

.share-btn .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    page-orientation: none;
}

.share-btn .text {
    color: #2d2d2d;
    font-size: 16px;
    line-height: 1;
}

.share-btn .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #2d2d2d;
}

.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 12px 15px;
    background: white;
    z-index: 9999;
    border-radius: 10px;
}

.alert-content {
    display: flex;
    flex-direction: column;
}

.alert-content .title {
    line-height: 1;
    font-size: 16px;
    font-weight: 500;
}

.alert-content .message {
    line-height: 1;
    font-size: 14px;
    margin-top: 6px;
}

.alert .close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-0);
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    color: var(--primary);
    padding: 5px;
}

.alert .close:hover {
    background: var(--color-2);
}

.alert.alert-danger {
    background: #ff001e;
    color: white;
}

.alert.alert-success {
    background: #00b85f;
    color: white;
}

.map {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.map iframe {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .link-item {
        width: 100%;
        min-height: 50px;
        margin-right: 0;
    }
}

@media (min-width: 481px) and (max-width:767px) {
    .link-item {
        width: 100%;
        min-height: 50px;
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width:1024px) {
    .link-item {
        width: 100%;
        min-height: 50px;
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width:1024px) and (orientation:landscape) {
    .link-item {
        width: 100%;
        min-height: 50px;
        margin-right: 0;
    }
}