@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');

h1 {
    text-align: center;
    font-family: 'Rubik Glitch', cursive;
    font-size: 45px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    /* border: 3px solid green;
    border-radius: 10px; */
}

body {
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

/* Modals source: https://git.generalassemb.ly/carlos-godoy720/modals */

#modal {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgba(0,0,0,0.4);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	overflow: auto;
    display: none;
}

#modal-textbox {
	background-color: rgb(238, 232, 232);
	height: 350px;
	width: 550px;
	border-radius: 4px;
    margin: 242px auto;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 2;
    position: relative;
    pointer-events: none;
}

/* background image opacity source: https://coder-coder.com/background-image-opacity/ */

#modal-textbox::before {
    content: "";
    background-image: url("https://149690269.v2.pressablecdn.com/wp-content/uploads/2018/08/Card-games-Card-games-7.png");
    background-size: cover;
    position:absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

#close {
    width: 100%;
    height: 100%;
}

.players {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 30px;
    background-color: antiquewhite;
    display: inline-block;
    margin-left: 400px;
    padding: 6.5px;
    border: 5px;
    border-radius: 10px;
}

.table {
    border: 10px solid rgb(5, 63, 5);
    width:900px;
    height: 600px;
    border-radius: 200px;
    background-color: rgb(29, 99, 29);
    margin: 30px auto;
}

.row1 {
    height: 110px;
    position: relative;
    left: 120px;
    margin: 10px;
    margin-bottom: 50px;
}

.row2 {
    height: 110px;
    position: relative;
    left: 10px;
    margin: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.row3 {
    height: 110px;
    position: relative;
    left: 120px;
    margin: 10px;
    margin-bottom: 7%;
}

.card {
    border: 1px solid black;
    border-radius: 15px;
    height: 110px;
    width: 70px;
    background-color: wheat;
    font-size: 40px;
    font-weight: 200px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: inline-block;
    background-image: url("Images/card_background.png");
    background-size: cover;
}

.full-deck {
    background-image: url("Images/card_background.png");
    background-size: cover;
    min-width: 70px;
}

.stack1, .stack2 {
    background-image: url("Images/card_background.png");
    background-size: cover;
    margin-left: 100px;
}

.stack2 {
    margin-left: 300px;
    margin-bottom: 200px;
}

.stack1:hover, .stack2:hover{
    border: 2px solid blue;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); 
}

.comparison {
    margin-left: 200px;
    margin-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message {
    margin-right: 40px;
    margin-left: 20px;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgb(240, 240, 205);
    border-radius: 10px;
    border-color: 100px solid blue;
}

.player1, .player2 {
    margin-right: 20px;
}

.button {
    margin: 10px;
    font-size: 20px;
    background-color: rgb(12, 131, 12);
    padding: 7px;
    border-radius: 10px;
}

.button:hover{
    border: 2px solid blue;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.textrules {
    background-color: bisque;
    font-family:Georgia, 'Times New Roman', Times, serif
}

