$position: left; $mainColor: rgb(51, 51, 51); $textColor: rgb(255, 255, 255); $color: rgb(36, 80, 225); %link{ text-decoration: none; color: $color; } @mixin shadowContainer($color, $padding, $blur) { box-shadow: 0px 0px $blur 2px $color; } %button { border: none; background-color: #ffeaca; color: #000; border-radius: 20px; width: 50%; padding: 10px 0px; text-align: center; font-weight: 700; cursor: pointer; transition: all .25s linear; } %button-secondary { border: none; background-color: #ffeaca; color: #000; border-radius: 20px; width: 100px; padding: 10px 0px; text-align: center; font-weight: 700; cursor: pointer; transition: all .25s linear; } body { margin: 0; background-color: $mainColor; width: 100%; font-size: 15px; font-weight: 300; } header { width: 100%; background-color: #fff; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; svg { width: 250px; height: 180px; align-items: center; box-sizing: border-box; display: inline-block; } img { width: 130px; height: 60px; align-items: center; box-sizing: border-box; display: inline-block; padding-right: 20px; cursor: pointer; } nav { justify-content: space-between; padding: 20px 20px; box-sizing: border-box; flex: 2; text-align: right; letter-spacing: 4px; font-size: 20px; font-weight: 500; } img { width: 100%; } } main { .banner { background-color: black; width: 100%; padding: 100px 0; text-align: center; background-position-y: 55%; background-size: cover; color: #ffffff; display: grid; } .banner h1{ width: 100%; font-weight: 600; font-size: clamp(0.8rem, 5vw, 1.8rem); margin: 0; box-sizing: border-box; } .banner p { width: 100%; font-weight: 100; font-size: 1.25rem; margin: 0; box-sizing: border-box; } .menu { width: 25%; background-color: #000000; box-sizing: border-box; height: 45%; position: fixed; right: -100%; top: 120px; box-shadow: -19px -1px 22px -15px rgba(0, 0, 0, 0.30); transition: all .25s ease; text-align: center; align-items: center; z-index: 1000; padding-top: 20px; } .menu.show{ right: 0; } .menu a { font-size: clamp(0.75rem, 2vw, 2rem); color: #ffffff; background-color: $mainColor; display: block; text-align: center; box-sizing: border-box; margin: 0 auto; border-radius: 25px; border: none; width: 85%; font-weight: 300; cursor: pointer; padding-top: 5px; padding-bottom: 5px; &.toggle { background-color: #b19d83; } } .productos { box-sizing: border-box; width: 69%; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); color: $textColor; } .productos h3 { font-size: 1.25rem; font-weight: 300; color: $textColor; } .productos article { cursor: pointer; text-align: center; } .productos img { width: 200px; padding-top: 0px; @include shadowContainer(rgb(150, 150, 150), 20px, 20px); margin: 20px 0px 0px 0px; } .contacto { display: flex; flex-direction: row; justify-content: space-around; box-sizing: border-box; width: 100%; gap: 20px; } .contacto h2 { font-weight: 800; font-size: clamp(1.5rem, 5vw, 2rem); text-align: center; box-sizing: border-box; color: $textColor; margin-left: 5px; } .contacto p{ font-weight: 300; font-size: clamp(0.8rem, 5vw, 1.46rem); padding-left: 0px; text-align: center; box-sizing: border-box; color: $mainColor; background-color: $textColor; align-items: center; margin-left: 5px; } .contacto__whats { width: 34px; height: auto; padding: 0px 0px 0px 10px; float: $position; box-sizing: border-box; } .contacto__face { width: 40px; height: 33px; padding: 0px 0px 0px 0px; float: $position; box-sizing: border-box; } .contacto__insta { width: 43px; height: 26px; padding: 0px 10px 0px 10px; float: $position; box-sizing: border-box; } .contacto__tik { width: 50px; height: 26px; padding: 0px 10px 0px 10px; float: $position; box-sizing: border-box; } .contacto__mail { width: 50px; height: auto; padding: 0px 10px 0px 10px; float: $position; box-sizing: border-box; } .horario h2 { font-weight: 800; font-size: clamp(1.5rem, 5vw, 2rem); text-align: center; box-sizing: border-box; margin-right: 5px; } .horario p { font-weight: 300; font-size: clamp(1rem, 5vw, 1.56rem); text-align: center; box-sizing: border-box; margin-right: 5px; } .galeria { box-sizing: border-box; width: 60%; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); display: grid; gap: 50px; } .galeria__h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.5rem); padding: 0px 0px 0px 20px; color: $textColor; } .galeria h3 { font-weight: 400; font-size: clamp(1rem, 5vw, 1.56rem); padding: 0px 0px 10px 0px; color: $textColor; } .galeria article { text-align: center; cursor: pointer; } .galeria img { width: 100%; padding: 20px 20px 20px 20px; cursor: pointer; box-sizing: border-box; align-items: center; @include shadowContainer(rgb(150, 150, 150), 20px, 20px); } .galeria__btn { @extend %button; } .vermas { box-sizing: border-box; width: 70%; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); display: grid; padding: 0px 0px 20px 0px; gap: 30px; } .vermas__h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.5rem); padding: 0px 0px 0px 20px; text-align: center; color: $textColor; } .vermas h3 { font-weight: 400; font-size: clamp(1rem, 5vw, 1.56rem); padding: 0px 0px 10px 0px; color: $textColor; } .vermas article { text-align: center; cursor: pointer; } .vermas img { width: 100%; padding: 20px 30px 20px 30px; cursor: pointer; box-sizing: border-box; align-items: center; @include shadowContainer(rgb(150, 150, 150), 20px, 20px); margin: 50px 0px 0px 0px; } .vermas__btn { @extend %button; } .togas { box-sizing: border-box; width: 70%; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); display: grid; padding: 0px 0px 20px 0px; gap: 30px; } .banner__togas { background-image: url(../img/togaazul3.png); width: 100%; padding: 60px 0; text-align: center; background-position-y: 20%; background-size: cover; color: #ffffff; display: grid; } .togas__h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.5rem); padding: 20px 0px 0px 0px; text-align: center; color: rgb(255, 255, 255); } .togas h3 { font-weight: 400; font-size: clamp(1rem, 5vw, 1.56rem); padding: 0px 0px 10px 0px; color: rgb(255, 255, 255); } .togas article { text-align: center; cursor: pointer; } .togas img { width: 100%; padding: 20px 30px 20px 30px; box-sizing: border-box; align-items: center; box-shadow: 0px 0px 20px 2px rgb(150, 150, 150); margin: 30px 0px 0px 0px; } .togas__btn { border: none; background-color: #ffeaca; color: #000; border-radius: 20px; width: 50%; padding: 10px 0px; text-align: center; font-weight: 700; cursor: pointer; transition: all .25s linear; } .ubicacion { padding: 0px 0px 20px 20px; } .ubicacion h1{ font-weight: 800; font-size: clamp(2rem, 5vw, 2.5rem); padding: 0px 0px 0px 0px; color: $textColor; } .ubicacion a { font-weight: 700; font-size: clamp(0.8rem, 5vw, 1rem); } .ubicacion__btn { @extend %button-secondary; } .ubicacion__mapa { width: 100%; padding: 0px 20px 0px 0px; box-sizing: border-box; } .acerca h1{ font-weight: 800; font-size: clamp(2rem, 5vw, 3.125rem); padding: 0px 0px 20px 20px; text-align: center; color: $textColor; } .acerca p { font-weight: 400px; font-size: clamp(1.5rem, 5vw, 1.875rem); padding: 0px 0px 0px 0px; text-align: center; color: $textColor; display: block; box-sizing: border-box; } .presentacion img { justify-content: space-between; align-items: center; margin: 0px 10px 10px 10px; float: $position; box-sizing: border-box; } .presentacion p { font-weight: 400px; font-size: clamp(0.8rem, 5vw, 1.2rem); margin: 0px 10px 10px 10px; display: block; box-sizing: border-box; align-items: center; color: $textColor; } } footer { background: $mainColor; width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; padding-top: 20px; background-color: $textColor; svg { width: 250px; height: 180px; } .inicio { justify-content: space-between; padding: 20px 20px 20px 20px; box-sizing: border-box; text-align: center; justify-content: center; letter-spacing: 4px; font-size: 25px; } .redes { justify-content: space-between; box-sizing: border-box; letter-spacing: 4px; padding: 0px 5px 0pc 5px; font-size: 25px; cursor: pointer; } .whats { width: 42px; display: inline-block; box-sizing: border-box; } .face { width: 35px; display: inline-block; box-sizing: border-box; } .insta { width: 25px; display: inline-block; box-sizing: border-box; } .tik { width: 25px; display: inline-block; box-sizing: border-box; } } @media (max-width: 600px) { header { padding: 15px; } header > svg { width: 200px; height: 120px; } footer > svg { width: 200px; height: 120px; } } @media (prefers-color-scheme: dark) { body{ background-color: #333; color: #fff; } } @media (max-width: 200px) { .galeria { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } } @media (max-width: 50px) { .galeria { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); } } @media (max-width: 600px) { .img__svg { width: 100px; height: auto; } } @media (hover: hover) { button:hover { background-color: #b19d83; color: #ffeaca; } } @media (max-width: 600px) { .presentacion img { width: 200px; height: auto; } } @media (max-width: 400px) { .presentacion img { width: 100px; height: auto; } } @media (max-width: 600px) { footer .redes { font-size: 15px; } footer .inicio { font-size: 15px; } } @media (max-width: 1400px) { .ubicacion__mapa { width: 100%; height: auto; } } @media (max-width: 800px) { .ubicacion__mapa { width: 100%; height: auto; } }