/* FONTS */ @import "fonts.css"; /* VARIABLES */ @import "variables.less"; /* GENERAL */ header { position: absolute; width: 100%; z-index: 10; img { filter: drop-shadow(0 0 1px @dark); } .nav-item { padding-right: 35px; .nav-link { color: @white; font-family: @gotham-bold; font-size: @font-16; text-shadow: 0 0 4px @dark; } } .navbar-toggler { border: none; &:focus { outline: none; background: transparent; } } .btn-red { font-size: @font-16; } } .btn-white { font-family: @gotham-bold; background-color: @white; border: 2px solid @white; color: @red; padding: 7px 18px; border-radius: 20px; text-decoration: none; &:hover { background-color: @red; color: @white; border: 2px solid @white; } } .btn-red { font-family: @gotham-bold; background-color: @red; color: @white; padding: 7px 18px; border-radius: 20px; text-decoration: none; &:hover { background-color: @blue; transition: background-color .5s ease-out; } } .banner { height: 100vh; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; > .container, > .container >.row { height: 100%; } &-gracias { background-image: url("../images/banner-home.jpg"); } &-pyme { background-image: url("../images/banner-pyme.jpg"); } &-tecno-desa { background-image: url("../images/banner-tec-desa.jpg"); } &-innovacion { background-image: url("../images/banner-innovacion.jpg"); } &-documentos { background-image: url("../images/banner-documentos.jpg"); height: 500px; } } .banner, .banner-home { .btn-red { font-size: 25px; padding: 15px 35px; border-radius: 40px; } } .video { &-bg { pointer-events: none; } &-text { position: absolute; left: 15%; top: 35%; width: auto; } } .video-container { overflow: hidden; width: 100%; iframe { /* Extend it beyond the viewport... */ width: 200%; height: 100%; /* ...and bring it back again */ margin-left: -50%; } } .frame { &-bg { background-size: cover; background-repeat: no-repeat; background-position: top center; &.institutos { background-image: url("../images/bg-institutos.jpg"); height: 700px; } &.nuestro-trabajo { background-image: url("../images/bg-nuestros-trabajos.jpg"); height: 250px; } &.socios-estrategicos { background-image: url("../images/bg-socios-estrategicos.jpg"); height: 250px; } &.que-hacemos { background-image: url("../images/img-que-hacemos.jpg"); height: 450px; &-2 { background-image: url("../images/img-que-hacemos-2.jpg"); height: 550px; } &-3 { background-image: url("../images/img-que-hacemos-3.jpg"); height: 500px; } } } &-box { height: 70%; border: 2px solid @white; display: flex; align-items: center; justify-content: center; flex-direction: column; } } .footer-title { font-family: @gotham-bold; color: @white; > i { width: 100px; background-color: @white; height: 2px; margin-left: 20px; } } .icon-rrss { color: @white; background-color: @red; padding: 12px; width: 25px; height: 25px; border-radius: 50px; &:hover { color: @red; background-color: @white; } } .institutos-boxes { h3 { font-family: @gotham-bold; color: @red; font-size: @font-55; } h4 { font-family: @gotham-bold; color: @red; font-size: @font-25; } } #quienes-somos { h2 { color: @red; } .counters{ article { color: @white; height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; &:nth-child(1) { background-color: @red-dark; } &:nth-child(2) { background-color: @red; } &:nth-child(3) { background-color: @blue; } &:nth-child(4) { background-color: @red-deep; } } h4 { font-family: @montserrat; font-weight: 800; font-size: @font-50; } p { font-family: @gotham-bold; } } } .accordion { border-radius: 20px; .accordion-item { border: none; } .accordion-collapse { background-color: #EFEFEF; margin: 0 40px; h2 { font-family: @gotham-ultra; } } .accordion-button { &.blue { background-color: @blue; } background-color: @red; color: @white; font-family: @gotham-bold; font-size: @font-20; border-radius: 20px !important; &:after { filter: invert(1); } } } .tag-profesores { background-color: @red; color: @white; font-size: @font-14; display: inline-block; padding: 5px 0; border-radius: 20px; width: 175px; } .pill { display: flex; align-items: center; justify-content: space-between; &-title { &.red { background-color: @red; } &.blue { background-color: @blue; } color: @white; display: inline-block; padding: 10px 50px; border-radius: 20px; margin-bottom: 0; z-index: 1; } &-subtitle { color: @red-deep; padding: 0 50px; margin-bottom: 0; } i { &.red { background-color: @red; width: 54%; } &.blue { background-color: @blue; width: 53%; } &.red-deep { background-color: @red-deep; width: 35%; right: 22%; } position: absolute; right: 15%; height: 8px; margin: 0 auto; border-radius: 20px; } } .title-percent { color: @white; font-size: @font-100; line-height: @font-100; font-family: @gotham-black; margin-bottom: 0; } .oradores img { border-radius: 50%; } .dropdown { &-menu { background-color: @red; padding: 0; border-radius: 15px; > li:nth-child(1) a { border-top-left-radius: 15px; border-top-right-radius: 15px; } > li:nth-child(3) a { border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; } } &-item { color: @white; padding: 6px 16px; &:hover { color: @red; } } } .downloadable { color: @white; font-family: @gotham-light; img { margin-top: -60px; filter: grayscale(); } &-text { min-height: 200px; display: flex; flex-direction: column; justify-content: start; } p { padding: 10px; } .btn-blue { font-family: @gotham-bold; background-color: @blue; color: @white; padding: 15px 40px; border-radius: 20px; text-decoration: none; align-self: center; width: 186px; margin-top: auto; &:hover { background-color: @white; color: @red; transition: background-color .5s ease-out; } } } /* FORM */ input, label, textarea { position: relative; display: inline-block; width: 100%; } input { font-size: 1.25em; padding: 0 0 5px 0; z-index: 10; background: @white; margin-bottom: 0.5em; border: none; border-bottom: 2px solid var(--dark); } label { display: inline-block; margin: 0 auto; padding: 0 0 5px 0; transition: all 0.5s ease-in-out; z-index: 11; top: 37px; left: 15px; } .filled label { top: 0; left: 0; font-size: 1em; color: @white; } .form-control { background-color: @white; color: @dark; border: 1px solid @white; &:focus { background-color: @white; color: @dark; } } input:focus, select:focus, textarea:focus, button:focus { outline: none; } .invalid-feedback { color: @white; } .btn-send { font-family: @gotham-bold; color: @white; background-color: @red-deep; border-radius: 10px; padding: 10px 35px; letter-spacing: 3px; text-align: center; &:hover { color: @red-deep; background-color: @white; } } /* POPUP */ .popup-email { .element p { margin-top: 20px; font-family: @gotham-light; } .error, .success { color: @white; margin-top: 20px; } } /* UNDERLINE ANIMATION */ .nav-link { text-decoration: none; background-color: transparent; position: relative; width: 100%; background-image: -o-linear-gradient(transparent calc(100% - 2px), @red 10px), -o-linear-gradient(transparent calc(100% - 2px), transparent 10px); background-image: linear-gradient(transparent calc(100% - 2px), @red 10px), linear-gradient(transparent calc(100% - 2px), transparent 10px); background-repeat: no-repeat; background-size: 0 100%, 100% 100%; -webkit-transition: background-size .5s; -o-transition: background-size .5s; transition: background-size .5s; will-change: background-size; &:hover { background-size: 100% 100%, 100% 100%; } } /* RESPONSIVE */ @media (max-width: 1200px) { header { .nav-item { padding-right: 25px; } } .pill { i { &.red-deep { width: 40%; right: 20%; } } } } @media (max-width: 992px) { header { .container { background: @red; border-radius: 20px; } img { filter: none; } .nav-item { padding-right: 0; .nav-link { text-shadow: none; } } .btn-red { background-color: @white; color: @red; border: 2px solid @white; &:hover { background-color: transparent; color: @white; } } } .banner { .btn-red { font-size: 20px; } &-documentos { height: 400px; } } .frame-bg { &.institutos { height: 400px; } &.que-hacemos, &.que-hacemos-2, &.que-hacemos-3 { height: 250px; } } .institutos-boxes { h3 { font-size: 40px; } h4 { font-size: 20px; } } .accordion { .accordion-button { font-size: 20px; } } .pill { &-subtitle { padding: 0 20px; } } .dropdown { &-menu { &.show { display: inline-block; border: none; } > li > * { border-radius: 15px; } } } .video { &-text { left: 10%; top: 20%; } } } @media (max-width: 768px) { header { img { width: 160px; } } .banner { .btn-red { font-size: 18px; } } .banner-home { .btn-red { font-size: 20px; padding: 12px 30px; } } .institutos-boxes { h3 { font-size: 35px; } } #quienes-somos { .counters { article { height: 300px; } } } .accordion { .accordion-collapse { margin: 0 20px; } } .pill { h2.pill-title { font-size: 24px; } &-subtitle { font-size: 22px; } i { &.red-deep { width: 40%; right: 14%; } } } .downloadable { color: @white; font-family: @gotham-light; article:first-child img { margin-top: -60px; } img { margin-top: 0; } p { padding: 10px 0; } } .video { &-text { top: 16%; } } } @media (max-width: 576px) { header { .container { margin: 0 12px; } } .banner { &-documentos { height: 300px; } } #quienes-somos { .counters { article { height: 250px; } } } .accordion { .accordion-button { font-size: 18px; } } .video { &-text { left: 5%; top: 25%; } } } @media (max-width: 480px) { .banner { .btn-red { font-size: 16px; } &-home { h1 { font-size: 18px; } } } .banner-home { .btn-red { font-size: 16px; padding: 10px 20px; } } .institutos-boxes { h3 { font-size: 30px; } } .pill { h2.pill-title { font-size: 22px; padding: 10px 20px; } &-subtitle { font-size: 20px; } } .video { &-text { top: 22%; } } } @media (max-width: 400px) { .video { &-text { top: 14%; } } }