_video.scss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .video-one {
  2. position: relative;
  3. &__bg {
  4. position: absolute;
  5. bottom: 0%;
  6. left: 0;
  7. }
  8. .container {
  9. position: relative;
  10. padding: 15px;
  11. background-image: linear-gradient(0deg, #ffa95c 0%, #ff43c0 100%);
  12. border-radius: 7px;
  13. z-index: 10;
  14. }
  15. &__box {
  16. position: relative;
  17. border-radius: 7px;
  18. >img {
  19. width: 100%;
  20. border-radius: 7px;
  21. }
  22. &:hover {
  23. .video-one__content {
  24. background-color: rgba($thm-black, .2);
  25. }
  26. }
  27. }
  28. &__content {
  29. position: absolute;
  30. width: 100%;
  31. height: 100%;
  32. background-color: rgba($thm-black, .6);
  33. top: 0;
  34. left: 0;
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. text-align: center;
  39. flex-direction: column;
  40. transition: all .4s ease;
  41. border-radius: 7px;
  42. }
  43. &__btn {
  44. width: 106px;
  45. height: 106px;
  46. background-image: linear-gradient(to right, rgb(255, 78, 181) 0%, rgb(255, 160, 101) 51%, rgb(255, 78, 181) 100%);
  47. background-size: 200% auto;
  48. text-align: center;
  49. border-radius: 50%;
  50. transition: all .4s ease;
  51. box-shadow: 0px 20px 40px 0px rgba(42, 40, 51, 0.8);
  52. i {
  53. font-size: 24px;
  54. color: #fff;
  55. line-height: 106px;
  56. }
  57. &:hover {
  58. background-position: right center;
  59. i {
  60. color: #fff;
  61. }
  62. }
  63. }
  64. &__title {
  65. font-size: 50px;
  66. font-weight: 400;
  67. color: #fff;
  68. margin: 0;
  69. margin-top: 20px;
  70. span {
  71. font-weight: 700;
  72. }
  73. }
  74. }