www-ajsystem/src/styles.css

2002 lines
36 KiB
CSS

/*-----------------------------------*\
#style.css
\*-----------------------------------*/
/*-----------------------------------*\
#CUSTOM PROPERTY
\*-----------------------------------*/
:root {
/**
* colors
*/
--AJsystem-berry: #ffffff;
--AJsystem-glow: #5dfff7;
--AJsystem-blue: #00d7fd;
--AJsystem-bkgnd: rgba(0, 0, 0, 60%);
--AJsystem-disabled-color: hsl(0, 0%, 73%);
--AJsystem-input-color: hsl(0, 0%, 60%);
--AJsystem-silver: hsl(0, 0%, 47%);
--AJsystem-soft-background: #F8F9FC;
--AJsystem-search-color: hsl(0, 0%, 87%);
--AJsystem-search-bkgnd-color: hsla(0, 0%, 0%, 0.95);
--AJsystem-soft-white: hsl(0, 0%, 93%);
--AJsystem-white: #fff;
--AJsystem-black: hsl(0, 0%, 0%);
--AJsystem-onyx: hsl(0, 0%, 27%);
--AJsystem-black-intense: hsl(210, 26%, 7%);
/**
* typography
*/
--ff-roboto: 'Roboto', sans-serif;
--ff-harmattan: 'Harmattan', sans-serif;
--ff-museomoderno: 'MuseoModerno', sans-serif;
--ff-calibri: 'Source Sans Pro', sans-serif;
--fs-1: 3.2rem;
--fs-2: 2.2rem;
--fs-3: 1.8rem;
--fs-4: 1.4rem;
--fs-5: 1.2rem;
--fw-100: 100;
--fw-200: 200;
--fw-300: 300;
--fw-400: 400;
--fw-500: 500;
--fw-600: 600;
--fw-700: 700;
--fw-800: 800;
--fw-900: 900;
/**
* spacing
*/
--section-padding: 60px;
/**
* shadow
*/
--shadow-1: 0 1px 4px hsla(0, 0%, 0%, 0.2);
--shadow-2: 0 1px 2px hsla(0, 0%, 0%, 0.2);
/**
* transition
*/
--transition-1: 0.25s ease;
--transition-2: 0.5s ease;
/**
* clip path
*/
--clip-path-1: polygon(0 40%, 100% 0%, 100% 100%, 0 100%);
--clip-path-2: polygon(0 0%, 100% 0%, 100% 100%, 0 100%);
}
/*-----------------------------------*\
#RESET
\*-----------------------------------*/
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
li { list-style: none; }
a {
text-decoration: none;
color: inherit;
}
a,
img,
svg,
span,
input,
select,
button,
textarea,
ion-icon { display: block; }
img { height: auto; }
input,
select,
button,
textarea {
background: none;
border: none;
font: inherit;
}
input,
select,
textarea { width: 100%; }
button { cursor: pointer; }
ion-icon { pointer-events: none; }
address { font-style: normal; }
html {
font-family: var(--ff-roboto);
font-size: 10px;
scroll-behavior: smooth;
}
body {
background-color: var(--AJsystem-white);
color: var(--AJsystem-silver);
font-size: 1.6rem;
line-height: 1.6;
overflow-x: hidden;
position: relative!important;
overflow-y: scroll!important;
}
body.active { overflow: hidden; }
:focus-visible { outline-offset: 4px; }
::selection {
background-color: var(--AJsystem-blue);
color: var(--AJsystem-white);
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background-color: var(--AJsystem-soft-white); }
::-webkit-scrollbar-thumb { background-color: var(--AJsystem-blue); }
::-webkit-scrollbar-thumb:hover { background-color: var(--AJsystem-glow); }
/*-----------------------------------*\
#REUSED STYLE
\*-----------------------------------*/
.container { padding-inline: 15px; }
.h1,
.h2,
.h3,
.h4 {
font-family: var(--ff-museomoderno);
color: var(--AJsystem-black-intense);
line-height: 1.2;
letter-spacing: -1px;
}
.h1,
.h2 { font-size: var(--fs-1); }
.h2,
.h3,
.h4 { font-weight: var(--fw-600); }
.h3 { font-size: var(--fs-2); }
.h4 { font-size: var(--fs-3); }
.btn {
background-color: var(--bg-color, var(--AJsystem-white));
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
font-size: var(--fs-4);
font-weight: var(--fw-500);
height: var(--height, 45px);
padding-inline: var(--padding-inline, 35px);
transition: var(--transition-1);
}
.btn-hover {
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-hover:hover {
color: var(--AJsystem-white);
}
.btn-hover::after {
content: "";
position: absolute;
bottom: -1px;
left: 20px;
width: 1px;
height: 1px;
transform: translate(-50%, 51%) scale(var(--scale, 1));
border-radius: 50%;
background-color: var(--AJsystem-berry);
z-index: -1;
transition: var(--transition-2);
}
.btn-hover:is(:hover, :focus)::after { --scale: 500; }
.section { padding-block: var(--section-padding); }
.section.white { background-color: var(--AJsystem-soft-background); }
.section-divider { position: relative; }
.section-divider::before,
.section-divider::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 15px;
background-repeat: repeat no-repeat;
background-position: bottom;
}
/* substituir url de imagenes de ./images/... a ./assets/images/... */
.section-divider.white::after { background-image: url("./assets/images/df4e63ac-f12d-43a0-98ae-2e223d96333c.webp"); }
.section-divider.gray::after { background-image: url("./assets/images/3f94b028-7edd-473e-9013-af3cd7b93167.webp"); }
.w-100 { width: 100%; }
.has-scrollbar {
display: flex;
gap: 10px;
overflow-x: auto;
scroll-snap-type: inline mandatory;
padding-block-end: 40px;
}
.has-scrollbar::-webkit-scrollbar { height: 12px; }
.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); }
.has-scrollbar::-webkit-scrollbar-track {
outline: 2px solid var(--AJsystem-blue);
border-radius: 50px;
}
.has-scrollbar::-webkit-scrollbar-thumb {
border: 3px solid var(--AJsystem-soft-white);
border-radius: 50px;
}
.section-title > .span {
display: inline-block;
color: var(--AJsystem-blue);
}
.glow {
display: inline-block;
color: var(--AJsystem-glow);
}
.berry {
display: inline-block;
color: var(--AJsystem-berry);
}
.black {
display: inline-block;
color: var(--AJsystem-black);
}
.cybersec {
display: inline-block;
color: var(--AJsystem-blue);
}
.abs-img {
position: absolute;
transform: scale(1);
}
.scale-up-anim { animation: scaleUp 1s linear infinite alternate; }
@keyframes scaleUp {
0% { transform: scale(1);}
100% { transform: scale(1.05); }
}
.section-subtitle {
color: var(--AJsystem-berry);
font-family: var(--ff-museomoderno);
text-align: center;
font-weight: var(--fw-500);
}
.section-subtitle-2 {
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
text-align: center;
font-weight: var(--fw-500);
}
.badge {
position: absolute;
background: var(--bg-color, var(--AJsystem-berry));
color: var(--AJsystem-white);
font-size: var(--fs-5);
font-weight: var(--fw-600);
padding: var(--padding-block, 2px) 15px;
}
.rating-wrapper {
display: flex;
gap: 5px;
color: var(--AJsystem-blue);
}
/*-----------------------------------*\
#HEADER
\*-----------------------------------*/
/* .navbar, */
.header-btn-group .btn { display: none; }
.header {
--color: var(--AJsystem-white);
--btn-color: var(--AJsystem-white);
background-color: var(--AJsystem-bkgnd) ;
position: absolute;
top: 0;
left: 0;
width: 100%;
padding-block: 20px;
border-block-end: 1px solid var(--AJsystem-berry);
z-index: 4;
}
.header.active {
--color: var(--AJsystem-berry);
--btn-color: var(--AJsystem-black-intense);
position: fixed;
top: -86px;
background-color: var(--AJsystem-white);
box-shadow: var(--shadow-1);
animation: slideIn 0.5s ease-out forwards;
}
@keyframes slideIn {
0% { transform: translateY(0); }
100% { transform: translateY(100%); }
}
.header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
color: var(--AJsystem-glow);
font-family: var(--ff-museomoderno);
font-size: 2.8rem;
font-weight: var(--fw-700);
letter-spacing: -2px;
}
.logo .span {
display: inline-block;
color: var(--AJsystem-berry);
}
.header-btn-group {
display: flex;
align-items: center;
gap: 20px;
}
.search-btn {
color: var(--btn-color);
font-size: 20px;
}
.search-btn ion-icon { --ionicon-stroke-width: 50px; }
.nav-toggle-btn {
display: grid;
gap: 4px;
}
.line {
width: 10px;
height: 3px;
background-color: var(--btn-color);
border-radius: 5px;
transition: var(--transition-1);
}
.line.middle { width: 20px; }
.line.bottom { margin-left: auto; }
.nav-toggle-btn.active .line.top { transform: translate(1px, 3px) rotate(45deg); }
.nav-toggle-btn.active .line.middle { transform: rotate(-45deg); }
.nav-toggle-btn.active .line.bottom { transform: translate(-1px, -3px) rotate(45deg); }
.navbar {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 30px);
background-color: var(--AJsystem-white);
padding-inline: 20px;
box-shadow: var(--shadow-1);
height: 0;
overflow: hidden;
visibility: hidden;
transition: var(--transition-1);
}
.navbar.active {
height: 236px;
visibility: visible;
}
.navbar-list { margin-block: 10px; }
.nav-item:not(:last-child) { border-block-end: 1px solid hsla(0, 0%, 0%, 0.04); }
.navbar-link {
color: var(--AJsystem-black-intense);
font-size: var(--fs-4);
font-family: var(--ff-museomoderno);
font-weight: var(--fw-500);
padding: 10px 15px;
transition: var(--transition-1);
}
.navbar-link:is(:hover, :focus) { color: var(--AJsystem-blue); }
/*-----------------------------------*\
#SEARCH BOX
\*-----------------------------------*/
.search-container {
position: fixed;
top: -60%;
left: 0;
width: 100%;
height: 110%;
background-color: var(--AJsystem-search-bkgnd-color);
display: flex;
justify-content: center;
align-items: center;
padding-inline: 15px;
z-index: 5;
visibility: hidden;
opacity: 0;
transition: var(--transition-2);
}
.search-container.active {
visibility: visible;
opacity: 1;
transform: translateY(50%);
}
.search-box {
position: relative;
width: 100%;
max-width: 500px;
}
.search-input {
color: var(--AJsystem-search-color);
font-size: 3rem;
padding: 20px 15px;
padding-inline-end: 70px;
}
.search-input::placeholder { color: var(--AJsystem-input-color); }
.search-input::-webkit-search-cancel-button { display: none; }
.search-submit {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 15px;
color: var(--AJsystem-onyx);
font-size: 4rem;
transition: var(--transition-1);
}
.search-submit:is(:hover, :focus) { color: var(--AJsystem-search-color); }
.search-close-btn {
position: absolute;
inset: 0;
z-index: -1;
cursor: url("./assets/images/1e82b12c-9522-4078-b0e9-005616990f1f.webp"), auto;
}
/*-----------------------------------*\
#HERO
\*-----------------------------------*/
.AJsystem-banner { display: none; }
.AJsystem-hero {
color: var(--AJsystem-glow);
font-family: var(--ff-museomoderno);
font-size: 6rem;
font-weight: var(--fw-700);
letter-spacing: -2px;
}
.AJsystem-hero .span {
display: inline-block;
color: var(--AJsystem-berry);
}
.AJsystem {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
padding-block: 100px 60px;
text-align: center;
}
.AJsystem-subtitle {
color: var(--AJsystem-white);
font-family: var(--ff-harmattan);
font-size: var(--fs-3);
letter-spacing: 1px;
margin-block: 25px 25px;
}
.AJsystem-title {
color: var(--AJsystem-glow);
max-width: 17ch;
margin-inline: auto;
font-family: var(--ff-museomoderno);
font-weight: var(--fw-300);
}
.AJsystem-text {
color: var(--AJsystem-white);
margin-block: 15px 30px;
max-width: 44ch;
margin-inline: auto;
font-size: 8px;
}
.AJsystem .btn {
margin-inline: auto;
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
.AJsystem .btn:is(:hover, :focus) {
background-color: var(--AJsystem-blue);
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
/*-----------------------------------*\
#PROMO
\*-----------------------------------*/
.promo-card {
position: relative;
background-color: var(--AJsystem-white);
text-align: center;
padding: 40px 30px;
box-shadow: var(--shadow-2);
z-index: 1;
}
.promo-card::after {
content: "";
position: absolute;
inset: 0;
background-color: var(--AJsystem-blue);
clip-path: var(--clip-path-1);
transform: scaleY(0.3);
transform-origin: bottom;
z-index: -1;
transition: var(--transition-1);
}
.promo-card:hover::after {
clip-path: var(--clip-path-2);
transform: scaleY(1);
}
.promo-card .card-icon svg { margin-inline: auto; }
.promo-card .card-icon path { fill: var(--AJsystem-blue); }
.promo-card:hover .card-icon path { fill: var(--AJsystem-white); }
.promo-card:hover :is(.card-title, .card-text) { color: var(--AJsystem-white); }
.promo-card .card-title {
margin-block: 15px;
transition: var(--transition-1);
}
.promo-card .card-text {
margin-block-end: 15px;
transition: var(--transition-1);
}
.promo-card .card-banner {
max-width: max-content;
margin-inline: auto;
aspect-ratio: 1 / 1;
}
.promo-item {
min-width: 100%;
scroll-snap-align: start;
}
/*-----------------------------------*\
#ABOUT
\*-----------------------------------*/
.about { text-align: center; }
.about-banner {
position: relative;
aspect-ratio: 1 / 0.9;
}
.about-img {
max-width: max-content;
margin-inline: auto;
}
.about-banner .abs-img {
top: 250px;
left: 10px;
}
.about .section-title {
max-width: 15ch;
margin-block: 40px 10px;
margin-inline: auto;
color: var(--AJsystem-soft-white);
}
.about .section-text {
color: var(--AJsystem-soft-white);
}
.about-list { margin-block: 20px 30px; }
.about-item {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
}
.about-item:not(:last-child) { margin-block-end: 10px; }
.about-item ion-icon {
background-color: var(--AJsystem-blue);
color: var(--AJsystem-white);
font-size: 1.2rem;
padding: 4px;
border-radius: 50%;
--ionicon-stroke-width: 110px;
}
.about-item .span {
color: var(--AJsystem-white);
font-family: var(--ff-museomoderno);
font-weight: var(--fw-500);
}
.about .btn {
margin-inline: auto;
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
.about .btn:is(:hover, :focus) {
background-color: var(--AJsystem-blue);
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
/*-----------------------------------*\
#FOOD MENU
\*-----------------------------------*/
.food-menu {
background-color: var(--AJsystem-soft-background);
text-align: center;
}
.food-menu .section-title { margin-block: 10px 20px; }
.food-menu .section-text {
max-width: 44ch;
margin-inline: auto;
margin-block-end: 30px;
}
.fiter-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-block-end: 40px;
}
.filter-btn {
background-color: var(--AJsystem-white);
color: var(--color, var(--AJsystem-black-intense));
font-family: var(--ff-museomoderno);
font-weight: var(--fw-500);
padding: 5px 20px;
border: 1px solid var(--border-color, var(--AJsystem-soft-white));
}
.filter-btn.active {
background-color: var(--AJsystem-blue);
--color: var(--AJsystem-white);
--border-color: var(--AJsystem-blue);
}
.food-menu-list {
display: grid;
gap: 30px;
overflow-wrap: break-word;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.food-menu-card {
background-color: var(--AJsystem-white);
padding: 40px;
box-shadow: var(--shadow-2);
}
.food-menu-card:focus-within { outline: 1px auto -webkit-focus-ring-color; }
.food-menu-card .card-banner {
position: relative;
padding-block-start: 20px;
max-width: max-content;
aspect-ratio: 1 / 1;
margin-inline: auto;
}
.food-menu-card .badge {
top: 0;
left: 0;
}
.food-menu-btn {
position: absolute;
top: calc(50% + 15px);
left: 50%;
transform: translate(-50%, 0);
min-width: max-content;
--bg-color: var(--AJsystem-glow);
width: 60%;
--height: 40px;
--padding-inline: 20px;
opacity: 0;
transition: var(--transition-2);
}
.food-menu-btn:is(:hover, :focus) { --bg-color: var(--AJsystem-blue); }
.food-menu-card:is(:hover, :focus-within) .food-menu-btn {
transform: translate(-50%, -50%);
opacity: 1;
}
.food-menu-card .wrapper {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-block: 10px 5px;
}
.food-menu-card .category {
font-family: var(--ff-calibri);
font-weight: var(--fw-500);
}
.food-menu-card .rating-wrapper { font-size: 1.4rem; }
.food-menu-card .card-title {
margin-block-end: 10px; font-family:
var(--ff-calibri);
font-size: var(--fw-700);
}
.food-menu-card .price-wrapper {
display: flex;
justify-content: center;
gap: 0px;
font-family: var(--ff-calibri);
font-weight: var(--fw-600);
word-wrap: break-word;
overflow-wrap: break-word;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.food-menu-card .price-text {
color: var(--AJsystem-berry);
text-transform: uppercase;
padding-inline-end: 5px;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
}
.food-menu-card .price { color: var(--AJsystem-blue); }
.food-menu-card .del { color: var(--AJsystem-disabled-color); }
/*-----------------------------------*\
#CTA
\*-----------------------------------*/
.cta {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
text-align: center;
overflow: hidden;
}
.cta::before {
bottom: auto;
top: 0;
background-image: url("./assets/images/3f94b028-7edd-473e-9013-af3cd7b93167.webp");
transform: scaleY(-1);
}
.cta .section-title {
color: var(--AJsystem-blue);
line-height: 1.5;
letter-spacing: -2px;
max-width: 17ch;
margin-inline: auto;
}
.cta .section-text {
color: var(--AJsystem-berry);
margin-block: 25px 20px;
}
.cta .btn {
margin-inline: auto;
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
.cta .btn:is(:hover, :focus) {
background-color: var(--AJsystem-blue);
color: var(--AJsystem-black);
font-family: var(--ff-museomoderno);
}
.cta-banner {
position: relative;
aspect-ratio: 1 / 0.9;
}
.cta-img { transform: scale(1.3) translateY(60px); }
.cta-banner .abs-img {
top: 50px;
left: 10px;
}
/*-----------------------------------*\
#DELIVERY
\*-----------------------------------*/
.delivery-content { margin-block-end: 40px; }
.delivery .section-title {
max-width: 17ch;
line-height: 1.6;
letter-spacing: -2px;
}
.delivery .section-text { margin-block: 15px 25px; }
.delivery-banner {
position: relative;
aspect-ratio: 1 / 0.86;
}
.delivery-img {
position: absolute;
top: 0;
left: 0;
transform: translateY(250px);
transition: var(--transition-2);
}
/*-----------------------------------*\
#TESTIMONIALS
\*-----------------------------------*/
.testi { text-align: center; }
.testi .section-title { margin-block: 10px 20px; }
.testi .section-text {
max-width: 44ch;
margin-inline: auto;
margin-block-end: 30px;
}
.testi-card {
background-color: var(--AJsystem-white);
padding: 40px;
text-align: left;
box-shadow: var(--shadow-2);
}
.testi-card .profile-wrapper {
display: flex;
align-items: center;
gap: 15px;
}
.testi-card .avatar {
min-width: max-content;
border-radius: 50%;
overflow: hidden;
}
.testi-card .testi-name { margin-block-end: 2px; }
.testi-card .testi-title {
font-family: var(--ff-museomoderno);
font-size: var(--fs-4);
}
.testi-card .testi-text { margin-block: 20px 15px; }
.testi-item {
min-width: 100%;
scroll-snap-align: start;
}
/*-----------------------------------*\
#BANNER
\*-----------------------------------*/
.banner { color: var(--AJsystem-white); }
.banner-list {
display: grid;
gap: 10px;
}
.banner-lg { height: 430px; }
.banner-sm { height: 200px; }
.banner-md { height: 240px; }
.banner-card {
position: relative;
height: 100%;
box-shadow: var(--shadow-2);
overflow: hidden;
}
.banner-card .banner-img {
background-color: var(--AJsystem-search-color);
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1);
transition: var(--transition-2);
}
.banner-card:is(:hover, :focus-within) .banner-img { transform: scale(1.05); }
.banner-item-content {
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 20px;
right: 20px;
max-height: calc(100% - 30px);
}
.banner-md .banner-item-content { left: 50%; }
.banner-subtitle,
.banner-title {
font-family: var(--ff-museomoderno);
font-weight: var(--fw-600);
line-height: 1.2;
letter-spacing: -0.5px;
}
.banner-lg .banner-subtitle {
font-size: var(--fs-2);
margin-block-end: 10px;
}
.banner-lg .banner-title {
font-size: var(--fs-1);
max-width: 16ch;
}
:is(.banner-md, .banner-sm) .banner-title {
font-size: var(--fs-2);
max-width: 10ch;
}
.banner-card .banner-text { margin-block: 10px 15px; }
.banner-card .btn {
--bg-color: var(--AJsystem-glow);
--height: 40px;
--padding-inline: 25px;
}
.banner-card .btn:is(:hover, :focus) { background-color: var(--AJsystem-black-intense); }
/*-----------------------------------*\
#BLOG
\*-----------------------------------*/
.blog { text-align: center; }
.blog .section-title { margin-block: 10px 20px; }
.blog .section-text {
margin-block-end: 40px;
max-width: 44ch;
margin-inline: auto;
}
.blog-list {
display: grid;
gap: 30px;
}
.blog-card {
background-color: var(--AJsystem-white);
text-align: left;
box-shadow: var(--shadow-2);
}
.blog-card .card-banner {
position: relative;
aspect-ratio: 1 / 0.65;
background-color: var(--AJsystem-search-color);
}
.blog-card .badge {
top: 20px;
right: 20px;
font-family: var(--ff-museomoderno);
text-transform: uppercase;
--bg-color: var(--AJsystem-glow);
--padding-block: 5px;
}
.blog-card .card-content { padding: 30px; }
.blog-card .card-meta-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
gap: 12px 20px;
}
.blog-card .card-meta-link {
display: flex;
align-items: center;
gap: 10px;
}
.blog-card .card-meta-link ion-icon {
color: var(--AJsystem-glow);
font-size: 1.5rem;
--ionicon-stroke-width: 60px;
}
.blog-card :is(.meta-info, .btn-link) {
color: var(--AJsystem-black-intense);
font-family: var(--ff-museomoderno);
font-size: var(--fs-5);
font-weight: var(--fw-600);
text-transform: uppercase;
line-height: 1;
transition: var(--transition-1);
}
.blog-card .card-meta-link:is(:hover, :focus) .meta-info {
color: var(--AJsystem-blue);
}
.blog-card .card-title {
font-size: var(--fs-3);
margin-block: 20px 15px;
transition: var(--transition-1);
}
.blog-card .card-title:is(:hover, :focus) {
opacity: 0.8;
text-decoration: underline;
}
.blog-card .card-text { margin-block-end: 20px; }
.blog-card .btn-link {
display: flex;
align-items: center;
gap: 5px;
}
.blog-card .btn-link ion-icon { font-size: 1.5rem; }
.blog-card .btn-link:is(:hover, :focus) {
color: var(--AJsystem-blue);
gap: 10px;
}
/*-----------------------------------*\
#FOOTER
\*-----------------------------------*/
.footer { overflow: hidden; }
.footer-top {
position: relative;
padding-block: 70px;
background-repeat: no-repeat;
background-size: contain;
background-position: bottom;
border-block-end: 2px solid var(--AJsystem-berry);
}
.footer-top::after {
content: url(./assets/images/8cb015bf-0b77-407e-b0f4-4a32af3b9ed5.svg);
position: absolute;
bottom: -11px;
left: -160px;
width: 160px;
animation: running-cycle 20s linear infinite;
display: none;
}
@keyframes running-cycle {
0% { left: -160px; }
100% { left: 100%; }
}
.footer-top .container {
display: grid;
gap: 30px;
}
.footer .logo {
color: var(--AJsystem-black-intense);
font-size: 3.2rem;
}
.footer-text { margin-block: 15px 25px; }
.social-list {
display: flex;
gap: 5px;
}
.social-link {
background-color: var(--AJsystem-berry);
color: var(--AJsystem-white);
font-size: 1.5rem;
padding: 10px;
transition: var(--transition-1);
}
.social-link:is(:hover, :focus) { background-color: var(--AJsystem-glow); }
.footer-list-title {
position: relative;
max-width: max-content;
color: var(--AJsystem-black-intense);
font-family: var(--ff-museomoderno);
font-size: var(--fs-3);
font-weight: var(--fw-600);
letter-spacing: -1px;
margin-block-end: 20px;
}
.footer-list-title::after {
content: "";
position: absolute;
top: 50%;
transform: translateY(-50%);
left: calc(100% + 15px);
background-color: var(--AJsystem-blue);
width: 40px;
height: 4px;
border-inline-end: 5px solid var(--AJsystem-blue);
box-shadow: inset -5px 0 0 var(--AJsystem-white);
}
.footer-list > li:not(:last-child) { margin-block-end: 15px; }
.footer-list address { max-width: 20ch; }
.footer-form {
background-color: var(--AJsystem-white);
padding: 30px;
border: 1px solid var(--AJsystem-soft-white);
box-shadow: var(--shadow-2);
}
.input-wrapper {
display: grid;
gap: 10px;
margin-block-end: 10px;
}
.input-field {
color: var(--AJsystem-input-color);
font-size: var(--fs-4);
border: 1px solid var(--AJsystem-soft-white);
padding: 8px 12px;
}
.input-field::placeholder { color: var(--AJsystem-input-color); }
.input-field::-webkit-calendar-picker-indicator { opacity: 0.5; }
textarea.input-field {
min-height: 50px;
max-height: 150px;
height: 100px;
resize: vertical;
margin-block-end: 10px;
}
.footer-form .btn {
font-size: var(--fs-15);
--height: 40px;
--padding-inline: 25px;
}
.footer-form .btn:is(:hover, :focus) { background-color: var(--AJsystem-berry); color: var(--AJsystem-white); }
.footer-bottom {
padding-block: 20px;
text-align: center;
color: var(--AJsystem-berry);
}
.copyright-link { display: inline-block; }
.copyright-link:is(:hover, :focus) { text-decoration: underline; }
/*-----------------------------------*\
#MEDIA QUERIES
\*-----------------------------------*/
/**
* responsive for larger than 480px screen
*/
@media (min-width: 320px) {
.food-menu-card{
width: 70%;
}
.about-list .about-item {
display: flex;
justify-content: left;
align-items: left;
text-align: left;
gap: 10px;
}
.price-text {
text-align: center;
}
.about-banner .abs-img {
top: -70px;
position: absolute;
width: 40%;
}
}
@media (min-width: 375px) {
.food-menu-card{
width: 90%;
}
.about-list .about-item {
display: flex;
justify-content: left;
align-items: left;
text-align: left;
gap: 10px;
}
.about-banner .w-100 {
width: 60%;
}
.about-banner .abs-img {
top: -100px;
left: -5px;
position: absolute;
width: 31%;
}
}
@media (min-width: 480px) {
/**
* HEADER
*/
.header-btn-group .btn {
display: block;
--bg-color: var(--AJsystem-glow);
}
.header-btn-group .btn:hover {
color: var(--AJsystem-white);
}
.AJsystem .container img{
width: 100%;
}
.about-list .about-item {
display: flex;
justify-content: left;
align-items: left;
text-align: left;
gap: 10px;
}
.about-banner .w-100 {
width: 70%;
}
.food-menu-list .food-menu-card{
width: 80%;
}
.about-banner .abs-img {
top: -100px;
left: -5px;
position: absolute;
width: 31%;
}
}
.AJsystem .container img{
width: 100%;
}
/**
* responsive for larger than 550px screen
*/
@media (min-width: 550px) {
/**
* REUSED STYLE
*/
.container {
max-width: 550px;
width: 100%;
margin-inline: auto;
}
.has-scrollbar > li { min-width: calc(50% - 5px); }
.AJsystem .container img{
width: 100%;
}
/**
* HERO
*/
.AJsystem-title { --fs-1: 4.2rem; }
/**
* FOOTER
*/
.footer-top .container { grid-template-columns: 1fr 1fr; }
.food-menu-list .food-menu-card{
width: 100%;
}
.about-banner .abs-img {
top: -100px;
left: -5px;
position: absolute;
width: 31%;
}
}
/**
* responsive for larger than 768px screen
*/
@media (min-width: 768px) {
/**
* REUSED STYLE
*/
.container { max-width: 720px; }
.AJsystem .container img{
width: 50%;
}
/**
* HERO
*/
.AJsystem {
position: relative;
text-align: left;
overflow: hidden;
z-index: 1;
}
.AJsystem-content > :is(*, .btn) { margin-inline: 0; }
.AJsystem-banner {
display: block;
position: absolute;
top: calc(50% + 86px);
transform: translateY(-50%);
right: 150px;
max-width: 40%;
aspect-ratio: 1 / 0.9;
}
.AJsystem-img {
position: absolute;
bottom: 0;
}
.AJsystem::after {
content: "";
position: absolute;
right: 0;
bottom: -2px;
width: 100%;
height: 100%;
background-image: url("./assets/images/backgroung_fondo.png");
background-repeat: no-repeat;
background-size: contain;
background-position: right bottom;
pointer-events: none;
z-index: -1;
}
/**
* ABOUT
*/
.about .container {
display: grid;
grid-template-columns: 20em 21em;
gap: 30px;
}
.about-banner .w-100{
width: 85%;
}
.about-banner .abs-img{
width: 40%;
top: -91px;
position: absolute;
left: -20px;
}
.about { text-align: left; }
.about .section-title { margin-block-start: 0; }
.about :is(.section-title, .btn) { margin-inline: 0; }
.about-item { justify-content: flex-start; }
/**
* FOOD MENU
*/
.food-menu-list { grid-template-columns: 21em 21em; }
.food-menu-card :is(.wrapper, .price-wrapper) { justify-content: flex-start; }
.food-menu-card .card-title {
text-align: center;
font-family: var(--ff-calibri);
font-size: 1.9rem;
}
/**
* CTA
*/
.cta .container {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
gap: 30px;
}
.cta { text-align: left; }
.cta :is(.section-title, .btn) { margin-inline: 0; }
.cta-img { transform: scale(1.3) translate(90px, 20px); }
/**
* DELIVERY
*/
.delivery .container {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
gap: 50px;
}
/**
* BANNER
*/
.banner-list { grid-template-columns: repeat(4, 1fr); }
.banner-lg {
grid-column: 1 / 3;
grid-row: 1 / 3;
}
.banner-md {
grid-column: 3 / 5;
grid-row: 2 / 3;
height: 220px;
}
/**
* BLOG
*/
.blog-list { grid-template-columns: 1fr 1fr; }
.blog-card { height: 100%; }
/**
* FOOTER
*/
.input-wrapper { grid-template-columns: 1fr 1fr; }
}
/**
* responsive for larger than 992px screen
*/
@media (min-width: 992px) {
/**
* CUSTOM PROPERTY
*/
:root {
/**
* spacing
*/
--section-padding: 120px;
}
.AJsystem .container img{
width: 50%;
}
/**
* REUSED STYLE
*/
.container { max-width: 960px; }
.has-scrollbar > li { min-width: calc(33.33% - 6.66px); }
.h2 { --fs-1: 4.2rem; }
/**
* HEADER
*/
.nav-toggle-btn { display: none; }
.header .container { gap: 20px; }
.navbar,
.navbar.active {
all: unset;
margin-inline-start: auto;
}
.navbar-list {
margin-block: 0;
display: flex;
gap: 5px;
}
.nav-item:not(:last-child) { border-block-end: none; }
.navbar-link {
--fs-4: 1.5rem;
color: var(--btn-color);
letter-spacing: -0.5px;
}
/**
* HERO
*/
.AJsystem {
min-height: 660px;
display: grid;
/*
align-items: center;
*/
}
.AJsystem-subtitle { --fs-3: 3.2rem; }
.AJsystem-title {
--fs-1: 5rem;
letter-spacing: -2.5px;
}
.AJsystem-text { font-size: var(--fs-3); }
.AJsystem-banner {
max-width: 30%;
top: auto;
bottom: 0;
transform: translateY(0);
}
.AJsystem-img-bg { transform: scale(1.4) translate(20px, -20px); }
.AJsystem-inline {
display: inline-block;
}
/**
* ABOUT MENU
*/
.about .container {
display: grid;
grid-template-columns: 30em 28em;
gap: 30px;
}
.about-banner .w-100{
width: 60%;
}
/**
* FOOD MENU
*/
.food-menu-list { grid-template-columns: repeat(3, 18em); }
.food-menu-card { height: 100%; }
/**
* CTA
*/
.cta-img { transform: scale(1.4) translate(20px, 150px); }
.cta-banner .abs-img { left: -50px; }
:is(.cta, .delivery) .section-title { line-height: 1.2; }
/**
* BANNER
*/
.banner-lg .banner-title {
--fs-1: 3.6rem;
letter-spacing: -2px;
}
:is(.banner-md, .banner-sm) .banner-title,
.banner-lg .banner-subtitle { --fs-2: 3.2rem; }
/**
* TESTIMONIALS
*/
.testi-list { padding-block-end: 0; }
/**
* BLOG
*/
.blog-list { grid-template-columns: repeat(3, 1fr); }
.blog-card .card-title { --fs-3: 2.2rem; }
/**
* FOOTER
*/
.footer-top .container { grid-template-columns: 1fr 1fr 1fr 1.6fr; }
.footer-form { margin-block-start: -30px; }
/**
* BACK TO TOP
*/
.back-top-btn {
bottom: 20px;
right: 30px;
}
}
/**
* responsive for larger than 1200px screen
*/
@media (min-width: 1200px) {
/**
* REUSED STYLE
*/
.container { max-width: 1200px; }
/**
* HERO
*/
.AJsystem { min-height: 770px; }
.AJsystem .container img{
width: 50%;
}
/**
* PROMO
*/
.promo .promo-item { min-width: calc(25% - 7.5px); }
/**
* ABOUT
*/
.about .container {
display: grid;
grid-template-columns: 35em 35em;
gap: 60px;
}
.about-banner .w-100 {
width: 50%;
}
/**
* FOOD MENU
*/
.food-menu-list { grid-template-columns: repeat(3, 24em); }
.food-menu-card { height: 100%; }
/**
* CTA
*/
.cta { --section-padding: 60px; }
.cta .section-title { max-width: 18ch; }
/**
* BANNER
*/
.banner-md .banner-item-content { left: 55%; }
/**
* FOOTER
*/
.footer-top .container { grid-template-columns: 1.4fr 1fr 1fr 1.6fr; }
}
.flip-img {
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
transform: scale(-1, 1);
filter: FlipH;
}
.banner-md .banner-item-content {
left: 20px;
}