body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
    background:rgb(248, 252, 255);
    color: rgb(37, 40, 43);
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 10px;
    height: 100%;
}

/* Header */
.header {
    max-height: 108px;
}
.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-content: center;
    align-items: center;
    margin: 30px 0;

}
.header__nav {
    display: flex;
    justify-content: start;
}
.header__list {
    display: flex;
    align-items: center;
    gap: 30px;
}
.header__item {
}
.logo {
}
.header__socials {
    display: flex;
    justify-content: end;
}
.socials__list {
    display: flex;
    align-items: center;
    gap: 30px;
}
.social__item {
}

/* Hero */

.hero__area {
    max-height: 582px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(248, 252, 255);
    position: relative;
    background: rgba(16, 46, 73, 0.8)
}
.hero {
    max-width: 290px;
}

.hero__area video {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    
}
.hero__title {
    display: block;
    font-size: 52px;
    font-weight: 600;
    margin: 120px 0 30px;
}
.benefits__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}
.benefits__item {
    font-size: 24px;
    display: flex;
    align-content: center;
}
.benefits__item img {
    margin-right: 19px;
}
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 30px;
    border-radius: 100px;
    font-weight: 500;
    color: rgb(29, 111, 182);
    background: rgb(208, 220, 231);
    margin-bottom: 120px;
    transition: all .5s;
}

.button:hover {
    background: rgb(131, 173, 211);
    color: rgb(248, 252, 255);
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: 282px 1fr ;
    margin: 120px 0;
}
.cards__chapters {
    

}
.chapters__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 108px 840px 30px;
    border: 2px solid rgb(208, 220, 231);

}
.chapters__item {
    font-weight: 500;
    line-height: 20px;
    text-wrap: nowrap;
}
.chapters__link {
}
.cards__main {

    margin-left: 126px;
}
.laptop__list {
    display: grid;
    gap: 24px;
    margin-bottom: 124px;
    grid-template-columns: repeat(4, 1fr);
}
.laptop__item {
position: relative;
overflow: hidden;

}
.laptop__item__left {
    grid-area: 1 / 1 / 3 / 3;
}
.laptop__item img {
    max-width: 180px;
}   
.laptop__item__left img, .laptop__item__right img {
    max-width: 384px;
}

.laptop__item__right {
    grid-area: 3 / 3 / 5 / 5;
}



.laptop__item__right img {
    max-width: 384px;
}
.laptop__desc {
    background: rgba(29, 111, 182, 0.7);
    color: rgb(248, 252, 255);
    height: 28%;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
}

.laptop__item__right .laptop__desc, .laptop__item__left .laptop__desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
}
.laptop__item:hover .laptop__desc {
    transform: translateY(0);
    opacity: 1;
}

/* Watch */

.cards__watch {
}
.watch__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.watch__item {
    max-height: 354px;
    height: 100%;
    position: relative;
}
.watch__card {
    max-height: 354px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.watch__body {
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgb(208, 220, 231);
    border-left: 1px solid rgb(208, 220, 231);
    border-right: 1px solid rgb(208, 220, 231);
}

.watch__body .button {
    padding: 18px 30px;
    margin: 30px 48px;
}

.watch__card--add::before{
    content: 'МегаХит';
    position: absolute;
    top: 48px;
    color: rgb(29, 111, 182);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    padding: 18px 30px;
    background: rgb(248, 252, 255);
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    transition: all .5s;
}

.watch__item:hover .watch__card--add::before{
    padding-left: 40px;
}


.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(120, 128, 136);
    color: rgb(248, 252, 255);
}
.footer__text {
    margin: 30px 0;
}

.footer img {
    margin-right: 10px;
}