.modal{
    width: 90vw;
    height: 100vh;
    border: 3px green solid;
    background-color: white;
    border-radius: 5px;
    padding-top: 0;
    position: fixed;
}

.modal::backdrop {
    background-color: rgb(153, 203, 166);    
}

.modal-container{
    height: auto;
    width: auto;
}

.modal-close{
    color: white;
    background-color: rgb(6, 97, 6);
    border-radius: 5px;
    border: rgb(6, 97, 6) solid 1px;
    height:40px;
    width: 100px;
    top : 500px;
    float: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 0;
}

.game-title{
    font-size: 3em;
    text-align: center;
    margin: 4px;
}

.rules{
    font-size: 2em;
    margin: 10px;
}

.caution{
    font-size: 1em;
    margin: 10px
}


@media all and (max-width: 385px) {


    .game-title{
        font-size: 2em;
        text-align: center;
        margin: 4px;
    }
    
    .rules{
        font-size: 1.5em;
        margin: 10px;
    }   
}

@media all and (max-height: 735px ) {
    .game-title{
        font-size: 2em;
        text-align: center;
        margin: 4px;
    }
    
    .rules{
        font-size: 1.5em;
        margin: 2px;
    }
    
    .caution{
        font-size: 0.8em;
        margin: 10px
    }
    
    .score{
        font-size: 1em;
        margin: 0;
    }    
   
    .image-flexbox{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        width:100%;
        height: 50px;
        margin: 6px;
        
    }

    .modal-close{
        color: white;
        background-color: rgb(6, 97, 6);
        border-radius: 5px;
        border: rgb(6, 97, 6) solid 1px;
        height: 30px;
        width: 70px;
        top : 500px;
        float: right;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 1em;
        font-weight: 500;
        margin-bottom: 0;
    }
}



