main.css 7.4 KB

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