:root{
    --accent-text: #1D6FB6;
    --white-text: #F8FCFF;
}

body{
    background: var(--white-text);
    font-family: "Montserrat";
    line-height: calc(20px /16px);
    color: #25282B;
}

.container{
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.header{
    line-height: 1.5;
}
.header__inner {
    min-height: 108px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-content: center;
    align-items: center;
}

.header__logo {
    max-width: 54px;
}

.nav {
}

.nav__list {
    display: flex;
    gap: 10px 30px;
    flex-wrap: wrap;
}

.nav__item {}

.nav__link {}

.socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    gap: 10px 30px;
}

.socials__link {}

.hero {
    padding: 120px 0;
    line-height: 1.5;
    color: var(--white-text);
    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-size: 24px;
    margin-bottom: 40px;
}
.hero__list-item {
    margin-bottom: 15px;
    display: flex;
    gap: 18px;
    align-items: center;
}
.hero__list-item:last-child{
    margin-bottom: 0;
}

.hero__list-item path{
    color: var(--accent-text);
    transition: all .5s;
}

.hero__list-item:hover{
    color: var(--accent-text);
    transition: all .5s;
}

.hero__list-item:hover path{
    fill:  var(--accent-text);
}
.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;
    background: #0f2d47cc;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 100px;
    padding: 18px 30px;
    width: 100%;
    max-width: 288px;
    height: 56px;
    line-height: calc(20px /16px);
    background-color: #D0DCE7;
    color: var(--accent-text);
    
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

.button:hover{
    color: #D0DCE7;
    background: #83ADD3;
    transition: all .5s;
}
/* ////////////////////////////////////////// */

.main__general {
    padding: 120px 0;
}

.main__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: start;
}

.main__sidebar{
    position: sticky;
    top: 5vh;
}
.main__body {
    max-width: 792px;
    width: 100%;
}

.main__gallery{
    margin-bottom: 120px;
}


.sidebar {
    font-weight: 500;
    border: 2px solid #D0DCE7;
    max-width: 282px;
    width: 100%;
    min-height: 60vh;
    height: 100%;
    padding: 30px;
}

.sidebar__item {
    margin-bottom: 20px;
}

.sidebar__item:last-child {
    margin-bottom: 0;
}

/* //////////////////////////////////// */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    grid-auto-flow: dense;
    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;
    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;
    align-items: center;
    justify-content: center;

    transform: translateY(100%);
    opacity: 0;
    transition: all .5s;
}

.gallery__img:hover .gallery__hint{
    transform: translateY(0);
    opacity: 1;
}

.gallery__img--large-left .gallery__hint,
.gallery__img--large-right .gallery__hint{
    height: 103px;
    font-size: 24px;
    line-height: 29px;
}

/* ////////////////////////////////////////////// */

.products {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.products__item{

}
.products__item-img{
    position: relative;
    padding-bottom: 62%;
}

.products__item-badge{
    position: absolute;
    left: 0;
    top: 12.6%;
    border-radius: 0 100px 100px 0;
    padding: 18px 15px;
    min-width: 33.9%;
    font-weight: 500;
    text-align: center;
    background: var(--white-text);
    color: var(--accent-text);

    animation: badge-action 1s infinite alternate;
}
@keyframes badge-action {
    0%{
        min-width: 33.9%;
    }
    33.3333%{
        min-width: 33.9%;
    }
    100%{
        min-width: 37.3%;
    }
}

.products__item-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.products__item-body{
    border: 1px solid #D0DCE7;
    border-top: none;
    padding: 30px 13%;
}

/* //////////////////////////////// */

.footer{
    color: var(--white-text);
    background: #788888;
    text-align: center;
    padding: 30px 0;
}

.footer svg{    
    vertical-align: sub;
}

.footer__inner{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}