@@ -1107,19 +1107,20 @@ input#flap {
11071107 position : fixed;
11081108 inset : 0 ;
11091109 z-index : 9999999 ;
1110- background : # fff ;
1110+ background : linear-gradient ( 180 deg , # fff8fd 0 % , # f8ecf8 100 % ) ;
11111111}
11121112
11131113.envelope-preloader {
11141114 position : relative;
11151115 width : 100vw ;
11161116 height : 100vh ;
1117+ height : 100dvh ;
11171118 cursor : pointer;
11181119 outline : none;
11191120}
11201121
11211122.envelope-preloader : focus-visible {
1122- box-shadow : inset 0 0 0 4px rgba (158 , 36 , 28 , 0.28 );
1123+ box-shadow : inset 0 0 0 4px rgba (196 , 157 , 199 , 0.42 );
11231124}
11241125
11251126.envelope-stage {
@@ -1137,10 +1138,10 @@ input#flap {
11371138 opacity : 0.42 ;
11381139 mix-blend-mode : multiply;
11391140 background :
1140- repeating-linear-gradient (90deg , rgba (120 , 120 , 120 , 0.04 ) 0 1px , transparent 1px 3px ),
1141- repeating-linear-gradient (0deg , rgba (120 , 120 , 120 , 0.045 ) 0 1px , transparent 1px 4px ),
1142- radial-gradient (circle at 22% 18% , rgba (110 , 110 , 110 , 0.06 ) 0 , transparent 28% ),
1143- radial-gradient (circle at 78% 74% , rgba (110 , 110 , 110 , 0.055 ) 0 , transparent 32% );
1141+ repeating-linear-gradient (90deg , rgba (140 , 108 , 146 , 0.045 ) 0 1px , transparent 1px 3px ),
1142+ repeating-linear-gradient (0deg , rgba (140 , 108 , 146 , 0.05 ) 0 1px , transparent 1px 4px ),
1143+ radial-gradient (circle at 22% 18% , rgba (156 , 118 , 161 , 0.07 ) 0 , transparent 28% ),
1144+ radial-gradient (circle at 78% 74% , rgba (156 , 118 , 161 , 0.065 ) 0 , transparent 32% );
11441145}
11451146
11461147.envelope-panel {
@@ -1150,8 +1151,8 @@ input#flap {
11501151
11511152.envelope-panel-back {
11521153 background :
1153- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.02 ) 0 1px , transparent 1px 4px ),
1154- linear-gradient (180deg , rgba (250 , 245 , 235 , 0.98 ) 0% , rgba (244 , 236 , 223 , 0.98 ) 100% );
1154+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.02 ) 0 1px , transparent 1px 4px ),
1155+ linear-gradient (180deg , rgba (253 , 245 , 252 , 0.98 ) 0% , rgba (238 , 220 , 238 , 0.98 ) 100% );
11551156}
11561157
11571158.envelope-letter {
@@ -1162,10 +1163,10 @@ input#flap {
11621163 width : min (78vw , 980px );
11631164 height : min (74vh , 760px );
11641165 background :
1165- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.018 ) 0 1px , transparent 1px 4px ),
1166- linear-gradient (180deg , rgba (255 , 252 , 246 , 0.96 ) 0% , rgba (248 , 241 , 231 , 0.96 ) 100% );
1167- border : 1px solid rgba (117 , 89 , 56 , 0.16 );
1168- box-shadow : 0 30px 40px rgba (58 , 41 , 24 , 0.08 );
1166+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.018 ) 0 1px , transparent 1px 4px ),
1167+ linear-gradient (180deg , rgba (255 , 250 , 254 , 0.96 ) 0% , rgba (245 , 232 , 245 , 0.96 ) 100% );
1168+ border : 1px solid rgba (150 , 112 , 150 , 0.2 );
1169+ box-shadow : 0 30px 40px rgba (84 , 58 , 90 , 0.12 );
11691170 border-radius : 12px 12px 8px 8px ;
11701171 display : flex;
11711172 flex-direction : column;
@@ -1179,7 +1180,7 @@ input#flap {
11791180 margin : 0 ;
11801181 font-family : 'Rouge Script' , cursive;
11811182 font-size : clamp (3rem , 8vw , 7.2rem );
1182- color : # 8d6f61 ;
1183+ color : # 9b6f94 ;
11831184 transform : rotate (-1.5deg );
11841185}
11851186
@@ -1189,41 +1190,41 @@ input#flap {
11891190 font-size : clamp (0.9rem , 1.8vw , 1.3rem );
11901191 letter-spacing : 0.18em ;
11911192 text-transform : uppercase;
1192- color : # 8e8e8e ;
1193+ color : # 8f758d ;
11931194}
11941195
11951196.envelope-panel-left {
11961197 clip-path : polygon (0 0 , 52% 54% , 0 100% );
11971198 background :
1198- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.017 ) 0 1px , transparent 1px 4px ),
1199- linear-gradient (115deg , rgba (246 , 239 , 226 , 0.97 ) 0% , rgba (233 , 221 , 201 , 0.97 ) 100% );
1199+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.017 ) 0 1px , transparent 1px 4px ),
1200+ linear-gradient (115deg , rgba (248 , 236 , 247 , 0.97 ) 0% , rgba (226 , 200 , 228 , 0.97 ) 100% );
12001201 z-index : 4 ;
12011202}
12021203
12031204.envelope-panel-right {
12041205 clip-path : polygon (100% 0 , 48% 54% , 100% 100% );
12051206 background :
1206- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.017 ) 0 1px , transparent 1px 4px ),
1207- linear-gradient (245deg , rgba (246 , 239 , 226 , 0.97 ) 0% , rgba (233 , 221 , 201 , 0.97 ) 100% );
1207+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.017 ) 0 1px , transparent 1px 4px ),
1208+ linear-gradient (245deg , rgba (248 , 236 , 247 , 0.97 ) 0% , rgba (226 , 200 , 228 , 0.97 ) 100% );
12081209 z-index : 4 ;
12091210}
12101211
12111212.envelope-panel-bottom {
12121213 clip-path : polygon (0 100% , 50% 56% , 100% 100% );
12131214 background :
1214- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.02 ) 0 1px , transparent 1px 4px ),
1215- linear-gradient (180deg , rgba (241 , 232 , 216 , 0.97 ) 0% , rgba (227 , 213 , 188 , 0.97 ) 100% );
1215+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.02 ) 0 1px , transparent 1px 4px ),
1216+ linear-gradient (180deg , rgba (241 , 224 , 240 , 0.97 ) 0% , rgba (212 , 181 , 214 , 0.97 ) 100% );
12161217 z-index : 5 ;
12171218}
12181219
12191220.envelope-panel-flap {
12201221 clip-path : polygon (0 0 , 50% 64% , 100% 0 );
12211222 background :
1222- repeating-linear-gradient (0deg , rgba (84 , 64 , 41 , 0.018 ) 0 1px , transparent 1px 4px ),
1223- linear-gradient (180deg , rgba (252 , 245 , 234 , 0.97 ) 0% , rgba (236 , 224 , 203 , 0.97 ) 100% );
1223+ repeating-linear-gradient (0deg , rgba (132 , 94 , 140 , 0.018 ) 0 1px , transparent 1px 4px ),
1224+ linear-gradient (180deg , rgba (252 , 240 , 250 , 0.97 ) 0% , rgba (231 , 208 , 231 , 0.97 ) 100% );
12241225 transform-origin : top center;
12251226 transition : transform 1.1s cubic-bezier (.18 , .82 , .24 , 1 ), filter 0.8s ease;
1226- box-shadow : inset 0 -18px 26px rgba (84 , 61 , 35 , 0.08 );
1227+ box-shadow : inset 0 -18px 26px rgba (109 , 78 , 114 , 0.12 );
12271228 z-index : 10 ;
12281229 transform : translateZ (4px ) rotateX (0deg );
12291230 backface-visibility : hidden;
@@ -1257,7 +1258,7 @@ input#flap {
12571258}
12581259
12591260.envelope-seal : focus-visible {
1260- outline : 3px solid rgba (255 , 224 , 186 , 1 );
1261+ outline : 3px solid rgba (245 , 213 , 244 , 1 );
12611262 outline-offset : 2px ;
12621263}
12631264
@@ -1272,9 +1273,9 @@ input#flap {
12721273 transform : translateX (-50% );
12731274 text-align : center;
12741275 margin : 0 ;
1275- color : # 756458 ;
1276+ color : # 7f5d7b ;
12761277 transition : opacity 0.35s ease;
1277- z-index : 12 ;
1278+ z-index : 1001 ;
12781279}
12791280
12801281.preloader-title {
@@ -1286,7 +1287,7 @@ input#flap {
12861287}
12871288
12881289.preloader-hint {
1289- bottom : 4.4vh ;
1290+ bottom : calc ( env (safe-area-inset-bottom , 0 px ) + 4.4vh ) ;
12901291 font-family : 'Lato' , sans-serif;
12911292 font-size : clamp (0.78rem , 1.4vw , 0.95rem );
12921293 letter-spacing : 0.12em ;
@@ -1337,6 +1338,6 @@ input#flap {
13371338 }
13381339
13391340 .preloader-hint {
1340- bottom : 5vh ;
1341+ bottom : calc ( env (safe-area-inset-bottom , 0 px ) + 5vh ) ;
13411342 }
13421343}
0 commit comments