body {
    height: 100vh;
    font: 400;
    margin: 0;
    padding: 0;
    background: #000;
    color: white;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.inter__container {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0.5368522408963585) 0%, rgba(24,22,22,0.9037990196078431) 73%);
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    font-family: inherit;
}
.sections {
    margin: 0;
    padding: 0;
    z-index: 3;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
    height: 100vh;
    width: 100vw;
    max-height: 700px;
}
.container {
    width: 1230px;
    margin: 0 auto;
    padding-block: 30px;
}
.imgs__wrapper{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transition: 1s;
    cursor: pointer;
}

/* header styles start */
header {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.nav__nav {
    /* width: 80%;
    margin: 0 auto;
    width: 80%; */
}
.header__title {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    /* justify-content: space-around; */
}
.central__line {
    height: 10000px;
    width: 5px;
    background: hsla(0, 0%, 100%, 0.266);
}
.title {
    letter-spacing: 3px;
    font-size: 52px;
    opacity: .2;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: underline;
    transition: 1s;
}
/* header styles end */

/* video styles start */
/* .video__block {
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: 4;
}
.video__video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
} */

.video__block {
    position: relative;
    width: 100%;
    height: auto; /* Або можна видалити цей рядок, залишивши висоту в режимі за замовчуванням */
    z-index: 4;
    overflow: hidden; /* Забезпечує, щоб відео не виходило за межі блоку */
}

.video__video {
    max-width: 3000px;
    width: 100%; /* Займати всю ширину відео блоку */
    height: auto; /* Пропорційна висота відповідно до ширини */
    object-fit: cover; /* Зберігає пропорції відео та заповнює весь відео блок */
    position: relative; /* Потрібно для коректного відображення в абсолютній позиції */
    top: 4px; /* Потрібно для коректного відображення в абсолютній позиції */
    left: 0; /* Потрібно для коректного відображення в абсолютній позиції */
}

/* video styles end */

/* animation styles start */
.animation__section {
    display: flex;
    align-items: center;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255) 0%, rgba(24,22,22) 73%);
    z-index: 17;
    margin: 0;
    padding: 0;
    z-index: 3;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover; /* Розтягує зображення, щоб покрити весь контейнер */
    height: auto;
    width: 100vw;
}
.animation__container-first,
.animation__container-second {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
}
.animation__element-one,
.animation__element-two,
.animation__element-three,
.animation__element-four{
    position: relative;
    height: 300px;
    width: 450px;
    overflow: hidden; 
    border-radius: 10px;
    transition: 1s;
    box-shadow: 0px 0px 0px 10px rgba(132, 127, 127, 0.4);
    cursor: pointer;
}
.animation__element-one:hover,
.animation__element-two:hover,
.animation__element-three:hover,
.animation__element-four:hover,
.animation__element-one:active,
.animation__element-two:active,
.animation__element-three:active,
.animation__element-four:active{
    transform: scale(1.1);
    box-shadow: 0px 0px 0px 10px rgba(239, 235, 235, 0.4);
}
.animation__element-one:hover img,
.animation__element-two:hover img,
.animation__element-three:hover img,
.animation__element-four:hover img,
.animation__element-one:active img,
.animation__element-two:active img,
.animation__element-three:active img,
.animation__element-four:active img {
    transform: scale(1.1);
    overflow: auto;
}
.animation__container-theeth {
    display: flex;
    align-items: center;
    gap: 20px;
}
.animation__video-one,
.animation__video-two,
.animation__video-three {
    position: relative;
    height: 300px;
    flex-grow: 1;
    box-shadow: 0px 0px 0px 5px rgba(239, 235, 235, 0.4);
    border-radius: 3px;
    transition: 1s;
    cursor: pointer;
}
.animation__video-one:hover,
.animation__video-two:hover,
.animation__video-three:hover,
.animation__video-one:active,
.animation__video-two:active,
.animation__video-three:active{
    transform: scale(1.3);
    box-shadow: 0px 0px 0px 7px rgba(234, 231, 231, 0.8);
    z-index: 2;
}
/* animation styles end */

