body { background: #272729; width: 1300px; } .h1{ position: relative; left: 40px; color: aqua; } .mini_menu { font-family: 'Montserrat', sans-serif; font-size: 15px; padding: 25px 15px 0 0; position: sticky; border-right: 1px solid #272727; max-height: 100vh; top: 66px; } li { list-style-type: none; } .navigatsiya { width: 30%; } .mini_menu nav { position: sticky; top: 85px; } .mini_menu nav ul li a { display: block; color: #cec8c8; font-weight: 500; padding: 10px 15px 10px 0; margin-bottom: 2px; border-radius: 4px; line-height: 1; transition: 0.2s; text-decoration: none; } .mini_menu nav ul li a.active:not(:hover), .mini_menu nav ul li a:hover{ background: #232323; padding: 10px 11px 10px 15px; } .mini_menu nav ul li ul{ display: none; } .mini_menu nav ul li a span{ padding-left: 0 !important; } .icon-fg { display: inline-block; position: relative; width: 20px; height: 20px; background-repeat: no-repeat; background-position: center; background-size: contain; z-index: 10; vertical-align: middle; margin-right: 8px; } .mini_menu nav ul li a:hover .icon-bg{ -webkit-filter: blur(1px); filter: blur(1px); } .social_menu { position: fixed; bottom: 0; display: flex; padding: 15px 0; } .social_menu li{ margin-right:8px; } .social_menu li a{ display:block; background:#404040; width: 28px; height: 28px; line-height: 28px; text-align:center; font-size: 19px; color:#717171; border-radius: 4px; transition: 0.3s; } .social_menu li a:hover{ color:#fff; } .social_menu li img{ height: 26px; } .signature { position: absolute; bottom: 20px; left: 20px; } .signature a { font-family: 'Poppins', sans-serif; font-size: 16px; color: #0cb9d8; text-decoration: none; } .box-area { width: 110%; height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; top: -310px; left: 400px; } .box { width: 70px; height: 400px; margin-right: 20px; overflow: hidden; border-radius: 20px; position: relative; transition: all linear 0.6s; } .box:last-child{ margin-right: 0; } .box::before { content: ''; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: rgba(0, 0, 0, 0.3); } .box img { width: 100%; height: 100%; object-fit: cover; } .box i{ width: 40px; height: 40px; border-radius: 50%; text-align: center; line-height: 40px; background: #fff; position: absolute; bottom: 20px; left: 10px; font-size: 20px; } .box:nth-child(1) i{ color: #ff5200; } .box:nth-child(2) i{ color: #ca470a; } .box:nth-child(3) i{ color: #00d9ff; } .box:nth-child(4) i{ color: #0077ff; } .box h2 { position: absolute; bottom: 30px; left: 60px; font-family: 'Poppins', sans-serif; font-size: 25px; color: #f6f6f6; font-weight: 600; opacity: 0; transition: all linear 0.3s; } .box p { position: absolute; bottom: 10px; left: 60px; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 400; color: #f6f6f6; opacity: 0; transition: all linear 0.3s; } .box.active h2{ opacity: 1; } .box.active p{ opacity: 1; } .active{ width: 500px; transition: all linear 0.6s; } .box_theme { position: relative; top: -810px; left: 80px; width: 500px; color: white; }