@keyframes fadeIn {
    0%{
      opacity: 0;  
    }

    100%{
        opacity: 1;
    }
}
.modal-overlay{
    position: absolute;
    height: 1197%;
    width: 100%;
    z-index: 99999999999;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    animation: fadeIn 1s;
    justify-content: center;
}

.modal{
    background-color: #fff;
    width: 400px;
    height: 290px;
    padding: 30px;
    border-radius: 18px;
    position: sticky;
    top: 40%;
    
}

.modal h5{
    color: #113883 !important;
}
.modal form{
    display: flex;
    flex-direction: column;
}

.modal form input{
    margin-top: 20px;
}

.modal form textarea{
    height: 80px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #477cdf;
    border-radius: 8px;
    resize: none;
}

.modal form input[type='submit']{
    background-color: #00FFF1;
    color: #113883;
}

.close-button{
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ee1515;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 8px 3px rgba(0, 0, 0, 0.3);
}

.close{
    background-color: #fff;
    color: #ee1515;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    line-height: 2;
}

.more-button{
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s;
    margin-top: 0px;

}
.more-button h3{
    border: 2px solid #263B80; 
    display: block; 
    width: fit-content; 
    padding: 8px 11px; 
    border-radius: 8px;
    transition: all 0.3s;
}

.more-button h3:hover{
    color: #fff !important;
    background-color: #263B80;
}

#networks{
    display: flex;
    flex-wrap: wrap;
}

.services-popup{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content{
    background-color: #fff;
    padding: 20px;
    animation: fadeIn 0.7s normal;
}

.close-button{
    background-color: #ee1515;
    color: #fff;
}

@keyframes fadeIn {
    form{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.endpoint-row{
    display: flex;
    background-color: #f2f2f2;
    align-items: center;
    padding: 8px;
}

.endpoint-row + .endpoint-row{
    margin-top: 5px;
}

.endpoint-row span{
    font-weight: bold;
    margin-right: 10px;
    /* display: block; */
    width: 55px;
}

.endpoint-row p {   
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.endpoint-row input{
    z-index: -99999999999999999;
    position: absolute;
}
.endpoint-row img{
    cursor: pointer;
}

#copied-info-popup{
    position: fixed;
    bottom: -50px;
    left: 50%;
    margin-left: -50px;
    background-color: #e7efff;
    color: #113883;
    z-index: 9999;
    width: 100px;
    /* animation: copied-popup 4s; */
    padding: 8px;
    border: 1px solid #113883;
}

@keyframes copied-popup {
    0%{
      opacity: 0;
      bottom: -40px;
      display: none;
    }

    20%{
        opacity: 1;
        bottom: 40px;
        display: unset;

    }
    80%{
        opacity: 1;
        bottom: 40px;
        display: unset;
    }
    100%{
        opacity: 0;
        bottom: -40px;  
        display: none;
    }
}


.service-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    min-height: 270px;
}

.service-container a{
    border: 1px solid #113883;
    width: 100%;
    background-color: transparent;
    color: #113883;
    font-weight: bold;
    padding: 10px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-container a:hover{
    background-color: #113883;
    color: #fff;
}

.statesync-code-mark{
    color:#263B80; 
    background-color: #f6f6f6;
}

.snapshot-container{
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    min-height: 20px;
}


.snapshot-title-image{
    display: flex;
    align-items: center;
    width: 35%;
}
.snapshot-container img{
    width: 35px;
}

.snapshot-container strong{
    font-size: 18px;
    width: auto;
    margin: 0 20px;
}
.snapshot-container p, .snapshot-container strong{
    margin-bottom: unset;
}

.snapshot-container p{
    font-style: italic;
}

.snapshot-buttons{
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.snapshot-buttons input{
    z-index: -99999999999999999;
    position: absolute;
    opacity: 0;
}
.snapshot-buttons img{
    margin-right: 10px;
}

.ibc-container{
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    min-height: 180px;
}

.ibc-container p{
    margin-bottom: 0;
}

.network-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.network-info p{
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 5px;
}

.channels-container{
    background-color: #fff;
    transition: all 0.3s;
}



.channels-container:hover{
    background-color: #263B80;
}

.channels-container:hover .quant-channels{
    color: #fff;
}

.line{
    
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.active{
    animation: fade 500ms;
    height: auto;
}

@keyframes fade {
    0%{
        height: 0;
        opacity: 0;
    }

    100%{
        height: auto;
        opacity: 1;
    }
}