style.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. html {
  2. scroll-behavior: smooth;
  3. }
  4. body {
  5. background-color: #121212;
  6. font-family: Arial, sans-serif;
  7. }
  8. h1 {
  9. color: white;
  10. text-align: center;
  11. margin: 2%;
  12. }
  13. .main_container {
  14. display: flex;
  15. flex-direction: row;
  16. flex-wrap: nowrap;
  17. margin-left: 5%;
  18. margin-right: 5%;
  19. /*border: 0.5px solid rgb(208, 160, 236);*/
  20. }
  21. /*Container*/
  22. .text_container {
  23. position: relative;
  24. width: 90%;
  25. min-height: 70%;
  26. margin: 3%;
  27. display: flex;
  28. flex-direction: column;
  29. flex-wrap: wrap;
  30. justify-content: flex-start;
  31. /*border: 0.5px solid rgb(206, 138, 138);*/
  32. }
  33. .img_container {
  34. margin: 3%;
  35. min-height: 40%;
  36. display: flex;
  37. justify-content: center;
  38. flex-direction: column;
  39. padding: 3%;
  40. align-items: flex-start;
  41. /*border: 0.5px solid rgb(138, 206, 186);*/
  42. }
  43. /*Content Classes*/
  44. .main_text {
  45. order: 0;
  46. padding: 15px;
  47. margin: 3%;
  48. text-align: left;
  49. border: 0.5px solid white;
  50. border-radius: 0px;
  51. color: white;
  52. align-self: flex-start;
  53. }
  54. .main_img {
  55. position: static;
  56. width: 60%;
  57. height: auto;
  58. border-radius: 70%;
  59. object-fit: cover;
  60. /*border: 0.5px solid rgb(227, 27, 143);*/
  61. }
  62. .projects {
  63. order: 1;
  64. padding: 2%;
  65. margin: 3%;
  66. text-align: left;
  67. border: 0.5px solid white;
  68. border-radius: 0px;
  69. align-self: flex-start;
  70. color: white;
  71. }
  72. .contacts {
  73. order: 2;
  74. padding: 2%;
  75. margin: 3%;
  76. text-align: left;
  77. border: 0.5px solid white;
  78. border-radius: 0px;
  79. align-self: flex-start;
  80. color: white;
  81. }