#crypto-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    row-gap: 20px;
    padding-top: 20px;
}

#action-list {
    width: 250px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    row-gap: 10px;
    margin: 0 auto 0 auto;
}

#refresh-btn, #logout-btn {
    width: 110px;
}

.crypto {
    width: 230px;
    height: 320px;
    border-radius: 20px;
    background: #2e3857;
    padding: 5px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    float: left;
    box-shadow: rgba(255, 255, 255, 0.4) 0 0 0 2px, rgba(255, 255, 255, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset;
}

.crypto .top-section {
    height: 150px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    background-image: url("../images/cards-efceba33a8d71372705442763bbdaadd.jpg");
    background-size: auto;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);
    position: relative;
}

.crypto .top-section .angle {
    border-bottom-right-radius: 10px;
    height: 35px;
    width: 120px;
    background: #2e3857;
    position: relative;
    transform: skew(-40deg);
    box-shadow: -10px -10px 0 0 #2e3857;
}

.crypto .top-section .angle::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    right: -15px;
    background: rgba(255, 255, 255, 0);
    border-top-left-radius: 10px;
    box-shadow: -5px -5px 0 2px #2e3857;
}

.crypto .top-section::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    background: rgba(255, 255, 255, 0);
    height: 25px;
    width: 25px;
    border-top-left-radius: 15px;
    box-shadow: -5px -5px 0 2px #2e3857;
}

.crypto .top-section .icons {
    position: absolute;
    top: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-between;
}

.crypto .top-section .icons .logo {
    height: 100%;
}


.crypto .top-section .icons .logo > img {
    width: 30px;
    float: left;
    border-radius: 15px;
}

.crypto .top-section .icons .logo > span {
    font-size: 20px;
    font-weight: 600;
    color: white;
    float: left;
    margin-left: 5px;
}

.crypto .top-section .icons .logo .top-section {
    height: 100%;
}

.crypto .top-section .icons .social-media {
    height: 100%;
    padding: 8px 15px;
    display: flex;
    gap: 7px;
}

.crypto .top-section .icons .social-media .svg {
    height: 100%;
    fill: #1b233d;
}

.crypto .top-section .icons .social-media .svg:hover {
    fill: white;
}

.crypto .bottom-section {
    margin-top: 5px;
    padding: 10px 5px;
}

.crypto .bottom-section .title {
    display: block;
    font-size: 17px;
    color: white;
    text-align: center;
    letter-spacing: 2px;
}

.crypto .bottom-section .row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.crypto .bottom-section .row .item {
    flex: 30%;
    text-align: center;
    padding: 5px;
    color: white;
}

.crypto .bottom-section .row .item .big-text {
    font-size: 14px;
    display: block;
    font-weight: 600;
}

.crypto .bottom-section .row .item .regular-text, .crypto .bottom-section .title .regular-text {
    font-size: 12px;
    font-weight: 400;
}

.crypto .bottom-section .title .small-text {
    font-size: 12px;
}

.crypto .bottom-section .title .regular-text {
    line-height: 12px;
}

.crypto .bottom-section .row .item:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.126);
    border-right: 1px solid rgba(255, 255, 255, 0.126);
}

.crypto-data {
    padding-top: 10%;
}

.crypto-data h4:first-child {
    text-align: center;
    color: white;
}

.crypto-data h4:last-child {
    text-align: center;
    margin-top: 10px;
}

.badge {
    border-radius: 12px !important;
    position: relative;
    top: -2px;
    color: white !important;
    font-weight: 600 !important;
}

.hr {
    padding: 0;
    width: 50px;
    border-color: white;
    opacity: 1;
    margin: 0 auto;
}

@media all and (orientation: portrait) {
    #crypto-list {
        display: block;
        padding: 0 !important;
        text-align: center;
    }

    .crypto-card:first-child {
        position: relative;
        min-height: 100vh;
    }

    .crypto-card:not(:first-child) {
        position: relative;
        min-height: 50vh;
    }

    .crypto:first-child {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-60%);
        margin: 0 auto 0 auto !important;
    }
}
