body {
    background-image: url(./Image/Victory2.jpg);
    width: 1280px;
    height: 720px;
}

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.firstMessageClass {
    position: absolute;
    font-weight: bolder;
    font-size: 50px;
    font-family: Georgia;
    top: 70%;
    left: 30%;
    color: white;
    z-index: 8;
    animation: flickering 0.5s infinite;
   
}

@keyframes flickering {
    0% {opacity: 0;}
    20% {opacity: 0.35;}
    40% {opacity: 0.7;}
    60% {opacity: 1}
    80% {opacity: 0.7;}
    100% {opacity: 0.35}

}

.hideBoard {
    display: none;
}

.showBoard {
    display: block;
}

#mainScreen {
    background-image: url('./Image/Title.jpg');
    border: 5px solid silver;
    background-color: black;
    display: block;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    cursor: url("Image/MagicWandCursor.cur") 0 0, default;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

#titleScreen {
    background-image: url('./Image/Title.jpg');
    color: white;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    z-index: 11;
}

.gameplayButton {
    position: absolute; 
    width: 25%; 
    height: 8%; 
    top: 65%; 
    left: 37.5%; 
    color: white; 
    border: 2px solid white; 
    box-shadow: 8px 8px 10px 2px rgba(0,0,0,1.0); 
    border-radius: 5%; font-family: Georgia; 
    font-size: 30px; font-weight: bolder; 
    background: linear-gradient(#AE8625, #6E4F12, #D2AC47, #EDC967);
}

.gameplayButton:hover {
    background: linear-gradient(#FFFF34, #D2AC47, #FFFF34)
}

.titleButton {
    display:block;
    position: absolute;
    color: white;
    font-weight: bolder;
    font-family: Cambria;
    font-size: 20px;
    background: linear-gradient(#3AA346, #1E8C45, #007542, #1E9C35);
    border: 3px solid white;
    border-radius: 8%;
    width: 20%;
    height: 6%;
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, 1);
}

.titleButton:hover {
    background: linear-gradient(#9BF931, #1BA931, #1E9C35, #1E8C35);
}




#skillScreen {
    background-image: url('./Image/DarkTitle.jpg');
    color: white;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    z-index: 11;
}

#monsterScreen {
    background-image: url('./Image/Victory2.jpg');
    color: white;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    z-index: 11;
}

.functionButton {
    display:block;
    position: absolute;
    color: white;
    font-weight: bolder;
    font-family: Cambria;
    font-size: 20px;
    background: linear-gradient(#3AA346, #1E8C45, #007542, #1E9C35);
    border-radius: 20%;
    width: 10%;
    height: 5%;
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, 1);
}

.functionButton:hover {
    background: linear-gradient(#9BF931, #1BA931, #1E9C35, #1E8C35);
}

.functionButton2 {
    display:block;
    position: absolute;
    color: white;
    font-weight: bolder;
    font-family: Cambria;
    font-size: 20px;
    background: linear-gradient(#AE8625, #6E4F12, #D2AC47, #EDC967);
    border-radius: 20%;
    width: 10%;
    height: 5%;
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, 1);
}

.functionButton2:hover {
    background: linear-gradient(#FFFF34, #D2AC47, #FFFF34);
}

.functionButtonRed {
    display:block;
    position: absolute;
    color: white;
    font-weight: bolder;
    font-family: Cambria;
    font-size: 20px;
    background-color: red;
    border-radius: 20%;
    width: 10%;
    height: 5%;
    box-shadow: 5px 5px 8px 5px rgba(0, 0, 0, 1);
}

   

.catego1 {
    background-color: rgba(255, 255, 0, 0.65);
}
.catego1:hover {
    background-color: rgba(255, 255, 0, 0.9);
}

.catego2{
    background-color: rgba(255, 0, 0, 0.65);
}
.catego2:hover {
    background-color: rgba(255, 0, 0, 0.9);
}

.catego3 {
    background-color: rgba(0, 255, 0, 0.6);
}

.catego3:hover {
    background-color: rgba(0, 255, 0, 0.9);
}

#storage {
    position: absolute;
    left: 2%;
    width: 63%;
    height: 80%;
    top: 15%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid silver; 
}

#monsterStorage {
    position: absolute;
    left: 2%;
    width: 63%;
    height: 80%;
    top: 15%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid silver; 
}

.storageTable {
    position: absolute;
    top: 1%;
    left: 1%;
    height: 82%;
}

#skillTable {
    border-spacing: 16px 6px;
    display: block;
}

