File size: 3,465 Bytes
abc8d9a |
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 |
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 20px;
}
.title-img {
width: auto;
height: 30vh;
}
.title-img2 {
width: auto;
height: 30vh;
}
.upload-container {
border: 2px dashed #ccc;
padding: 20px;
margin: 20px auto;
width: 80%;
max-width: 400px;
cursor: pointer;
text-align: center;
position: relative;
min-height: 250px; /* Increased height */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.upload-container.dragging {
border-color: #007bff;
background-color: rgba(0, 123, 255, 0.1);
}
.upload-icon {
width: 60px;
height: 60px;
display: block;
margin: 10px auto;
}
.upload-text {
font-size: 16px;
margin: 10px 0;
}
.preview-image {
max-width: 100%;
max-height: 200px;
display: none;
border-radius: 10px;
}
.remove-image {
position: absolute;
top: 10px;
right: 10px;
background: transparent;
color: black;
border: none;
cursor: pointer;
font-size: 20px;
font-weight: bold;
width: 24px;
height: 24px;
text-align: center;
line-height: 22px;
border-radius: 50%;
}
/* Removed hover effect */
.remove-image:hover {
background: transparent;
}
input[type="email"] {
width: 80%;
max-width: 400px;
padding: 10px;
margin: 10px auto;
display: block;
}
button {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
button:hover {
background-color: #0056b3;
}
.hidden {
display: none;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.fade {
transition: opacity 0.5s ease-in-out;
}
#confirmation-message {
font-size: 16px;
margin-top: 60px;
color: #333;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.image-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px; /* Increased spacing between images */
margin-top: 20px;
}
.image-item {
text-align: left; /* Align text to the left */
max-width: 280px; /* Increase max width of images */
flex: 1 1 calc(25% - 15px); /* 4 items per row on desktop */
}
.image-item img {
width: 100%; /* Make images fill their container */
max-width: 280px; /* Increase max size */
height: auto;
border-radius: 10px;
}
/* Adjust text styling under images */
.image-item p {
font-size: 16px; /* Small text */
font-weight: 100; /* Thinner font */
color: #444; /* Slightly lighter color */
margin-top: 5px;
text-align: left; /* Ensure text is left-aligned */
line-height: 1.2;
}
.examples-title {
font-family: "Bodoni", serif;
font-size: 24px;
text-align: center;
margin-top: 40px;
font-weight: 100;
}
.examples-container {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
margin-bottom: 10%;
}
.example-image {
width: 200px;
height: auto;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}
.example-image:hover {
transform: scale(1.05);
}
/* Mobile view: Ensure 2 columns */
@media (max-width: 768px) {
.image-item {
flex: 1 1 calc(50% - 15px); /* 2 items per row on mobile */
}
.image-item p {
font-size: 12px;
}
.title-img2 {
height: 10vh;
}
}
|