/* CSS Document */
/*--------------------------------------
　基本設定
---------------------------------------*/
.bidx{
    display: flex;
    align-items: center;
    flex-direction: column; 
    background-image: url("./img/tarot_table4.jpg");
    background-position: center;
    background-size: cover;
    color: #0B132D;
    margin: 0 auto;
    padding-bottom: 30px;
}

.btr {
    display: flex;
    align-items: center;
    flex-direction: column; 
    background-image: url("./img/tarot_table2.jpg");
    background-position: center;
    background-size: cover;
    color: #0B132D;
    margin: auto;
    padding-bottom: 30px;
}

.h1idx{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-family: 'Uncial Antiqua', cursive;
    color: antiquewhite;
    margin: 30px auto 10px;
    height: 60px;
    font-size: 50px;
} 
.h1tr{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-family: 'Uncial Antiqua', cursive;
    background-color: #0B132D;
    color: antiquewhite;
    margin: 0 auto;
    height: 60px;
} 
h2 {
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 80px auto;
    text-align: left;
    font-size: 18px;
    color: #0B132D;
    background: #fef;
    box-shadow: 0px 0px 0px 5px #fef;
    border: dashed 1px #f0f;
    padding: 0.2em 0.5em;
    color: #454545;
}

section {
    display: flex;
    flex-direction: row;
    margin-left: 150px;
}

main {
    margin: auto;
    margin-top: 20px auto;
    margin-bottom: 20px auto;
    }


p {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 32px;
    color: #0B132D;
    text-align: center;
    margin-top: 110px;
}

table{
	background-color: #fff;
}
td{
    background-position: center;
    background-size: cover;  
    border: 5px solid white;
    border-radius: 10px;
}

.card {
    height: 300px; 
    width: 191px; 
    border: 5px solid white;
    border-radius: 10px;
    margin-right: 45px;
    margin-bottom: 20px;
    background-image: url("./img/card_back5.PNG");
    background-position: center;
    background-size: cover;  
    transform-style: preserve-3d;
    transition: all 0.9s ease;
    transform: translate(-50%, -50%);
    transform: scale(1);
    
} 

a{
	text-decoration:none;
}

.card2{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 0 60px 20px;
    height: 300px; 
    width: 191px; 
    border: 5px solid white;
    border-radius: 10px;
    background-image: url("./img/card_back5.PNG");
    background-position: center;
}

.card:last-child {
    margin-right: 0;
    }    

.card:active {
    transform: scale(.98);
    transition:  transform .2s;
    }   
/*
.card.flip {
    transform: rotateY(-180deg);
    }

img {
     height: 300px;
     width: 191px;   
     background-position: center; 
     background-size: cover;  
    }
*/

button {
    display: hidden;
    width: 150px;
    height: 70px;
    margin: 30px auto;
    align-items: center;
    background-color: #0B132D;
    color: antiquewhite;
    border: 1 px solid;
    border-radius: 5px;
    font-size: 20px;
}

/* Large screens */
@media (min-width: 768px) {
main{
    display: flex;
}

.deck {
    height: 300px;
    width: 191px;
    margin-left: -12rem;
    margin-bottom: 20px; 
    background-image: url("./img/card_back5.PNG");
    background-position: center;
    background-size: cover;
    border: 5px solid white;
    border-radius: 10px;
    flex:   1;
}
 
.deck:active {
    transform: scale(.98);
    transition:  transform .2s;
}

