@font-face {
    font-family: Berthold;
    src: url(files/Berthold\ Akzidenz\ Grotesk\ Bold\ Extended.otf);
}

body{
    font-family: Berthold;
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr 5fr;
    margin:0%;
    
    /* justify-content: center; */
    text-align: center;
}

.header{
    background-color:#002164 ;
    font-family: Berthold;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.heading{
    justify-content: center;
    text-align: center;
}

h1{
    font-size: 4rem;
    margin-block-end: 0.2em;
    margin-block-start: 0.2em;
    /* margin-top: 0.2em; */
}
h4{
    margin-block-end: 0.2em;
    
    margin-block-start: 0em;

}

.star{
    display: grid;
    /* border: 2px solid green; */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "overlap";
}

.starsvg{
    
    /* border: 2px solid violet; */
    align-self: center;
    justify-self: center;
    grid-area: overlap;

}

p{
    color: #002164;
    
    align-self: center;
    justify-self: center;
    grid-area: overlap;
    
    /* font-size: 1.2rem; */
}

.timeLeft, .score{
    font-size: 1.5rem;

}

#comboText{
    font-size: large;
    color: white;
    font-size: 4rem;
    padding-top: 50px;
}




/*polygon{
    z-index: -1; 
}*/



.playfield{
    
    cursor: url(images/hammer.cur)20 20, auto;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
}


.red{
    background-color: #BC0B3C;

}
.white{
    background-color: white;
    display: grid;
    
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

/*for debugging
/*.square{
    border: 1px solid black;
    width: 70%;
}*/


.trump{
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: bottom;
}

.alert{
    color: white;
    background-color:#002164;
    font-family: Berthold;
    position: fixed;
    width: 350px;
    top: 220px;
    left: 50%;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px 0px  #5d061e;
    display: flex;
    flex-direction: column;
    transform: translateX(-50%);
}

.alertButton{
    background-color: #BC0B3C;
    color: white;
    font-family: Berthold;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #333;

}