/* правила + боковые колонки */
.main-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    background-color: #061F48;
}

.left-bar,
.right-bar {
    background-color: #061F48;
}

/* лого поверх картинки */
.logo {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 20%;
    transform: translate(0%, -50%);
}
/* картинка */
.zastavka {
    display: block;
    width: 100%;
    height: auto;
}

/* оглавление раздела */
.paragraph {
    background-color: white;
}
.paragraph>h1 {
    font-size: 3em;
    font-weight: 500;
    line-height: 1.2;
    color: #212529;
    text-align: center;
}

/* правила на главной */
.rules {
    max-width: 720px;
    background-color: white;
    font-family: monospace;
    padding: 1.5em;
    margin: 4em;
    border-radius: 6px;
}
.rules>h1 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 3em;
    font-weight: 500;
    line-height: 1.2;
    color: #212529;
    text-align: left;
}
.rules li {
    margin-bottom: 1em;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}
.rules a {
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    color: #1146b1;
}
.rules a:hover{
    color: #212529;
}

/* блок списка */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 30px;
}

/* онлайн на серверах */
.card {
    box-sizing: border-box;
    width: 290px;
    transition: .3s;
    text-align: center;
    background: rgba(255, 255, 255, 0);
}
.card:hover {
    transform: scale(1.05);
}
.card>img {
    width: 158px;
    height: auto;
}
.card>p {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 8px 0px;
}
.card>span {
    color: rgb(39, 39, 39);
    font-size: 1rem;
}
/* запуск игры в стим */
.card>a {
    display: inline-flex;
    font-size: 1.4em;
    font-weight: 600;
    color: white;
    transition: .3s;
    background: rgba(192, 106, 0, 0.7);
    box-shadow: 0 0 12px #7d8fa1;
    padding: 6px 18px 8px 18px;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
}
.card>a:hover {
    padding: 6px 24px 8px 24px;
    background-color: rgba(192, 106, 0, 1);
}

/* реклама магазина */
.card2 { 
    width: 260px;
    transition: .3s;
    text-align: center;
    background: rgba(255, 255, 255, 0);
    cursor: pointer;    
}
.card2:hover {
    transform: scale(1.05);
    /* box-shadow: 0 0 16px rgba(0, 0, 0, 0.8); */
}
.card2>img {
    width: 220px;
    height: auto;
}
.card2>p {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 10px 0px 0px 0px;
}
.card2>span {
    color: rgb(39, 39, 39);
    font-size: 1.2rem;
}

.ico {
    position: relative;
    height: 24px;
    top: 5px;
    right: -5px;
}

/* переход в магазин */
.go_dinoshop {
    text-align: center;
    margin: 35px;
}
.go_dinoshop>a {
    color: white;
    transition: .3s;
    padding: 10px 30px;
    font-size: 1.6rem;
    background: rgba(192, 106, 0, 0.7);
    box-shadow: 0 0 12px #7d8fa1;
    border-radius: 22px;
    text-decoration: none;
}

.go_dinoshop>a:hover {
    padding: 10px 40px;
    background-color: rgba(192, 106, 0, 1);
}