/* first grid styles start */
.first__container {
    position: relative;
    max-height: 1000px;
    margin-top: 20px;
}
.first__element-one,
.first__element-two,
.first__element-three {
    position: relative;
    height: 400px;
    width: 400px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(132, 127, 127, 0.4);
}
.first__element-one {
    position: absolute;
    top: 0;
    left: 0;
    transition: 1s;
}
.first__element-two {
    position: absolute;
    top: 20rem;
    left: 15rem;
    transition: 1s;
    cursor: pointer;
}
.first__element-three {
    position: absolute;
    top: 5rem;
    right: 0rem;
    transition: 1s;
    cursor: pointer;
}
.first__title {
    top: 38rem;
    left: 0rem;
}
.first__subtitle {
    top: 5rem;
    right: 12rem;
}
.first__element-one:active,
.first__element-one:hover {
    transform: scale(1.2);
    top: 5rem;
    right: 15%;
    z-index: 1;
}
.first__element-two:active,
.first__element-two:hover {
    transform: scale(1.3);
    top: 12rem;
    left: 20rem;
    z-index: 1;
}
.first__element-three:active,
.first__element-three:hover {
    transform: scale(1.2);
    z-index: 2;
}
.first__element-one:hover + .first__element-three,
.first__element-one:active + .first__element-three {
    transform: translateX(-225%) translateY(0%) scale(.2) rotate(180deg);
    z-index: 2;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0);
    opacity: .7;
}
.first__element-two:hover + .first__element-three,
.first__element-two:active + .first__element-three {
    transform: translateX(-109%) translateY(20%) scale(.22);
    z-index: 2;
    box-shadow: 0px 0px 0px 0px rgba(25, 18, 18, 0);
    opacity: .7;
}
.first__element-two:active img,
.first__element-two:hover img,
.first__element-one:active img,
.first__element-one:hover img{
    transform: scale(1.4);
}
/* first grid styles end */

/* second grid styles start */
.second__section-grid {
    display: flex;
    align-items: center;
    margin-top: 90px;
}
.second__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.second__element-one,
.second__element-two {
    position: relative;
    height: 600px;
    width: 500px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.second__element-one {
    left: 0;
}
.second__element-two {
    right: 0;
}
.second__element-one:active,
.second__element-one:hover {
    transform: scale(1.1);
    left: 10%;
    z-index: 1;
    transition: 1s;
}
.second__element-two:active,
.second__element-two:hover {
    transform: scale(1.1);
    right: 10%;
    z-index: 1;
    transition: 1s;
}
/* secon grid styles end */

/* third grid styles start */
.third__section-grid {
    display: flex;
    align-items: center;
}
.third__container {
    position: relative;
    display: flex;
    align-items: center;
}
.third__block-flex{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}
.third__element-one,
.third__element-two,
.third__element-three {
    position: relative;
    height: 600px;
    width: 500px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.third__element-three{
    height: 400px;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.third__element-one:active img,
.third__element-one:hover img{
    transform: scale(1.6);
}
.third__element-one:active,
.third__element-one:hover {
    transform: scale(1.1);
    cursor: pointer;
    z-index: 1;
}
.third__element-one:active + .third__element-three,
.third__element-one:hover + .third__element-three{
    transform: scale(.23) translateX(-379%) translateY(-214%);
    z-index: 2;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0);
    opacity: .8;
}
.third__element-two:active,
.third__element-two:hover {
    transform: scale(1.1);
    cursor: pointer;
    z-index: 2;
}
.third__element-three:active,
.third__element-three:hover {
    box-shadow: 0px 0px 0px 7px rgba(210, 205, 205, 0.8);
    transform: scale(1.6);
    cursor: pointer;
    z-index: 1;
    top: 17%;
    left: 38%;
}
/* third grid styles end */

/* fourth grid styles start */
.fourth__section-grid {
    display: flex;
}
.fourth__container {
    display: flex;
    justify-content: space-between;
}
.fourth__block-title {
    position: relative;
}
.fourth__element-one,
.fourth__element-two {
    position: relative;
    height: 400px;
    width: 350px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(132, 127, 127, 0.4);
}
.fourth__element-one {
    position: absolute;
    top: -3rem;
    left: 0;
    transition: 1s;
    cursor: pointer;
}
.fourth__element-two {
    position: relative;
    position: absolute;
    top: 15rem;
    left: 15rem;
    transition: 1s;
    cursor: pointer;
}
.fourth__element-two:hover img,
.fourth__element-two:focus img{
    transform: scale(1.4);
}
.four__element-two-wrapper {
    height: 94px;
    width: 92px;
    position: absolute;
    top: 25%;
    left: 26%;
    z-index: 3;
    opacity: 0;
    transition: 1s;
}
.fourth__element-two-first:hover + .four__element-two-wrapper, 
.fourth__element-two-first:active + .four__element-two-wrapper{
    opacity: 1;
    box-shadow: 0px 0px 0px 5px rgba(167, 117, 175, .2);
}
.fourth__element-three {
    position: relative;
    height: 500px;
    width: 400px;
    overflow: hidden; 
    border-radius: 10px;
    transition: 1s;
    grid-column: 1 / 2;
    grid-row:  1 / 3;
    border: 1px solid #c6c6c6;
}
.fourth__element-four {
    position: relative;
    height: 250px;
    width: 200px;
    overflow: hidden; 
    border-radius: 10px;
    transition: 1s;
    grid-column: 2 / 3;
    grid-row:  1 / 2;
}
.fourth__element-five {
    position: relative;
    height: 250px;
    width: 200px;
    overflow: hidden; 
    border-radius: 10px;
    transition: 1s;
    grid-column: 2 / 3;
    grid-row:  2 / 3;
}
.fourth__block-subtitle {
    display: grid;
    grid-template-columns: 66% 33%;
    grid-template-rows: repeat(2 , 50%);
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    border-radius: 10px;
    position: relative;
}
.fourth__element-one:active,
.fourth__element-one:hover,
.fourth__element-two:active,
.fourth__element-two:hover {
    transform: scale(1.1);
    cursor: pointer;
    z-index: 1;
}
.fourth__element-four:hover,
.fourth__element-four:active {
    z-index: 2;
    transform: scale(1.4) translateX(-10%) translateY(15%);
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.6);
}
.fourth__element-five:hover,
.fourth__element-five:active {
    z-index: 2;
    transform: scale(1.4) translateX(-10%) translateY(-15%);
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.6);
}
.fourth__element-three:hover,
.fourth__element-three:active {
    z-index: 2;
    transform: translateX(30%);
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.6);
}
/* fourth second grid styles end */

