body {
    font-family: "Montserrat", Arial, sans-serif;
    background: #f8fcff;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.header {

    color: #25282b;
    font-weight: 400;
}

.header__inner {
    min-height: 108px;
    display: grid;
    align-content: center;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    padding: 30px 120px;
}

.header__logo {
    max-width: 54px;
}

.header__list {
    display: flex;
}

.header__item {
    margin-right: 30px;
}


.header__network__list {
    display: flex;
    justify-content: end;
}

.header__network__item {
    margin-left: 30px;
}

/* ======================================================== */
.hero {
    /* background: #1d125e; */
    max-height: 582px;
    color: #f8fcff;
    padding: 120px 0px;
    position: relative;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.hero__title {
    font-weight: 600;
    font-size: 52px;
    margin-bottom: 30px;
}

.hero__list {
    font-weight: 400;
    font-size: 24px;
}

.hero__item {
    margin-bottom: 15px;
}

.hero__item:last-child {
    margin-bottom: 40px;
}


.hero__item img {
    margin-right: 18px;
    vertical-align: baseline;
}

.button {
    display: flex;
    justify-content: center;
    border-radius: 100px;
    padding: 18px 30px;
    max-width: 288px;
    width: 100%;
    height: 56px;
    background: #d0dce7;
    font-weight: 500;
    color: #1d6fb6;
    transition: .3s;
}

.button:hover {
    background: #83add3;
    color: #f8fcff;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 46, 73, 0.8);
}

/* ================================================= */

.main__general {}

.general__inner {
    display: flex;
    justify-content: space-between;
    margin: 120px 0;
    gap: 126px;

}

.aside {
    max-width: 282px;
    width: 100%;
    max-height: 1170px;
    border: 2px solid #d0dce7;
}

.nav__list {
    margin: 30px;
}

.nav__item {
    font-weight: 500;
    margin-bottom: 20px;
    color: #25282b;
}

.nav__item:last-child {
    margin-bottom: 0px;
}


/* ======================================================== */

.general__gallery {
    max-width: 792px;
    width: 100%;
}

.gallery__laptop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    margin-bottom: 120px;
    gap: 24px;
}

.laptop {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: 100%;
}

.laptop img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.laptop_large-left {
    grid-column: 1 / 3;
    grid-row: span 2;
}

.laptop_large-right {
    grid-column: -1/-3;
    grid-row: span 2;
}

.galery__watch {
    display: grid;
    grid-template: repeat(3, 1fr) / repeat(2, 1fr);
}

.gallery__hint {
    opacity: 1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 111, 182, 0.7);
    color: #f8fcff;
    line-height: 20px;
    font-weight: 500;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    transform: translateY(100%);
}

.laptop:hover .gallery__hint {
    opacity: 1;
    transform: translateY(0px);
}

.laptop_large-left .gallery__hint,
.laptop_large-right .gallery__hint {
    height: 103px;
    font-size: 24px;
    line-height: 29px;
}

/* =================================================== */


.gallery__watch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.products__item-img {
    position: relative;
    padding-bottom: 62%;
}

.products__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.products__item-badge {
    position: absolute;
    top: 12.6%;
    left: 0;
    background:#f8fcff;
    border-radius: 0px 100px 100px 0px;
    padding: 18px 15px;
    min-width: 33.9%;
    text-align: center;
    font-weight: 500;
    color: #1d6fb6;

    animation: badge-action 2s infinite alternate;
}

@keyframes badge-action {
    0% {
        min-width: 33.9%;
    }
    66.666% {
        min-width: 33.9%;
    }
    100% {
        min-width: 37.3%;
    }
}

.products__item-body {
    border: 1px solid #D0DCE7;
    border-top: none;
    padding: 30px 15px;
}
.products__item-button {
    margin: 0 auto;
}

/* ================================ */

footer {
    background: #788088;
}

.copyright {
    padding: 30px 0;
    font-weight: 400;
    color: #f8fcff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}