@import url("ui-interactions.css");

body {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    font-family: Maven Pro, sans-serif;
    color: #999999;
    font-size: 1.1em;

    background-color: white;
    -webkit-animation: johanna 45s infinite;
    animation: johanna 45s infinite;
    -webkit-animation-direction: normal;
    animation-direction: normal;
}

@keyframes johanna {
    0%   {background-color: rgb(214,228,255,1)}
    16%  {background-color: rgba(214,228,255,1)}
    19%  {background-color: rgba(103,153,245,0.6)}
    36%  {background-color: rgba(103,153,245,0.6)}
    39%  {background-color: rgba(214,228,255,1)}
    46%  {background-color: rgba(214,228,255,1)}
    49%  {background-color: rgba(255,214,200,1)}
    66%  {background-color: rgba(255,214,200,1)}
    69%  {background-color: rgba(243,127,90,0.7)}
    86%  {background-color: rgba(243,127,90,0.7)}
    89%  {background-color: rgba(255,214,200,1)}
    96%  {background-color: rgba(255,214,200,1)}
    99%  {background-color: rgba(214,228,255,1)}
    100% {background-color: rgba(214,228,255,1)}
}

#logo{
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width:35%;
}

img{
    position: relative;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

p,span{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

a{
    color: inherit;
    text-decoration: none;
}

.main-container{
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#intro-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.back-arrow{
    font-weight: 100;
    font-size: 1.5em;
}

.top-left-container {
    position: absolute;
    /* position: sticky;
    position: -webkit-sticky; */
    z-index: 0;
    width: 50%;
    top: 10px;
    padding-left: 15px;
}
.top-right-container {
    position: absolute;
/*  position: sticky;
    position: -webkit-sticky; */
    z-index: 0;
    top: 15px;
    right: 20px;
    max-width: 150px;
}

.button-text-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

div .arrow-text-align{
    position: relative;
    top: 0;
}
.aboutme-content{
    position: relative;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.aboutme-content.is-visible{
    position: relative;
    background-color: rgba(255, 255, 255, 0.25);
    max-width: 40%;
    min-width: 285px;
    z-index: 1;
    border-radius: 5px;
    visibility: visible;
    height: auto;
    opacity: 1;
    transition: visibility .3s ease, opacity .3s ease, border-radius .8s;
    -webkit-transition: visibility .3s ease, opacity .3s ease, border-radius .8s;
    padding: 10px;
    font-size: 0.9em;
}

.contact-info ul{
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}
.contact-info ul li{
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
}
.contact-info a{
    font-family: monospace;
    font-size: 1.2em;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #999999;
}

#login-button{
    position: relative;
    float: right;
    /*  position: sticky;
        position: -webkit-sticky; */
    max-width: 100px;
}
.login-content{
    position: relative;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.login-content.is-visible{
    position: relative;
    float: right;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 0px 0px 8px 8px;
    visibility: visible;
    height: auto;
    opacity: 1;
    transition: visibility .3s ease, opacity .3s ease, border-radius .8s;
    -webkit-transition: visibility .3s ease, opacity .3s ease, border-radius .8s;
    padding: 12px;
    font-size: 0.9em;
    min-width: 200px;
    max-width: 300px;
}

.footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    padding-right: 15px;
    padding-bottom: 10px;
    font-family: monospace;
    text-align: right;
    font-size: 1.05em;
}

#link-impressum{
    position: relative;
    padding-right: 15px;
}

#impressum-content{
    position: relative;
    margin: auto;
    width: 60%;


    font-family: Maven Pro, sans-serif;
    color: black;
    font-size: 0.8em;
    text-align: left;
}
.privacyPolicy-content{
    position: relative;
    margin: auto;
    width: 60%;
    height: 50%;

    font-family: Maven Pro, sans-serif;
    color: black;
    font-size: 0.8em;
    text-align: left;
}
#privacyPolicy-content{
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wallet Selection Modal */
.wallet-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.wallet-modal.is-visible {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wallet-modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wallet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.wallet-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.wallet-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.wallet-option:hover {
    border-color: #999999;
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wallet-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    border-radius: 50%;
}

.wallet-name {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* Wallet Status Display */

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.8em;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid #4f46e5;
}

.wallet-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.wallet-status-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-status-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.ens-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
    background-color: #f3f4f6;
    display: block;
}

.ens-avatar:error {
    display: none;
}

.ens-name {
    font-weight: 600;
    color: #4f46e5;
    font-size: 0.95em;
    line-height: 1.2;
    margin: 0;
    word-break: break-word;
}

.wallet-address {
    opacity: 1;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85em;
    line-height: 1.2;
    color: #374151;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.wallet-address.centered {
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
}


.wallet-address.no-ens {
    font-size: 1em;
    font-weight: 600;
    margin-left: 0;
    text-align: left;
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 32px;
}

.wallet-address.centered {
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 0;
}

.ens-loading {
    opacity: 0.6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