#weaponTable {
    border-spacing: 16px 6px;
    display: none;
}

#monserTable {
        border-spacing: 16px 6px;
        display: block;
}

.tableRowInfo {
    width: 100%;
    height: 80px;
}

.tableDataInfo {
    background-image: url(./Skill_Icon/locked.png);
    background-size: 103%;
    width: 80px;
    height: 77px;
}

.tableDataInfo:hover {
    border: 1px solid gold;
}

#cardView {
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid silver;
    position: absolute;
    left: 67%;
    width: 31%;
    height: 80%;
    top: 15%;
}

#monsterCardView {
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid silver;
    position: absolute;
    left: 67%;
    width: 31%;
    height: 80%;
    top: 15%;
}


#skillCardDizplay {
    display: block;
}

#skillScreenCardName {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: Impact;
    font-size: 36px;
    top: 1%;
}

#skillScreenCardRarity {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: Impact;
    font-size: 24px;
    top: 10%;
}

#skillScreenCardsrc {
    background-image: url('./Skill_Icon/locked.png');
    background-size: 100%;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 18%;
    left: 38%;
}

#skillScreenCardLevel {
    position: absolute;
    width: 60%;
    text-align: center;
    font-family: Impact;
    font-size: 24px;
    top: 40%;
    left: 20%;
}

#skillScreenCardAmount {
    background-image: url(./Image/barHUD.png);
    background-size: 99%;
    position: absolute;
    width: 60%;
    height: 23px;
    top: 45%;
    left: 22%;
}

#amountDizplay {
    background: linear-gradient(#3AA346, #1E8C45, #007542, #1E9C35);;
    position: absolute;
    width: 0%; /*Max Width = 96*/
    height: 17px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    top: 3.5px;
    left: 1.25%;
    z-index: 1;
}

#amountInfo {
    position: absolute;
    width: 100%;
    height:20px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
    z-index: 3;
    font-weight: bolder;
}

#skillScreenCardInfo {
    text-align: center;
    word-wrap: break-word;
    position: absolute;
    width: 92%;
    left: 4%;
    top: 52%;
    font-family: Georgia;
    font-size: 17px;
}

#skillScreenCardStats {
    word-wrap: break-word;
    text-align:center;
    position: absolute;
    width: 96%;
    left: 2%;
    top: 67%;
    font-family: Georgia;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    display:none;
}

#SKSCdivider1 {
    position: absolute;
    width: 100%;
    top: 73%;
    border-radius: 50%;
}

#chooseSlot {
    position: absolute;
    width: 60%;
    top: 85%;
    height: 10%;
    left: 22%;
    font-family: Georgia;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    display: none;
}

.slotButton {
    background-color: rgba(180, 180, 180, 0.7);
    background-size: 100%;
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid black;
    box-shadow: 1px 1px 1px 1px rgb(0, 0, 0);
    font-weight: bolder;
    font-size: 20px;
    font-family: Georgia;
}

#chooseSlotGS {
    position: absolute;
    width: 80%;
    top: 85%;
    height: 10%;
    left: 20%;
    font-family: Georgia;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    display: none;
}




#weaponCardDizplay {
    display: none;
}

#weaponCardName {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: Impact;
    font-size: 36px;
    top: 1%;
}

#weaponCardsrc {
    background-image: url('./Weapon_Icon/WP0.png');
    background-size: 100%;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 10%;
    left: 38%;
}

#weaponCardLevel {
    position: absolute;
    width: 60%;
    text-align: center;
    font-family: Impact;
    font-size: 24px;
    top: 29%;
    left: 20%;
}

#weaponCardInfo {
    text-align: center;
    word-wrap: break-word;
    position: absolute;
    width: 92%;
    left: 4%;
    top: 36%;
    font-family: Georgia;
    font-size: 14px;
    font-style: italic;
}

#weaponCardStats {
    word-wrap: break-word;
    text-align:center;
    position: absolute;
    width: 96%;
    left: 2%;
    top: 49%;
    font-family: Georgia;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

#weaponUniqueSkill {
    position: absolute;
    top: 78%;
    width: 100%;
    height: 22%;
    background-color: transparent;
    text-align: center;
}

#wpSkillLocked {
    color: white;
    font-family: Impact;
    font-size: 24px;
    position: absolute;
    top: 22%;
    width: 100%;
    height: 72%;
    background-color: rgba(0, 0, 0, 0.95);
}

