Spaces:
Running
Running
File size: 3,888 Bytes
b8b80bc 8b68395 b8b80bc 6bf2ecf d26d78d b8b80bc 6bf2ecf d302e50 b8b80bc 492db51 6bf2ecf d302e50 6bf2ecf d302e50 6bf2ecf 8b68395 6bf2ecf 57e8092 727b8d0 2757916 727b8d0 deee09e 6bf2ecf ceb59d5 3fc2fb9 ceb59d5 3fc2fb9 727b8d0 3fc2fb9 ceb59d5 3fc2fb9 727b8d0 3fc2fb9 57e8092 727b8d0 6bf2ecf 3fc2fb9 6bf2ecf 727b8d0 7e440a0 727b8d0 2757916 57e8092 727b8d0 2b500c5 2757916 ebf6d46 7e440a0 deee09e 727b8d0 7e440a0 8b68395 b8b80bc 8b68395 727b8d0 3fc2fb9 727b8d0 3fc2fb9 8b68395 6bf2ecf 727b8d0 8b68395 6bf2ecf 8b68395 4d4310e 6bf2ecf 8b68395 4f6b6be 8b68395 deee09e 492db51 8b68395 deee09e 6bf2ecf b8b80bc 6bf2ecf 42b530b 8b68395 deee09e 8b68395 6bf2ecf 8b68395 6bf2ecf deee09e 6bf2ecf 42b530b 57e8092 8b68395 b8b80bc 8b68395 3fc2fb9 727b8d0 3fc2fb9 727b8d0 3fc2fb9 727b8d0 3fc2fb9 6bf2ecf 727b8d0 3fc2fb9 6bf2ecf 8b68395 |
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 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #006400; /* Green */
padding: 10px 20px;
display: flex;
justify-content: flex-start;
align-items: center;
}
.navbar .logo img {
height: 40px;
}
.headline {
text-align: center;
background-color: #004d00; /* Dark Green */
color: white;
padding: 50px 20px;
margin-top: 60px;
}
.headline h1 {
font-size: 36px;
font-weight: bold;
}
.headline p {
font-size: 18px;
}
.content {
background-color: white;
padding: 40px 20px;
margin-top: 20px;
}
.converter-container {
display: flex;
flex-direction: column;
align-items: center;
width: 90%; /* Width adjusted to avoid horizontal scroll */
max-width: 800px; /* Max width to prevent stretching too much */
margin: 0 auto;
padding: 30px;
border-radius: 12px;
border: 2px solid #ccc;
background-color: #f8f8f8;
}
.currency-box {
margin: 10px 0;
width: 100%;
}
.currency-box input {
margin-top: 5px;
padding: 15px;
font-size: 16px;
width: 100%;
border-radius: 8px;
border: 1px solid #ccc;
box-sizing: border-box;
}
.currency-box label {
font-weight: bold;
font-size: 16px;
}
.currency-select {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 20px;
}
.currency-select select, .currency-select button {
padding: 12px;
font-size: 16px;
border-radius: 8px;
border: 1px solid #ccc;
width: 45%;
}
#swap-btn {
background-color: #006400; /* Dark Green */
color: white;
cursor: pointer;
padding: 10px 20px;
border-radius: 50%;
border: none;
transition: background-color 0.3s;
font-size: 20px;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10px;
height: 50px;
width: 50px;
}
#swap-btn:hover {
background-color: #004d00;
}
#convert-btn {
background-color: #006400;
color: white;
cursor: pointer;
padding: 15px 30px;
font-size: 16px;
border: none;
border-radius: 8px;
width: 100%;
margin-top: 10px;
}
#convert-btn:hover {
background-color: #004d00;
}
#result {
font-size: 18px;
margin-top: 20px;
}
.how-to-use {
background-color: #004d00; /* Dark Green */
color: white;
padding: 30px 20px;
margin-top: 20px;
text-align: center;
}
.how-to-use h2 {
font-weight: bold;
}
.steps {
display: flex;
justify-content: center;
margin-top: 20px;
flex-wrap: wrap;
}
.step {
background-color: #e0e0e0;
padding: 20px;
margin: 10px;
width: 300px;
border-radius: 8px;
text-align: center;
}
.step h3 {
font-weight: bold;
}
.footer {
background-color: #666666;
color: white;
padding: 20px 0;
text-align: center;
margin-top: 40px;
border-top: 1px solid #fff;
}
.footer-content p {
margin: 5px 0;
}
.how-to-use .steps {
width: 100%;
display: flex;
justify-content: center;
gap: 20px;
}
.currency-select {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.currency-select select, .currency-select button {
width: 48%;
}
@media screen and (max-width: 768px) {
.steps {
flex-direction: column;
}
.currency-select {
flex-direction: column;
align-items: center;
}
.currency-box input,
.currency-select select,
.currency-select button {
width: 100%;
}
.currency-select button {
margin: 10px 0;
}
}
@media screen and (max-width: 480px) {
.currency-box input,
.currency-select select,
.currency-select button {
width: 100%;
}
} |