-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
210 lines (187 loc) · 3.92 KB
/
styles.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
@font-face {
font-family: "Thelamonblack400";
src: url("./assets/fonts/Thelamonblack400.otf");
}
@font-face {
font-family: "avenir-roman";
src: url("./assets/fonts/avenir-roman.ttf");
}
@font-face {
font-family: "avenir-heavy";
src: url("./assets/fonts/AvenirHeavy.ttf");
}
@font-face {
font-family: "avenir-light";
src: url("./assets/fonts/AvenirLight.ttf");
}
/* front section */
.container {
display: flex;
height: 100vh; /* Ensures the container takes up the full viewport height */
align-items: center;
justify-content: center;
}
.shitcont {
text-align: center;
}
.heading {
color: black;
font-size: 5rem;
font-family: "Thelamonblack400", sans-serif;
}
.desc {
color: black;
font-size: 2.5em;
font-weight: 100;
font-family: "avenir-roman", sans-serif;
margin-top: -10px;
}
/* second about */
.abouttext {
display: flex;
height: 100vh; /* Ensures the container takes up the full viewport height */
align-items: center;
justify-content: center;
position: relative;
}
.behindAnimatedText {
font-family: "avenir-heavy";
font-size: 10rem;
color: rgba(238, 238, 238);
width: 80%;
position: absolute;
top: 20%;
left: -20%;
transform: translateY(-50%); /* Center text vertically */
transition: transform 0.5s ease-out;
z-index: -1;
}
.longdesc {
font-family: "avenir-light";
font-size: 3em;
width: 80%;
}
/* Projects Section */
.projects {
display: flex;
height: 100vh; /* Ensures the container takes up the full viewport height */
align-items: center;
justify-content: space-between;
}
.left {
height: 50vh;
width: 50vw;
border-color: black;
border-width: 2px;
}
.right {
height: 50vh;
width: 50vw;
}
.svgbig {
height: 80vh;
}
.svgsmall {
height: 50vh;
}
/* skills section */
.skillstext {
display: flex;
height: 100vh; /* Ensures the container takes up the full viewport height */
align-items: center;
justify-content: center;
}
.skillsbehindAnimatedText {
font-family: "avenir-heavy";
font-size: 12rem;
color: rgba(238, 238, 238);
width: 80%;
position: relative;
top: 0%;
right: -150%;
transform: translateY(-50%); /* Adjusted to match the 'ABOUT ME' section */
transition: transform 0.5s ease-out;
z-index: -1;
}
.skillcont {
display: flex;
flex-direction: row;
height: 100vh;
width: 100vw;
align-items: center;
justify-content: center;
}
.skillscontainerleft {
font-size: 2rem;
font-family: avenir-roman;
width: 30vw;
height: 50vh;
}
.skillscontainerright {
font-size: 2rem;
font-family: avenir-roman;
width: 70vw;
height: 50vh;
}
/* Contact Section */
.contactcont {
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
}
.images {
display: flex; /* Makes the container a flexbox */
justify-content: space-around; /* Distributes space evenly around the images */
align-items: center; /* Centers the images vertically */
width: 60%; /* Adjusts the width to control spacing */
margin-top: 20px;
}
.images img {
width: 100px;
}
.contactbehindAnimatedText {
font-family: "avenir-heavy";
font-size: 10rem;
color: rgba(238, 238, 238);
width: 20%;
position: relative;
top: 10%;
left: -130%;
transform: translateY(-50%); /* Center text vertically */
transition: transform 0.5s ease-out;
z-index: -1;
}
/* Media queries for responsive font sizes */
@media (max-width: 1440px) {
.heading {
font-size: 6rem;
}
.desc {
font-size: 1.5em;
}
}
@media (max-width: 1024px) {
.heading {
font-size: 5rem;
}
.desc {
font-size: 1.2em;
}
}
@media (max-width: 768px) {
.heading {
font-size: 4rem;
}
.desc {
font-size: 1em;
}
}
@media (max-width: 576px) {
.heading {
font-size: 3rem;
}
.desc {
font-size: 0.9em;
}
}