0% found this document useful (0 votes)
4 views9 pages

Product Atp Shop Css

The document is a CSS stylesheet that defines various styles for a web page, including variables for colors, font sizes, and layout properties. It includes styles for headers, buttons, dropdown menus, sliders, and promotional boxes, as well as responsive design elements. The stylesheet aims to create a visually appealing and user-friendly interface with hover effects and animations.

Uploaded by

Franchesco Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views9 pages

Product Atp Shop Css

The document is a CSS stylesheet that defines various styles for a web page, including variables for colors, font sizes, and layout properties. It includes styles for headers, buttons, dropdown menus, sliders, and promotional boxes, as well as responsive design elements. The stylesheet aims to create a visually appealing and user-friendly interface with hover effects and animations.

Uploaded by

Franchesco Perez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

:root {

--main-bg-color: #fff;
--second-bg-color: #f5f5f5;
--third-bg-color: #e3e3e3;
--grey: #4b4b4b;
--black: #000;
--red: #c0392b;
--top-header-size: 30px;
--mid-header-size: 80px;
--bottom-header-size: 45px;
--btn-bg: #000;
--btn-border-color: #000;
--btn-color: #fff;
}

* {
padding: 0;
margin: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}

body {
font-family: "Poppins", sans-serif;
overflow-x: hidden;
position: relative;
background-color: var(--main-bg-color);
overflow-x: hidden;
}

button {
cursor: pointer;
}

a {
display: inline-block;
text-decoration: none;
color: unset;
}

li {
list-style-type: none;
}

img {
max-width: 100%;
}

.container {
max-width: 1366px;
margin: auto;
padding: 0 20px;
position: relative;
}

.bg-second {
background-color: var(--second-bg-color);
}
.bg-main {
background-color: var(--main-bg-color);
}

.text-red {
color: var(--red);
}

.mobile-menu {
align-items: center;
justify-content: space-between;
padding: 10px 20px;
display: none;
}

.mb-menu-close {
display: none;
}

.top-header {
height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
}

.top-header ul {
display: flex;
}

.top-header a {
font-size: 13px;
}

ul.devided > li {
margin-right: 10px;
padding-right: 10px;
border-right: 1px solid;
}

ul.devided > li:last-child {


border-right: none;
}

/* dropdown */
.dropdown {
position: relative;
}

.dropdown:hover .dropdown-content {
display: flex;
top: 100%;
opacity: 1;
visibility: visible;
}

.dropdown-content {
/* display: flex; */
opacity: 0;
visibility: hidden;
position: absolute;
top: calc(100% + 10px);
background-color: #fff;
flex-direction: column;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0;
transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
z-index: 2;
}

.dropdown-content > li > a {


padding: 10px;
}

.dropdown-content > li:hover {


color: var(--red);
}
/* end dropdown */

.mid-header {
display: flex;
align-items: center;
justify-content: space-between;
height: 80px;
background-color: var(--main-bg-color);
}

.logo {
font-size: 40px;
font-weight: 700;
}

.mb-logo {
font-size: 25px;
font-weight: 700;
}

.search {
width: 600px;
height: 40px;
position: relative;
}

.search input {
height: 100%;
width: 100%;
font-size: 16px;
outline: 0;
padding: 0 20px;
border-radius: 10px;
border: 0;
background-color: var(--second-bg-color);
}

.search i {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 20px;
cursor: pointer;
font-size: 25px;
}

.user-menu {
display: flex;
}

.user-menu > li > a {


font-size: 30px;
margin-left: 15px;
}

.bottom-header {
display: flex;
align-items: center;
justify-content: center;
}

.main-menu {
display: flex;
height: var(--bottom-header-size);
}

.main-menu > li > a {


display: flex;
align-items: center;
margin: 0 20px;
font-weight: 600;
height: 100%;
text-transform: uppercase;
}

.main-menu > li {
border-bottom: 2px solid transparent;
border-top: 2px solid transparent;
}

.main-menu > li:hover {


border-bottom: 2px solid var(--red);
}

/* mega menu */

