style.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. }
  65. .box:hover{
  66. transform: scale(1.1);
  67. background: rgb(16, 157, 251);
  68. color: rgb(255, 255, 255);
  69. box-shadow: 3px 5px 5px black;
  70. }
  71. .img-box{
  72. width: 100px;
  73. border: 10px rgb(208, 187, 187) solid;
  74. border-radius: 100%;
  75. }
  76. h1{
  77. font-size: 20px;
  78. font-weight: bold;
  79. padding-top: 10px;
  80. }
  81. .box>p{
  82. padding: 20px ;
  83. }
  84. .box>a{
  85. border: 1px rgb(112, 80, 118) solid;
  86. border-radius: 20px;
  87. background: rgb(112, 80, 118);
  88. width: 60px;
  89. height: 30px;
  90. display: inline-block;
  91. padding-top: 3px;
  92. color: rgb(255, 255, 255);
  93. font-weight: bold;
  94. }
  95. .box>a:hover{
  96. color: rgb(255, 255, 0);
  97. transform: scale(1.4);
  98. background: rgb(0, 128, 0);
  99. border: 1px rgb(0, 128, 0) solid;
  100. width: 70px;
  101. box-shadow: 3px 3px 5px rgb(0, 0, 0);
  102. }
  103. .aside-left{
  104. background: rgb(215, 153, 187);
  105. width: 210px;
  106. order: 1;
  107. padding-top: 10px;
  108. }
  109. .aside-right{
  110. background: rgb(148, 178, 201);
  111. width: 210px;
  112. order: 3;
  113. padding-top: 10px;
  114. }
  115. /* Уровень 3 */
  116. .holder{
  117. border: 2px black solid;
  118. border-radius: 15px 15px 0 0;
  119. width: 1138.5px;
  120. height: 104px;
  121. display: flex;
  122. flex-wrap: wrap;
  123. justify-content: space-between;
  124. }
  125. .item:first-child{
  126. background: #fd644d;
  127. border-radius: 15px 0 0 0;
  128. width: 567.3px;
  129. height: 50px;
  130. order: 1;
  131. padding-top: 15px;
  132. }
  133. .item:nth-child(2){
  134. background: #4983b2;
  135. width: 376.3px;
  136. height: 50px;
  137. order: 4;
  138. padding-top: 15px;
  139. }
  140. .item:nth-child(3){
  141. background: #663797;
  142. width: 379px;
  143. height: 50px;
  144. order: 3;
  145. padding-top: 15px;
  146. }
  147. .item:nth-child(4){
  148. background: #0e7f12;
  149. width: 379px;
  150. height: 50px;
  151. order: 5;
  152. padding-top: 15px;
  153. }
  154. .item:last-child{
  155. background: #fda429;
  156. border-radius: 0 15px 0 0;
  157. width: 567px;
  158. height: 50px;
  159. order: 2;
  160. padding-top: 15px;
  161. }
  162. /* FOOTER */
  163. .footer{
  164. background: rgb(11, 236, 128);
  165. text-align: center;
  166. height: 30px;
  167. padding-top: 7px;
  168. }