/* 전체페이지 적용 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    list-style: none;
    text-decoration: none;
}
li{
    list-style: none;
}
html,body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* 메인페이지 전체입니다 */
.main-all{
    position: relative;
    background-image: url(../image/main-bg.jpg);
    background-position: center;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (max-width:980px){
    .main-all{
        background-image: none;
        height: auto;
        background-color: rgb(14, 13, 13);
    }
}
/* 내용 너비입니다 */
.main-width{
    margin: 0 auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 상단시작페이지입니다 */
.main-top{
    position: relative;
    width: 100%;
    height: 100%;
}
.main-logo-menu{
    margin: 0 auto;
    width: 584px;
}
.main-logo{
    margin-top: 240px;
}
.main-logo a{
    display: block;
}
.main-menu{
    padding-top: 80px;
    text-align: center;
    width: 100%;
}
.main-menu::after{
    content: '';
    display: block;
    clear: both;
}
@media (max-width:980px){
    .main-width{
        height: 130px;
    }
    .main-logo
    {
        margin: 0;
        text-align: center;
        padding-top: 0;
    }
    .main-logo img{
        width: 50%;
        padding: 10px 0 10px;
    }
    .main-menu{
        padding-top: 0;
        display: none;
    }
    .main-logo-menu{
        width: 100%;
    }
}
.main-menu a{
    position: relative;
    font-weight: bold;
    font-size: 30px;
    color: rgb(137, 31, 31);
}
.main-menu a:hover{
    color: rgb(255, 0, 0);
}
.main-menu a:first-child{
    margin-right:90px ;
}
.main-menu a:first-child::after{
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgb(137, 31, 31);
    top: 16px;
    left: 165px;
}
.main-icon{
    margin-top: 100px;
    width: 100%;
    text-align: center;
}
.main-icon a:hover{
    opacity: 0.6;
}


/* 롤렛부분입니다. */
.main-roulet{
    position: relative;
    background: rgb(21, 20, 20);
}
.main-hzet{
    position: relative;
    background: rgb(14, 13, 13);
}
.main-roulet-width{
    margin: 0 auto;
    width: 1130px;
}
@media (max-width:980px){
    .main-roulet-width{
        margin: 0 auto;
        width: 100%;
    }
    .main-icon{
        display: none;
    }
}

.main-game1{
    position: relative;
}
.main-game1-title{
    position: relative;
    text-align: center;
    padding: 80px 0 10px;
}
.main-game1-title h1{
    color: rgb(219, 181, 139);
    font-size: 26px;
    
}


.game2 .main-game1-title h1{
    color: rgb(134, 71, 186);
}

.main-game1-title h1::after{
    content: '';
    height: 3px;
    width: 60px;
    top: 133px;
    left: 535px;
    position: absolute;
    background-color: rgb(219, 181, 139);
}
.game2 .main-game1-title h1::after{
    content: '';
    height: 3px;
    width: 60px;
    top: 133px;
    left: 535px;
    position: absolute;
    background-color: rgb(134, 71, 186);
}
.game-content{
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.game-content::after{
    content: '';
    display: block;
    clear: both;
}
.game-c-left, .game-c-right{
    padding: 0 20px 0;
    float: left;
}

.game-c-left img{
    border-radius: 50px;
    animation: h1_color linear 5s infinite;
    border: 4px solid rgb(219, 181, 139);
    /* box-shadow:0 0 5px rgb(137, 31, 31,) */
}
@keyframes h1_color{
    0%{
        border-color: rgb(219, 181, 139);
    }
    25%{border-color: rgb(121, 96, 67);}
    50%{border-color: rgb(219, 181, 139);}
    75%{border-color: rgb(145, 102, 52);}
    100%{border-color: rgb(219, 181, 139);}
}
.game2 .game-c-left img{
    border-radius: 50px;
    animation: h2_color linear 5s infinite;
    border: 4px solid rgb(134, 71, 186);
}
@keyframes h2_color{
    0%{
        border-color: rgb(134, 71, 186);
    }
    25%{border-color: rgb(179, 96, 247);}
    50%{border-color: rgb(134, 71, 186);}
    75%{border-color: rgb(186, 105, 252);}
    100%{border-color: rgb(134, 71, 186);}
}

.game-c-right div p{
    font-size: 16px;
    padding-bottom: 20px;
    color: rgb(93, 93, 93);
}
.game-c-right div:nth-child(2) img{
    padding-right: 10px;
}
.game-c-right div:nth-child(3){
    padding-top: 20px;
}
.game-c-right div button{
    height: 46px;
    width: 196px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: rgb(18, 2, 2);
    border-radius: 50px;
    background: rgb(219, 181, 139);
}
.game2 .game-c-right div button{
    height: 46px;
    width: 196px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: rgb(18, 2, 2);
    border-radius: 50px;
    background: rgb(134, 71, 186);
}
@media (max-width:980px){
    .main-game1-title{
        width: 100%;
        padding: 30px 0 0;
    }
    .game-content{
        padding-top: 20px;
    }
    .main-game1-title h1{
        font-size: 20px;
    }
    .main-game1-title h1::after{
        display: none;
    }
    .game-c-left img
    {
        width: 100%;
        text-align: center;
    }
    .game-c-right{
        padding-top: 20px;
        width: 100%;
        text-align: center;
    }
    .game-c-right div p{
        text-align: center;
        font-size: 14px;
    }
    .game-c-right div button{
        text-align: center;
    }
}
