*{ margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; list-style: none; text-decoration: none; } section{ padding: 5% 10%; } /* Main */ .main-home{ width: 100vw; height: 100vh; margin-top: 100px; overflow: hidden; position: relative; } .main-home .list .item{ width: 180px; height: 250px; top: 80%; position: absolute; transform: translateY(-70%); left: 70%; border-radius: 20px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0, 0.3); background-position: 50% 50%; background-size: cover; z-index: 100; transition: 1s; } .main-home .list .item:nth-child(1), .main-home .list .item:nth-child(2){ top: 0; left: 0; transform: translate(0, 0); border-radius: 0; width: 100%; height: 100%; } .main-home .list .item:nth-child(3){ left: 67%; } .main-home .list .item:nth-child(4){ left: calc(67% + 200px); } .main-home .list .item:nth-child(5){ left: calc(67% + 400px); } .main-home .list .item:nth-child(6){ left: calc(67% + 600px); } .item .content{ position: absolute; top: 50%; left: 100px; transform: translateY(-50%); width: 400px; text-align: left; color: white; display: none; } .list .item:nth-child(2) .content{ display: block; } .item h5{ font-size: 40px; text-transform: uppercase; color: #14ff72cb; font-weight: bold; line-height: 1; opacity: 0; animation: animate 1s ease-in-out 0.3s 1 forwards; } .item h1{ font-size: 40px; text-transform: uppercase; color: #14ff72cb; line-height: 1; font-weight: bold; text-shadow: 3px 4px 7px rgba(255, 255, 255, 0.0); opacity: 0; animation: animate 1s ease-in-out 0.6s 1 forwards; } .item p{ margin-top: 10px; margin-bottom: 20px; font-size: 18px; margin-left: 5px; opacity: 0; animation: animate 1s ease-in-out 0.9s 1 forwards; } .content .btn{ margin-left: 5px; } .main-button{ display: inline-block; color: #111; font-size: 16px; font-weight: 500; text-transform: capitalize; border: 2px solid #111; padding: 12px 25px; transition: all .42 ease; opacity: 0; animation: animate 1s ease-in-out 1.2s 1 forwards; background-color: rgb(255, 255, 255); } .main-button:hover{ background-color: #14ff72cb; color: #fff; } .main-button i{ vertical-align: middle; } .center-text h2{ color: #111; font-size: 32px; text-transform: capitalize; text-align: center; margin-bottom: 25px; } .center-text span{ color:red } .products{ display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, auto)); gap: 2rem; } .row{ position: relative; transition: all .30s; } .row img{ width: 100%; height: auto; transition: all .30s; } .row img:hover{ transform: scale(0.7); } .product-text h5{ position: absolute; top: 13px; left: 13px; color: aliceblue; font-size: 14px; font-weight: 500; text-transform: uppercase; background-color: greenyellow; padding: 3px 10px; border-radius: 3px; } .price h4{ color: #111; font-size: 18px; text-transform: capitalize; font-weight: 400; } .price p{ color: #000; font-size: 16px; font-weight: 600; } /* footer */ .footer-class{ background-color: #f5eaea; } .footer-div{ display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, auto)); gap: 3rem; } .info-footer-first img{ width: 140px; height: auto; } .footer-div h4{ color: #212529; font-size: 14px; text-transform: uppercase; margin-bottom: 10px; padding: 30px 0px 30px 0px; } .footer-div p{ color: #565656; font-size: 14px; font-weight: 400; /*text-transform: capitalize;*/ line-height: 1.5; margin-bottom: 10px; cursor: pointer; transition: all .42s; } .footer-div p:hover{ color:turquoise; } .end{ background-color: #f5eaea; text-align: center; padding: 18px; } .end p{ color: black; text-transform: capitalize; } @keyframes animate{ from{ opacity: 0; transform: translate(0, 100px); filter: blur(32px); } to{ opacity: 1; transform: translate(0); filter: blur(0); } } .arrow{ position: absolute; top: 80%; right: 52%; z-index: 100; width: 300px; max-width: 30%; display: flex; gap: 10px; align-items: center; } .arrow button{ width: 50px; height: 50px; border-radius: 50%; background-color: #14ff72cb; color: white; border: none; outline: none; font-size: 16px; font-family: monospace; font-weight: bold; transition: .5s; cursor: pointer; } .arrow button:hover{ background: white; color: black; } /* time running*/ .main-home .timeRunning{ position: absolute; z-index: 1000; width: 0%; height: 4px; background-color: #14ff72cb; left: 0; top: 0; animation: runningTime 7s linear 1 forwards; } @keyframes runningTime { from{width: 0%;} to{width: 100%;} } @media screen and (max-width: 999px){ header{ padding-left: 50px; } .item .content{ left: 50px; } .content h5 .content h1{ font-size: 70px; } .content p{ font-size: 16px; } } @media screen and (max-width: 69px){ header nav a{ font-size: 14px; margin-right: 0; } .item .content{ top: 40% } .content h5 .content h1{ font-size: 45px; } .content .btn button{ padding: 10px 15px; font-size: 14px; } } .FAQS{ font-size: 16px; font-weight: 500; background-color: rgb(253, 247, 247); } .FAQS .FAQS-class{ margin-top: 25px; } .footer-div p a{ color: #565656; transition: color .42 ease; } .footer-div p a:hover{ color: turquoise; } h4 a { text-decoration: none; color: black; }