
@font-face {
    font-family: 'AllianceNo2Regular';
    src: url('alliance-no-2-regular.otf');
    src: local('alliance-no-2-regular.otf'), 
         local('alliance-no-2-regular.otf'), 
         url('alliance-no-2-regular.otf') format('truetype'),
         url('alliance-no-2-regular.otf') format('svg'); 
}


@font-face {
    font-family: 'AllianceNo2Light';
    src: url('alliance-no-2-light.otf');
    src: local('alliance-no-2-light.otf'), 
         local('alliance-no-2-light.otf'), 
         url('alliance-no-2-light.otf') format('truetype'),
         url('alliance-no-2-light.otf') format('svg'); 
}

body {
    background-color: black;
    color: #fff;
    font-family: AllianceNo2Light;
}

a {
    color: #fff;
}

.ai-miners-page {
    width: 1600px;
    /*border: 1px solid #fff;*/
    margin:0 auto;
}
.header {
    height:200px;
}
.logo-h1uman {
    float: left;
}
.logo-humans-blockchain {
    float: right;
}

.sub-header {
    height: 300px;
    text-align: center;
}

.decentralising {
    opacity: 1;
    color: rgba(234, 48, 11, 1);
    font-family: AllianceNo2Regular;
    font-size: 63px;
    font-weight: 300;
    font-style: Light;
    letter-spacing: -2.65px;
    text-align: center;
    line-height: 62px;
}
.make-human-smarter {
    opacity: 1;
    color: rgb(255, 255, 255);
    font-family: AllianceNo2Light;
    font-size: 63px;
    font-weight: 300;
    font-style: Light;
    letter-spacing: -2.65px;
    text-align: center;
    line-height: 62px;
}
.deploy-an-ai-miner {
    opacity: 0.31;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 20px;
    font-weight: 400;
    font-style: Mono;
    letter-spacing: 0px;
    line-height: 20px;    
    
}

.margin-35 {
    margin: 35px;
}
.margin-btm-50 {
    margin-bottom: 50px;
}

.btn-apply-as-miner {
    border-radius: 35px;
    border: 0.5px solid rgba(255, 255, 255, 1);
    opacity: 0.74;
    color: #fff;
    background-color: transparent;
    height: 48px;
    width: 210px;
}

.btn-apply-as-miner span {
    border-radius: 22px;
    opacity: 1;
    color: rgba(234, 48, 11, 1);
}

.btn-apply-as-miner:hover span {
    color: #fff;
}

.apply-as-miner {

}

.apply-as-miner div {
    display: inline-block;
    margin-right: 10px;
}

.text-or {
    opacity: 0.4;
color: rgba(255, 255, 255, 1);
font-family: AllianceNo2Regular;
font-size: 12px;
font-weight: 400;
font-style: Mono;
letter-spacing: 1.5px;
text-align: center;
line-height: 20px;
text-transform: uppercase;
}

.robot_final1 {
    opacity: 1;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    margin:0 auto;
    text-align: center;
    margin-bottom: 50px;
}


.ai-miner-cnt {
    border: 1px solid rgba(151, 151, 151, 0.51);
    opacity: 1;
    background-color: rgba(0, 0, 0, 1);
    background-image:url(../assets/cube2_1.png);
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

.active {
    border: 1px solid rgba(10, 126, 49, 0.51);
    
    
}   

.icon {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}
.icon img {
    width: 100px;
}
.content {
    flex: 1;
    padding: 10px;
}
.action-button {
    
    background-color: transparent;
    float: right;
    margin-top: -50px;
}

.aim-name {
    opacity: 0.3;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 26px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -1.76px;
    text-align: left;
}

.aim-function {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 26px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -1.76px;
    text-align: left;
}

.aim-desc {
    opacity: 0.48;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 14px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -0.02px;
    text-align: left;
    line-height: 17px;
}

.aim-more {
    display: flex;
}


.learn-more-about-ecosystem {
    opacity: 0.4;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 42px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -3.17px;
    text-align: left;
    line-height: 42px;
}



.human-ai-miners {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 48px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -3.62px;
    text-align: left;
    line-height: 42px;
}



.aim-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    margin-bottom: 10px;
    width: 1000px;
    font-family: AllianceNo2Regular;
    font-size: 17px;
    color: rgba(255, 255, 255, 1);
}

