:root{
    --accent-text:#1d6fb6;
    --white-text:#f8fcff;
}
body{
    font-family: "Montserrat", "Arial", sans-serif;
    font-size: 16px;
    background-color: var(--white-text);
}
.container{
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
    height: 100%;
}
/* ============== */

.header__inner{
    display: grid;
    align-items: center;
    align-content: center;
    grid-template-columns: 1fr auto 1fr;
    min-height: 108px;
    gap: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: #25282b;
}

.nav__list{
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.header__logo{
    max-width: 54px;
}

.socials__list{
    display: flex;
    gap: 15px 30px;
    flex-wrap: wrap;
    justify-content: end;
}
/* ====================== */
.hero{
    padding: 120px 0;
    color: var(--white-text);
    line-height: 1.5;
    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{
    margin-bottom: 40px;
}
.hero__item{
    display: flex;
    gap: 18px;
    align-items: center;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 1s;
}
.hero__item path {
    transition: all 1s;
}
.hero__item:hover path {
    fill: #3d92dc;
}
.hero__item:hover {
    color: #3d92dc;
}
.hero__item:last-child{
    margin-bottom: 0px;
}
.hero__video{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero__video::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #102E49;
    opacity: .8;
}
.hero__video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button{
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 100px;
    padding: 18px 30px;
    width: 100%;
    height: 56px;
    max-width: 288px;
    height: 56px;
    background: #d0dce7;
    font-weight: 500;
    color: #1d6fb6;
    height: 56px;

    transition: all 1s;
}
.button:hover{
    background: #83add3;
    color: var(--white-text);
}
/* ======================= */

.main__body{
    padding: 120px 0;
}

.main__wrapper{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
}
.main__aside{
    position: sticky;
    top: 5vh;
}
.aside{
    border: 2px solid #d0dce7;
    padding: 30px;
    max-width: 282px;
    width: 100%;
    min-height: 70vh;
    font-weight: 500;
    color: #25282b;
    line-height: 20px;
}
.aside__item{
    margin-bottom: 20px;
}
.aside__item:last-child{
    margin-bottom: 0;
}
/* ========== */
.main__content{
    max-width: 792px;
    width: 100%;
}
.main__gallery{
    margin-bottom: 120px;
}
.gallery{
    display: grid;
    grid-auto-flow: dense;
    gap: 24px;
    grid-template-columns: repeat(4,1fr);
}
.gallery__products{
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}
.gallery__img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.gallery__products--left{
    grid-column: 1/3;
    grid-row: span 2;
}
.gallery__products--right{
    grid-column: -1/-3;
    grid-row: span 2;
}
.gallery__text{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d6fb6b3;
    height: 53px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: var(--white-text);

    transform: translateY(100%);
    opacity: 0;
    transition: all 0.7s;
}
.gallery__products:hover .gallery__text{
    transform: translateY(0%);
    opacity: 1;
}
.gallery__products--left .gallery__text,
.gallery__products--right .gallery__text{
    height: 103px;
    font-size: 24px;
    line-height: 29px;
}
/* ======================= */
.products{
    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;
    left: 0;
    top:12.6%;
    background: var(--white-text);
    border-radius: 0 100px 100px 0;
    padding: 18px 15px;
    min-width: 33.9%;
    font-weight: 500;
    color: #1d6fb6;
    text-align: center;

    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{
    text-align: center;
    color: var(--white-text);
    line-height: 20px;
    background: #788088;
    padding: 30px 0;
}
.footer__inner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}