AMPERION_Webpage/assets/scss/custom.scss
2025-07-29 19:10:33 +02:00

257 lines
4.1 KiB
SCSS

.title-custom {
color: #046e6e;
}
.text-center {
text-align: center;
}
.text-justify {
text-align: justify;
}
section {
margin-bottom: 0px;
}
#welcome.section, #service.section {
padding-top: 90px;
padding-bottom: 4px;
}
.description {
font-size: 22px;
line-height: 1.5;
padding-top: 90px;
padding-bottom: 1px;
@media (max-width: 768px) {
font-size: 18px;
padding-top: 70px;
}
@media (max-width: 480px) {
font-size: 16px;
padding-top: 50px;
}
}
.facts .fact-item {
padding: 15px;
}
.fact-image {
height: 250px;
width: auto;
object-fit: contain;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.custom-background {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.service-arrow .block {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
border-radius: 100px;
color: #8a0909;
}
.service-content {
flex: 1;
}
.service-icon, .service-image {
margin: 0;
}
.service-image img {
max-width: 600px;
height: auto;
display: block;
}
.bg-service1, .bg-service3, .bg-service5, .bg-service7 {
background-color: #8bcfd6;
}
.bg-service2, .bg-service4, .bg-service6, .bg-service8 {
background-color: #6baeb5;
}
.fixed-width {
width: 1200px;
}
.fixed-text {
width: 600px;
margin-right: 15px;
}
.page-title::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background-color: #ffffff;
z-index: -1;
}
.service-grid {
display: grid;
gap: 30px;
grid-template-columns: repeat(3, 1fr);
@media (max-width: 992px) {
grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 576px) {
grid-template-columns: 1fr;
}
}
.service-item-fixed {
width: 100%;
border-radius: 10px;
overflow: hidden;
position: relative;
}
.zoom-wrap {
transition: transform 0.3s ease;
width: 100%;
height: 100%;
position: relative;
}
.service-item-fixed:hover .zoom-wrap {
transform: scale(1.06);
}
.zoom-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.zoom-wrap a {
display: block;
text-decoration: none;
color: inherit;
}
.zoom-wrap .overlay {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.overlay-text {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 2.3em;
font-weight: bold;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
z-index: 2;
}
.my-container {
width: 80%;
margin: 0 auto;
}
.gif-background {
background-image: url('/images/BackgroundAnimation.svg');
background-size: cover;
background-position: center -220px;
background-repeat: no-repeat;
position: relative;
}
.gif-background::after {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-color: rgba(255, 255, 255, 0.8);
}
.custom-image {
width: 100px;
max-width: 70%;
height: auto;
}
.custom-title {
color: #046e6e;
}
.hover-link {
transition: color 0.3s ease;
}
.hover-link:hover {
color: #F5A623;
}
/* Mehrwert */
.mehrwerte-grid {
display: grid;
gap: 0;
grid-template-columns: repeat(1, 1fr);
@media (min-width: 768px) {
grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1200px) {
grid-template-columns: repeat(4, 1fr);
}
}
.mehrwerte-box {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
padding: 30px;
border-radius: 8px;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
&:hover {
background-color: lighten(#004d4d, 10%);
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
h4,
p {
color: #000 !important;
transition: color 0.3s ease;
}
&:hover h4,
&:hover p {
color: #000 !important;
}
}
.mehrwert-icon {
filter: invert(74%) sepia(39%) saturate(2198%) hue-rotate(344deg) brightness(101%) contrast(92%);
}
/* Gründerteam Styling */
.container-fluid {
max-width: 100%;
padding-left: 5vw;
padding-right: 5vw;
}