Wedding Invitation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /* resources/css/app.css */
  2. @import "../../node_modules/@fortawesome/fontawesome-free/css/all.min.css";
  3. /* Other CSS rules */
  4. @tailwind base;
  5. @tailwind components;
  6. @tailwind utilities;
  7. @font-face {
  8. font-family: 'Tan Pearl';
  9. src: url('tanPearl.woff2') format('woff2');
  10. font-weight: normal;
  11. font-style: normal;
  12. }
  13. @media (prefers-color-scheme: dark) {
  14. html,
  15. body {
  16. background-color: #ffffff;
  17. color: #000000;
  18. }
  19. /* Override any other dark mode specific styles */
  20. .dark\:bg-gray-900 {
  21. background-color: #ffffff !important;
  22. }
  23. .dark\:text-white {
  24. color: #000000 !important;
  25. }
  26. }
  27. /* Remove outline on focus for all elements */
  28. *:focus {
  29. outline: none;
  30. }
  31. html {
  32. scroll-behavior: smooth;
  33. }
  34. body.no-scroll {
  35. overflow: hidden;
  36. }
  37. .fade-in {
  38. opacity: 1;
  39. }
  40. .petal-overlay {
  41. position: fixed;
  42. /* Fixes the position to the viewport */
  43. top: 0;
  44. left: 0;
  45. width: 100vw;
  46. height: 100vh;
  47. pointer-events: none;
  48. /* Allows interactions through the overlay */
  49. z-index: 1;
  50. /* Ensures it is on top of other elements */
  51. opacity: 0.3;
  52. /* Set the opacity to a lower value */
  53. display: block;
  54. }
  55. .petal-overlay img {
  56. width: 100%;
  57. height: 100%;
  58. object-fit: cover;
  59. /* Ensures the image covers the entire container */
  60. }
  61. .loader {
  62. position: relative;
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. width: 100%;
  67. max-width: 6rem;
  68. margin-top: 3rem;
  69. margin-bottom: 3rem;
  70. }
  71. .loader:before,
  72. .loader:after {
  73. content: "";
  74. position: absolute;
  75. border-radius: 50%;
  76. animation: pulsOut 1.8s ease-in-out infinite;
  77. filter: drop-shadow(0 0 1rem rgba(255, 255, 255, 0.75));
  78. }
  79. .loader:before {
  80. width: 100%;
  81. padding-bottom: 100%;
  82. box-shadow: inset 0 0 0 1rem #fff;
  83. animation-name: pulsIn;
  84. }
  85. .loader:after {
  86. width: calc(100% - 2rem);
  87. padding-bottom: calc(100% - 2rem);
  88. box-shadow: 0 0 0 0 #fff;
  89. }
  90. .part {
  91. transition: all 0.1s ease-in-out;
  92. }
  93. @keyframes to-left{
  94. from{
  95. transform: translateX(0%);
  96. }
  97. to{
  98. transform: translateX(-100%);
  99. }
  100. }
  101. @keyframes to-right{
  102. from{
  103. transform: translateX(0%);
  104. }
  105. to{
  106. transform: translateX(100%);
  107. }
  108. }
  109. @media (prefers-reduced-motion: no-preference) {
  110. @supports (animation-timeline: scroll()) {
  111. .part.left {
  112. animation: to-left linear both;
  113. animation-timeline: scroll();
  114. animation-range-end: 5%;
  115. }
  116. .part.right {
  117. animation: to-right linear both;
  118. animation-timeline: scroll();
  119. animation-range-end: 5%;
  120. }
  121. }
  122. }
  123. @keyframes pulsIn {
  124. 0% {
  125. box-shadow: inset 0 0 0 1rem #fff;
  126. opacity: 1;
  127. }
  128. 50%,
  129. 100% {
  130. box-shadow: inset 0 0 0 0 #fff;
  131. opacity: 0;
  132. }
  133. }
  134. @keyframes pulsOut {
  135. 0%,
  136. 50% {
  137. box-shadow: 0 0 0 0 #fff;
  138. opacity: 0;
  139. }
  140. 100% {
  141. box-shadow: 0 0 0 1rem #fff;
  142. opacity: 1;
  143. }
  144. }
  145. @keyframes to-right {
  146. from {
  147. transform: translateX(0)
  148. }
  149. to {
  150. transform: translateX(100%)
  151. }
  152. }
  153. @media (prefers-reduced-motion: no-preference) {
  154. @supports (animation-timeline: scroll()) {
  155. #right-cover {
  156. animation: to-right linear both;
  157. animation-timeline: scroll();
  158. animation-range: contain;
  159. }
  160. }
  161. }