@import 'root.css';

.home {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('/assets/img/background.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.todayResultHeader .header, .todayResultHeader hr, .todayResultHeader .date {
    margin: 0;
}

.todayResultHeader {
    padding: 20px;
}

.todayResultHeader .header {
    text-shadow: 3px 3px 1.5px rgba(0,0,0,0.6);
    margin-bottom: 5px;
}

.todayResultHeader .date {
    font-weight: 700;
    font-size: 17px;
}

.todayResult {
    background-color: #e5e9f0;
    border-radius: 20px;
    border: 2px solid black;
    text-align: center;
    width: 960px;
}

.todayResultFooter {
    background: linear-gradient(180deg, var(--footer-dark-color) 0%, var(--footer-light-color) 59%, rgba(255,255,255,1) 100%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 10px;
}

.todayResultFooter .time {
    display: flex;
    font-size: 22px;
    justify-content: center;
    font-weight: 700;
}

.todayResultFooter .time div {
    padding: 15px;
}

.todayResultContent {
    display: flex;
    margin-bottom: 30px;
}

.prize {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
    align-items: center;
}

.prize#first {
    width: 40%;
}

.prize .position {
    background: rgb(162,173,186);
    background: linear-gradient(180deg, rgba(162,173,186,1) 0%, rgba(186,194,205,1) 47%, rgba(236,235,235,1) 100%);
    font-size: 20px;
    padding: 0px 40px;
    border-radius: 10px;
    font-weight: 600;
    width: fit-content;
}

.prize#first .position {
    background: linear-gradient(0deg, var(--footer-dark-color) 0%, var(--footer-light-color) 59%, rgba(255,255,255,1) 100%);
}

.prize#first .number {
    font-size: 60px;
}

.prize .number {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
}

.weekResult {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 10px;
}

.dayResult {
    border: 2px solid var(--primary-text-color);
    border-radius: 5px;
    color: var(--primary-text-color);
    font-size: 14px;
    text-align: center;
    background-color: var(--primary-color);
    text-align: center;
    margin-top: 10px;
}

.dayResult > div {
    padding: 3px;
    border: 2px solid var(--primary-text-color);
}

.dayResult .output {
    font-size: 40px;
}

.home {
    padding: 10px;
}

@media (max-width: 992px) {
    .prize .position {
        font-size: 16px;
    }

    .todayResult {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .weekResult {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .todayResultContent {
        display: grid;
        grid-row-gap: 20px;
    }

    .prizeSeparator {
        display: none;
    }

    .prize {
        width: 100% !important;
    }
}