|
|
|
@media (max-width: 768px) { |
|
#attack-simulator { |
|
margin: 10px; |
|
padding: 10px; |
|
} |
|
|
|
button { |
|
flex: 1 0 100%; |
|
max-width: 100%; |
|
} |
|
} |
|
|
|
|
|
@media (max-width: 1024px) { |
|
#attack-simulator { |
|
margin: 20px; |
|
padding: 15px; |
|
} |
|
|
|
button { |
|
flex: 1 0 calc(50% - 10px); |
|
} |
|
} |
|
|
|
|
|
body { |
|
background-color: rgb(12, 185, 228); |
|
font-family: 'Arial', sans-serif; |
|
color: #ff0000; |
|
text-align: center; |
|
} |
|
|
|
#attack-simulator { |
|
margin: 20px auto; |
|
padding: 20px; |
|
background-color: #fff; |
|
border-radius: 8px; |
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
|
width: 80%; |
|
max-width: 600px; |
|
} |
|
|
|
button { |
|
margin: 10px; |
|
padding: 10px 20px; |
|
background-color: #dd3333; |
|
color: white; |
|
border: none; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
transition: background-color 0.3s ease; |
|
} |
|
|
|
button:hover { |
|
background-color: #6b1515; |
|
} |
|
|
|
#attack-result { |
|
margin-top: 20px; |
|
} |
|
|