File tree Expand file tree Collapse file tree 1 file changed +72
-0
lines changed
Expand file tree Collapse file tree 1 file changed +72
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,78 @@ section h2 {
8484 font-size : var (--second-font-size );
8585}
8686
87+ /**Hero section formatting**/
88+
89+ /*Format hero section*/
90+ .heroSection {
91+ position : relative;
92+ width : 100% ;
93+ height : 35vh ;
94+ display : flex;
95+ align-items : center;
96+ justify-content : center;
97+ text-align : center;
98+ overflow : hidden;
99+ }
100+
101+ /*Format video background*/
102+ .videoBackground {
103+ position : absolute;
104+ top : 50% ;
105+ left : 50% ;
106+ transform : translate (-50% , -50% );
107+ min-width : 100% ;
108+ min-height : 100% ;
109+ width : auto;
110+ height : auto;
111+ object-fit : cover;
112+ z-index : -1 ;
113+ }
114+
115+ /*Format video overlay*/
116+ .videoOverlay {
117+ position : absolute;
118+ top : 0 ;
119+ left : 0 ;
120+ width : 100% ;
121+ height : 100% ;
122+ background-color : rgba (0 , 0 , 0 , 0.5 );
123+ z-index : 0 ;
124+ }
125+
126+ /*Format hero content*/
127+ .heroContent {
128+ position : relative;
129+ z-index : 1 ;
130+ }
131+
132+ /*Format hero content h2*/
133+ .heroContent h2 {
134+ font-family : var (--secondary-round-font );
135+ font-size : var (--second-font-size );
136+ color : white;
137+ padding : 20px ;
138+ margin-bottom : 50px ;
139+ }
140+
141+ /*Format hero content a*/
142+ .heroContent a {
143+ font-family : var (--primary-round-font );
144+ font-size : 2.5em ;
145+ font-weight : bolder;
146+ text-decoration : none;
147+ text-transform : uppercase;
148+ background-color : # BDFFFD ;
149+ padding : 50px ;
150+ border-radius : 10px ;
151+ color : black;
152+ display : inline-block;
153+ width : 60% ;
154+ margin-top : 20px ;
155+ }
156+
157+
158+
87159/**Project section Formatting**/
88160/*Format Project Grid*/
89161.projectGrid {
You can’t perform that action at this time.
0 commit comments