* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden;
}
body {
    margin: 0;
    background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
    font-family: -apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji;
    color: #fff;
    background-color: #f1f1f1;
    padding-bottom: 0 !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}
a {
    color: #007bff;
    text-decoration: none;
}
img {
    max-width: 100%;
    vertical-align: middle;
    border-style: none;
}
.out {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
}
iframe {
    flex: 1;
    border: none;
    transition: margin-right 0.3s ease;
}
header {
    width: 100%;
    color: #fff;
    padding: 0 20px;
    background: #212121;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    margin-left: 20px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.search-box {
    position: relative;
    width: 200px;
}

.search-box input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 16px;
    border: none;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.search-box button svg {
    width: 26px;
    height: 26px;
    fill: #555;
}
.siteHeader {
    width: 100%;
    background: #212121;
    border-bottom: 5px solid #212121;
}

section.container {
    flex: 1; /* section boş alanı kaplasın */
    max-width: 992px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.container {
    width: 100%;
    padding: 0 5px;
    margin: auto;
}
.rSide {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 310px;
    max-width: 310px;
    margin: 0;
    z-index: 999;
    bottom: 0;
    background: #fff;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-left: 1px solid #adb5bd;
}
button {
    cursor: pointer;
}
button.hide-panel {
    position: absolute;
    background: #fff;
    width: 30px;
    height: 42px;
    left: -30px;
    top: 35px;
    padding: 2px 0 2px 1px;
    border: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #6c757d;
    vertical-align: middle;
    display: inline;
    -webkit-appearance: button;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.panel-content {
    background: #fff;
    color: #000;
    text-align: justify;
    width: 100%;
    overflow-y: auto;
    height: 100vh;
}
.item-game {
    width: 33.33333%;
    float: left;
    display: block;
}
.item-game a {
    margin:
            5px;
    position: relative;
    display: block;
}
.item-game img {
    width: 100%;
}

.cr-item-content {
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 3px 0 #020202;
    border-radius: 15px;
}
.cr-item-content:hover {
    z-index: 20;
    opacity: 0.9;
    transition:
            box-shadow .1s linear;
    box-shadow: 0 0 5px 0 #fff;
    border-color:
            #fff;
}
.cr-item-content:hover .cr-info {
    opacity: 1;
    transition-duration: .3s;
}
.cr-info {
    transition: all .3s ease;
    transition-property: transform,opacity;
    transition-delay: .1s;
    opacity: 0;
    line-height: 14px;
    width: 100%;
    z-index: 4;
    bottom: 5px;
    position: absolute;
    text-align: center;
    font-size: 14px;
    color: #fff;
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.menu-header {
    width: fit-content;
    margin:
            auto;
    text-align: center;
    overflow:
            hidden;
}
.menu-header a {
    text-decoration:
            none;
    margin:
            5px;
    color: #fff;
    border-radius:
            5px;
    font-weight: 700;
    display: block;
    text-transform: capitalize;
    font-size: 18px;
    padding:
            0 5px;
    width: fit-content;
    float: left;
    height: 33px;
    line-height: 33px;
    cursor: pointer;
}
.menu-header .hot {
    background-color: #ff5401;
}
.menu-header .new {
    background-color: #0093ff;
}
.panel-content h1, h2, h3 {
    margin-bottom: 0;
    margin-top: 5px;
    font-size: 18px;
    padding: 0 5px;
}
.panel-content p {
    margin-bottom: 0;
    margin-top: 5px;
    font-size: 15px;
    padding:
            0 5px;
}
ul {
    padding: 20px;margin: 0;
}
ul li {
    padding-bottom: 5px;
}
.menu-footer {
    max-width: 100%;
    height: fit-content;
    padding:
            3px 5px;
    margin-top: 35px;
    background:
            #eee;
    overflow:
            hidden;
    border-top:
            solid 1px #aeb5bd;
}
.menu-footer {
    font-size: 13px;
    color: #795548;
}
.menu-footer a {
    float: left;
    height: fit-content;
    margin-right: 5px;
    text-decoration: none;
    color: #795548;
}
.gameContainer {
    /*! width: 100vw; */
    height: 100vh;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
    background: rgb(35, 31, 32);
}

.moreGames {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1%;
}

.moreGames a {
    border-radius: 15px;
    max-width: 130px;
    min-width: 120px;
    max-height: 200px;
    box-shadow: 0 4px 7px 0 rgba(0,0,0,.24);
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    color: #fff;
    margin: 4px 0;
}

.moreGames a img {
    width: 100%;
    height: auto;
    position: static;
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    margin: 0;
}

.moreGames a div {
    text-align: center;
    background-color: rgba(0, 0, 0, .75);
    padding: 7% 10px;
    margin-bottom: 0;
    width: 100%;
    height: 0%;
    font-size: 115%;
    line-height: 1.5;
    position: absolute;
    bottom: -50%;
    left: 0;
    right: 0;
    font-weight: 700;
}

.pagination {
    margin-top: auto; /* sayfa numaraları hep en altta */
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #000;
}

.pageArea {
    text-align: left;
    padding: 0 5px;
}
.pageArea li {
    margin-left: 15px;
}

footer {
    width: 100%;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}

footer .footer-links {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: #00bfff;
}