body {
    font-family: "Montserrat", "Arial", sans-serif;
    line-height: calc(20px / 16px);
    color: #25282B;
    background: #f8fcff;
}

.container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

/* /////////////////////////////////////////////////////////// */

.header {
    line-height: 1.5;
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px 20px;
    min-height: 108px;
    align-items: center;
}

.header__logo {
    max-width: 54px;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    justify-content: end;
}

/* /////////////////////////////////////////////////////////////////////// */

.hero {
    padding: 120px 0;
    color: #f8fcff;
    line-height: 1.5;
    position: relative;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__list {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 40px;
}

.hero__list-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    transition: all .3s ease-in-out;
}

.hero__list-item:last-child {
    margin-bottom: 0px;
}

.hero__list-item svg {
    margin-right: 19px;
}

.hero__list-item:hover {
    color: #1D6FB6;
}

.hero__svg-item {
    transition: all .3s ease-in-out;
}

.hero__list-item:hover path {
    fill: #1D6FB6;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D6FB6;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    background: #D0DCE7;
    border-radius: 25px;
    height: 56px;
    max-width: 288px;
    width: 100%;
    transition: all .3s ease-in-out;
}

.button:hover {
    color: #F8FCFF;
    background: #83add3;
}

.button:active {
    height: 50.4px;
    max-width: 259.2px;
    border-radius: 22.5px;
    font-size: 14.4px;
    font-weight: 450;
}


.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #102E49;
    opacity: 80%;
}

/* //////////////////////////////////////////////////////////// */

.main__general {
    padding: 120px 0;
}

.main__wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
}

.sidebar {
    border: #D0DCE7 solid 2px;
    padding: 30px;
    color: #25282B;
    font-size: 16px;
    font-weight: 500;
    max-width: 282px;
    width: 100%;
    min-height: 60vh;
}

.main__sidebar {
    position: sticky;
    top: 5vh;
}

.sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main__body {
    width: 100%;
    display: grid;
    gap: 120px;
    max-width: 792px;
}

.gallery {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-auto-flow: dense;
    font-weight: 500;
    color: #f8fcff;
}

.gallery__img {
    display: block;
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.gallery__img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.gallery__img--large-left {
    grid-column: 1/3;
    grid-row: span 2;
}

.gallery__img--large-right {
    grid-column: 3/5;
    grid-row: span 2;
}

.gallery__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(29, 111, 182, .7);
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.gallery__img:hover .gallery__hint {
    transform: translateY(0%);
    opacity: 1;
}

.gallery__img--large-right .gallery__hint,
.gallery__img--large-left .gallery__hint {
    height: 103px;
    line-height: 29px;
    font-size: 24px;
}

/* ////////////////////////////////////////////////// */

.products {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.products__item-body {
    border: #D0DCE7 solid 1px;
    border-top: none;
    padding: 30px 15px;
}

.products__item-button {
    margin: 0 auto;
}

.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;
    color: #1D6FB6;
    font-weight: 500;
    background: #F8FCFF;
    border-radius: 0px 100px 100px 0px;
    padding: 18px 15px;
    min-width: 33.9%;
    text-align: center;
    z-index: 1;
    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%;
    }
}

/* .............................................. */

.footer {
    padding: 30px 0;
    color: #F8FCFF;
    text-align: center;
    background: #788088;
}

.footer svg {
    vertical-align: sub;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}