body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
}
.container {
    max-width: 600px;
    min-width: 320px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 60px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

.button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #0056b3;
}


#winning-box {
    width: 300px;
    height: 50px;
    margin: 0 auto;
    margin-top: 30px;

    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 10px;
    background-color: #f0f8ff; 

    font-size: 20px;
    font-weight: bold;
}
.number-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    margin: 5px;
    font-weight: bold;
    font-size: 18px;
}

.number-list-container {
    width: 90%; /* 기본적으로 너비를 부모 요소의 90%로 설정 */
    max-width: 400px; /* 최대 너비 설정 */
    height: 310px;
    margin: 0 auto;
    margin-top: 20px;
    background-color: #ccccd1a4;
    border-radius: 10px;
    background-color: #eaeaea9c; 

}

.number-list-top {
    display: flex;
}

h3 {
    padding-top: 20px;
    padding-left: 50px;
    text-align: left;
}

.reset-button {
    margin-left: 10px;
    margin-top: 30px;

    width: 50px;
    height: 40px;
    background-color: #9f9d9d;
    color: #fff;

    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.reset-button:hover {
    background-color: #c6c6c6;
}



.number-list-box {
    width: 280px;
    padding-bottom: 18px;
    margin: 0 auto;

}

.number-list-box-row {
    display: flex;
    margin-bottom: 1px;
}

.select-number {
    border: 1px solid #e86e0b;
    width: 20px;
    height: 27px;
    line-height: 27px; 
    text-align: center; 
    margin: 3px;
    background-color: #ffffff;
    color: #303030;
    border-radius: 20%;
    cursor: pointer;
    font-size: 12px;
}

.selected {
    background-color: #c1c1c1 !important;
}

.description {
    margin-top: 25px;
}

.description p {
    font-size: 14px; 
}

.selected-number-cache {
    width: 90%; 
    max-width: 400px; 
    height: 310px;
    margin: 0 auto;
    margin-top: 20px;
 
    border-radius: 10px;
    background-color: #eaeaea9c; 
}

.selected-number-cache-top {
    display: flex;
}


#winning-history {
    max-height: 200px; 
    overflow-y: auto; 
}


.bottom {
    width: 90%; 
    max-width: 400px; 
    height: 100px; 
    margin: 0 auto;
    margin-top: 20px;
    background-color: #f0f0f0; 

}

.mid{
    top : 20px;
    width: 400px;
    height: 80px;
    margin: 0 auto;
    margin-top: 9px;
}

.c-ads{
    margin-top: 9px;
}

.c-ads p{
    font-size: 7px;
}

.sidebar-left,
.sidebar-right {
    display: block;
    position: fixed;
    top : 20px;
    width: 230px;
    height: 750px;
    background-color: #f0f0f0;
}

.sidebar-left {
    left: calc(50% - 320px - 230px - 20px);

}

.sidebar-right {
    left: calc(50% + 320px + 20px); 

}


@media screen and (max-width: 1165px) {
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
}



