style.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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(img/main.png);
  64. background-repeat: no-repeat;
  65. background-size: cover;
  66. }