home.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .home {
  2. height: 100vh;
  3. padding: 0;
  4. margin: 0;
  5. color: #f9fafc;
  6. overflow: hidden;
  7. }
  8. .background {
  9. height: 100%;
  10. width: 100%;
  11. padding: 0;
  12. margin: 0;
  13. background-attachment: fixed;
  14. transform: scale(1.1);
  15. filter: blur(3px);
  16. -webkit-filter: blur(3px);
  17. background-size: cover;
  18. }
  19. .content {
  20. position: relative;
  21. top: -65%;
  22. height: 60%;
  23. }
  24. .home img {
  25. width: 160px;
  26. max-width: 50%;
  27. height: auto;
  28. }
  29. .home .greeting {
  30. color: #f9fafc;
  31. }
  32. .home .typing-carousel {
  33. font-size: 14pt;
  34. color: #f0f0f0;
  35. }
  36. #typing-carousel-data {
  37. display: none;
  38. }
  39. .arrow {
  40. position: absolute;
  41. color: #f9fafc;
  42. font-size: 1.5rem;
  43. bottom: 0;
  44. }
  45. .bounce {
  46. animation: bounce 2s infinite;
  47. }
  48. @keyframes bounce {
  49. 0%,
  50. 20%,
  51. 50%,
  52. 80%,
  53. 100% {
  54. transform: translateY(0);
  55. }
  56. 40% {
  57. transform: translateY(-30px);
  58. }
  59. 60% {
  60. transform: translateY(-15px);
  61. }
  62. }
  63. /* ============= Device specific fixes ======= */
  64. /* Extra small devices (portrait phones, less than 576px) */
  65. /* No media query for `xs` since this is the default in Bootstrap */
  66. /* Extra large devices (large desktops, 1200px and up) */
  67. @media (max-width: 1400px) {
  68. }
  69. @media (max-width: 1200px) {
  70. }
  71. /* Large devices (desktops, 992px and up) */
  72. @media (max-width: 992px) {
  73. }
  74. /* Medium devices (tablets, 768px and up) */
  75. @media only screen and (max-width: 768px) {
  76. }
  77. /* Small devices (landscape phones, 576px and up) */
  78. @media only screen and (max-width: 576px) {
  79. .content {
  80. position: relative;
  81. top: -75%;
  82. height: 65%;
  83. }
  84. .home img {
  85. width: 140px;
  86. max-width: 50%;
  87. height: auto;
  88. }
  89. .home .greeting{
  90. font-size: 24pt;
  91. }
  92. }