-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
181 lines (166 loc) · 3.34 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
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
*{
margin: 0;
padding: 0;
}
body{
min-height: 100vh;
background-image: url(image.png);
background-size: cover;
background-position: center;
background-attachment: fixed;
}
nav{
margin-top: 5%;
}
.nvbaar{
display: flex;
justify-content:right;
height:auto;
width:auto;
}
.nvbaar h1{
margin-right: 30%;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size:200%;
font-style: oblique;
color: bisque;
}
.nvbaar li{
margin-right:5%;
list-style: none;
}
.nvbaar li a{
text-decoration: none;
font-size:200%;
font-style: italic;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
color:white;
}
main {
display: flex;
justify-content: space-between;
margin:4%;
color:rgb(3, 3, 3);
}
.left{
margin-left:10%;
width:80%;
background-color: whitesmoke;
border-radius: 5%;
}
.left h1{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 250%;
text-align: center;
}
.left p{
font-size:170%;
line-height: 1.5;
font-family: Georgia, 'Times New Roman', Times, serif;
justify-content: space-around;
text-align: justify;
}
img{
margin-left:50%;
width:50%;
border-radius:50%;
}
.secpg{
display: flex;
margin:4%;
}
.exp{
background-color:#BFBFBF ;
height:150%;
width:50%;
font-family:Arial, Helvetica, sans-serif;
margin-right: 4%;
line-height: 1.5;
border-radius: 4%;
text-align: center;
}
.plat{
background-color: #BFBFBF;
border-radius: 4%;
height:200%;
width:50%;
font-family:Arial, Helvetica, sans-serif;
text-align: center;
line-height: 2.14;
}
.plat h1{
text-align: center;
font-weight: 900;
font-style: oblique;
}
.exp h1{
text-align: center;
font-weight: 900;
font-style: oblique;
}
.thirdpg {
background-color:wheat;
margin: 4%;
padding: 20px;
height: auto;
width: 30%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 4%;
margin-left:35%;
/* Centering content */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.thirdpg h2 {
text-align: center;
}
label {
display: block;
margin-top: 15px;
text-align: center;
font-size: 16px;
}
input[type="text"],
input[type="email"],
textarea {
width: 80%; /* Controls the width of input fields */
padding: 8px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
text-align: center;
}
.thirdpg button {
width: 80%;
padding: 10px;
margin-top: 20px;
background-color: #333;
color: white;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
text-align: center;
}
.thirdpg button:hover {
background-color: #555;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.thirdpg {
width: 80%; /* Reduce width on tablets and smaller devices */
}
}
@media (max-width: 480px) {
.thirdpg {
width: 95%; /* Further reduce width on mobile devices */
}
input[type="text"],
input[type="email"],
textarea,
.thirdpg button {
width: 90%; /* Increase input field width on smaller screens */
}
}