style.css 551 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. html {
  2. scroll-behavior: smooth;
  3. }
  4. body {
  5. background-color: grey;
  6. }
  7. .main_container {
  8. position: relative;
  9. width: 99%;
  10. min-height: 100vh;
  11. margin: 20px;
  12. }
  13. .main_text {
  14. position: absolute;
  15. top: 5%;
  16. left: 28%;
  17. transform: translate(-50%, -50%);
  18. text-align: left;
  19. border: 0.5px solid white;
  20. border-radius: 0px;
  21. padding: 15px;
  22. margin: 20px;
  23. }
  24. .main_img {
  25. position: absolute;
  26. top: 0%;
  27. left: 68%;
  28. width: 25%;
  29. height: auto;
  30. border-radius: 70%;
  31. object-fit: cover;
  32. }
  33. h1 {
  34. color: white;
  35. text-align: center;
  36. }