/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

body {
    min-height: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to bottom, rgb(98, 185, 211), rgb(132, 178, 220), rgba(81, 148, 170, 0.705));
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-image: url("https://d5pjjyjdb7gf9.cloudfront.net/s5-gw-backround.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove default button styles */
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
}

/* Inherit fonts for form elements */
button,
input,
select,
textarea {
    font: inherit;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

.image_wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    align-items: center;
    padding-bottom: 2%;
}

.bog {
    width: 100%;
}

.pic_1 {
    display: grid;
    grid-template-columns: 38% 55%; /* Явно задать размеры колонок */
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.pic_2 {
    display: grid;
    grid-template-columns: 45% 45%; /* Уменьшаем ширину колонок и увеличиваем промежуток между ними */
    gap: 3%; /* Задаем промежуток между колонками */
    width: 100%;
    justify-content: center;
}

.pic_1 a,
.pic_2 a {
    display: flex;
}

.pic_1 .app,
.pic_1 .laun,
.pic_2 .home,
.pic_2 .tg {
    width: 100%;
}

.pic_2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Media Queries for larger screens */
@media (max-width: 600px) {
    header nav ul {
        justify-content: flex-start;
    }

    .bog {
        width: 100%;
        margin-top: 3%;
    }

    header nav ul li {
        margin-right: 20px;
    }

    .image_suppot {
        top: 66%;
        position: fixed;
        right: 4%;
        z-index: 9999;
        width: 5em;
    }

    .image_wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px 0;
    }

    .bar {
        bottom: 0;
        position: fixed;
        left: 0;
    }

    .tap {
        bottom: 1%;
        position: fixed;
        /* left: 0; */
        z-index: 3;
        right: 5%;
        width: 39%;
    }

    .pic_1,
    .pic_2 {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .pic_1 a,
    .pic_2 a {
        flex: 1;
    }

    .app,
    .laun,
    .home,
    .tg {
        width: 100%;
    }
}


.pic_1 a img, .pic_2 a img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pic_1 a img:hover, .pic_2 a img:hover {
    transform: scale(1.1);

}

.pic_1 a img:active, .pic_2 a img:active {
    transform: scale(0.95);
}

.jsBox {
    max-width: 600px;
    width: 100%;
    position: absolute;
    left: inherit;
    box-sizing: border-box;
    display: block;
}

.hide {
    display: none;
}


.jsBox ul {
    margin: 0 0.22rem;
    padding: 0.38rem 0.35rem 0.15rem;
    border: 1px solid #EAD190;
    background: linear-gradient(to bottom, rgb(98, 185, 211), rgb(132, 178, 220), rgba(81, 148, 170, 0.705));
}

.jsBox li {
    margin-bottom: 0.24rem;
    overflow: hidden;
    zoom: 1;
    clear: both;
}

.jsBox li span {
    display: block;
    float: left;
    color: #323232;
    font-size: 0.25rem;
    line-height: 0.58rem;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #fff;
    background: #fff;
    box-sizing: border-box;
}

.jsBox li .ms {
    width: 1.14rem;
}

.jsBox li > img {
    margin: 0.18rem 0.3rem 0 0.35rem;
    width: 0.45rem;
    display: block;
    float: left;
}

.jsBox li .url {
    width: 4.14rem;
}

.jsBox li a {
    width: 2.2rem;
    display: block;
    float: right;
}

.jsBox .arrow {
    margin-left: -0.12rem;
    width: 0.24rem;
    position: absolute;
    left: 25%;
    bottom: -0.1rem;
}
