@import url('https://fonts.googleapis.com/css?family=Prompt'); .raffle-roller { height: 190px; position: relative; margin: 60px auto 90px auto; width: 900px; } .raffle-roller-holder { position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 190px; width: 100%; } .raffle-roller-holder { overflow: hidden; border-radius: 10px; border: 2px solid rgb(0, 0, 0); } .raffle-roller-holder { position: absolute; top: 0; left: 0; right: 0; bottom: 0; height: 190px; width: 100%; } .raffle-roller-container { width: 9999999999999999999px; max-width: 999999999999999999px; height: 190px; background: rgba(0, 0, 0, 0.507); margin-left: 0; -webkit-transition: all 3s cubic-bezier(.215,.61,.355,1); transition: all 8s cubic-bezier(.08,.6,0,1); } .no-transition { transition: 1s margin-left !important; } .winning-item { border: 2px solid rgb(0, 0, 0); position: relative; top: -4px; } #round_draw_pointer { height: 100%; width: 2px; position: absolute; left: 0; right: 0; left: 50%; z-index: 99; } #round_draw_pointer_top { position: absolute; top: 0; left: 50%; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 9px solid rgb(116, 116, 116); font-size: 0; line-height: 0; z-index: 5; } #round_draw_pointer_bot { display: none; position: absolute; bottom: -1px; width: 0; height: 0; left: 50%; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 9px solid rgb(0, 0, 0); font-size: 0; line-height: 0; z-index: 5; } #round_draw_pointer_mid { position: absolute; top: 0; left: 50%; margin-left: 8px; width: 3px; height: 100%; background: rgb(255, 255, 255); } .case_item { display: inline-block; position: relative; width: 150px; height: 174px; margin: 8px 0 0 9px; overflow: hidden; float: left; border-radius: 15px; background: rgba(0, 0, 0, 0.2); box-shadow: 0 0 15px #2c7ae0; border: 2px solid #2c7ae0; transition: all 0.3s ease-in-out; box-sizing: border-box; } .case_item:hover { transform: scale(1.05); box-shadow: 0 0 30px #2c7ae0; border: 2px solid #2c7ae0; } .case_item > .bottom-skin6, .case_item > .bottom-skin5, .case_item > .bottom-skin4, .case_item > .bottom-skin3, .case_item > .bottom-skin2, .case_item > .bottom-skin1 { font-family: 'Prompt', serif; position: absolute; z-index: 3; width: 100%; height: 28px; text-align: center; color: #fff; font-size: 11px; bottom: 0; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; padding: 5px 0; line-height: 12px; background: none; text-shadow: 4px 4px 6px black; } img { border: 0; } .case_item_image { position: absolute; z-index: 2; width: 100px; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); } .case_item_shadow { position: absolute; z-index: 1; width: 120px; height: auto; left: 0; right: 0; bottom: 35px; margin: 0 auto; } /* For .js */ .swal2-popup { background: rgba(0, 0, 0, 0.7) !important; border-radius: 15px; box-shadow: 0 0 15px #2c7ae0; padding: 20px; text-align: center; width: auto; } .swal2-confirm { background-color: #2c7ae0 !important; color: white !important; border: 2px solid #2c7ae0 !important; border-radius: 10px !important; padding: 10px 20px !important; font-size: 16px !important; cursor: pointer !important; transition: all 0.3s ease !important; } .swal2-confirm:hover { background-color: #1d5f9b !important; box-shadow: 0 0 10px #2c7ae0 !important; } .custom-font { font-family: 'Arial', sans-serif; font-size: 20px; font-weight: bold; color: #2c7ae0; }