.mega-content {
opacity: 0;
visibility: hidden;
position: absolute;
left: 0;
background-color: var(--main-bg-color);
width: 100%;
top: calc(100% + 100px);
z-index: 2;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0;
transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mega-dropdown:hover .mega-content {
opacity: 1;
visibility: visible;
top: 100%;
}

.mega-content h3 {
margin: 20px 0;
padding-left: 20px;
}

.mega-content ul {
display: flex;
flex-direction: column;
}

.mega-content ul > li > a {


font-weight: normal;
padding: 10px 0;
border-bottom: 2px dashed #f5f5f5;
transition: padding-left 0.2s ease-in-out;
margin: 0 20px;
text-transform: capitalize;
}

.mega-content ul > li > a:hover {


padding-left: 10px;
}

.mega-content ul > li {
border-bottom: 2px solid transparent;
}

.mega-content ul > li:hover {


border-bottom: 2px solid var(--red);
}

/* end mega menu */

.box {
padding: 20px;
}

.hero {
height: calc(
100vh -
(
var(--top-header-size) + var(--mid-header-size) +
var(--bottom-header-size)
)
);
padding: 0 20px;
}

.slider,
.slider .container {
height: 100%;
position: relative;
}

.slide {
height: 0;
position: absolute;
display: flex;
inset: 0;
overflow: hidden;
visibility: hidden;
}

.slide.active {
visibility: visible;
height: 100%;
}

.slide .info {
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
}

.info-content h2 {
font-size: 70px;
margin: 10px 0 35px;
}

.info-content button {
margin-top: 30px;
}

.slide .img {
width: 50%;
display: flex;
align-items: center;
justify-content: center;
}

.btn-flat {
display: inline-block;
border: 2px solid var(--btn-border-color);
background-color: var(--btn-bg);
color: var(--btn-color);
padding: 15px 35px;
font-size: 15px;
outline: 0;
font-weight: 600;
text-transform: uppercase;
}

.btn-hover {
transition: all 0.3s ease-in-out;
}

.btn-hover:hover {
background-color: var(--btn-color);
color: var(--btn-bg);
}

.slide-controll {
position: absolute;
top: 50%;
line-height: 1.4;
background-color: hsla(0,0%,100%,.98);
border-radius: 4px 0 0 4px;
box-shadow: 1px 2px 10px 1px rgb(0 0 0 / 30%);
transform: translateY(-50%);
outline: 0;
border: 0;
font-size: 25px;
display: flex;
align-items: center;
padding: 30px 10px;
transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-controll:hover {
background-color: var(--btn-bg);
color: var(--btn-color);
}

.slide-next {
right: -80px;
}

.slide-prev {
left: -80px;
}

.slider:hover .slide-next {
right: 50px;
}

.slider:hover .slide-prev {
left: 50px;
}

/*slide animation*/
.top-down {
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide.active .top-down {
transform: translateY(0);
opacity: 1;
visibility: visible;
}

.right-left {
transform: translateX(100%);
opacity: 0;
visibility: hidden;
transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide.active .right-left {
transform: translateX(0);
opacity: 1;
visibility: visible;
}

.left-right {
transform: translateX(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide.active .left-right {
transform: translateX(0);
opacity: 1;
visibility: visible;
}
/* end slide animation */
.trans-delay-0-2 {
transition-delay: 0.2s;
}
.trans-delay-0-4 {
transition-delay: 0.4s;
}

.trans-delay-0-6 {
transition-delay: 0.6s;
}

.trans-delay-0-8 {
transition-delay: 0.8s;
}

.promotion {
padding: 15px;
}

.promotion [class*="col-"] {
padding: 15px;
}

.promotion-box {
display: flex;
background-color: var(--third-bg-color);
position: relative;
}

.promotion-box .text {
flex-grow: 1;
padding: 20px;
}

.promotion-box .text h3 {
font-size: 25px;
}

.promotion-box .text button {


margin-top: 30px;
}
.promotion-box img {
width: 150px;
transition: transform 0.3s ease-in-out;
}

.promotion-box:hover img {
transform: scale(1.1);
}
.section {
padding: 60px 0;
}

.section-header,
.section-footer {
text-align: center;
margin: 80px 0 70px;
text-transform: uppercase;
}

.section-header h2 {
font-size: 40px;
}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy