* {
    margin: 0;
    padding: 0;
}
html{
    height: 100%; 
}
body{
    background-color: #2f6127;   
    width: auto !important; 
    width: 100%;
    font-family: 'Playfair Display', serif;
    box-sizing: border-box;
}
.nav{
    width: 100%;
    height: 15vh;
    background-color: black;
    display: flex;
    padding: 20px 70px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}
.nav a{
    margin: 10px;
    font-size: 18px;
    text-decoration: none;
    color: white;
}

.nav a:hover{
    text-decoration: underline;
}
.logo {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.logo h1{
    margin-left: 20px;

}


.nav img{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    float: left;
}

.gameSpace{
    width: 100%;
    height: 85vh;
}
.instructions{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cardSpace{
    width: 60%;
    height: 100%;
    display: inline-block;
    float:left;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.pileSpace{
    width: 40%;
    min-width: 300px;
    height: 100%;
    display: inline-block;
    background-color: #b13b3b;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    flex-direction: row;
}
.break{
    flex-basis: 100%;
}
.gameSpace img{
    width: 22vh;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;   
    border-radius: 7px;
    border: black 2px solid;
}
.card1{
    width: 22vh;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;   
    border-radius: 7px;
    margin-bottom: 20px;
}
.discardPileTotal{
    display: flex;
    flex-direction: column;
    background-color: #424549;
    border-radius: 20px;
    padding: 10px 10px 20px 10px;
    align-items: center;
    color:white;
}
.drawPileTotal{
    display: flex;
    flex-direction: column;
    background-color: #424549;
    border-radius: 20px;
    padding: 10px 10px 20px 10px;
    align-items: center;
    color:white;
}
.instructions a{
    text-align: center;
    background-color: white;
    color: black;
    border-radius: 5px;
    border: none;
    padding: 3px;
    font-size: 13px;
    margin-top: 5px;
    text-decoration: none;
}
.helperSlide{
    background-color: black;
    width: 200px;
    min-height: 100px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-evenly;
    border-radius: 25px;
    margin-top: 40px;
}
hr{
    width: 80%;
}
#border{
    border: yellow 2px solid !important;
}
@media (max-width: 1020px){
    * {
        margin: 0;
        padding: 0;
    }
    html{
        height: 100%;
    }
    body{
        background-color: #2f6127;
        min-width:650px;      
        width: auto !important; 
        width: 100%;
        min-height: 100vh;
        font-family: 'Playfair Display', serif;
        box-sizing: border-box;
        
    }
    .nav{
        width: 100%;
        height: 15vh;
        background-color: black;
        display: flex;
        padding: 20px 70px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        color: white;
        text-align: center;
        box-sizing: border-box;
        overflow: hidden;
    }
    .nav a{
        margin: 10px;
        font-size: 18px;
        text-decoration: none;
        color: white;
    }
    
    .nav a:hover{
        text-decoration: underline;
    }
    .logo {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    .logo h1{
        margin-left: 20px;
    
    }
    
    
    .nav img{
        width: 40px;
        height: 40px;
        border-radius: 10px;
        float: left;
    }
    
    .gameSpace{
        width: 100%;
    }
    .cardSpace{
        width: 100%;
        display: inline-block;
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
    .pileSpace{
        width: 100%;
        display: inline-block;
        background-color: #b13b3b;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: space-evenly;
        flex-direction: row;
    }
    .break{
        flex-basis: 100%;
    }
    .gameSpace img{
        width: 28vh;
        box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;   
        border-radius: 7px;
        margin-top: 40px;
    }
    .card1{
        width: 40vh;
        box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;   
        border-radius: 7px;
        margin-bottom: 20px;

    }
    .helperSlide{
        background-color: black;
        width: 200px;
        min-height: 100px;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:space-evenly;
        border-radius: 25px;
        margin-top: 40px;
    }
    hr{
        width: 80%;
    }
}