-
Notifications
You must be signed in to change notification settings - Fork 1
/
websites.css
156 lines (128 loc) · 2.16 KB
/
websites.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
:root {
--color1: #111111;
--color2: #AF40FF;
--color3: #276FCF;
--color4: #fff;
--color5: #5B42F3;
}
section,
main {
padding: 0 10%;
}
body {
padding-top: 10vh;
}
main {
display: flex;
height: 80vh;
color: #fff;
align-items: center;
justify-content: space-around;
background-color: #276FCF;
gap: 10%;
}
main img {
width: 60%;
clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}
h2 {
text-align: center;
padding: 3em 0;
font-size: 1.7em;
}
.main-text {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 400px;
font-size: 20px;
}
.section1 {
display: flex;
height: 25rem;
gap: 1rem;
padding: 5% 10%;
background-image: linear-gradient(180deg, #fff 50%, #276FCF 50%);
}
.section1>div {
flex: 1;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
transition: all 1s cubic-bezier(0.8, 1, 1, 1);
filter: grayscale(30%)
}
.section1>div:hover {
flex: 5;
filter: grayscale(0);
}
.section1 h2 {
text-align: center;
}
.section2 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2% 10%;
background-color: #276FCF;
color: #fff;
min-height: 100vh;
overflow-x: hidden;
}
.section2 h2 {
text-align: center;
padding: 3% 0;
color: #fff;
}
.benefits {
display: flex;
justify-content: space-around;
gap: 20px;
}
.web-item {
display: flex;
width: 13em;
padding: 1.6em;
min-height: 16em;
flex-direction: column;
align-items: center;
text-align: center;
border: 2px solid #fff;
}
.web-item img {
width: 100px;
}
/** -----------------------carrossel ------------------------ **/
.container {
padding: 0 0 15% 0;
background-color: #fff;
}
.container h2 {
text-align: center;
padding-bottom: 20px;
}
.tns-nav {
text-align: center;
margin-top: 15px;
margin-bottom: 15px;
}
.tns-nav button {
height: 14px;
width: 14px;
background-color: #ffffff;
border: none;
margin-left: 7px;
border-radius: 50%;
}
.tns-nav .tns-nav-active {
background-color: black;
}
@media (max-width:900px) {
main {
flex-direction: column;
}
.benefits {
flex-direction: column;
}
}