Files
itzmineydev/src/app/services/services.component.css
T
2026-03-16 00:20:57 +01:00

247 lines
3.9 KiB
CSS

@keyframes fadeIn {
0% {
opacity: 0;
visibility: hidden;
}
100% {
opacity: 1;
visibility: visible;
}
}
.services-container {
position: relative;
color: white;
padding-bottom: 60px;
max-width: 960px;
margin: 0 auto;
font-family: 'Roboto', sans-serif;
}
.height-container {
min-height: 100vh;
align-content: center;
}
.services-header {
text-align: center;
}
.services-header h1 {
font-size: 2.5rem;
background: transparent;
border-left: 6px solid white;
border-right: 6px solid white;
border-radius: 12px;
margin: 8px auto 8px auto;
max-width: 280px;
padding: 10px;
}
.services-header .subtitle {
font-size: 1.2rem;
font-style: italic;
margin-bottom: 30px;
}
.service-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
align-items: flex-start;
margin-top: 30px;
font-family: "Roboto", sans-serif;
}
.service-item {
width: 450px;
text-align: center;
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease-in-out;
}
.service-item:hover {
transform: scale(1.05);
}
.service-item span {
font-size: 1.0rem;
font-weight: 400;
color: white;
}
.service-card {
background: linear-gradient(135deg, #321950, #6D4493);
border-radius: 35px;
border: none;
padding: 25px;
text-align: center;
color: white;
height: 525px;
overflow: hidden;
scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
scrollbar-gutter: unset;
}
.tab-toggle {
position: relative;
display: flex;
background: rgba(74, 69, 96, 0.8);
border-radius: 50px;
overflow: hidden;
padding: 5px;
width: 220px;
height: 35px;
margin: 15px auto;
}
.tab-slider {
position: absolute;
top: 5px;
left: 5px;
height: calc(100% - 10px);
width: calc(50% - 5px);
background: rgba(187, 107, 209, 0.5);
border-radius: 50px;
transition: all 0.3s ease;
z-index: 1;
}
.tab-slider:hover {
background: rgb(86, 80, 112);
}
.tab-slider.right {
left: 50%;
}
.tab-option {
flex: 1;
border: none;
background: transparent;
color: white;
font-weight: bold;
font-size: 1rem;
padding: 10px 0;
z-index: 2;
cursor: pointer;
transition: color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.tab-option.active {
color: white;
}
.tab-option:not(.active) {
color: rgba(255, 255, 255, 0.6);
}
.tab-option:disabled {
color : #2e2940;
text-decoration: line-through;
cursor: not-allowed;
}
.buy-button {
background-color: rgba(187, 107, 209, 0.5);
border: none;
border-radius: 25px;
color: white;
padding: 10px 20px;
margin-inline: 15px;
margin-top: 20px;
font-size: 1rem;
cursor: pointer;
min-width: 100px;
display: inline-block;
text-decoration: none;
}
.buy-button:hover {
background-color: rgba(187, 107, 209, 0.62);
}
.tab-content {
font-size: 0.9rem;
white-space: pre-line;
text-wrap: pretty;
text-align: left;
overflow-y: scroll;
height: 340px;
background: rgba(0, 0, 0, 0.15);
border-radius: 15px;
padding: 10px;
}
:host ::ng-deep .centered-text {
display: block;
text-align: center;
margin-top: 20px;
margin-bottom: 10px;
}
.contact-button {
text-align: center;
margin-top: 30px;
margin-bottom: 50px;
}
.contact-btn {
background-color: #d13e6d;
color: white;
border: none;
padding: 12px 25px;
font-size: 1.2rem;
border-radius: 25px;
cursor: pointer;
}
.contact-btn:hover {
background-color: #FF3C75;
}
.text-content p {
font-size: 1.2rem;
font-weight: 400;
margin-bottom: 10px;
text-align: center;
}
::ng-deep .text-content a {
color: cornflowerblue;
}
hr.rounded {
border: 2px solid white;
width: 40px;
max-width: 40px;
border-radius: 5px;
}
@media (max-width: 768px) {
.services-container {
padding: 20px 10px;
}
.services-header h1 {
font-size: 2rem;
}
.service-cards {
flex-direction: column;
}
.service-item {
width: 100%;
}
}
a {
color: white;
}