@font-face {
    font-family:"pixel";
    src: url("assets/Minecraft.ttf");
}
@font-face {
    font-family:"mario";
    src: url("assets/Daydream.ttf");
}

body {
    font-family: "pixel";
    color: white;
}

main { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 28px;
    padding:30px 0px;
}

h2 {
    font-size: 26px;
    font-family: "pixel";
}
/*Game */   
.container {
    display: flex;
    overflow: hidden;
    position: relative;
    flex-direction: column;
    align-items: center;   
    padding: 25px;
    max-width: 650px;
    width: 90vw;
    height: 70vh;
    border: solid 6px rgb(71, 67, 67);   
    border-radius: 26px;
    background-color: rgba(9, 28, 75, 0.897); 
}
/*Start Screen */
#start-screen {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
}
#heart-section {
    top: 0;
    right: 0;
    position: absolute;
}
.heart {
    animation-name: myAnimation;
    animation-duration: 6s;
    animation-iteration-count: infinite ;
}
@keyframes myAnimation {
    0% {width: 45px;}
    50% {width: 50px;}
    100% {width: 45px;}
}
.startUI {
    padding-top: 150px;
    font-size: 65px;
}
#start-game, #play-again { 
    top: 40%;
    position: sticky;
    font-family: "pixel";
    font-size: 32px;
    border: 3px solid black;
    border-radius: 8px;
    width: 200px;
    height: 50px;
    cursor: pointer;
}
#start-game:hover {
    background-color: rgb(228, 101, 107);
    font-size: 38px;
}
#rules {
    position: absolute;
    font-family: "mario";
    font-size: 16px;
    top: 2px;
}
#scores {
    position: absolute;
    top: 2px;
    left: 15px;   
    width: 215px;
    height: 75px;
    line-height: 30px;
    font-size: 16px;
    font-weight: bolder;
}
/*GameBoard */
#game-board {      
    visibility: hidden;     
    position: absolute;     
    display: flex;
    align-items: center;
    flex-direction: column;    
    padding: 20px;
    box-sizing: border-box;
    font-size: 26px;
    width: 100%;
    height: 100%;
}
#display-choices {
    padding-top: 50px;
}
#display-choices img {
    width: 260px;
    padding-right: 30px;
    padding-left: 35px;
}
#result {
    position: absolute;
    margin-top: 42%;
    font-size: 40px;
}

.choice-text {    
    text-align: center; 
    margin-bottom: 15px;
}
#choice-list {
    position: absolute;
    top: 60%;
    z-index: 1;
}
.choice {
    width: 100px; 
    cursor: pointer;  
    background-color: #1e1e1e;
    border: 3px solid #1048ff; 
    border-radius: 100px;
    padding: 24px; 
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in; 
}
.choice:hover {
    background-color: #ff007f;
    border-color: #ff80d4; 
    transform: scale(1.1);
}
span {
    font-size: 42px;
    font-weight: bolder;
    position: absolute;
    justify-self: center;
    align-self: center;
}


@media screen and (max-width:650px) {
    img {
        width: 135px;
    }
    #rules, #scores {
        font-size: 9px;
        line-height: 15px;
        width: 155px;
    }
    .choice {
        width: 72px;
    }
    #game-board {
        padding: 10px;
    }
}