* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Poppins", sans-serif; } /*nav maenu on the left as a unordered list*/ .navbar { display: flex; align-items: center; padding: 10px; } /*nav maenu on the right as a unordered list*/ nav { flex: 1; text-align: right; } /*nav maenu on the right as a list but without bullet*/ nav ul { display: inline-block; list-style-type: none; } /*nav maenu on the right as a vertically list with 50px gapping with each with underline*/ nav ul li { display: inline-block; margin-right: 50px; } /*nav maenu on the right as a vertically list with 50px gapping with each without underline*/ a { text-decoration: none; color: #4488dd; } a:hover { color: #09556e; } #content { position: relative; animation-name: content; animation-duration: 3s; animation-fill-mode: forwards; } @keyframes content { 0% { left: -1000px; } 100% { left: 0; } } p { color: #555; } .container { max-width: 1300px; margin: auto; padding-left: 25px; padding-right: 25px; } .row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-around; } .col-2 { flex-basis: 50%; min-width: 300px; } .col-2 img { max-width: 100%; padding: 50px 0; } .col-2 h1 { font-size: 50px; line-height: 60px; margin: 25px 0; color: #fff; } .btn { display: inline-block; background: #00bfff; color: #fff; padding: 8px 30px; margin: 30px 0px; border-radius: 30px; transition: background 0.5s; } .btn:hover { background: #99e6ff; } .header { background: radial-gradient(#66d9ff, #33ccff); } .header .row { margin-top: 5px; } .categories { margin: 50px 0; } .col-3 { flex-basis: 30%; min-width: 250px; margin-bottom: 30px; } .col-3 img { width: 100%; } .small-container { max-width: 1080px; margin: auto; padding-left: 25px; padding-right: 25px; } .col-4 { flex-basis: 25%; padding: 10px; min-width: 200px; margin-bottom: 50px; transition: transform 0.5s; } .col-4 img { width: 100%; } .title { text-align: center; margin: 0 auto 80px; position: relative; line-height: 60px; color: #555; } .title::after { content: ""; background: #33ccff; width: 80px; height: 5px; border-radius: 5px; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); } h4 { color: #555; font-weight: normal; } h4:hover { color: #00bfff; } .col-4 p { font-size: 14px; } .rating .fa { color: #1ac6ff; } .col-4:hover { transform: translateY(-5px); } /*-----------------------offer -----------------------*/ .offer { background: radial-gradient(#66d9ff, #33ccff); margin-top: 80px; padding: 30px 0; } .col-2 .offer-img { padding: 50px; } small { color: #555; } /*-----------------------Footer -----------------------*/ .footer { background: #000; /*black;*/ color: #8a8a8a; font-size: 14px; padding: 60px 0 20px; } .footer p { color: #8a8a8a; } .footer-title { color: #ff8566; } .footer h3 { color: #fff; margin-bottom: 20px; } .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 { min-width: 250px; margin-bottom: 20px; } .footer-col-1 { flex-basis: 30%; } .footer-col-2 { flex: 1; text-align: center; } .footer-col-2 img { width: 180px; margin-bottom: 20px; } .footer-col-3, .footer-col-4 { flex-basis: 12%; text-align: center; } ul { list-style-type: none; } .app-logo { margin-top: 20px; } .app-logo img { width: 140px; } .footer hr { border: none; background: #b5b5b5; height: 1px; margin: 20px 0; } .copyright { text-align: center; } .menu-icon { width: 28px; margin-left: 20px; display: none; } .color_icon { color: #33ccff; } /*-----------------------media query for menu -----------------------*/ @media only screen and (max-width: 800px) { nav ul { position: absolute; top: 70px; left: 0; background: #333; width: 100%; overflow: hidden; transition: max-height 0.5s; } nav ul li { display: block; margin-right: 50px; margin-top: 10px; margin-bottom: 10px; } nav ul li a { color: #fff; } .menu-icon { display: block; cursor: pointer; } } /*-----------------------media query for less than 600 screen size(mobile device) -----------------------*/ @media only screen and (max-width: 600px) { .row { text-align: center; } .col-2 .col-3 .col-4 { flex-basis: 100%; } .single-product .row { text-align: left; } .single-product .col-2 { padding: 20px 0; } .single-product h1 { font-size: 20px; line-height: 32px; } .cart-info p { display: none; } } /*--------------------all products-----------------------------------------------*/ .row-2 { justify-content: space-between; margin: 100px auto 50px; } select { border: 1px solid #33ccff; padding: 5px; } select:focus { outline: none; } strong:hover { color: #00cccc; } .page-btn { margin: 0 auto 80px; } .page-btn span { display: inline-block; border: 1px solid #33ccff; margin-left: 10px; width: 40px; height: 40px; text-align: center; line-height: 40px; cursor: pointer; } .page-btn span:hover { background: #33c; color: #fff; } /*-----------------------single product details -----------------------*/ .single-product { margin-top: 80px; } .single-product .col-2 img { padding: 0; } .single-product .col-2 { padding: 20px; } .single-product h4 { margin: 20px 0; font-size: 22px; font-weight: bold; } .single-product select { display: block; padding: 10px; margin-top: 20px; } .single-product input { width: 50px; height: 40px; padding-left: 10px; font-size: 20px; margin-right: 10px; border: apx solid #33ccff; } input:focus { outline: none; } .single-product .fa { color: #33ccff; margin-left: 10px; } .small-img-row { display: flex; justify-content: space-between; } .small-img-col { flex-basis: 24%; cursor: pointer; } /*------------------------------ cart items ------------------------------*/ .cart-page { margin: 80px auto; } table { width: 100%; border-collapse: collapse; } .cart-info { display: flex; flex-wrap: wrap; } th { text-align: left; padding: 5px; color: #fff; background: #33ccff; font-weight: normal; } td { padding: 10px 5px; } td input { width: 40px; height: 30px; padding: 5px; } td a { color: #33ccff; } td img { width: 80px; height: 80px; margin-right: 10px; } .total-price { display: flex; justify-content: flex-end; } .total-price table { border-top: 3px solid #33ccff; width: 100%; max-width: 400px; } td:last-child { text-align: right; } th:last-child { text-align: right; } .checkout-btn { position: absolute; right: 300px; bottom: -120px; } /*------------------------------ account-page ------------------------------*/ .account-page { padding: 50px 0; background: radial-gradient(#66d9ff, #33ccff); } .form-container { background: #fff; width: 320px; height: 400px; position: relative; text-align: center; justify-content: center; padding: 20px 0; margin: auto; box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1); overflow: hidden; } .form-container span { font-weight: bold; padding: 0 10px; color: #555; cursor: pointer; width: 100px; display: inline-block; } .form-btn { display: inline-block; } .form-container form { max-width: 300px; padding: 0 20px; position: absolute; top: 130px; transition: transform 1s; } form input { width: 100%; height: 30px; margin: 10px 0; padding: 0 10px; border: 1px solid #ccc; } form .btn { width: 100%; border: none; cursor: pointer; margin: 10px 0; } form .btn:focus { outline: none; } #LoginForm { left: -300px; } #RegForm { left: 0; } form a { font-size: 12px; } #Indicator { width: 100px; border: none; background: #33ccff; height: 3px; margin-top: 8px; transform: translateX(100px); transition: transform 1s; } ------------------------------checkout --------- ul { margin: 0; padding: 0; } ul li { list-style: none; padding-left: 10px; cursor: pointer; } ul li:hover { background: rgba(255, 255, 255, 0.1); } .small { font-size: 12px; font-size: 0.8rem; } .window { height: 500px; width: 500px; background: #fff; display: flex; border-radius: 30px; z-index: 10; } .pay-btn { border: none; background: #66d9ff; line-height: 2em; border-radius: 10px; font-size: 19px; color: #fff; cursor: pointer; position: absolute; bottom: 25px; width: calc(100% - 50px); } .input-field { background: rgba(255, 255, 255, 0.1); margin-bottom: 10px; margin-top: 3px; line-height: 1.5em; font-size: 15px; font-size: 1.3rem; border: none; padding: 5px 10px 5px 10px; color: #fff; box-sizing: border-box; width: 100%; margin-left: auto; margin-right: auto; } .credit-info { background: #4488dd; height: 100%; width: 120%; color: #eee; font-size: 14px; display: flex; box-sizing: border-box; padding-left: 25px; padding-right: 25px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-top-left-radius: 30px; border-bottom-left-radius: ; position: relative; } .credit-info-content { margin-top: 25px; -webkit-flex-flow: column; -ms-flex-flow: column; flex-flow: column; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; } @media (max-width: 600px) { .window { width: 100%; height: 100%; display: block; border-radius: 0px; } .credit-info { width: 100%; height: auto; padding-bottom: 100px; border-radius: 0px; } .pay-btn { border-radius: 0px; } }