#shopScreen {
    background-image: url('./Image/shopScreenDark.png');
    color: white;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    z-index: 11;
}


#shopStorage {
    position: absolute;
    left: 48%;
    width: 50%;
    height: 75%;
    top: 15%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid silver;
}

#shopTable {
    border-spacing: 40px 11px;
    position: absolute;
    left: 0%;
}

.shopRowInfo {
    height: 150%;
    width: 100%;
}

.shopDataInfo {
    background-color: rgba(255, 255, 255, 0.3);
    width: 155px;
    height: 150px;
    border: 3px solid green;
    border-radius: 5%;
}

.shopDataInfo:hover {
    background-color: rgba(255, 255, 0, 0.6);
}

.gachaButton {
    display: block;
    background: linear-gradient(45deg, #FDF4BB, #FDB2D8, #FFD0FC, #98F6F5, #A1AEE2, #D5F6FB, #FFD4A9, #CBC2FF); 
}

.gachaButton:hover {
    animation: buttonRainbow 0.25s infinite;
    transform: scale(1.2);
}

@keyframes buttonRainbow {
    0% {background: linear-gradient(135deg, #FFADAD, #FFD6A5, #FDFFB6, #CAFFBF, #9BF6FF, #A0C4FF, #BDB2FF, #FFC6FF);}
    50% {background: linear-gradient(225deg, #FDF4BB, #FDB2D8, #FFD0FC, #98F6F5, #A1AEE2, #D5F6FB, #FFD4A9, #CBC2FF);}
    100% {background: linear-gradient(315deg, #FFADAD, #FFD6A5, #FDFFB6, #CAFFBF, #9BF6FF, #A0C4FF, #BDB2FF, #FFC6FF);}
}

#gachaMenu {
    display: none;
}

.gachaMenuClass {
    position: absolute;
    width: 30%;
    height: 75%;
    background: linear-gradient(225deg, #FDF4BB, #FDB2D8, #FFD0FC, #98F6F5, #A1AEE2, #D5F6FB, #FFD4A9, #CBC2FF);
    left: 10%;
    top: 15%;
    border: 4px solid black;
    border-radius: 5%;
}

#gachaScreen {
    position: absolute;
    width: 1280px;
    height: 720px;
    display: none;
}

#gachaResultScreen {
    position: absolute;
    background-image: url('./Image/DarkTitle.jpg');
    width: 1280px;
    height: 720px;
    display: none;
}

#gcTable {
    display: block;
}

.gachaDataClass {
    width:180px;
    height: 180px;
    background-color: rgba(0, 255, 0, 0.8);
    border: 5px solid green;
    border-radius: 5%;
    display: none;
    margin-right: 24px;
}
















#endScreen {
    background: rgba(255, 0, 0, 0.7);
    color: white;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    z-index: 11;
}

#goToMainMenu {
    position: absolute;
    background: linear-gradient(#DFBD69, #926F34, #DFBD69);
    width: 200px;
    height: 60px;
    border: 4px solid gold;
    border-radius: 10%;
    top: 75%;
    left: 43%;
    color: white;
    font-size: 30px;
    font-family: Impact;
}


#gameScreen {
    background: black;
    display: none;
    position: absolute;
    width: 1280px;
    height: 720px;
    top:0%;
    left: 0%;
    /*left: 50%;
    transform: translate(-50%, -0.8%);*/
}

canvas {
    position:absolute;
}

#screen {
    background: black;
    background-size: 108%;
    display:block;
    position: absolute;
    width: 100%;
    height: 80%;
}

#pauseSection {
    background-image: url(./Image/pauseButton.png);
    background-size: 100%;
    position: absolute;
    right: 1%;
    top: 1%;
    width: 50px;
    height: 50px;
    color:white;
    z-index: 6;
}

#pauseScreen {
    background-color: transparent;
    position: absolute;
    top: 25%;
    left: 26%;
    width: 600px;
    height: 300px;
    color:white;
    z-index: 6;
    display: none;
}

#resources {
    background: transparent;
    color:white;
    display:block;
    position: absolute;
    width: 10%;
    left: 88%;
    height: 19%;
    top: 79%;
    line-height: 20px;
    font-family: Georgia;
    font-weight: bold;
    font-size: 20px;
    padding: 0.5%;
    z-index: 10;
}

