style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. *,
  2. *::before,
  3. *::after {
  4. box-sizing: border-box;
  5. }
  6. /* WRAPPER */
  7. .wrapper{
  8. display: flex;
  9. flex-direction: column;
  10. min-height: 100vh;
  11. }
  12. /* HEADER */
  13. .header{
  14. background: rgb(222, 184, 0);
  15. }
  16. .container-logo-nav{
  17. padding: 15px;
  18. display: flex;
  19. justify-content: space-between;
  20. align-items: center;
  21. }
  22. .logo{
  23. width: 220px;
  24. height: 70px;
  25. }
  26. li, a{
  27. text-decoration: none;
  28. color: rgb(0, 0, 0);
  29. display: inline;
  30. margin-right: 3px;
  31. font-size: 20px;
  32. }
  33. li>a:hover{
  34. color: rgb(255, 255, 255);
  35. }
  36. /* MAIN */
  37. .main{
  38. display: flex;
  39. text-align: center;
  40. flex-grow: 1;
  41. }
  42. .block-center{
  43. order: 2;
  44. padding-top: 20px;
  45. }
  46. .block-center>p{
  47. padding-top: 20px;
  48. font-weight: bold;
  49. font-size: 20px;
  50. }
  51. .flex-boxs{
  52. margin: 30px 30px 5px;
  53. display: flex;
  54. justify-content: space-around;
  55. flex-wrap: wrap;
  56. }
  57. .box{
  58. border: 2px rgb(128, 128, 128) solid;
  59. border-radius: 20px;
  60. width: 285px;
  61. height: 350px;
  62. padding-top: 15px;
  63. margin-bottom: 25px;
  64. display: flex;
  65. flex-direction: column;
  66. align-items: center;
  67. }
  68. .box:hover{
  69. transform: scale(1.1);
  70. background: rgb(16, 157, 251);
  71. color: rgb(255, 255, 255);
  72. box-shadow: 3px 5px 5px black;
  73. }
  74. .img-box{
  75. height: 100px;
  76. border: 10px rgb(208, 187, 187) solid;
  77. border-radius: 100%;
  78. }
  79. h1{
  80. font-size: 20px;
  81. font-weight: bold;
  82. padding-top: 10px;
  83. }
  84. .box>p{
  85. padding: 20px 20px 0 ;
  86. flex-grow: 1;
  87. }
  88. .box>a{
  89. border: 1px rgb(112, 80, 118) solid;
  90. border-radius: 20px;
  91. background: rgb(112, 80, 118);
  92. width: 60px;
  93. height: 30px;
  94. display: inline-block;
  95. padding-top: 3px;
  96. margin-bottom: 10px;
  97. color: rgb(255, 255, 255);
  98. font-weight: bold;
  99. }
  100. .box>a:hover{
  101. color: rgb(255, 255, 0);
  102. transform: scale(1.4);
  103. background: rgb(0, 128, 0);
  104. border: 1px rgb(0, 128, 0) solid;
  105. width: 70px;
  106. box-shadow: 3px 3px 5px rgb(0, 0, 0);
  107. }
  108. .aside-left{
  109. background: rgb(215, 153, 187);
  110. width: 210px;
  111. order: 1;
  112. padding-top: 10px;
  113. }
  114. .aside-right{
  115. background: rgb(148, 178, 201);
  116. width: 210px;
  117. order: 3;
  118. padding-top: 10px;
  119. }
  120. /* Уровень 3 */
  121. .holder{
  122. border: 2px black solid;
  123. border-radius: 15px 15px 0 0;
  124. width: 1138.5px;
  125. height: 104px;
  126. display: flex;
  127. flex-wrap: wrap;
  128. justify-content: space-between;
  129. }
  130. .item:first-child{
  131. background: #fd644d;
  132. border-radius: 15px 0 0 0;
  133. width: 567.3px;
  134. height: 50px;
  135. order: 1;
  136. padding-top: 15px;
  137. }
  138. .item:nth-child(2){
  139. background: #4983b2;
  140. width: 376.3px;
  141. height: 50px;
  142. order: 4;
  143. padding-top: 15px;
  144. }
  145. .item:nth-child(3){
  146. background: #663797;
  147. width: 379px;
  148. height: 50px;
  149. order: 3;
  150. padding-top: 15px;
  151. }
  152. .item:nth-child(4){
  153. background: #0e7f12;
  154. width: 379px;
  155. height: 50px;
  156. order: 5;
  157. padding-top: 15px;
  158. }
  159. .item:last-child{
  160. background: #fda429;
  161. border-radius: 0 15px 0 0;
  162. width: 567px;
  163. height: 50px;
  164. order: 2;
  165. padding-top: 15px;
  166. }
  167. /* FOOTER */
  168. .footer{
  169. background: rgb(11, 236, 128);
  170. text-align: center;
  171. height: 30px;
  172. padding-top: 7px;
  173. }