
#bgdiv {
    background-image: url("../../dist/art/bg.jpeg");
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    align-items: center;
    
}

#game-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid gray;
    box-shadow: 2px 2px 2px 2px rgb(0, 0, 0, .5);
    border-radius: 10px 10px 15px 15px;
    overflow: hidden;
}

#canvas1 {
    width: 950px;
}

#bg {
    background-repeat: repeat-x;
}

#mat {
    background-image: url("../../dist/art/mat.png");
    height: 235px;
    width: 950px;
    display: flex;
    position: relative;
    justify-content: space-around;
    align-items: center;
    
}


.card-slot, .deck-slot{
    height: 200px;
    border-radius: 28px;
    width: 120px;
    z-index: 1;
    display: flex;
    font-size: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px
}

.full:hover {
    border: 5px solid yellow;
    padding: 0px
}

.card {
    position: absolute;
    top: -42px;
    left: -28px;
    width: 177px;
    height: 260px;
    animation: draw .5s;
}

@keyframes draw {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}




#about-modal-content {
        box-shadow: 2px 2px 2px 2px rgb(0, 0, 0, .5);
}

#about-modal-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 350px;
    height: 400px;
    background-color: white;
    border: 5px solid black;
    border-radius: 4%;
    animation: fadeIn 1s;
    margin-left: 20px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: lightgray;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#about-header {
    font-size: 23px;
    padding:5px;
}

#about-links {
    display: flex;
    width: 100%;
    height: 10%;
    align-items: center;
    justify-content: center;
}

#about-links > div {
    height: 40px;
    width: 40px;
}

#about-links div > * {
    height: 40px;
    margin-top: 15px;
    padding: 15px;
}

#about-links>*:hover {
    cursor: pointer;
}

#about-body {
    font-size: 16px;
    padding: 20px;
}

#about-cta {
    display: flex;
    align-items: center;
    justify-content: center;
        background-color: #C02F1D;
    height: 40px;
    width: 160px;
    border-radius: 5px;
        transition: background-color 1s;
}

#about-cta:hover {
    transition: background-color 1s;
    background-color: #9A2617;

}


a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}


.float-button {
    margin-left: 10px;
    width: 60px;
    height: 60px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    box-shadow: 2px 2px 2px 2px rgb(0, 0, 0, .5);
    font-size: 16px;
    transition: .5s width, .5s height;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.float-button:hover {
    cursor: pointer;
    opacity: 100%;
    width: 65px;
    height: 65px;
    transition: .5s width, .5s height;
}

#sound-button {
    background-color: lightgrey;
    font-size: 30px;
    left: 39%;
    bottom: 130%;
    
}


#about-button {
    background-color: crimson;
    left: 39%;
    bottom: 110%;
    opacity: 80%;
}

#about-button:hover {
    cursor: pointer;
    opacity: 100%;
    width: 65px;
    height: 65px;
    transition: .5s width, .5s height;
}

.side-panel {
    height: 400px;
    position: relative;
    transition: .9s width;
    transition-timing-function: ease-out
}