#buffScreen {
    background-color: rgba(251, 248, 223, 0.2);
    position: absolute;
    top: 85px;
    width: 1280px;
    height: 480px;;
    left: 0%;
    z-index: 10;
    display: none;
}

.slideIn {
    display: block;
    animation: appear 1s;
}

.slideOut {
    animation: disappear 1s;
}

.fadeIn {
    animation: fadingIn 0.3s;
}

.fadeOut {
    animation: fadingOut 0.3s;
}

.slowFadeIn {
    animation: fadingIn 1s;
}

.slowFadeOut {
    animation: fadingOut 1s;
}

@keyframes appear {
    from {transform: translate(0, -200%);}
    to {transform: translate(0, 0);}
}

@keyframes disappear {
    from {transform: translate(0, 0%);}
    to {transform: translate(0, -200%);}
}

@keyframes fadingOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fadingIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.buffCard {
    position: absolute;
    top: 3%;
    width: 256px;
    height: 370px;
    color: white;
}

.cardName {
    width: 250px;
    text-align: center;
    font-family: Georgia;
    font-size:20px;
    font-weight: bolder;
    position: absolute;
    word-wrap: break-word;
    padding: 2%;
    top: 2%;
}

.cardIcon {
    position: absolute;
    top: 17%;
    width: 150px;
    height: 150px;
    left: 20%;
    border-radius: 50%;
    border: 2px solid gold;
}


.cardRarity {
    width: 240px;
    left: 4%;
    text-align: center;
    font-family: Impact;
    font-size:16px;
    position: absolute;
    top: 64%;
}

.cardDivider1 {
    position: absolute;
    text-align: center;
    width: 90%;
    top: 60%;
    left: 5%;
    border: 2px solid silver;
    border-radius: 70%;
}

.cardDivider2 {
    position: absolute;
    text-align: center;
    width: 90%;
    top: 68%;
    left: 5%;
    border: 2px solid silver;
    border-radius: 70%;
}

.cardInfo {
    width: 240px;
    left: 4%;
    text-align: center;
    font-family: Georgia;
    font-size:16px;
    position: absolute;
    word-wrap: break-word;
    top: 75%;
}

#buff1 {
    left: 2.5%;
}

#buff2 {
    left: 27.5%;
}

#buff3 {
    left: 53%;
}

#buff4 {
    left: 77.5%;
}

.URBuff {
    background: linear-gradient(#560319, #3C0000, #210001, #000000, #5C0000, #620000);
    border: 6px solid;
    border-color: #DC2100;
}
.URBuff:hover {
    background: linear-gradient(#DA0319, #8C0000, #710001, #500000, #8C0000, #DA0319);
}

.SRBuff {
    background: linear-gradient(#7A0080, #3A0066, #20004D, #000000, #3A0066, #5A0066);
    border: 6px solid;
    border-color: #9600FB;
}
.SRBuff:hover {
    background: linear-gradient(#8C00F8, #7C0093, #6E0082, #300030, #6E0082, #7C0093);
}

.RBuff {
    background: linear-gradient(#23388F, #002275, #000F5C, #000000, #002290, #444EAA);
    border: 6px solid;
    border-color: #0090FB;
}
.RBuff:hover {
    background: linear-gradient(#0030FF, #0040FC, #0062FA, #003070, #0040FC, #0032FF);
}

.CBuff {
    background: linear-gradient(#004B00, #003400, #002200, #000000, #004400, #004F00);
    border: 6px solid;
    border-color: #009000;
}
.CBuff:hover {
    background: linear-gradient(#00A000, #008000, #007000, #004000, #007500, #009200);
}

#reroll {
    position: absolute;
    color:white;
    font-weight: bolder;
    font-family: Georgia;
    font-size: 20px;
    top: 87%;
    background: linear-gradient(#DFBD69, #926F34);
    width: 150px;
    height:40px;
    left: 43%;
    border: 3px solid gold;
    border-radius: 10%;
}

#tutorial {
    background: black;
    color:white;
    display:block;
    position: absolute;
    width: 20%;
    height: 17%;
    top: 80%;
    line-height: 20px;
    font-family: Georgia;
    font-weight: bold;
    font-size: 12px;
    padding: 0.5%;
}

#buffStats {
    background: black;
    color:white;
    display:none;
    position: absolute;
    width: 22%;
    left: 71%;
    height: 19%;
    top: 79%;
    line-height: 20px;
    font-family: Georgia;
    font-weight: bold;
    font-size: 13px;
    padding: 0.5%;
    z-index: 10;
}

#buffStats1 {
    background: black;
    color:white;
    display:block;
    position: absolute;
    width: 50%;
    left: 0%;
    height: 70%;
    top: 25%;
    line-height: 20px;
    font-family: Georgia;
    font-weight: bold;
    font-size: 13px;
    padding: 0.5%;
}

#buffStats2 {
    background: black;
    color:white;
    display:block;
    position: absolute;
    width: 50%;
    left: 70%;
    height: 70%;
    top: 25%;
    line-height: 20px;
    font-family: Georgia;
    font-weight: bold;
    font-size: 13px;
    padding: 0.5%;
}

#controlBoard {
    background: white;
    display:block;
    position: absolute;
    width: 40%;
    left: 30%;
    height: 19%;
    top: 80%;
    border: 4px solid silver;
}

#mainWeapon {
    background-image: url("Image/ultHUD2.png");
    background-size: 105%;
    display: block;
    position: absolute;
    width: 20%;
    height: 68%;
    top:32%;
}

#weapon_main {
    background-image: url("./Image/gemNotEquipped.png");
    background-size: 100%;
    display:block;
    position: absolute;
    top: 5%;
    width: 75%;
    left: 12%;
    height: 88%;
}


#healthBar {
    background-image: url("Image/barHUDsmall.png");
    background-position-y: 45%;
    background-size: 100%;
    display: block;
    position: absolute;
    width:100%;
    height: 15%;
}

