#topnav{
    background-color: #420612;
    height:50px;
}

#topnav a{
    float: left;
    display: block;
    color: #f2f2f2;
    transition: background-color 0.5s;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

#topnav a:hover{
    background-color: white;
    color: black;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #420612;
    font-size: 16px;
    border: none;
    cursor: pointer;
    height:50px;
    text-decoration: none;
    font-size: 17px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: #f2f2f2;
}

html{
    height: 100%;
    width:100%;
}

body{
    margin:0%;
    background-color: #D3D3D3;
    background-image: url(wp7893545.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    height:2000px;
    width: 100%;
}

#characters{
    width: 100%;
    height: 100%;
}

#characterSelection{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:0px 0px;
    width: 100%;
    height: 100%;
}

#characterSelection2{
    display: grid; 
    grid-template-columns: 0.20fr 0.20fr 0.20fr 0.20fr 0.20fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    gap: 25px 25px; 
}

.gridCharacter-item{
    border-color: black;
    border-style: solid;
    border-width: 3px;
    border-radius: 5px;
    box-shadow: 0 0 1rem 0 transparent;
    overflow: hidden;
    transition-duration: 0.2s;
    transition-property: border-color, box-shadow;
    width: 0.01fr;
    height:0.01fr;
    position:relative;
    text-align: center;
    
}


.gridCharacter-item img{
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition-duration: 0.2s;
    color:white;
}

.gridCharacter-item p{
    top: 85%;
    position: absolute;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    border:black;
    text-shadow: 3px 3px 3px black;
    color: #D3D3D3;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: black;
}

.gridCharacter-item img:hover{
    transform: scale(1.1);
    transition-duration: 0.2s;
    transition: filter 0.2 ease;
    filter:brightness(120%);
}

.gridCharacter-item:hover{
    cursor: pointer;
}

.character{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.background { 
    position: absolute; 
    height: 100%; 
    width: 100%; 
    background-image: url(background.png);
    background-size:auto; 
    background-repeat: no-repeat;
    background-position: center; 
    filter: blur(2px); 
    z-index: -1;

}

#display-top{
    width:100%;
    height: 70px;
    margin-top:0%;
    margin:auto;
    width:fit-content;
    margin-bottom: 25px;
}

.characterGameButton{
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: #420612;
    user-select: none;
    margin-right: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.characterGameButton:hover{
    background-color: #f2f2f2;
    color: #420612;
    cursor:pointer;
}

