:root {
    --white-text:#F8FCFF;
    --accent-text:#1d6fb6;
}

body {
    font-family: "Montserrat", "Arial", sans-serif;
    font-size: 16px;
    line-height: 125%;    /*20px*/

    color: #25282B;
    background: #f5f5f5;
}


.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: 15px;
    min-height: 108px;
    align-content: center;
    align-items: center;
}

.header__logo {
    max-width: 54px;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.header__socials {
    justify-content: end;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}


/*====================================*/
.hero {
    color: var(--white-text);
    line-height: 1.5;
    padding: 120px 15px;
    position: relative;
    background: #102d47cc
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero__list {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero__list-item {
    margin-bottom: 15px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: all 0.5s;
}

.hero__list-item path {
    transition: all 0.5s;
}

.hero__list-item:last-child {
    margin-bottom: 0;
}

.hero__list-item:hover {
    color: var(--accent-text);
}

.hero__list-item:hover path {
    fill: var(--accent-text);

}

.button {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--accent-text);
    background: #D0DCE7;
    border-radius: 100px;
    /* padding: 18px 30px;
    height: 56px;
    min-width: 288px;
    text-align: center; */
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 288px;
    height: 56px;

    transition: 0.5s;
}

.button:hover {
    color: var(--white-text);
    background: #83ADD3;

}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ============================================= */

.main__general {
    padding: 120px 0;
}

.main__wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
}

.main__sidebar {
    position: sticky;
    top: 5vh;
}

.main__body {
    width: 100%;
    max-width: 792px;
}

.main__gallery {
    margin-bottom: 120px;
}

.sidebar {
    border: 2px solid #d0dce7;
    padding: 30px;
    width: 100%;
    max-width: 282px;
    /* height: 100%; */
    /* max-height: 1170px; */
    font-weight: 500;
    height: 80vh;
}

.sidebar__item {
    margin-bottom: 20px;
}

.sidebar__item:last-child {
    margin-bottom: 0;
}

/* ============================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 24px;
    font-weight: 500;
    color: var(--white-text);
}

.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: -1/-3;
    grid-row: span 2;
}

.gallery__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1d6fb6b3;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all .5s;
}

.gallery__img--large-left .gallery__hint,
.gallery__img--large-right .gallery__hint {
    height: 103px;
    font-size: 24px;
    line-height: 29px;
}

.gallery__img:hover .gallery__hint {
    transform: translateY(0%);
    opacity: 1;
}

/* ========================== */

.products {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.products__item {
    gap: 30px;
    min-width: 290px;
}

.products__wrap-item {
    border: 1px solid #d0dce7;
    display: flex;
    flex-direction: column;
}

.products__item-img {
    position: relative;
    padding-bottom: 62%;
}

.products__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.products__item-badge {
    position: absolute;
    left: 0;
    top: 30px;
    padding: 18px;
    object-position: 50% 50%;
    /* min-width: 130px; */
    min-width: 34.2%;
    text-align: center;
    font-weight: 500;

    border-radius: 0px 100px 100px 0px;
    background: var(--white-text);
    color: var(--accent-text);

    animation: badge-action 1s 2.5s infinite alternate;
}

@keyframes badge-action {
    0% {

        min-width: 34.2%;
    }

    66.666% {
        min-width: 34.2%;

    }

    100% {
        min-width: 37.5%;
    }
}

.products__wrap-item .button {
    margin: 30px auto;
}

/* ================ */

.footer {
    padding: 30px 0;
    background: #788088;
    color: var(--white-text);
    text-align: center;
}

.footer__inner {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}