﻿.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.currency-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: rgba(249, 249, 249, 0.9);
    transform: translateY(-20px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    font-size: 1.2em;
    width: 220px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.price-info-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    padding: 10px;
}

.low-price, .high-price {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -30px;
    font-size: 0.55em;
    border-radius: 8px;
    padding: 3px;
    width: 35%;
    text-align: center;
    border: solid;
    border-width: 1px;    
}

.low-price {
    border-color: red;
}

.high-price {
    border-color: green;
}


.currency-card .card-header {
    padding-top: 40px;
}

.currency-card .currency-icon {
    font-size: 1.5em;
}

.currency-card .card-main {
    text-align: center;
}

.currency-card .currency-value {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.currency-card .conversion-rate {
    font-size: 0.9em;
}

.currency-picture img {
    width: 70%;
    height: auto;
}

.page {
    position: relative;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Bitcoin.svg/1200px-Bitcoin.svg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
}

.conversion-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 0px;
    display: inline-block;
    text-align: start;
    background-color: rgba(249, 249, 249, 0.9);
    transform: translateY(-20px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    font-size: 1.2em;
    width: 330px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

    .conversion-card h3 {
        text-align: center;
    }

.img-fix {
    width: 16px;
}

.symbolsize {
    width: 70%;
}

@media only screen and (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .currency-picture img {
        width: 50%;
    }

    .symbolsize {
        width: 50%;
    }
}
