main.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #title-text {
  2. text-align: center;
  3. font-size: xxx-large;
  4. padding-bottom: 2em;
  5. padding-top: 0.5em;
  6. color: white;
  7. margin: 0;
  8. font: 72px normal; }
  9. .padding-left-and-right {
  10. padding: 0 1em; }
  11. .blue-button:hover, .blue-button {
  12. background-color: #242c6c;
  13. border: solid transparent 0px;
  14. color: white;
  15. padding: 1em;
  16. cursor: pointer;
  17. box-shadow: 5px 5px 10px #000000; }
  18. @keyframes button-hover {
  19. from {
  20. box-shadow: 5px 5px 10px #000000; }
  21. to {
  22. box-shadow: 10px 10px 10px #000000, 2px 3px 5px rgba(36, 44, 108, 0.3) inset; } }
  23. .blue-button:hover {
  24. animation-name: button-hover;
  25. animation-duration: 1s;
  26. animation-fill-mode: forwards; }
  27. .background-grey {
  28. background-color: grey; }
  29. .background-white {
  30. background-color: white; }
  31. img {
  32. max-width: 100%; }
  33. .img-center {
  34. display: block;
  35. margin: auto; }
  36. .parallax {
  37. /* Create the parallax scrolling effect */
  38. background-attachment: fixed;
  39. background-position: center;
  40. background-repeat: no-repeat;
  41. background-size: cover; }
  42. .text-white {
  43. color: white; }
  44. @media (min-width: 800px) {
  45. #title-text {
  46. max-width: 50%;
  47. padding-left: 25%; } }
  48. @media (max-width: 800px) {
  49. #title-text {
  50. max-width: 50%;
  51. padding-left: 25%;
  52. font: 35px normal; }
  53. h1, h2, h3, h4, h5, h6, h7 {
  54. text-align: center; }
  55. .hidden-mobile {
  56. display: none; }
  57. .flex {
  58. flex-direction: column;
  59. align-items: center; } }