style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /* Andrey Shevchenko. FEA-23. Home work 5 */
  2. * {
  3. box-sizing: border-box;
  4. }
  5. body {
  6. font-family: 'Roboto', sans-serif;
  7. /* background-color: #000; */
  8. padding: 0px;
  9. margin: 0;
  10. }
  11. .headerclass {
  12. z-index: 5;
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. width: 100vw;
  17. padding: 62px;
  18. display: flex;
  19. flex-direction: row;
  20. flex-wrap: nowrap;
  21. align-items: center;
  22. justify-content: space-between;
  23. color: rgb(255, 255, 255);
  24. opacity: 50%;
  25. background-color: rgb(255, 59, 59);
  26. font-size: 14px;
  27. font-weight: 500;
  28. }
  29. .headerclass > :nth-child(-n + 2) {
  30. margin-right: 20px;
  31. }
  32. .headerclass a {
  33. color: #fff;
  34. text-decoration: none;
  35. }
  36. .headerclass a:hover {
  37. text-decoration: underline;
  38. }
  39. .navclass {
  40. color: #fff;
  41. display: flex;
  42. flex-direction: row;
  43. flex-wrap: nowrap;
  44. justify-content: space-between;
  45. min-width: 400px;
  46. max-width: 550px;
  47. flex-grow: 1;
  48. margin-right: -20px;
  49. }
  50. .navclass > :last-child {
  51. color: rgba(255, 202, 0, 1);
  52. width: 120px;
  53. }
  54. .heademail {
  55. font-size: 16px;
  56. }
  57. .emeilmenu {
  58. display: flex;
  59. justify-content: space-between;
  60. max-width: 420px;
  61. flex-grow: 1;
  62. }
  63. .headmenu {
  64. display: flex;
  65. flex-direction: row;
  66. flex-wrap: nowrap;
  67. align-items: center;
  68. margin-left: 25px;
  69. }
  70. .poloski {
  71. width: 50px;
  72. height: 12px;
  73. border-top: #fff solid 1px;
  74. border-bottom: #fff solid 1px;
  75. margin-left: 25px;
  76. }
  77. /* -----main----- */
  78. .heading {
  79. background-color: rgb(42, 42, 42);
  80. height: 100vh;
  81. display: flex;
  82. justify-content: center;
  83. align-items: center;
  84. position: relative;
  85. }
  86. .heading__inner {
  87. max-width: 960px;
  88. width: 100%;
  89. background-color: rgb(0, 179, 0);
  90. height: 300px;
  91. }
  92. .arrow {
  93. font-size: 14px;
  94. line-height: 20px;
  95. color: #7e7e7e;
  96. display: flex;
  97. align-items: center;
  98. position: absolute;
  99. left: 65px;
  100. bottom: 174px;
  101. transform: rotate(-90deg);
  102. }
  103. .arrow svg {
  104. transform: rotate(90deg);
  105. margin-right: 40px;
  106. }
  107. .chat {
  108. width: 76px;
  109. height: 76px;
  110. border-radius: 50%;
  111. border: ;
  112. background-color: #ffca00;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. position: absolute;
  117. right: 65px;
  118. bottom: 174px;
  119. box-shadow: none;
  120. /* transition: all 0.5s linear; */
  121. animation-name: button;
  122. animation-duration: 1s;
  123. animation-iteration-count: 5;
  124. animation-direction: normal;
  125. }
  126. .chat:hover {
  127. background-color: saddlebrown;
  128. box-shadow: 0 0px 0 15px rgb(255, 202, 179, 0.1);
  129. }
  130. @keyframes button {
  131. 0% {
  132. box-shadow: none;
  133. }
  134. 50% {
  135. box-shadow: 0 0px 0 15px rgb(255, 202, 179, 0.1);
  136. }
  137. 100% {
  138. box-shadow: 0 0px 0 15px rgb(255, 202, 179, 0.1);
  139. }
  140. }