body {
    margin: 0;
    background-color: #21222c;
    background-image: url('../img/ac-background.jpg');
    background-position: center center;
    background-size: cover;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

button {
    background: grey;
    border: 0;
    padding: 8px 32px;
    min-height: 50px;
    border-radius: 100px;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
}

.header-logo img{
    max-height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-state {
    font-weight: bold;
    color: #FFDC73;
    font-size: 14px;
    border: solid 2px #FFDC73;
    padding: 0px 32px;
    border-radius: 100px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 32px;
    box-sizing: border-box;
}

.header-user {
    display: flex;
    align-items: center;
}

.header-user-avatar {
    height: 50px;
    width: 50px;
    border-radius: 100px;
    background-color: #32384A;
    border: solid 2px #ccc;
    color: #fff;
    font-weight: bold;
    box-sizing: border-box;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    font-size: 12px;
    align-items: center;
}

.header-user-address {
    color: #fff;
    font-weight: bold;
}

#logout-btn {
    height: inherit;
    padding: 0;
    background: 0;
}

#logout-btn img{
    height: 11px;
    margin-left: 8px;
}

#login-btn {
    background: #1f43f6;
}

.container {
    max-width: 1140px;
    height: calc(80vh);
    margin: auto;
    padding: 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waiting {
    background: rgba(50, 56, 74, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    width: 500px;
    margin: auto;
    padding: 64px 32px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

.mint {
    background: rgba(50, 56, 74, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    width: 500px;
    margin: auto;
    padding: 64px 32px;
    text-align: center;
}

.mint-preview img {
    max-width: 350px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: grey;
    object-fit: contain;
}

.mint-supply {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-top: 32px;
}

.mint-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mint-actions.disabled {
    cursor: not-allowed;
}

.mint-actions.disabled .mint-actions-minus,
.mint-actions.disabled .mint-actions-plus {
    border-color: #ccc !important;
    color: #ccc !important;
    pointer-events: none;
}

.mint-actions.disabled .mint-actions-btn {
    background-color: #ccc !important;
    pointer-events: none;
}

.mint-actions-minus,
.mint-actions-plus {
    padding: 0;
    border: solid 2px #FFDC73;
    background: transparent;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFDC73;
    transition: 0.2s;
}

.mint-actions-minus:hover,
.mint-actions-plus:hover {
    background: #FFDC73;
    color: #1A1C29;
}

.mint-actions-btn {
    margin: 0 8px;
    background: #FFDC73;
    color: #1A1C29;
}

.mint-warning {
    margin-top: 32px;
    color: #E74C3C;
    font-weight: bold;
}

.footer-copyright {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 16px 0;
    color: #fff;
}

.footer-copyright a {
    color: #fff;
    text-decoration: underline;
}

.footer-decoration {
    width: 100%;
    position: fixed;
    bottom: 0;
    text-align: center;
    z-index: -1;
}

.footer-decoration img{
    object-fit: contain;
    width: 100%;
}

.hide {
    display: none !important;
}

.popup {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 999;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
}

.popup-container {
    background: rgba(50, 56, 74, 1);
    border-radius: 14px;
    width: 480px;
    text-align: center;
    color: #fff;
}

.popup-header {
    padding: 16px;
    background: #495168;
    border-radius: 14px 14px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-content {
    padding: 32px 16px;
    max-height: 60vh;
    overflow-y: auto;
}

.popup-title {
    font-size: 18px;
    font-weight: bold;
}

#popup-close-btn {
    height: 30px;
    width: 30px;
    min-height: inherit;
    padding: 0;
    display: inline-block;
    background: #32384a;
}

#popup-close-btn img {
    height: 14px;
}

.auth-list {
    display: flex;
    flex-direction: column;
}

.auth-list-item {    
    margin-bottom: 32px;
}

.auth-list-item:last-child {
    margin-bottom: 0;
}

#auth-app,
#auth-extension {
    background: #1f43f6;
    color: #fff;
}

#auth-web {
    background: #fff;
    color: #222;
}

.auth-app-container {
    text-align: center;
}

.qrcode {
    background: #fff;
    display: inline-block;
    padding: 16px;
    border-radius: 8px;
}

.qrcode-description {
    margin: 32px 0;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}

.auth-app-mobile-container {
    text-align: center;
    display: none;
}

#auth-app-mobile {
    background: #1f43f6;
    border: 0;
    padding: 8px 32px;
    min-height: 50px;
    border-radius: 100px;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    line-height: 50px;
    text-decoration: none;
}

.popup-error {
    color: #e74c3c;
}

.popup-error-icon img {
    width: 40px;
}

.popup-error-title {
    font-size: 20px;
    font-weight: bold;
    margin: 16px 0;
}

.popup-error-message {
    padding: 0 32px;
}

.popup-pending-icon img {
    width: 50px;
    animation: rotate 2s linear infinite;
}

.popup-pending-title {
    font-size: 20px;
    font-weight: bold;
    margin: 16px 0;
}

.popup-pending-message {
    padding: 0 32px;
}

.popup-reveal-title {
    font-size: 20px;
    font-weight: bold;
}

.popup-reveal-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.popup-reveal-gallery-item {
    margin: 8px;
    background: #000;
    border-radius: 4px;
}

.popup-reveal-gallery-item img {
    height: 100px;
    width: 100px;
    border-radius: 4px;
    object-fit: cover;
}

@keyframes rotate {
    0%   {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }

/* TABLET */
@media screen and (max-width: 1025px) {
    .auth-app-mobile-container {
        display: block;
    }
}

/* MOBILE */
@media screen and (max-width: 768px) {
    button {
        padding: 8px 16px;
        min-height: 50px;
    }

    .header {
        flex-direction: column;
    }

    .header-right {
        margin-top: 16px;
        flex-direction: column;
    }

    .header-state {
        padding: 8px 16px;
        min-height: 50px;
        margin-right: 0px;
        margin-bottom: 16px;
    }

    .container {
        height: inherit;
        padding: 0 16px;
    }

    .footer-copyright {
        position: relative;
        bottom: inherit;
        margin-top: 32px;
    }

    .popup-content {
        padding: 32px 10px;
        max-height: 50vh;
    }
}