-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (117 loc) · 2.51 KB
/
style.css
File metadata and controls
139 lines (117 loc) · 2.51 KB
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
*{
margin: 0;
padding: 0;
}
.about-us{
display: flex;
justify-content: center;
align-items: center;
padding: 100px 50px 100px 50px;
}
.image{
width: 500px;
height: 350px;
/* padding: 80px;*/
margin-right: 60px;
overflow: hidden;
position: relative;
border-radius: 30px;
}
.image::after{
content: "";
display: block;
width: 50%;
height: 190%;
background-color: #051d85cb;
position: absolute;
top: 0;
left: 0;
/* opacity: .7; */
transform: rotate(125deg);
}
.image:hover::after{
background-color: rgba(9, 11, 119, 0.671);
width: 100%;
transform: rotate(180deg);
transition: transform 2s ease-in-out;
}
.image, img{
width: 500px;
height: 350px;
}
.image:hover img {
transform: scale(1.8);
transition: transform 3s ease-in-out;
}
.about-txt{
width: 50%;
}
.about-txt h2{
font-weight: 700;
font-size: 35px;
margin-bottom: 20px;
}
.about-txt p{
font-size: 19px;
margin-bottom: 20px;
font-family:sans-serif;
line-height: 25px;
color: #333232;
}
.about-txt button{
background: #051d85;
width: 150px;
height: 40px;
color: #ffff;
font-size: 19px;
font-family:sans-serif;
font-weight: 500;
text-align: center;
border: 2px solid #051d85;
border-radius: 50px;
transition: .6s ease-in-out ;
box-shadow: #0a259e88 3px 5px 20px;
}
button:hover{
background: #ffff;
color: #051d85;
box-shadow: #051d85 20px 21px;
}
@media (max-width:768px) {
.about-us{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0;
margin: 50px;
}
.image{
margin: 0 50px 0 50px;
width: 100%;
border-radius: 30px;
padding: 0;
}
.image,
img {
width: 440px;
height: 300px;}
.about-txt{
margin: 0 50px 0 50px ;
padding: 50px;
width: 100%;
/* text-align: center; */
}
.about-txt button{
width: 130px;
height: 40px;
}
}
@media (min-width:769px){
.about-us {
display: flex;
/* flex-direction: column; */
/* flex-wrap: wrap; */
justify-content: center;
}
}