@import url('https://fonts.cdnfonts.com/css/bebas-neue'); @import url('https://fonts.cdnfonts.com/css/poppins'); * { padding: 0; margin: 0; box-sizing: border-box; list-style: none; } body { margin: 0; font-size: 15px; font-family: 'Poppins', sans-serif; overflow-x: hidden; } svg{ color: #fff; } :root{ --width-default: min(1200px, 90vw); --diameter: 1432px; } .logo img{ width: 50px; } header{ width: var( --width-default); height: 70px; margin: auto; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; } .slider{ /* background-color: red; */ color: #eee; width: 100vw; height: 100vh; position: relative; overflow: hidden; margin-top: -70px; } .slider .list .item{ position: absolute; inset: 0 0 0 0; display: flex; justify-content: center; align-items: center; transition: 1s; } .slider .list .item .content{ position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 100%; text-align: center; display: grid; grid-template-columns: repeat(2, 400px); text-align: left; gap: 80px; font-size: 1.2em; text-transform: uppercase; font-family: Poppins; text-shadow: 0 0 80px #000; } .slider .list .item .content h2{ font-size: 10em; font-family: 'Bebas Neue', sans-serif; line-height: 0.9em; transform: translateY(-100%); transition: transform 1s; grid-row-start: 1; grid-row-end: 3; } .slider .list .item .content p{ } .slider .list .item .content p:last-child{ display: flex; justify-content: start; align-items: end; padding-bottom: 25px; } /* item default */ .slider .list .item .image{ flex-shrink: 0; width: var(--diameter); height: var(--diameter); background-image: var(--url); background-size: var(--diameter) var(--diameter); background-position: center; border-radius: 50%; transform: rotate(-60deg); position: relative; transition: 1s; } .slider .list .item .image::before, .slider .list .item .image::after{ position: absolute; width: 70%; height: 70%; content: ''; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-120deg); background-image: linear-gradient(to right, #0004, #0004), var(--url); background-size: var(--diameter) var(--diameter); background-position: center; transition: 1s; } .slider .list .item .image::after{ width: 30%; height: 30%; background-image: var(--url); border: 3px solid #fff2; transform: translate(-50%, -50%) rotate(-170deg); } /* default */ .slider .list .item .image{ filter: blur(30px); } .slider .list .item{ pointer-events: none; opacity: 0; } /* item active */ .slider .list .item.active{ pointer-events: auto; opacity: 1; } .slider .item.active .image{ filter: blur(0px); transform: rotate(0deg); } .slider .item.active .image::before, .slider .item.active .image::after { transform: translate(-50%, -50%) rotate(0deg) ; } .slider .list .item.active .content h2{ transform: translateY(0); } /* items */ .slider .list .item.active ~ .item{ opacity: 0; } .slider .item.active ~ .item .image{ transform: rotate(60deg); } .slider .item.active ~ .item .image::before { transform: translate(-50%, -50%) rotate(120deg) ; } .slider .item.active ~ .item .image::after { transform: translate(-50%, -50%) rotate(170deg) ; } .slider .list .item.active ~ .item .content h2{ transform: translateY(100%); } /* arrows */ .arrows{ position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; width: var(--width-default); display: flex; justify-content: space-between; } .arrows button{ all: unset; cursor: pointer; } .slider .list::after{ position: absolute; content: ''; bottom: 0; width: min(1000px, 100vw); height: 70%; left: 50%; transform: translateX(-50%); background-image: url(img/model.png); background-size: cover; background-position: top; pointer-events: none; animation: showModel 1s ease-in-out 1 forwards; } @keyframes showModel{ from{ transform: translateX(-50%) scale(1.3) translateY(88px); } } .arrows button.d-none{ opacity: 0; pointer-events: none; } @media all and (max-width: 1024px) { .slider .list .item .content{ grid-template-columns: repeat(2, 300px); } .slider .list .item .content h2{ font-size: 8em; } } @media all and (max-width: 767px) { .slider .list .item .content{ grid-template-columns: 80%; justify-content: center; gap: 20px; top: 70px; } .slider .list .item .content h2{ font-size: 4em; } .slider .list .item .content p{ font-size: small; } } /* ////////////////////////////////// */ .section { font-family: 'Orbitron', sans-serif; color: #ffffff; text-shadow: 0px 0px 5px rgba(0, 255, 255, 0.8); display: flex; align-items: center; padding: 40px; border-radius: 10px; box-shadow: 0px 4px 15px rgba(0, 255, 255, 0.3); margin: 20px; flex-wrap: wrap; } .zig { flex-direction: row; background: linear-gradient(135deg, #141e30, #243b55); } .zag { flex-direction: row-reverse; background: linear-gradient(135deg, #243b55, #141e30); } .content-fit, .content-extra { max-width: 800px; margin: auto; text-align: justify; } .number { font-size: 26px; font-weight: bold; color: #00ffff; text-transform: uppercase; margin-bottom: 10px; } .des .title { font-size: 20px; font-weight: bold; color: #ffcc00; margin-bottom: 10px; } p { font-size: 18px; line-height: 1.8; } /* /////// Form Block Start ///////// */ /* /////// CTA Section Start ///////// */ .cta-section { position: relative; color: #ffffff; text-align: center; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; cursor: pointer; overflow: hidden; z-index: 1; transition: color 0.3s ease; font-size: 18px; margin-bottom: 30px; box-sizing: border-box; } .cta-section::before, .cta-section::after { content: ''; position: absolute; width: 200%; height: 200%; background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(255, 0, 0, 0.8)); transition: transform 0.9s ease; z-index: -1; } .cta-section::before { top: -100%; left: -100%; } .cta-section::after { bottom: -100%; right: -100%; } .cta-section:hover::before { transform: translate(100%, 100%) rotate(15deg); } .cta-section:hover::after { transform: translate(-100%, -100%) rotate(-15deg); } .cta-section:hover p, .cta-section:hover h1 { color: black; } .cta-section h1 { font-size: 3rem; margin: 0 0 20px; z-index: 1; } .cta-section p { font-size: 1.2rem; margin: 0 0 30px; z-index: 1; } /* /////// CTA Button ///////// */ .cta-button { position: relative; display: inline-block; color: #ffffff; background-color: #000000; /* Base black button with red hover */ text-align: center; padding: 18px 36px; border-radius: 8px; font-size: 18px; font-weight: 500; letter-spacing: 0.5px; cursor: pointer; overflow: hidden; z-index: 1; transition: all 0.4s ease; box-sizing: border-box; border: 2px solid white; } .cta-button::before, .cta-button::after { content: ''; position: absolute; width: 200%; height: 200%; background: linear-gradient(45deg, rgba(255, 0, 0, 0.8), rgba(0, 0, 0, 0.8)); transition: transform 0.9s ease; z-index: -1; } .cta-button::before { top: -100%; left: -100%; } .cta-button::after { bottom: -100%; right: -100%; } .cta-button:hover::before { transform: translate(100%, 100%) rotate(15deg); } .cta-button:hover::after { transform: translate(-100%, -100%) rotate(-15deg); } .cta-button:hover { color: black; background-color: white; font-weight: 600; border-color: red; } /* /////// Responsive Fixes ///////// */ @media screen and (max-width: 1024px) { .cta-section { padding: 40px 20px; } .cta-section h1 { font-size: 2.5rem; } .cta-section p { font-size: 1.1rem; } .cta-button { font-size: 16px; padding: 40px 20px; } } @media screen and (max-width: 768px) { .cta-section { padding: 35px 16px; } .cta-section h1 { font-size: 2rem; } .cta-section p { font-size: 1rem; margin-bottom: 20px; } .cta-button { padding: 30px 16px; font-size: 15px; } } @media screen and (max-width: 480px) { .cta-section { padding: 30px 12px; } .cta-section h1 { font-size: 1.6rem; margin-bottom: 15px; } .cta-section p { font-size: 0.95rem; margin-bottom: 20px; } .cta-button { padding: 24px 14px; font-size: 14px; } } /* /////// Form Block End ///////// */