-
Notifications
You must be signed in to change notification settings - Fork 0
/
mediaqueries.css
167 lines (167 loc) · 2.44 KB
/
mediaqueries.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
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
.nav-links a {
font-size: 1.2em;
}
#first-page {
flex-direction: column-reverse;
}
.right .img-div {
height: 450px;
width: 450px;
}
.left {
width: 35vh;
}
.box {
width: 100%;
}
.tech-stack .stack {
margin: auto 0;
height: 70%;
}
#third-page {
height: fit-content;
}
.work-box {
/* height: fit-content; */
flex-direction: column;
}
.pro {
padding: 1em 0;
}
.testimonial-text {
justify-content: center;
}
.testimonial-text h1 {
font-size: 3em;
}
.testimonial-text p {
font-size: 1.2em;
}
.testimonial-slider {
gap: 1em;
}
.testimonial {
width: 80%;
}
.form-container {
font-size: 1.5em;
width: inherit;
}
.lname {
margin-left: 3em;
}
}
@media (max-width: 768px) {
#desktop-nav {
display: none;
}
#mobile-nav {
display: flex;
}
#mobile-nav h1 {
font-size: 1.6em;
}
#first-page {
flex-direction: column-reverse;
}
.box {
width: 100%;
}
.right .img-div {
height: 280px;
width: 280px;
}
.text h3 {
font-size: 1.2em;
}
.text h1 {
font-size: 2em;
}
.text p {
font-size: 0.8em;
}
.btn {
margin-top: 2em;
}
.btn:active {
background-color: #ffff;
color: #4296d4;
border: 1px solid #000;
}
#second-page {
height: 100%;
}
#second-page .text-box h1 {
margin-top: 20px;
font-size: 2em;
}
.text-box {
width: 90%;
}
.tech-stack {
height: 100%;
flex-direction: column;
align-items: center;
}
#third-page {
justify-content: space-between;
height: fit-content;
}
#third-page .work-box {
flex-direction: column;
}
.pro {
padding: 1em 0;
}
.heading h1 {
font-size: 2em;
}
.heading p {
font-size: 1em;
}
.testimonial-text {
justify-content: center;
}
.testimonial-text h1 {
font-size: 2em;
}
.testimonial-text p {
font-size: 0.7em;
}
.testimonial-slider {
display: flex;
gap: 1em;
flex-direction: column;
}
.testimonial {
width: 95%;
}
.form-container {
font-size: 1em;
width: inherit;
}
.form-box {
margin: 0;
}
.name,
.name-input {
display: none;
}
.form-box {
margin: 0.5em 0;
}
.container {
height: 60%;
}
.text-container {
font-size: 0.7em;
font-weight: 600;
}
#message {
height: 10em;
width: 23em;
}
}