|
| 1 | +:root { |
| 2 | + --red: #C50F1F; |
| 3 | + --green: #16C60C; |
| 4 | + --blue: #007ACC; |
| 5 | + --blue-sky: #69D6FD; |
| 6 | + --white: #efefef; |
| 7 | + --primary: #3E3E42; |
| 8 | + --secondary: #2D2D30; |
| 9 | + --primary-dark: #252526; |
| 10 | + --secondary-dark: #1E1E1E; |
| 11 | + --orange-primary: #FFB250; |
| 12 | + --orange-secondary: #FEA94E; |
| 13 | + --orange-pastel: #FFC384; |
| 14 | +} |
| 15 | + |
| 16 | +body { |
| 17 | + background-color: var(--secondary); |
| 18 | + color: var(--white); |
| 19 | +} |
| 20 | + |
| 21 | +*::-webkit-scrollbar { |
| 22 | + overflow: hidden; |
| 23 | + display: none; |
| 24 | + text-decoration: none; |
| 25 | +} |
| 26 | + |
| 27 | +section a { |
| 28 | + color: gray; |
| 29 | +} |
| 30 | +footer a { |
| 31 | + color: white; |
| 32 | +} |
| 33 | + |
| 34 | +.marked { |
| 35 | + color: var(--orange-pastel); |
| 36 | +} |
| 37 | + |
| 38 | +.markeds { |
| 39 | + background-color: var(--orange-pastel); |
| 40 | +} |
| 41 | + |
| 42 | +section { |
| 43 | + min-height: 100vh; |
| 44 | + display: flex; |
| 45 | + text-align: center; |
| 46 | + justify-content: center; |
| 47 | + align-items: center; |
| 48 | +} |
| 49 | + |
| 50 | +section.about { |
| 51 | + background-color: var(--primary); |
| 52 | +} |
| 53 | +section.about h5{ |
| 54 | + text-align: left; |
| 55 | +} |
| 56 | +section.about .info p.paragraf{ |
| 57 | + text-indent: 20px; |
| 58 | + text-align: justify; |
| 59 | +} |
| 60 | +section.about .info p{ |
| 61 | + text-align: justify; |
| 62 | +} |
| 63 | +section.about .cards .card{ |
| 64 | + width: 18rem; |
| 65 | + height: 24rem; |
| 66 | + display: flex; |
| 67 | + transform-style: preserve-3d; |
| 68 | +} |
| 69 | +section.about .cards .first{ |
| 70 | + position: absolute; |
| 71 | + opacity: 1; |
| 72 | + transition: 0.5s; |
| 73 | + border-radius: 9%; |
| 74 | + transform: translateZ(20px) |
| 75 | +} |
| 76 | +section.about .card:hover .first{ |
| 77 | + width: 50%; |
| 78 | + opacity: 0; |
| 79 | +} |
| 80 | +section.about .card .second{ |
| 81 | + position: absolute; |
| 82 | + opacity: 0; |
| 83 | + transition: 0.5s; |
| 84 | + transform: translateZ(20px) |
| 85 | +} |
| 86 | +section.about .card:hover .second{ |
| 87 | + width: 50%; |
| 88 | + border-radius: 15%; |
| 89 | + opacity: 1; |
| 90 | +} |
| 91 | +section.about .card .experience{ |
| 92 | + position: absolute; |
| 93 | + top: 25; |
| 94 | + right: 155; |
| 95 | + opacity: 0; |
| 96 | + color: var(--orange-primary); |
| 97 | + transition: 1s; |
| 98 | +} |
| 99 | +section.about .card:hover .experience{ |
| 100 | + right: 30; |
| 101 | + opacity: 1; |
| 102 | + transform: translateZ(15px) |
| 103 | +} |
| 104 | +section.about .card-button{ |
| 105 | + transition: 0.5s; |
| 106 | + transform: translateZ(20px) translateY(265px); |
| 107 | +} |
| 108 | +section.about .card:hover .card-button{ |
| 109 | + transform: translateZ(30px) translateY(265px); |
| 110 | +} |
| 111 | +section.about .card .signature { |
| 112 | + stroke-dasharray: 2400; |
| 113 | + stroke-dashoffset: 2400; |
| 114 | + position: absolute; |
| 115 | + left: 40px; |
| 116 | + top: 70px; |
| 117 | + transform: translateZ(30px); |
| 118 | +} |
| 119 | +section.about .card:hover .signature { |
| 120 | + animation: sign 4s infinite; |
| 121 | + animation-fill-mode: forwards; |
| 122 | +} |
| 123 | +@keyframes sign { |
| 124 | + to { |
| 125 | + stroke-dashoffset: 0; |
| 126 | + } |
| 127 | +} |
| 128 | +section.about .card .card-info{ |
| 129 | + text-align: left; |
| 130 | + font-size: 14px; |
| 131 | + position: absolute; |
| 132 | + top: 200px; |
| 133 | + opacity: 0; |
| 134 | + transition: 0.5s; |
| 135 | + transform: translateZ(10px); |
| 136 | +} |
| 137 | +section.about .card:hover .card-info{ |
| 138 | + top: 130px; |
| 139 | + opacity: 1; |
| 140 | +} |
| 141 | +section.about .card .card-social{ |
| 142 | + left: 0; |
| 143 | + right: 0; |
| 144 | + font-size: 18px; |
| 145 | + letter-spacing: 5px; |
| 146 | + position: absolute; |
| 147 | + top: 290px; |
| 148 | + opacity: 0; |
| 149 | + transition: 0.5s; |
| 150 | + transform: translateZ(15px); |
| 151 | +} |
| 152 | +section.about .card:hover .card-social{ |
| 153 | + top: 220px; |
| 154 | + opacity: 1; |
| 155 | +} |
| 156 | + |
| 157 | +section.certificate .carousel{ |
| 158 | + display: flex; |
| 159 | + justify-content: center; |
| 160 | + align-items: center; |
| 161 | +} |
| 162 | +section.certificate .carousel .carousel-item{ |
| 163 | + height: 100px; |
| 164 | + } |
| 165 | +section.certificate .carousel img{ |
| 166 | + transition: .5s; |
| 167 | + filter: grayscale(100); |
| 168 | +} |
| 169 | +section.certificate .carousel img:hover{ |
| 170 | + filter: grayscale(0); |
| 171 | +} |
| 172 | + |
| 173 | +section.project { |
| 174 | + background-color: var(--primary); |
| 175 | +} |
| 176 | +section.project .card{ |
| 177 | + width: 18rem; |
| 178 | + height: 24rem; |
| 179 | + display: flex; |
| 180 | + transform-style: preserve-3d; |
| 181 | +} |
| 182 | +section.project .card img{ |
| 183 | + transition: .5s; |
| 184 | + filter: grayscale(100); |
| 185 | +} |
| 186 | +section.project .card:hover img{ |
| 187 | + filter: grayscale(0); |
| 188 | +} |
| 189 | +section.project .card img.profile{ |
| 190 | + position: absolute; |
| 191 | + width: 100px; |
| 192 | + border-radius: 10%; |
| 193 | + top: 50; |
| 194 | + left: 90; |
| 195 | + transition: .5s; |
| 196 | + transform: translateZ(15px); |
| 197 | +} |
| 198 | +section.project .card .action{ |
| 199 | + filter: grayscale(100); |
| 200 | +} |
| 201 | +section.project .card:hover .action{ |
| 202 | + filter: grayscale(0); |
| 203 | +} |
| 204 | +section.project .server .card:hover img.profile{ |
| 205 | + box-shadow: 0 4px 8px 0 white, 0 6px 20px 0 white; |
| 206 | + filter: grayscale(0); |
| 207 | + transform: translateZ(30px); |
| 208 | +} |
| 209 | +section.project .server .card .action{ |
| 210 | + position: absolute; |
| 211 | + top: 200; |
| 212 | + left: 76px; |
| 213 | + transform: translateZ(10px); |
| 214 | +} |
| 215 | +section.project .server .property{ |
| 216 | + position: absolute; |
| 217 | + top: 0; |
| 218 | + color: white; |
| 219 | + font-size: 66px; |
| 220 | + transition: .5s; |
| 221 | + opacity: 0; |
| 222 | + text-shadow: 2px 2px 8px var(--primary); |
| 223 | + transform: translateZ(0px) translateY(50px); |
| 224 | +} |
| 225 | +section.project .server .card:hover .property{ |
| 226 | + opacity: 1; |
| 227 | + transform: translateZ(20px); |
| 228 | +} |
| 229 | + section.project .server .card .property i.bi:nth-child(1){ |
| 230 | + position: absolute; |
| 231 | + transform: translate(10px,-30px); |
| 232 | + } |
| 233 | + section.project .server .card .property i:nth-child(2){ |
| 234 | + position: absolute; |
| 235 | + transform: translate(210px,20px); |
| 236 | + } |
| 237 | + section.project .server .card .property i:nth-child(3){ |
| 238 | + position: absolute; |
| 239 | + transform: translate(-30px,100px); |
| 240 | + } |
| 241 | + section.project .server .card .property i:nth-child(4){ |
| 242 | + position: absolute; |
| 243 | + transform: translate(240px,160px); |
| 244 | + } |
| 245 | + section.project .server .card .property i:nth-child(5){ |
| 246 | + position: absolute; |
| 247 | + transform: translate(50px,250px); |
| 248 | + } |
| 249 | +section.project .matsuri .card:hover img.profile{ |
| 250 | + box-shadow: 0 4px 8px 0 var(--orange-primary), 0 6px 20px 0 var(--orange-primary); |
| 251 | + filter: grayscale(0); |
| 252 | + transform: translateZ(30px); |
| 253 | +} |
| 254 | +section.project .matsuri .card .action{ |
| 255 | + position: absolute; |
| 256 | + top: 200; |
| 257 | + left: 68px; |
| 258 | + transform: translateZ(10px); |
| 259 | +} |
| 260 | +section.project .matsuri .card .chat{ |
| 261 | + position: absolute; |
| 262 | + transform: translateZ(15px); |
| 263 | +} |
| 264 | +section.project .matsuri .card .chat button:nth-child(1){ |
| 265 | + position: relative; |
| 266 | + top: 15px; |
| 267 | + opacity: 0; |
| 268 | + transition: .5s; |
| 269 | + transform: translate(170px); |
| 270 | +} |
| 271 | +section.project .matsuri .card:hover .chat button:nth-child(1){ |
| 272 | + opacity: 1; |
| 273 | + transform: translate(150px); |
| 274 | +} |
| 275 | +section.project .matsuri .card .chat button:nth-child(2){ |
| 276 | + position: relative; |
| 277 | + top: 65px; |
| 278 | + opacity: 0; |
| 279 | + transition: .5s; |
| 280 | + transform: translate(-135px); |
| 281 | +} |
| 282 | +section.project .matsuri .card:hover .chat button:nth-child(2){ |
| 283 | + opacity: 1; |
| 284 | + transform: translate(-115px); |
| 285 | +} |
| 286 | + |
| 287 | +section.project .hayat .card:hover img.profile{ |
| 288 | + box-shadow: 0 4px 8px 0 red, 0 6px 20px 0 white; |
| 289 | + filter: grayscale(0); |
| 290 | + transform: translateZ(30px); |
| 291 | +} |
| 292 | +section.project .hayat .card .action{ |
| 293 | + position: absolute; |
| 294 | + top: 200; |
| 295 | + left: 66px; |
| 296 | + transform: translateZ(10px); |
| 297 | +} |
| 298 | + |
| 299 | +@media screen and (min-width: 300px) { |
| 300 | + section.certificate .carousel .carousel-item{ |
| 301 | + height: 200px; |
| 302 | + } |
| 303 | +} |
| 304 | +@media screen and (min-width: 600px) { |
| 305 | + section.certificate .carousel .carousel-item{ |
| 306 | + height: 300px; |
| 307 | + } |
| 308 | +} |
| 309 | +@media screen and (min-width: 900px) { |
| 310 | + section.certificate .carousel .carousel-item{ |
| 311 | + height: 400px; |
| 312 | + } |
| 313 | +} |
| 314 | + |
| 315 | +.typewrite1{ |
| 316 | + line-height: 1.2; |
| 317 | + margin: 0 auto; |
| 318 | +} |
0 commit comments