-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
141 lines (134 loc) · 2.25 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
line-height: 1.4;
font-weight: 300;
font-family: "Roboto", sans-serif;
}
.hero_section {
background-image: url(mervan4.jpeg);
min-height: 100vh;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.text_container {
color: black;
max-width: 900px;
margin: 0 auto;
padding-left: 16px;
}
.lg_text {
font-size: 72px;
font-weight: 400;
}
.black_box {
background-color: #000;
padding: 20px;
}
.black_box h2 {
font-size: 72px;
color: white;
text-align: center;
font-weight: 300;
}
.black_box h2 span {
font-weight: 400;
font-size: 96px;
}
.work {
display: grid;
gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
max-width: 1100px;
margin: 50px auto;
}
.grid_item {
display: flex;
justify-content: center;
align-items: center;
}
.card {
max-width: 320px;
height: 400px;
border-radius: 10px;
box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.2);
transition: 0.2s ease-in-out;
}
.card:hover {
transform: scale(1.04);
box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.3);
transition: 0.2s ease-in-out;
}
.card_content {
padding: 20px;
}
.card_content h3 {
margin-bottom: 10px;
}
.bottom_section {
display: flex;
}
.contact {
background-color: #515603;
}
.about {
background-color: #722300;
width: 100%;
}
.contact,
.about {
min-height: 300px;
padding: 32px;
color: white;
}
.about h2,
.contact h2 {
font-size: 64px;
font-weight: 300;
}
.about p,
.contact p {
margin-bottom: 20px;
}
footer {
text-align: center;
text-transform: uppercase;
background-color: #000;
padding: 20px;
color: white;
}
@media (max-width: 786px) {
.hero_section {
min-height: 50vh;
}
.text_container {
padding: 10px 0;
text-align: center;
}
.lg_text {
font-size: 32px;
}
.black_box h2 {
font-size: 24px;
}
.black_box h2 span {
font-weight: 400;
font-size: 32px;
}
.bottom_section {
flex-direction: column;
}
h1 {
font-size: 32px;
}
.about h2,
.contact h2 {
font-size: 32px;
}
}