TeleQom.org/css/sections/services.css

67 lines
1.1 KiB
CSS

.services {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--background-color-2);
text-align: justify;
}
.services h2 {
margin-bottom: 5rem;
}
.services .service {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
max-width: 70%;
padding: 2rem;
margin: 2rem 0;
border-radius: 1rem;
background: var(--background-color-1);
box-shadow: 0.1rem 0.1rem 0.5rem 0.1rem var(--box-shadow);
}
.services .service img {
width: 5rem;
height: 5rem;
margin: 1rem;
}
.services .service .service-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.services .service .service-content p {
margin: 2rem;
}
.services .service h3 {
margin-bottom: 1rem;
}
@media only screen and (max-width: 1200px) {
.services .service {
flex-direction: column;
text-align: center;
padding: 2rem 0.5rem;
max-width: 80%;
}
.services .service .service-content {
padding: 0.5rem;
}
}
@media only screen and (max-width: 500px) {
.services .service {
max-width: 90%;
}
}