html, body {
    padding: 0;
    margin: 0;    
    /* background: black; */
    background: radial-gradient(circle, rgba(51,43,55,1) 0%, rgba(51,43,55,1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color:#fff;
    font-family: 'MedievalSharp', cursive;
    
}

header {
    display: flex;
    flex-direction: column;
    gap:1rem;
    margin-bottom: -30px;
}
.icons {
    display: flex;
    gap:2rem;
    justify-content: center;
}
header i {
    font-size: 2rem;
}

header {
    padding:2rem;
    text-align: center;
}

header h1{
    margin-bottom: 0;
    margin-top: 0;
}

main {
    display:flex;
    flex-direction: column;
    align-items: center;
    margin-top: .5rem;
} 

img {
    height:180px;
}

section{
    margin-bottom: 20px;
}



@media(min-width:550px){
   main {
        flex-direction: row;
        margin:6vh 5vw;
        justify-content: center;
        width:86vw;
        gap: 2rem;
    } 
}

.character-card {
    height:350px;
    margin-top: .5rem;
    width:94vw;
    max-width: 230px;
    padding: 1vh 1vw;
    font-size: 1.6rem;
    color: white;
    border-radius: 14px;
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: rgba(255, 255, 255, .15);  
    backdrop-filter: blur(5px);
    
}

@media(min-width:550px){
    .character-card {
        height:26rem;
        width:37vw;
    }
}

.name {
    margin: 1vh 0;
    width:100%;
    letter-spacing: 0.08em;
    font-size: 90%;
}

@media(min-width:550px){
    .name {
    margin: 2vh 0;
    font-size: 100%;
}
}

.avatar {
    width: 15vh;
    max-width:100%;
    opacity: 0.8;
    border-radius: 10px;
    background-color: rgba(11, 9, 9, 0.8);
}

@media(min-width:550px){
    .avatar {
        width: 25vh;
    }
}

.health {
    font-size:1.1rem;
    font-weight: normal;
    width:90%;
    text-align: left;
    margin: 1vh 5%;
    color:#ccc;
    letter-spacing: 0.03em
}

@media(min-width:550px){
    .health {
        margin: 2vh 5%;
    }
}

.health b {
    font-weight: bold;
    color:#fff;
}

.health-bar-outer {
    background: #171217;
    height: 1vh;
    width:90%;
    margin: 0 5%;
    border-radius: 2px;
}

.health-bar-outer .health-bar-inner {
    background: #466d34;
    height: 100%;
    border-radius: 2px;
}

.health-bar-outer .health-bar-inner.danger {
    background:#d1435f;
}

.dice-container {
    width:100%;
    height: 70%;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    top:50%;

}
 @media screen and (min-width:550px){
     .dice-container {
        width: 100%;
        height: 70%;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }
}


.dice, .placeholder-dice{
    height:5vh;
    width:5vh;
    background-color: rgba(11, 9, 9, 0.8);
    /*   bb  */
    border-radius: 5px;
    border:1px solid rgba(11, 9, 9, 0.8);
    color:white;
    text-align: center;
    line-height: 6vh;
}

/* @media screen and (min-width:550px){

} */

.dice-container .placeholder-dice{
    background-color: transparent;
}

button {
    margin-top: .52rem;
    font-family: 'MedievalSharp', cursive;
    background-color: rgba(255, 255, 255, .15);  
    backdrop-filter: blur(5px);
    padding-left:5vw;
    padding-right:5vw;
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    color:white;
    height:9vh;
    border:none;   
}

button:hover{
    background-color: rgba(255, 255, 255, 0.052);  
    backdrop-filter: blur(5px);
}

@media screen and(min-width:550px){
    button {
        margin-top: -10px;
    }
}


.end-game{
    margin-top: 25%;
    text-align: center;
}

.end-emoji{
    font-size: 80px;
}


.snowflake {
    color: #fff;
    font-size: 2em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
  }
footer {
    margin-bottom: 2rem;
}

footer i {
    font-size: 2rem ;
    margin: 0 1rem; 
}

footer a {
    color:white;
}
  @-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
 
