html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff url('../img/geometry2.png'); /* Background pattern from Subtle Patterns */
    font-family: 'Coda', cursive;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(5,102,255,0.25);
<<<<<<< HEAD
    
=======
>>>>>>> f66fbe4f2c7302786781f6ec55618cf561af3630
}

h1 {
    font-family: 'Chela One', cursive;
    font-weight: 300;
    font-size: 72px;
    color: #ffffff;
    text-shadow: 1px 5px 5px grey;
}

/*
 * Styles for the deck of cards
 */

.deck {
    width: 660px;
    min-height: 680px;
    background-image: linear-gradient(60deg, #4c8ae7 ,#2756a1);
    padding: 32px;
    border-radius: 10px;
    box-shadow: 12px 15px 20px 0 rgba(46, 61, 173, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 3em;
}

.deck .card {
    transform: rotateY(180deg);
    transition-duration: 250ms;
    height: 125px;
    width: 125px;
    background: #2e3d49;
    font-size: 0;
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 2px 20px 0 rgba(1, 128, 144, 0.5);
}

.deck .card.open {
    transform: skewY(180deg);
    transition-duration: 250ms;
    background: #02b3e4;
    cursor: default;
}



.deck .card.show {
    font-size: 33px;
}

.deck .card.match {
    transform: rotateY(0deg);
    cursor: default;
    background: #02ccba;
    font-size: 33px;
}

/*
 * Styles for the Score Panel
 */

.score-panel {
    text-align: left;
    width: 660px;
    margin-bottom: 10px;
    border: 5px block;
    border-radius: 8px;
     font-family: 'Josefin Sans', cursive;
    background-image: linear-gradient(0deg, #4c8ae7 ,#2756a1);
    background-color: red;
    padding: 25px;
    line-height: 30px;
    color:#ffffff;
    box-shadow: 5px 2px 20px 0 rgba(1, 128, 144, 0.5);
    display: block;
    margin: 15px auto;
}

.score-panel .stars {
    margin: 0;
    padding: 0;
    display: inline-block;
    margin: 0 5px 0 0;
}

.score-panel .stars li {
    list-style: none;
    display: inline-block;
}

.restart {
    background: #ffffff;
    color:#2e3d49;
    font-size: 25px;
    font-family: 'Chela One', cursive;
    border: 0px;
    border-radius: 15px;
    padding: 10px;
    width: 150px;
    margin:0 auto;
    display: block;
    cursor: pointer;
}
/*Score panel title*/
.subtitle{
    text-transform: uppercase;
}
/*Score panel values*/
.subtitle_val{
    float: right;
}

/*Background for modal*/
.modal_outer{
    top:0px;
    left: 0px;
    width: 100%;
   height: 100%;
}

/*Modal content*/
.modal_center{
    margin-top: 220px;
    margin-bottom: 220px;
}

.display_modal{
    position: fixed;
    background-color: rgba(0,0,0,0.5);
}
/*Hidind cards when modal is displayed*/
.game_deck{
    z-index: -1;

}

/*Instructions modal */
.guide{
    text-align: center;
    margin-top: 120px;
    margin-bottom: 120px;
}

.first_modal{
    top:0px;
    left: 0px;
    width: 100%;
   height: 100%;
   position: fixed;
   background-color: rgba(0,0,0,0.5);
}
