jluisrg17 / zairez-shop

0 stars 0 forks source link

style.css #2

Closed jluisrg17 closed 2 years ago

jluisrg17 commented 2 years ago
  • { box-sizing: border-box; margin: 0; padding: 0; }

body { background: #000000; color: #ffff; background-color: #703558; background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e0a5e2' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"); font-size: 16px; font-family: 'Quicksand', sans-serif; }

a { color: #ffff; text-decoration: none; }

ul { list-style: none; }

.container { width: 90%; margin: auto; }

/ Navegacion/ .nav-main { font-size: 17px; display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 20px; }

.nav-brand { width: 50px; }

/ NAV LEFT / .nav-main ul { display: flex; }

.nav-main ul li { padding: 10px; } .nav-main ul li a { padding: 10px; }

.nav-main ul li a:hover { border-bottom: 2px solid #ffff; }

.nav-main ul.nav-menu { flex: 1; margin-left: 20px; }

.menu-btn { position: absolute; cursor: pointer; top: 15px; right: 30px; z-index: 2; font-size: 1.5rem; display: none; }

/ SHOWCASE/ hr { margin: 10px 0; }

.showcase { width: 100%; height: 550px; background: url('./img/showcase2.jpeg') no-repeat center center/cover; padding: 50px; margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }

.btn { cursor: pointer; display: inline-block; font-weight: bold; padding: 10px 20px; background: #262626; color: #ffff; font-size: 15px; border: 1px solid #ffff; margin: 11px 0; }

.btn:hover { opacity: .6; }

.showcase h2, .showcase p { margin-bottom: 11px; }

/ NEW CARDS / .new-cards { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 25px; margin: 10px 0; }

.new-cards img{ width: 100%; height: 180px; }

.new-cards h3 { font-size: 20px; margin: 10px 0; }

.new-cards a { padding: 10px 0; color: #f2f2f2; text-transform: uppercase; display: inline-block; font-weight: bold; }

.new-cards a:hover { text-decoration: underline; }

/BANNER UNO/ .ropa-banner-uno { width: 100%; height: 350px; background: url('./img/banner1.jpeg') no-repeat center center/cover; margin: 40px; }

.ropa-banner-uno .content { width: 40%; padding: 90px 0 0 30px; color: #ffff; }

.ropa-banner-uno p, .ropa-banner-uno h2 { margin: 10px 0 20px 0; }

/BANNER DOS/ .ropa-banner-dos { width: 100%; height: 350px; background: url('./img/banner2.jpeg') no-repeat center center/cover; margin-bottom: 40px; }

.ropa-banner-dos .contaer { width: 40%; padding: 90px 0 0 30px; color: #ffff; }

.ropa-banner-dos p, .ropa-banner-dos h2 { margin: 10px o 20px 0; }

/ REDES / .redes { margin: 50px; }

.redes p { text-align: center; font-size: 30px; margin-bottom: 20px; }

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

.links a { margin: 0 30px; }

.links a i { font-size: 3rem; }

/ FOOTER LINKS/ .footer-links { background: #2f3640; color: #616161; font-size: 12px; padding: 35px 0; }

.footer-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: flex-start; justify-content: center; }

.footer-container ul { margin: 0 auto; }

.footer-container ul li { line-height: 2.7; }

.footer { background: #2f3640; color: #616161; font-size: 12px; padding: 20px 0; text-align: center; padding-bottom: 20px; }

@media (max-width: 700px) {

.menu-btn {
    display: block;
}

.nav-main ul.nav-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #2f3640;
    height: 100%;
    padding: 30px;
    opacity: .9;
    transform: translateX(-400px);
    transition: transform .5s ease-in-out;
}

.nav-main ul.nav-menu.show {
    transform: translateX(-20px);
}

.nav-main ul.nav-menu li {
    padding: 20px;
    font-size: 14px;
}

.nav-main ul.nav-menu-right {
    margin-right: 20px;
}

.new-cards {
    grid-template-columns: repeat(2, 1fr);
}

.ropa-banner-uno .content,
.ropa-banner-dos .contaer {
    width: 80%;
}

.footer-links .footer-container {
    grid-template-columns: repeat(2, 1);
}

}

@media (max-width: 500px) { .new-cards { grid-template-columns: fr; }

.new-cards img {
    height: 270px;
}

.ropa-banner-uno .content,
.ropa-banner-dos .contaer
{
    width: 100%;
    padding: 60px 20px;
}

.footer-links .footer-container {
    grid-template-columns: 1fr;
}

}