-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle1.css
More file actions
119 lines (106 loc) · 2.27 KB
/
style1.css
File metadata and controls
119 lines (106 loc) · 2.27 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
/* Global Styles */
body {
font-family: 'Poppins', sans-serif;
background-color: #0d0d0d;
color: #ffffff;
margin: 0;
padding: 0;
}
header {
text-align: center;
padding: 50px;
background: #1a1a1a;
}
h1, h2, h3 {
color: #ffcc00;
text-align: center;
}
p {
font-size: 1.2rem;
line-height: 1.5;
margin: 20px 0;
text-align: center;
}
/* Sections */
section {
padding: 40px 20px;
margin: 20px auto;
max-width: 1100px;
}
img, video {
display: block; /* Makes sure the element is treated as a block-level element */
margin: 0 auto; /* Center the element horizontally */
max-width: 60%; /* Adjusts the size to fit within the container */
border-radius: 10px; /* Rounds the corners */
}
.video-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 20px auto;
padding: 20px;
box-sizing: border-box;
}
/* Container for the iframe */
.video-container {
position: relative;
width: 90%;
max-width: 1200px;
padding-top: 50.6%; /* 16:9 Aspect Ratio */
height: 0;
border-radius: 15px;
overflow: hidden;
}
/* Styling for the iframe */
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
border-radius: 15px;
}
/* Calculator Section */
.calculator-section {
display: flex;
justify-content: space-between;
background-color: #1f1f1f;
padding: 40px;
border-radius: 10px;
gap: 20px;
}
.calc-box {
background-color: #2a2a2a;
padding: 30px;
border-radius: 10px;
flex: 1;
text-align: center;
}
input, select, button {
width: 80%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 5px;
font-size: 1rem;
font-family: 'Poppins', sans-serif; /* Ensure Poppins is applied here */
}
button {
background-color: #ffcc00;
color: #000;
cursor: pointer;
}
button:hover {
background-color: #ffdd44;
}
/* Footer */
footer {
text-align: center;
background-color: #1a1a1a;
padding: 20px;
color: #ffffff;
font-size: 1rem;
margin-top: 30px;
}