/* -----------  Reset  ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Mono", monospace;
    background-color: #f4f4f4;
    background-image: url(https://dadacrypto.netlify.app/images/backgroundImage.jpg);
    background-color: rgb(204, 204, 204);
    height: 100%;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0px 0px;
    display: flex;
    align-items: center;
}

.container {
    width: 80%;
    height: fit-content;
    z-index: 1000;
    background-color: rgb(207, 216, 220);
    border-radius: 5px;
    padding: 8px 20px;
    box-shadow: rgb(255, 255, 255) 0px 3px 20px;
    transition: 0.5s;
    margin-bottom: 50px;
    @media (max-width: 768px) {
        width: 92% !important;
    }
}

.container:hover {
    box-shadow: rgb(255, 255, 255) 0px 3px 20px;
}









/* -----------  Top  ----------- */

.top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media (max-width: 768px) {
        text-align: center;
        flex-direction: column;
    }
}

.top-left {
    margin: 0px;
    padding: 10px 0px;
    font-weight: 700;
    display: inline-block;
    color: rgb(75, 99, 110);
    font-size: 1.5em;
    font-weight: bold;
    unicode-bidi: isolate;
}

.top-right {
    display: inline-block;
    width: fit-content;
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    @media (max-width: 768px) {
        margin-left: 0px;
        margin-top: 10px;
    }
}

.top-right input {
    width: 100%;
    display: inline-block;
    padding: 10px 15px;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
    box-shadow: rgba(255, 255, 255, 0.6) 0px 4px 12px;
}

.top-right input:focus {
    box-shadow: rgba(120, 120, 120, 0.8) 0px 4px 12px;
}

.top-right svg {
    position: absolute;
    right: 5px;
    top: 3px;
    font-size: 30px;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 4px;
    transition: 0.2s;
    color: rgba(0, 0, 0, 0.8);
}

.table-wrapper {
    position: relative;

    width: 98%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    background-color: white;
    height: 600px;
    box-shadow: rgba(255, 255, 255, 0.5) 0px 3px 5px;
    overflow: auto;
    font-family: Poppins, sans-serif;
}








/* -----------  Middle (table)  ----------- */

table {
    width: 100%;
    border-spacing: 0px;
    padding: 0px 10px;
}

thead tr {
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

tr th {
    border: none;
    padding: 15px 5px;
    font-weight: 700;
    transition: 0.5s;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
    tr:hover{
        background-color: rgba(75, 99, 110, 0.2);
    }
}

td {
    text-align: center;
    padding: 15px 5px;
    margin: 0px 10px;
    font-weight: 500;
    transition: 0.5s;
}
th {
    border: none;
    padding: 15px 5px;
    font-weight: 700;
    transition: 0.5s;
}
th:hover {
    background-color: rgba(75, 99, 110, 0.4);
    cursor: pointer;
}

tr {
    text-align: center;
    border: none;
    transition: background-color 0.7s;
}

tr td img {
    transform: translateY(10px);
    width: 30px;
    display: inline-block;
    transition: 0.5s;
    margin-right: 3px;
}

tr td:nth-child(2) {
    transform: translateY(-8px);
    padding: 15px 5px;
    margin: 0px 10px;
    font-weight: 500;
    transition: 0.5s;
    text-align: left !important;
    min-width: 180px;
}

tr td:nth-child(3) {
    color: #fc0;
    width: 25%;
}

tr td:nth-child(4) {
    min-width: 110px;
    color: #f33;
    width: 25%;
    img {
        width: 20px;

        font-size: 20px;
        -webkit-transform: translateY(4px);
        transform: translateY(4px);
    }
}

tr td:nth-child(5) {
    color: #bebebe;
    width: 25%;
}








/* -----------  Bottom  ----------- */

.bottom {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    font-family: Poppins, sans-serif;
    -webkit-box-align: center;
    align-items: center;
    @media (max-width: 768px) {
        gap: 5px;
        margin-top: 20px;
        flex-direction: column;
        &:last-child {
            margin-bottom: 20px;
        }
    }
}

.bottom h3 {
    cursor: default;
    min-width: 65px;
}

.bottom button {
    padding: 10px 15px;
    min-width: 220px;
    border: none;
    border-radius: 10px;
    margin: 0px 20px;
    font-weight: 700;
    color: white;
    background-color: rgb(120, 144, 156);
    font-size: 15px;
    box-shadow: rgba(75, 99, 110, 0.64) 0px 3px 8px;
    transition: 0.2s;
    opacity: 1;
    cursor: pointer;
    &:hover {
        box-shadow: rgb(75, 99, 110) 0px 3px 8px;
        transform: translateY(-3px);
    }
    @media (max-width: 768px) {
        min-width: max-content;
        width: 20%;
    }
}







/* -----------  Footer  ----------- */

footer {
    padding: 20px 150px;
    text-align: center;
    width: 100%;
    background-color: rgb(120, 144, 156);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Poppins, sans-serif;
    color: white;
    font-size: 15px;
    font-weight: 700;
    @media (max-width: 768px) {
        padding: 20px 20px;
        
    }
}

.row-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    div {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 4px 0 hsla(0, 0%, 100%, 0.82), 0 2px 16px 0 #fff;
        color: rgba(0, 0, 0, 0.8);
        font-size: 40px;
        margin: 10px;
        padding: 5px;
        transition: color 0.2s, box-shadow 1s;

        &:hover {
            transition: all 0.5s;
            box-shadow: 0 2px 4px 0 hsla(0, 0%, 0%, 0.82), 0 2px 16px 0 #fff;
        }
        @media (max-width: 768px) {
            width: 40px;
            height: 40px;
            font-size: 30px;
        }
    }
    @media (max-width: 768px) {
        gap: 0px;
        
    }
    img {
        width: 100%;
        height: 100%;
        padding: 5px;
        transition: 0.5s;
        border-radius: 10px;
    }
}

footer a{
    color: rgb(25, 25, 25);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.5s;
    &:hover {
        color: #f33;
    }
}








/* -----------  Usefullll  ----------- */

.hidden{
    display: none;
}

.show{
    display: inline-block;
}

.disabled{
    pointer-events: none;
    opacity: 0.5 !important;
}


.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF3D00;
  }
  .loader:before,
  .loader:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background: green;
    transform: rotate(0deg) translate(30px);
    animation: rotate 1s ease infinite;
  }
  .loader:after {
    animation-delay: 0.5s
  }
  @keyframes rotate {
    100% {transform: rotate(360deg) translate(30px);
  }
}