#hpDisplay {
    background: linear-gradient(#8B0000,red, #DC143C, #8B0000, #DC143C, red, #8B0000);
    font-weight: bolder;
    display: block;
    position: absolute;
    height: 62%;
    top: 20%;
    left: 1.5%;

    width: 97%;
}

#hpStatus {
    color: white;
    font-weight: bolder;
    text-align: center;
    display:block;
    position: absolute;
    width: 100%;
    top: 10%;
    font-size: 14px;
    font-family: Georgia;
}

#baseHP {
    background-image: url("Image/barHUD.png");
    background-size: 100%;
    background-position-y: 20%;
    display: block;
    position: absolute;
    width: 100%;
    height: 17%;
    top: 15%;
    text-align: center;
    color: white;
}

#baseHPDisplay {
    background: linear-gradient(#FFB266, #FFA54D, #FF9933, #FF7F00, #FF9933, #FFA54D, #FFB266);
    display: block;
    position: absolute;
    height:80%;
    top: 20%;
    left: 1.5%;
    width: 97%;
}

#baseHPStatus {
    color: white;
    font-weight: bolder;
    text-align: center;
    display:block;
    position: absolute;
    width: 100%;
    top: 10%;
    font-size:14px;
    font-family: Georgia;
}


#skillBar {
    background-image: url("Image/hud3.png");
    background-size: 110%;
    background-position-x: 50%;
    display: block;
    position: absolute;
    width: 63%;
    height: 68%;
    left: 20%;
    top: 32%;
}

.skillButton {
    background: transparent;
    background-size: 100%;
    display: block;
    position: absolute;
    width: 24%;
    height: 83%;
    top: 8%;
    text-align: center;
    color: white;
    font-weight: bolder;
    font-size: 48px;
    font-family: Impact;
    -webkit-text-stroke: 2px black;
    border: 2px solid gold;
    border-radius: 5%;
}

#skill1 {
    background-image: url("Skill_Icon/locked.png");
    left: 6%;
    filter: grayscale(0);
}

#skill1CD {
    opacity: 1;
}

#skill2 {
    background-image: url("Skill_Icon/locked.png");
    left: 38%;
    filter: grayscale(0);
}

#skill3 {
    background-image: url("Skill_Icon/locked.png");
    left: 70%;
    filter: grayscale(0);
}

#ultBar {
    background-image: url("Image/ultHUD2.png");
    background-size: 100%;
    display: block;
    position: absolute;
    width: 17%;
    height: 68%;
    left: 83%;
    top:32%;
}

#gemSkill {
    background-image: url("Image/gemNotEquipped.png");
    background-size: 105%;
    top: 5%;
    width: 90%;
    left: 5%;
    height:88%;
}

#ultDisplay {
    background: linear-gradient(#90E4C1, #63AFB0, teal, #014D4E, teal, #63AFB0, teal);
    display: block;
    position: absolute;
    height: 54%;
    top: 23%;
    left: 6%;
    width: 88%;
}