main.scss 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. main {
  2. margin-top: 280px;
  3. section:first-child {
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. width: 570px;
  8. h1 {
  9. width: 100%;
  10. animation: typing 1s steps(10), blink 0.7s step-end infinite alternate;
  11. white-space: nowrap;
  12. overflow: hidden;
  13. border-right: 3px solid;
  14. }
  15. @keyframes typing {
  16. from {
  17. width: 0;
  18. }
  19. }
  20. @keyframes blink {
  21. 50% {
  22. border-color: transparent;
  23. }
  24. }
  25. p {
  26. font-family: "Jura", sans-serif;
  27. }
  28. }
  29. .video {
  30. margin-top: 123px;
  31. display: flex;
  32. justify-content: center;
  33. position: relative;
  34. video {
  35. height: 700px;
  36. width: 100%;
  37. object-fit: cover;
  38. border-radius: 25px;
  39. }
  40. .video__content {
  41. position: absolute;
  42. color: white;
  43. display: flex;
  44. align-items: end;
  45. height: 100%;
  46. width: 100%;
  47. .video__content_inner {
  48. display: flex;
  49. justify-content: center;
  50. backdrop-filter: blur(10px);
  51. border-bottom-left-radius: 25px;
  52. border-bottom-right-radius: 25px;
  53. width: 100%;
  54. background-color: rgba(0, 0, 0, 0.3);
  55. div {
  56. width: 100%;
  57. margin: 10px 0;
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. }
  62. button {
  63. background: transparent;
  64. border: 0;
  65. cursor: pointer;
  66. &:hover {
  67. transform: scale(1.1);
  68. }
  69. &:active {
  70. transform: scale(1.2);
  71. }
  72. }
  73. }
  74. }
  75. }
  76. .description {
  77. display: grid;
  78. width: 100%;
  79. margin-top: 150px;
  80. grid-template-columns: repeat(12, 1fr);
  81. grid-template-rows: repeat(2, auto);
  82. grid-gap: 20px;
  83. align-items: center;
  84. .notebook {
  85. grid-column-start: 2;
  86. grid-column-end: 5;
  87. img {
  88. width: 100%;
  89. margin-bottom: 28px;
  90. }
  91. p {
  92. font-size: 16px;
  93. }
  94. }
  95. .keyboard {
  96. grid-column-start: 6;
  97. grid-column-end: 13;
  98. img {
  99. width: 100%;
  100. margin-top: 68px;
  101. }
  102. }
  103. }
  104. .our-skills {
  105. margin-top: 150px;
  106. h2 {
  107. text-align: center;
  108. }
  109. .our-skills-content {
  110. display: flex;
  111. margin-top: 100px;
  112. .our-skills-btn {
  113. margin: 0 40px;
  114. background-color: transparent;
  115. border: 0;
  116. cursor: pointer;
  117. }
  118. .carousel {
  119. display: flex;
  120. width: 100%;
  121. justify-content: center;
  122. align-items: center;
  123. gap: 20px;
  124. }
  125. p {
  126. width: 250px;
  127. background-color: #000;
  128. border: 0;
  129. border-radius: 25px;
  130. height: 50px;
  131. color: #fff;
  132. font-size: 24px;
  133. display: flex;
  134. justify-content: center;
  135. align-items: center;
  136. user-select: none;
  137. transition: transform 0.2s ease-in-out;
  138. &:hover {
  139. transform: scale(1.1);
  140. }
  141. }
  142. }
  143. }
  144. .services {
  145. margin-top: 150px;
  146. h2 {
  147. text-align: center;
  148. }
  149. .accordion {
  150. width: 100%;
  151. text-align: left;
  152. margin-top: 95px;
  153. display: flex;
  154. flex-direction: column;
  155. gap: 5px;
  156. user-select: none;
  157. .first__article {
  158. background-image: url("../img/background-1.jpg");
  159. }
  160. .second__article {
  161. background-image: url("../img/background-2.jpg");
  162. }
  163. .third__article {
  164. background-image: url("../img/background-3.jpg");
  165. }
  166. .fourth__article {
  167. background-image: url("../img/background-4.jpg");
  168. }
  169. article {
  170. background-color: rgba(0, 0, 0, 0.7);
  171. background-blend-mode: multiply;
  172. background-position: center;
  173. background-size: cover;
  174. background-repeat: no-repeat;
  175. color: #fff;
  176. display: flex;
  177. flex-direction: column;
  178. justify-content: space-between;
  179. align-items: center;
  180. border-radius: 25px;
  181. input[type="radio"] {
  182. appearance: none;
  183. position: fixed;
  184. & ~ div {
  185. height: 0;
  186. overflow: hidden;
  187. transition: height 0.5s ease-in-out;
  188. }
  189. &:checked ~ div {
  190. height: 450px;
  191. }
  192. &:checked ~ label {
  193. cursor: default;
  194. }
  195. }
  196. label {
  197. padding-top: 25px;
  198. height: 100px;
  199. width: 100%;
  200. text-align: center;
  201. cursor: pointer;
  202. }
  203. div {
  204. display: flex;
  205. flex-direction: column;
  206. justify-content: space-between;
  207. align-items: center;
  208. ul {
  209. width: 100%;
  210. list-style-type: disc;
  211. padding: 0 50px;
  212. display: flex;
  213. flex-direction: column;
  214. justify-content: center;
  215. align-items: start;
  216. gap: 10px;
  217. }
  218. a {
  219. margin-bottom: 50px;
  220. padding: 11px 65px;
  221. background-color: #fff;
  222. color: #000;
  223. text-decoration: none;
  224. cursor: pointer;
  225. border: 0;
  226. border-radius: 25px;
  227. transition: transform 0.1s ease-in-out;
  228. &:hover {
  229. transform: scale(1.1);
  230. }
  231. &:active {
  232. transform: translateY(10px);
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }
  239. .portfolio {
  240. margin-top: 150px;
  241. h2 {
  242. margin-bottom: 95px;
  243. text-align: center;
  244. }
  245. .portfolio__list {
  246. display: flex;
  247. flex-direction: column;
  248. gap: 45px;
  249. user-select: none;
  250. hr {
  251. display: block;
  252. height: 3px;
  253. border: 0;
  254. border-top: 3px solid #e4e0e0;
  255. margin: 0;
  256. padding: 0;
  257. }
  258. .portfolio__item {
  259. display: flex;
  260. justify-content: space-between;
  261. align-items: center;
  262. flex-wrap: wrap;
  263. gap: 25px;
  264. div {
  265. display: flex;
  266. flex-wrap: wrap;
  267. gap: 35px;
  268. align-items: center;
  269. justify-content: center;
  270. }
  271. a {
  272. font-weight: bold;
  273. cursor: pointer;
  274. text-decoration: none;
  275. color: #000;
  276. &:hover {
  277. text-decoration: underline;
  278. text-underline-offset: 6px;
  279. }
  280. }
  281. p {
  282. background-color: #000;
  283. color: #fff;
  284. padding: 11px 28px;
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. border-radius: 25px;
  289. cursor: default;
  290. }
  291. }
  292. }
  293. }
  294. }
  295. @media screen and (max-width: 1600px) {
  296. .notebook {
  297. grid-row-start: 2;
  298. grid-column-start: 4 !important;
  299. grid-column-end: 9 !important;
  300. text-align: center;
  301. img {
  302. margin-bottom: 10px !important;
  303. }
  304. }
  305. .keyboard {
  306. grid-column-start: 3 !important;
  307. grid-column-end: 10 !important;
  308. }
  309. }
  310. @media screen and (max-width: 1250px) {
  311. .portfolio__item {
  312. max-width: 800px;
  313. margin: 0 auto;
  314. justify-content: center !important;
  315. }
  316. }
  317. @media screen and (max-width: 750px) {
  318. main {
  319. section:first-child {
  320. width: 310px;
  321. }
  322. }
  323. h1 {
  324. font-size: 50px !important;
  325. }
  326. p,
  327. a {
  328. font-size: 16px;
  329. }
  330. .carousel-item {
  331. width: 100% !important;
  332. }
  333. input[type="radio"] {
  334. &:checked ~ div {
  335. height: 600px;
  336. }
  337. }
  338. .accordion {
  339. article {
  340. div {
  341. ul {
  342. li {
  343. font-size: 16px;
  344. }
  345. }
  346. }
  347. }
  348. }
  349. }