﻿#announcement {
    position: relative;
    overflow: hidden;
}

#announcementLabel {
    text-align: center;
    color: #fff;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

#announcementContent {
    background: #fff;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

#announcementContent:before {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    top: -50px;
    left: 50px;
    z-index: 1;
    transform: rotate(45deg);
}

#announcementContent:after {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    right: -50px;
    z-index: 1;
    transform: rotate(45deg);
}

#announcementContent p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

#content {
    background: url('../images/template1/bg1.jpg');
}

#content .game-item {
    margin: auto;
    margin-bottom: 30px;
    padding: 15px 10px 10px;
    max-width: 350px;
    border-radius: 10px;
}

#content .game-item a {
    position: relative;
    display: inline-block;
}

#content .game-item > a > img {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

#content .play-now {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    transition: all .3s;
}

#content .play-now img {
    transform: translate(0, 100%);
    opacity: 0;
    transition: all .3s;
}

#content .game-item a:hover .play-now {
    background: rgba(0, 0, 0, 0.7);
}

#content .game-item a:hover .play-now img {
    transform: translate(0, 0);
    opacity: 1;
}
