body{
    background-image: url('./images/view1.jpg');
    position: relative;
/*    background-attachment: fixed;*/
    background-size: cover;
    background-position: center;
}
.up_containers{
    position: static;
    top:0px;
    left:0px;
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    width: 9%;
    margin: 0;
    color: black;
    background-color: rgba(255,255,255,0.3)
    
}

.board-container{
    justify-content: center;
    align-content: center;
    position: relative; /*Stay in place*/
    z-index: 1; /*Sit on top*/
    left: 18%;
    top: 8%;
    width: 66%;
    height: 78%;
}

.board{
    display: flex;
    flex-wrap: wrap;
}
/*Animation for the cards*/
.card {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin: 10px;
    opacity: 1;
    transition: 0.5s;
}

.card-front, .card-back {
    position: absolute;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    background: #2d358c;
    transition: transform .6s cubic-bezier(0.4, 0.0, 0.2, 1);
    backface-visibility: hidden;
}
.card-back {
    font-size: 28pt;
    text-align: center;
    line-height: 100px;
    background: #FFFFE0;
    opacity: 1;
    transform: rotateY(180deg) rotateZ(50deg);
}

.card.flipped .card-front {
    transform: rotateY(180deg) rotateZ(50deg);
}

.card.flipped .card-back {
    transform: rotateY(0deg) rotateZ(0deg);
}

.card-front:hover {
    opacity: 1;
    background: #F7EF8A;
}

/*Change a beautiful background with smaller screen xd*/
@media screen and (max-width: 700px) {
    body{
        background-image: url('./images/bg2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