.aim-more > div {
    flex: 1;
    padding: 0 10px;
}

.aim-more-pool {
    display: flex;
    flex-direction: column;
}

.aim-more-pool .span-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.span-container {
    font-size: 11px;
}

.aim-more-address {
    padding-left: 0px !important;
}

/*
.pool-bar {
    height: 5px;
    background-color: rgb(54, 54, 54);
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.pool-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: red;
}
*/

.pool-bar {
    position: relative;
    height: 5px;
    background-color: #ccc;
    overflow: hidden;
}
.pool-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--pool-percentage);
    background-color: #ff0000;
}
.address-value {
    opacity: 0.48;
    color: rgba(255, 255, 255, 1);
    font-family: AllianceNo2Regular;
    font-size: 15px;
    font-weight: 400;
    font-style: Regular;
    letter-spacing: -0.02px;
    text-align: left;
    line-height: 17px;
}

@media (max-width: 768px) {
    .aim-more {
        flex-direction: column;
        align-items: stretch;
    }

    .aim-more > div {
        margin-bottom: 10px;
    }
}

#pagination-container {
    margin-top: 20px;
    text-align: center;
}

#pagination-container button {
    margin: 0 5px;
    padding: 5px 10px;
    cursor: pointer;
}

#pagination-container button.active {
    font-weight: bold;
    background-color: #920534;
    color: white;
}

#pagination-container button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.aim-participant {
    color: #000;
    font-family: AllianceNo2Regular;
}
.aim-participant-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
}

.aim-participant-info > div {
    margin-bottom: 5px;
}

.aim-participant-info > div:last-child {
    margin-bottom: 0;
}

.participant-bar::after {
    background-color: #ff0000; 
}

.aim-participant-address {
    display:inline-block;
    margin-right: 10px;
}
.aim-your-pool-perc {
    display:inline-block;
    margin-right: 10px;
}
.aim-your-position {
    display:inline-block;
    margin-right: 10px;
}
.aim-participant {
    background-color: #fff;
    border-radius:25px;

}

.btn-partipate {
    border-radius: 35px;
    border: 0.5px solid rgb(0 0 0);
    color: #fff;
    background-color: black;
    height: 48px;
    width: 210px;
}

.btn-partipate:hover {
    background-color: rgb(0, 190, 0);
}


.aim-participant {
    margin-top: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

.aim-participant-header {
    background-color: #f0f0f0;
    padding: 10px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}

.aim-participant-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.aim-participant-details {
    display: flex;
    gap: 20px;
    flex-grow: 1;
}

.aim-participant-address,
.aim-your-pool-perc,
.aim-your-position {
    flex: 1;
}

.aim-participant-address {
    word-break: break-all;
}

.pool-bar {
    position: relative;
    height: 5px;
    background-color: #ccc;
    overflow: hidden;
    margin-top: 5px;
}

.pool-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--pool-percentage);
    background-color: #ff0000;
}

.participant-bar::after {
    background-color: #ff0000;
}

.aim-participant-btn {
    flex-shrink: 0;
}

.btn-withdraw {
    white-space: nowrap;
}

.btn-withdraw {
    border-radius: 35px;
    border: 0.5px solid rgb(0 0 0);
    color: #fff;
    background-color: #bb2d3b;
    height: 48px;
    width: 210px;
}

.btn-withdraw:hover {
    background-color: #000;
}
 


/* Responsive adjustments */
@media (max-width: 768px) {
    .aim-participant-info {
        flex-direction: column;
        align-items: stretch;
    }

    .aim-participant-details {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .aim-participant-btn {
        align-self: flex-end;
    }
}