// SCROLLBARS ===================================================================================== ::-webkit-scrollbar-track { background-color: @azul; } ::-webkit-scrollbar-thumb { background-color: @verde; border-radius: 5px; } ::-webkit-scrollbar { width: 10px; height: 4px; background-color: @azul; } ::-moz-scrollbar-track { background-color: @azul; } ::-moz-scrollbar-thumb { background-color: @verde; border-radius: 5px; } ::-moz-scrollbar { width: 10px; height: 4px; background-color: @azul; } // SELECCIÓN DE TEXTO ============================================================================= ::-moz-selection { color: @b; background: @verde; } ::selection { color: @b; background: @verde; } // DEFINICIÓN DE MIXINS =========================================================================== .transition(@transition) { -webkit-transition: @transition; -moz-transition: @transition; transition: @transition; } .transform(@transform) { -webkit-transform: @transform; -moz-transform: @transform; transform: @transform; } .box-sizing(@box-sizing) { -webkit-box-sizing: @box-sizing; -moz-box-sizing: @box-sizing; box-sizing: @box-sizing; } // FUENTES ======================================================================================== @font-face { font-family: 'Switzer Light'; font-style: normal; font-weight: 300; src: local('Switzer Light'), url('fuentes/Switzer-Light.woff') format('woff'); } @font-face { font-family: 'Switzer Regular'; font-style: normal; font-weight: 400; src: local('Switzer Regular'), url('fuentes/Switzer-Regular.woff') format('woff'); } @font-face { font-family: 'Switzer Medium'; font-style: normal; font-weight: 500; src: local('Switzer Medium'), url('fuentes/Switzer-Medium.woff') format('woff'); } @font-face { font-family: 'Switzer Semibold'; font-style: normal; font-weight: 600; src: local('Switzer Semibold'), url('fuentes/Switzer-Semibold.woff') format('woff'); } @font-face { font-family: 'Switzer Bold'; font-style: normal; font-weight: 700; src: local('Switzer Bold'), url('fuentes/Switzer-Bold.woff') format('woff'); } // VARIABLES ====================================================================================== @i: !important; @n: #000000; @b: #ffffff; @verde: #1FCCBA; @azul: #1F213F; @azul-oscuro: #4A4B63; @gradient: linear-gradient(90deg, #1F213F 16%, #003F81 74.5%, #00468F 100%); @ef15: all 0.15s ease-out; @switzer: 'Switzer Regular', Helvetica, Arial, sans-serif; @switzer-lt: 'Switzer Light', Helvetica, Arial, sans-serif; @switzer-md: 'Switzer Medium', Helvetica, Arial, sans-serif; @switzer-sb: 'Switzer Semibold', Helvetica, Arial, sans-serif; @switzer-bd: 'Switzer Bold', Helvetica, Arial, sans-serif; // FLEX ========================================================================================== .flex { display: flex; &.inline { display: inline-flex; } &.w-100 { width: 100%; } &.h-100 { height: 100%; } &.x-axis { flex-flow: row wrap; align-items: flex-start; justify-content: flex-start; margin-bottom: 0; &.x-center { justify-content: center; } &.x-end { justify-content: flex-end; } &.y-center { align-items: center; } &.y-end { align-items: flex-end; } &.space-between { display: flex; justify-content: space-between; } &.last-right { >li:last-of-type { margin-left: auto; } } &.nowrap { flex-wrap: nowrap; } &.spacing-3px { margin-left: -3px; margin-right: -3px; >li, >div { margin-left: 3px; margin-right: 3px; } } &.spacing-5px { margin-left: -5px; margin-right: -5px; >li, >div { margin-left: 5px; margin-right: 5px; } } &.spacing-10px { margin-left: -10px; margin-right: -10px; >li, >div { margin-left: 10px; margin-right: 10px; } } &.spacing-15px { margin-left: -15px; margin-right: -15px; >li, >div { margin-left: 15px; margin-right: 15px; } } &.spacing-20px { margin-left: -20px; margin-right: -20px; >li, >div { margin-left: 20px; margin-right: 20px; } } &.spacing-25px { margin-left: -25px; margin-right: -25px; >li, >div { margin-left: 25px; margin-right: 25px; } } &.spacing-30px { margin-left: -30px; margin-right: -30px; >li, >div { margin-left: 30px; margin-right: 30px; } } &.spacing-35px { margin-left: -35px; margin-right: -35px; >li, >div { margin-left: 35px; margin-right: 35px; } } &.mb-0 { >li, >div { margin-bottom: 0; } } &.mb-10px { >li, >div { margin-bottom: 10px; } } } &.y-axis { flex-flow: column nowrap; &.xy-center { justify-content: center; align-items: center; } &.y-center { justify-content: center; } &.y-start { justify-content: flex-start; } &.y-end { justify-content: flex-end; } &.x-center { align-items: center; } &.x-start { align-items: flex-start; } &.x-end { align-items: flex-end; } &.spacing-0 { >li, >div { margin-bottom: 0; } } &.spacing-3px { >li, >div { margin-bottom: 3px; } } &.spacing-5px { >li, >div { margin-bottom: 5px; } } &.spacing-10px { >li, >div { margin-bottom: 10px; } } &.spacing-15px { >li, >div { margin-bottom: 15px; } } &.spacing-20px { >li, >div { margin-bottom: 20px; } } &.spacing-25px { >li, >div { margin-bottom: 25px; } } &.spacing-30px { >li, >div { margin-bottom: 30px; } } &.spacing-35px { >li, >div { margin-bottom: 35px; } } } &.mt-auto { margin-top: auto; } &.mb-auto { margin-bottom: auto; } &.ml-auto { margin-left: auto; } &.mr-auto { margin-right: auto; } >li { padding-left: 0; margin-bottom: 0; &:before { display: none; } } } // CLASES ========================================================================================= .btn, .btn:not([href]) { font-family: @switzer-md; font-weight: 500; color: #00344f; font-size: 2rem; font-weight: normal; line-height: 1; text-align: center; display: inline-flex; justify-content: center; align-items: center; flex: 0 0 auto; width: fit-content; height: 48px; border-radius: 8px; padding: 0 35px; background-color: @b; border: none; position: relative; cursor: pointer; &:hover { color: @b; background-color: @verde; } &:active, &:focus { color: #00344f; text-decoration: none; background-color: @b; } } .desktop-hidden { display: none @i; } .smartphone { display: none @i; } .w-100 { width: 100%; } .container { width: 100%; padding-left: 160px; padding-right: 160px; .inner { margin: 100px auto 0; padding: 0 10%; p:last-of-type { margin-bottom: 0; } } } // ESTILOS EN FORMATO LESS ======================================================================== * { padding: 0; margin: 0; .box-sizing(border-box); &:before, &:after { .box-sizing(border-box); } &:hover, &:focus, &:active { outline: none; text-decoration: none; } } .clearfix, .cierre { &:after { content: ""; clear: both; } } html { font-size: 62.5%; position: relative; min-height: 100vh; scroll-behavior: smooth; } body { font-family: @switzer-lt; font-weight: 300; font-size: 3.8rem; line-height: 1.25; color: @b; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; padding-top: 140px; position: relative; background-color: @azul; } h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-family: @switzer-bd; font-weight: 700; line-height: 1.1; color: @verde; text-rendering: optimizeLegibility; width: 100%; margin-bottom: 50px; } h1, .h1 { font-family: @switzer; font-weight: 400; font-size: 13rem; line-height: 0.9; } h2, .h2 { font-family: @switzer-sb; font-weight: 600; font-size: 5.4rem; color: @verde; } h3, .h3 { font-family: @switzer-lt; font-weight: 300; font-size: 5rem; } h4, .h4 { font-size: 3.5rem; } h5, .h5 { font-family: @switzer-md; font-weight: 500; font-size: 4rem; color: @verde; } h6, .h6 { font-size: 2.4rem; } ul { padding-left: 0; margin-bottom: 20px; clear: both; list-style: none; > li { padding-left: 0; } } h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p { margin-bottom: 50px; } i, em { font-style: italic; } b, strong { font-family: @switzer-bd; font-weight: 700; } small { font-size: 80%; } a { color: inherit; outline: none; border: none; text-decoration: none; cursor: pointer; img { outline: none; border: none; } &:hover { color: inherit; .transition(@ef15); } &:focus, &:active { color: inherit; outline: none; text-decoration: none; } } img { max-width: 100%; max-height: 100%; } header { display: flex; justify-content: center; align-items:center; height: 140px; background-color: @azul; position: fixed; z-index: 3; top: 0; left: 0; right: 0; > div { padding: 20px 5%; } } main { position: relative; z-index: 1; section { padding-top: 200px; padding-bottom: 200px; position: relative; z-index: 1; background-image: url('../gestor/recursos/imagenes/lines.svg'); background-position: right bottom; background-repeat: no-repeat; > * { position: relative; } h2 { max-width: 650px; &.nowrap { max-width: initial; > span { display: block; white-space: nowrap; } } } &.hero { display: flex; justify-content: center; align-items: center; text-align: center; position: relative; h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p { color: @b; } .txt { text-align: left; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; > div { &:first-of-type { max-width: 800px; padding-right: 80px; span { white-space: nowrap; } } &:last-of-type { max-width: 500px; } } h1 { margin-bottom: 60px; } } .img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; &:before { content: ''; position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; background: @gradient; opacity: 0.85; } img { object-fit: cover; position: absolute; z-index: 0; min-height: 100%; min-width: 100%; top: 50%; left: 50%; overflow: hidden; border-radius: 16px; .transform(translate(-50%, -50%)); } } } &.cta { padding-top: 100px; padding-bottom: 100px; text-align: center; background-image: none; background-color: @azul-oscuro; > div { max-width: 1300px; margin: 0 auto; } p:last-of-type { margin-bottom: 0; } ul { > li { margin-top: 40px; } } } &.enlaces { padding-top: 100px; padding-bottom: 100px; background-image: none; background-color: @b; ul { display: flex; justify-content: center; align-items: flex-end; margin-bottom: 0; > li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 165px; &:first-of-type { .img { border-left: none; } } .img { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; margin-bottom: 20px; padding-left: 100px; padding-right: 100px; border-left: 1px solid #ddd; img { max-width: 240px; max-height: 120px; } &.palco { img { max-height: 70px; } } } a { font-size: 2rem; color: #666; text-decoration: underline; &:focus, &:active { text-decoration: underline; } &:hover { color: @azul; text-decoration: none; } } } } } &.bg-cover { background-size: cover; position: relative; &.blue { &:before { content: ''; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0; background: #1c609d; mix-blend-mode: multiply; } .txt { color: @b; position: relative; z-index: 1; h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, ul.arrow > li:before { color: @b; } } } } } } footer { text-align: center; padding-top: 200px; padding-bottom: 200px; h5 { margin-top: 80px; margin-bottom: 80px; margin-left: auto; margin-right: auto; span { display: block; white-space: nowrap; } } p { margin-bottom: 0; } .logo { img { width: 100%; max-width: 260px; max-height: 100%; } } } // CONDICIONALES ================================================================================== @media screen and (max-width: 1799.98px) { h1, .h1 { font-size: 11rem; } h2, .h2 { } h3, .h3 { } h4, .h4 { } h5, .h5 { } } @media screen and (max-width: 1599.98px) { h1, .h1 { font-size: 8rem; } h2, .h2 { font-size: 4.4rem; } h3, .h3 { font-size: 4rem; } h4, .h4 { } h5, .h5 { font-size: 3.4rem; } body { font-size: 3.2rem; } } @media screen and (max-width: 1199.98px) { body { font-size: 2.8rem; padding-top: 100px; } .container { padding-left: 100px; padding-right: 100px; .inner { margin-top: 60px; } } h1, .h1 { font-size: 6rem; } h2, .h2 { font-size: 3.4rem; } h3, .h3 { font-size: 3rem; } h4, .h4 { font-size: 3rem; } h5, .h5 { } header { height: 100px; img { max-height: 40px; max-width: 180px; } } main { section { padding-top: 120px; padding-bottom: 120px; &.enlaces { ul > li { height: 125px; .img { padding-left: 80px; padding-right: 80px; img { max-width: 180px; max-height: 80px; } &.palco { img { max-height: 50px; } } } } } } } footer { padding-top: 100px; padding-bottom: 100px; .logo { img { max-width: 200px; } } } } @media screen and (max-width: 991.98px) { .desktop-hidden { display: block @i; } .mobile-hidden { display: none @i; } h1, .h1 { } h2, .h2 { } h3, .h3 { } h4, .h4 { } h5, .h5 { } main { section { &.enlaces { ul > li .img { padding-left: 60px; padding-right: 60px; } } } } } @media screen and (max-width: 767.98px) { ::-webkit-scrollbar { width: 4px; height: 4px; border-radius: 2px; } ::-moz-scrollbar { width: 4px; height: 4px; border-radius: 2px; } h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p { margin-bottom: 30px; } h1, .h1 { font-size: 5rem; } h2, .h2 { font-size: 3rem; } h3, .h3 { font-size: 2.4rem; } h4, .h4 { } h5, .h5 { } .container { padding-left: 50px; padding-right: 50px; .inner { margin-top: 40px; padding: 0 0 0 10%; } } body { font-size: 2.4rem; padding-top: 80px; } header { height: 80px; img { max-height: 30px; max-width: 160px; } } main { section { padding-top: 80px; padding-bottom: 80px; &.hero { .txt { h1 { margin-bottom: 30px; } > div:first-of-type { padding-right: 40px; } } } &.enlaces { padding-top: 80px; padding-bottom: 80px; ul { > li { height: 100px; a { font-size: 1.6rem; } .img { padding-left: 40px; padding-right: 40px; &.palco { img { max-height: 40px; } } img { max-width: 140px; max-height: 60px; } } } } } &.cta { padding-top: 80px; padding-bottom: 80px; } } } } @media screen and (max-width: 575.98px) { .smartphone { display: block @i; } .btn, .btn:not([href]) { font-size: 1.6rem; } body { font-size: 2.4rem; } h1, .h1 { } h2, .h2 { } h3, .h3 { } h4, .h4 { } h5, .h5 { font-size: 2.6rem; } .container { padding-left: 25px; padding-right: 25px; } main { section { h2 { &.nowrap { > span { display: inline-block; white-space: normal; } } } &.hero { .txt { flex-direction: column; > div:first-of-type { padding-right: 0; margin-bottom: 60px; } } } &.enlaces { ul { flex-direction: column; align-items: center; > li { width: 100%; height: initial; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid #ddd; &:first-child { padding-top: 0; border: none; } &:last-child { padding-bottom: 0; } .img { border: none; padding-left: 80px; padding-right: 80px; img { max-width: 180px; max-height: 80px; } &.palco { img { max-height: 50px; } } } } } } } } footer { .logo { img { max-width: 160px; } } } }