alibidaran commited on
Commit
e295576
1 Parent(s): 942bf23

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +9 -1
style.css CHANGED
@@ -83,7 +83,7 @@ body {
83
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("367699051_6933000596719629_6679415602440356445_n.jpg");
84
 
85
  /* Set a specific height */
86
- height: 60%;
87
  /*width:50%;
88
 
89
  /* Position and center the image to scale nicely on all screens */
@@ -91,6 +91,14 @@ body {
91
  background-repeat: no-repeat;
92
  background-size: cover;
93
  position: relative;
 
 
 
 
 
 
 
 
94
  }
95
  .card-a{
96
  width: 400px; /* Adjust width as needed */
 
83
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("367699051_6933000596719629_6679415602440356445_n.jpg");
84
 
85
  /* Set a specific height */
86
+ height: 80%;
87
  /*width:50%;
88
 
89
  /* Position and center the image to scale nicely on all screens */
 
91
  background-repeat: no-repeat;
92
  background-size: cover;
93
  position: relative;
94
+ }
95
+ .hero-text {
96
+ text-align: center;
97
+ position: absolute;
98
+ top: 50%;
99
+ left: 50%;
100
+ transform: translate(-50%, -50%);
101
+ color: white;
102
  }
103
  .card-a{
104
  width: 400px; /* Adjust width as needed */