/* five grid styles start */
.five__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.five__container-extra {
    display: none;
}
.five__element-one {
    position: relative;
    height: 600px;
    width: 500px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.five__element-one:hover img,
.five__element-one:active img {
    transform: scale(1.6);
    transition: 1;
    transition: 1s;
}
.five__element-one:hover + .five__block-subtitle,
.five__element-one:active + .five__block-subtitle{
    transform: scale(.5) translateX(-620%) translateY(-50%);
    transition: transform 1s;
    opacity: .5;
}
.five__element-two,
.five__element-three {
    position: relative;
    height: 270px;
    width: 220px;
    overflow: hidden; 
    border-radius: 10px;
    transition: 1s; 
}
.five__element-two:hover,
.five__element-two:active,
.five__element-three:hover,
.five__element-three:active{
    transform: translateX(-7rem) scale(1.1);
    box-shadow: 0px 0px 0px 6px rgba(175, 169, 169, 0.4);
}

.five__block-subtitle {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 50px;
    transition: 1s;
}
/* five grid styles end */

/* seven grid styles start */
.seven__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.seven__element-one,
.seven__element-two {
    position: relative;
    height: 500px;
    width: 400px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.seven__element-three-title,
.seven__element-three-subtitle{
    position: relative;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 400px;
    width: 300px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.seven__element-three-title:hover img,
.seven__element-three-title:active img,
.seven__element-three-subtitle:hover img,
.seven__element-three-subtitle:active img {
    transform: scale(1.2);
}
.seven__element-three-title:hover,
.seven__element-three-title:active,
.seven__element-three-subtitle:hover,
.seven__element-three-subtitle:active{
    /* height: 500px;
    width: 500px; */
    box-shadow: 0px 0px 0px 10px rgba(142, 141, 141, 0.4);
}
.seven__element-one:hover,
.seven__element-one:active,
.seven__element-two:hover,
.seven__element-two:active {
    transform: scale(1.2);
}
.seven__element-one:hover + .seven__element-three-title,
.seven__element-one:active + .seven__element-three-title {
    opacity: .5;
    left: 8.2%;
    top: 8%;
    z-index: 4;
    transform: scale(.09);
    box-shadow: 0px 0px 0px 0px rgba(142, 141, 141, 0);

}
.seven__element-two:hover + .seven__element-three-subtitle,
.seven__element-two:active + .seven__element-three-subtitle {
    opacity: .5;
    left: 1024px;
    top: 8%;
    transform: scale(.1);
    z-index: 4;
    box-shadow: 0px 0px 0px 10px rgba(92, 62, 4, 0);
}
/* seven grid styles end */


/* six eight nine grid styles start */
.six__section-grid {
    height: auto;
    margin-bottom: 430px;
}
.six__container,
.eight__container,
.nine__container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 50px;
}
.six__element-one,
.six__element-two,
.eight__element-one,
.eight__element-two,
.nine__element-one,
.nine__element-two {
    position: relative;
    height: 300px;
    width: 300px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 0px 0px 0px 10px rgba(25, 18, 18, 0.4);
    transition: 1s;
}
.six__element-one:hover,
.eight__element-one:hover,
.nine__element-one:hover,
.six__element-one:active,
.eight__element-one:active,
.nine__element-one:active {
    transform: translateX(2rem) scale(1.2);
    z-index: 3;
    box-shadow: 0px 0px 0px 10px rgb(169, 165, 165);
}
.six__element-two:hover,
.eight__element-two:hover,
.nine__element-two:hover,
.six__element-two:active,
.eight__element-two:active,
.nine__element-two:active {
    transform: translateX(-2rem) scale(1.2);
    z-index: 3;
    box-shadow: 0px 0px 0px 10px rgb(169, 165, 165);
}
.six__element-two:hover img,
.eight__element-two:hover img,
.nine__element-two:hover img,
.six__element-two:active img,
.eight__element-two:active img,
.nine__element-two:active img {
    transform: scale(1.1);
}

.eight__element-one:hover + .eight__element-two,
.eight__element-one:active + .eight__element-two {
    transform: translateX(-147%) translateY(-5%) scale(.1);
    z-index: 3;
    box-shadow: 0px 0px 0px 0px rgb(169, 165, 165, 0);
    opacity: .6;
}
.nine__element-one:hover + .nine__element-two,
.nine__element-one:active + .nine__element-two {
    transform: translateX(-166%) translateY(-5%) scale(.2);
    z-index: 3;
    box-shadow: 0px 0px 0px 0px rgb(169, 165, 165, 0);
    opacity: .6;
}
/* six/eight/nine grid styles end */

/* animation grid styles start */
/* .animation__section-grid {
    background: #5e5c5c;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.animation__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}
.grid__animation-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    grid-template-rows: repeat(2 , auto);
    width: 1200px;
    height: 342px;
    gap: 10px;
    box-shadow: 0px 0px 10px 10px rgb(0, 0, 0, .8);
    border-radius: 5px;
    background: #000;

}
.grid__element-one {
    grid-column: 1 / 4 ;
    grid-row: 1 / 2;
}
.grid__element-two {
    grid-column: 4 / 7 ;
    grid-row: 1 / 2;
}
.grid__element-three {
    grid-column: 7 / 10 ;
    grid-row: 1 / 2;
}
.grid__element-four {
    grid-column: 10 / 13 ;
    grid-row: 1 / 2;
}
.grid__element-five {
    grid-column: 1 / 5 ;
    grid-row: 2 / 3;
}
.grid__element-six {
    grid-column: 5 / 9 ;
    grid-row: 2 / 3;
}
.grid__element-seven {
    grid-column: 9 / 13 ;
    grid-row: 2 / 3;
}
.grid__element-one,
.grid__element-two,
.grid__element-three,
.grid__element-four,
.grid__element-five,
.grid__element-six,
.grid__element-seven {
    position: relative;
    overflow: hidden; 
    cursor: pointer;
    transition: 1s;
}
.grid__element-one:hover,
.grid__element-two:hover,
.grid__element-three:hover,
.grid__element-four:hover,
.grid__element-five:hover,
.grid__element-six:hover,
.grid__element-seven :hover,
.grid__element-one:active,
.grid__element-two:active,
.grid__element-three:active,
.grid__element-four:active,
.grid__element-five:active,
.grid__element-six:active,
.grid__element-seven:active {
    transform: scale(1.2);
    box-shadow: 0px 0px 0px 10px rgba(181, 171, 171, 0.8);
    z-index: 2;
    border-radius: 5px;
}
.grid__element-one:hover img,
.grid__element-two:hover img,
.grid__element-three:hover img,
.grid__element-four:hover img,
.grid__element-five:hover video,
.grid__element-six:hover video,
.grid__element-seven :hover video,
.grid__element-one:active img,
.grid__element-two:active img,
.grid__element-three:active img,
.grid__element-four:active img,
.grid__element-five:active video,
.grid__element-six:active video,
.grid__element-seven:active video {
    transform: scale(1.2);
}

.grid__element-one img,
.grid__element-two img,
.grid__element-three img,
.grid__element-four img,
.grid__element-five video,
.grid__element-six video,
.grid__element-seven video {
} */
/* animation grid styles end */


