AMPERION_Webpage/assets/scss/style.scss
2025-07-23 16:46:21 +02:00

263 lines
5.9 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Color Variables
{{ with site.Params.variables }}
$color-primary: {{.color_primary | default "#fff"}};
$color-secondary: {{.color_secondary | default "#0AA8A7"}};
$text-color: {{.text_color | default "#777"}};
$text-dark: {{.text_dark | default "#222"}};
$text-light: {{.text_light | default "#737373"}};
$body-bg: {{.body_color | default "#fff"}};
$border-color: {{.border_color | default "#ECECEC"}};
$black: {{.black | default "#000"}};
$white: {{.white | default "#fff"}};
$light: {{.light | default "#EDF6F5"}};
// Font Variables
$font-size: {{.font_size | default "16px"}};
$font-scale: {{.font_scale | default "1.25"}};
$font-primary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_primary | default "Lato") "+" " "}}', {{.font_primary_type | default "sans-serif"}};
$font-secondary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_secondary | default "Lato") "+" " "}}', {{.font_secondary_type | default "sans-serif"}};
$font-tertiary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_tertiary | default "Dosis") "+" " "}}', {{.font_tertiary_type | default "sans-serif"}};
$font-quaternary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_quaternary | default "Edu") "+" " "}}', {{.font_quaternary_type | default "sans-serif"}};
$font-icon: '{{.font_icon | default "Font Awesome 5 Free"}}';
{{ end }}
$h1: 80px;
$h1-md: 34px;
$h2: 28px;
$h2-md: 26px;
$h2-sm: 22px;
$h3: 20px;
$h4: 25px;
@import 'mixins.scss';
@import 'media-query.scss';
@import 'typography.scss';
@import 'common.scss';
@import 'main.scss';
@import 'templates/_header.scss';
@import 'templates/_navigation.scss';
@import 'templates/_slider.scss';
@import 'templates/_call-to-action.scss';
@import 'templates/_service.scss';
@import 'templates/_feature.scss';
@import 'templates/_portfolio.scss';
@import 'templates/_testimonial.scss';
@import 'templates/_contact.scss';
@import 'templates/_pricing.scss';
@import 'templates/_products.scss';
@import 'templates/_single-product.scss';
@import 'templates/_clients.scss';
@import 'templates/_about.scss';
@import 'templates/_instagram.scss';
@import 'templates/_user-dashboard.scss';
@import 'templates/_single-post.scss';
@import 'templates/_backgrounds.scss';
@import 'templates/_blog-sidebar.scss';
@import 'templates/_blog.scss';
@import 'templates/_coming-soon.scss';
@import 'templates/_shopping.scss';
@import 'templates/_404.scss';
@import 'templates/_message-sent.scss';
@import 'templates/_footer.scss';
@import 'custom.scss';
html {
scroll-behavior: smooth;
}
/* 1) Die .logo-container bekommt 80% Breite => 10% links und 10% rechts frei */
.logo-container {
width: 80%;
margin: 0 auto; /* Zentriert sich, lässt links und rechts je 10% Platz */
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 20px; /* Abstand zwischen Frame 1 & Frame 2 */
}
/* 2) Frame 1 (40%) und Frame 2 (60%) */
.frame1 {
flex: 0 0 40%;
display: flex;
justify-content: center;
align-items: center;
}
.frame2 {
flex: 0 0 60%;
display: flex;
justify-content: center;
align-items: center;
}
/* 3) Banner-Logos selbst: Standard erst auf opacity:0, Animation blendet sie ein */
.banner-logo {
max-width: 100%;
height: auto;
opacity: 0;
}
/* 4) ANIMATIONEN */
/* Frame 1 Move-In: Wir animieren gezielt das Bild */
.frame1 .banner-logo {
animation: moveIn 1s forwards;
}
/* Frame 2 Fade-In: Wir animieren gezielt das Bild */
.frame2 .banner-logo {
animation: moveIn 1s 0.5s forwards;
}
/* Keyframes */
@keyframes moveIn {
from {
transform: translateX(50px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* 5) TITEL-FADE-IN (optional) */
.fade-in-title {
opacity: 0;
animation: fadeTitle 1.5s forwards 1s;
}
@keyframes fadeTitle {
to { opacity: 1; }
}
/* 6) (Optional) Responsive unter 768px => Frames untereinander */
@media (max-width: 768px) {
.logo-container {
flex-direction: column;
width: 90%; /* Mehr Platz, Bilder untereinander */
}
.frame1, .frame2 {
flex: 0 0 auto;
width: 100%;
margin-bottom: 20px;
}
}
.custom-container {
max-width: 1800px; /* oder was du möchtest */
margin: 0 auto;
padding-left: 30px;
padding-right: 30px;
}
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #ffffff;
margin: 0;
padding: 20px;
}
.services-title {
margin-top: 50px;
color: #046e6e;
}
.services-description {
color: black;
margin-bottom: 50px;
}
/* Standard-Desktop-Layout */
.services-section {
background-color: #f1f1f1; /* Hintergrundfarbe der Sektion auf Schwarz setzen */
padding: 40px 0; /* Padding für die Sektion */
width: 100%; /* Volle Breite */
box-sizing: border-box; /* Padding in der Breite berücksichtigen */
}
.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr); /* Drei Spalten für Desktop */
gap: 20px;
max-width: 1200px;
margin: 0 auto; /* Zentriert das Raster */
padding: 0 20px; /* Optional: Padding für kleinere Bildschirme */
}
.service-card {
background-color: #f1f1f1; /* Hintergrundfarbe der Boxen auf Schwarz setzen */
color: white; /* Textfarbe auf Weiß setzen für bessere Lesbarkeit */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
padding: 20px;
box-sizing: border-box;
}
.service-icon {
width: 60px;
height: 60px;
margin-bottom: 15px;
}
.service-card-title {
color: black; /* Titel-Textfarbe auf Weiß setzen */
margin-bottom: 10px;
}
.service-card-description {
color: black; /* Hellgraue Farbe für den Beschreibungstext */
font-size: 14px;
}
/* Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
.services-grid {
grid-template-columns: 1fr; /* Eine Spalte für Mobilgeräte */
}
}