|
|
|
body { |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
min-height: 100vh; |
|
background-color: #f0f0f0; |
|
font-family: Arial, sans-serif; |
|
margin: 0; |
|
padding: 20px; |
|
flex-direction: column; |
|
} |
|
|
|
#container { |
|
text-align: center; |
|
} |
|
|
|
.image-preview-container { |
|
display: flex; |
|
gap: 20px; |
|
justify-content: center; |
|
margin-bottom: 20px; |
|
} |
|
|
|
.image-preview { |
|
text-align: center; |
|
} |
|
|
|
.image-wrapper { |
|
width: 300px; |
|
height: 300px; |
|
position: relative; |
|
background-color: transparent; |
|
border-radius: 50%; |
|
overflow: hidden; |
|
border: 2px solid #ddd; |
|
margin-bottom: 10px; |
|
} |
|
|
|
#overlay-image1, #overlay-image2 { |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
} |
|
|
|
|
|
#profile-image1 { |
|
position: absolute; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
width: 100%; |
|
height: 100%; |
|
object-fit: cover; |
|
opacity: 0.5; |
|
border-radius: 0; |
|
border: none; |
|
transition: opacity 0.3s; |
|
} |
|
|
|
|
|
#profile-image2 { |
|
position: absolute; |
|
top: 50%; |
|
left: 50%; |
|
transform: translate(-50%, -50%); |
|
width: 80%; |
|
height: 80%; |
|
object-fit: cover; |
|
border-radius: 50%; |
|
border: 2px solid #fff; |
|
transition: opacity 0.3s; |
|
} |
|
|
|
.hashtag { |
|
position: absolute; |
|
bottom: 10px; |
|
left: 50%; |
|
transform: translateX(-50%); |
|
font-size: 16px; |
|
color: white; |
|
background-color: rgba(0, 0, 0, 0.5); |
|
padding: 5px 10px; |
|
border-radius: 5px; |
|
} |
|
|
|
#username-input { |
|
margin-bottom: 20px; |
|
padding: 10px; |
|
width: 300px; |
|
font-size: 16px; |
|
border: 1px solid #ddd; |
|
border-radius: 5px; |
|
} |
|
|
|
.buttons-container { |
|
display: flex; |
|
flex-wrap: wrap; |
|
gap: 10px; |
|
justify-content: center; |
|
margin-bottom: 20px; |
|
} |
|
|
|
button { |
|
padding: 10px 20px; |
|
font-size: 16px; |
|
cursor: pointer; |
|
border: none; |
|
border-radius: 5px; |
|
color: white; |
|
display: flex; |
|
align-items: center; |
|
gap: 5px; |
|
transition: opacity 0.2s; |
|
} |
|
|
|
button:hover { |
|
opacity: 0.9; |
|
} |
|
|
|
.twitter-btn { |
|
background-color: #1DA1F2; |
|
} |
|
|
|
.upload-btn { |
|
background-color: #4CAF50; |
|
} |
|
|
|
.download-btn { |
|
background-color: #6c757d; |
|
} |
|
|
|
#hashtag-options { |
|
margin-bottom: 20px; |
|
} |
|
|
|
#hashtag-options label { |
|
font-size: 16px; |
|
margin-right: 10px; |
|
} |
|
|
|
#hashtag-select { |
|
padding: 5px; |
|
font-size: 16px; |
|
border-radius: 5px; |
|
} |
|
|
|
#loading { |
|
display: none; |
|
color: #666; |
|
margin-top: 10px; |
|
} |
|
|
|
#success-message { |
|
display: none; |
|
color: #4CAF50; |
|
margin-top: 10px; |
|
} |