style.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
  2. .container {
  3. width: 1140px;
  4. margin: 0 auto;
  5. }
  6. h1{
  7. font-family: "Playfair Display", serif;
  8. font-size: 64px;
  9. }
  10. h1+p{
  11. font-family: "Roboto", sans-serif;
  12. font-weight: 300;
  13. font-size: 36px;
  14. }
  15. li, p, button{
  16. font-family: "Roboto", sans-serif;
  17. font-weight: 300;
  18. font-size: 24px;
  19. }
  20. h1, p{
  21. margin: 0;
  22. }
  23. h1{
  24. margin-bottom: 20px;
  25. }
  26. section {
  27. margin-bottom: 100px;
  28. }
  29. .nav_item
  30. {list-style: none;
  31. margin-left: 60px;
  32. }
  33. a{
  34. text-decoration: none;
  35. color: black;
  36. }
  37. ul{
  38. display: flex;
  39. }
  40. .header{
  41. display: flex ;
  42. justify-content: space-between;
  43. align-items: center;
  44. }
  45. button{
  46. padding: 20px 30px;
  47. border: 1px solid black;
  48. background-color: rgba(255, 255, 255, 0);
  49. color: black;
  50. margin-top: 30px;
  51. }
  52. button:hover{
  53. background-color: black;
  54. color: white;
  55. transition: 1s;
  56. }
  57. .cover{
  58. height: 80vh;
  59. display: flex;
  60. align-items: center;
  61. }
  62. #cover{
  63. background-image: url(FitoNyashki/images/main.png);
  64. background-repeat: no-repeat;
  65. background-size: cover;
  66. }
  67. .us{
  68. display:flex;
  69. align-items: center;
  70. }
  71. .content{
  72. margin-left: 70px;
  73. }
  74. h2{
  75. font-size: 48px;
  76. }
  77. .card_d{
  78. display: flex;
  79. justify-content: space-between;
  80. width: 100%;
  81. }
  82. .cards{
  83. display: flex;
  84. flex-wrap: wrap;
  85. justify-content: space-between;
  86. }
  87. .card{
  88. width: 300px;
  89. margin-bottom: 60px;
  90. }
  91. #guide{
  92. background-image: url(FitoNyashki/images/form_bg.png);
  93. }
  94. .guide_content{
  95. height: 40vh;
  96. }
  97. .guide_content{
  98. display: flex;
  99. align-items: center;
  100. }
  101. input{
  102. height: 30px;
  103. width: 240px;
  104. }
  105. .blocks{
  106. display: flex;
  107. flex-wrap: wrap;
  108. justify-content: space-between;
  109. }
  110. .block{
  111. margin-bottom: 60px;
  112. }
  113. .block_d:h2{
  114. margin: 0px;
  115. }
  116. #svaz{
  117. margin: 0;
  118. }
  119. .svaz1{
  120. background-image: url(FitoNyashki/images/contact_img.png);
  121. height: 52vh;
  122. display: flex;
  123. justify-content: flex-end;
  124. align-items: center;
  125. }
  126. .svaz_txt{
  127. width: 650px;
  128. }
  129. footer{
  130. display: flex;
  131. flex-direction: column;
  132. justify-content: center;
  133. align-items: center;
  134. }