Skip to content

Commit

Permalink
Update about.css
Browse files Browse the repository at this point in the history
  • Loading branch information
hk2166 authored Dec 10, 2024
1 parent 157475c commit 62a892c
Showing 1 changed file with 131 additions and 111 deletions.
242 changes: 131 additions & 111 deletions about.css
Original file line number Diff line number Diff line change
@@ -1,111 +1,131 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html, body {
margin: 0;
overflow: hidden;
font-family: 'Arial', sans-serif;
line-height: 1.6;
background: url('203905 copy.png') no-repeat center center fixed;
background-size: cover;
color: yellow;
background-color: black;
}

#myVideo {
position: fixed;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
transform: translate(-50%, -50%);
transform-origin: center;
}

.hero {
height: 100vh;
background-position: center center;
background-size: cover;
background-attachment: fixed;
position: absolute;
z-index: -1;
display: flex;
align-items: center;
justify-content: center;
}

.header {
display: flex;
color: white;
justify-content: space-evenly;
gap: 2rem;
height: 80px;
align-items: center;
background-color: black;
margin-top: 0;
width: 100%;
position: fixed;
}

header .header-content h1 {
font-size: 3rem;
text-shadow: 3px 3px 5px rgba(140, 21, 21, 0.7);
color: white;
}

header .header-content p {
font-size: 1.5rem;
text-shadow: 3px 3px 5px rgba(255, 255, 255, 0.7);
color: white;
}

main {
margin: 20px auto;
max-width: 800px;
position: relative;
z-index: 1;
}

section {
margin-bottom: 30px;
padding: 20px;
background: rgba(224, 224, 224, 0.9);
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
border: 2px solid black;
}

h2 {
color: orange;
margin-bottom: 10px;
font-size: 2rem;
text-align: center;
text-shadow: 2px 2px 3px black;
}

p {
margin-bottom: 15px;
font-size: 1.1rem;
line-height: 30px;
}

ul {
list-style-type: disc;
padding-left: 20px;
}

footer {
text-align: center;
padding: 20px;
background: rgba(51, 51, 51, 0.8);
color: white;
border-radius: 10px;
margin-top: 20px;
}

footer p {
font-size: 1.2rem;
}
body {
font-family: "Poppins", Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #121212;
color: #f4f4f4;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

h1 {
text-align: center;
font-size: 3rem;
color: #ffffff;
margin-bottom: 30px;
text-transform: uppercase;
letter-spacing: 2px;
}

.about-section {
text-align: center;
margin-bottom: 40px;
}

.about-section p {
font-size: 1.2rem;
line-height: 1.8;
color: #bbbbbb;
max-width: 800px;
margin: 0 auto;
}

.team {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 40px;
}

.team-member {
background-color: #1e1e1e;
border-radius: 15px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
text-align: center;
width: 320px;
padding: 20px 15px;
transition: transform 0.4s, box-shadow 0.4s;
overflow: hidden;
}

.team-member:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.team-member .image-container {
width: 150px;
height: 150px;
margin: 0 auto 15px;
border-radius: 50%;
overflow: hidden;
position: relative;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover .image-container {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(80, 250, 123, 0.7);
}

.team-member img {
width: 100%;
height: 100%;
object-fit: cover;
}

.team-member h3 {
margin: 15px 0 5px;
color: #ffffff;
font-size: 1.5rem;
}

.team-member p {
font-size: 1rem;
color: #cccccc;
line-height: 1.5;
}

.team-member p::before {
content: "★ ";
color: #50fa7b;
}

/* Footer styling for a complete look */
footer {
text-align: center;
padding: 20px 0;
margin-top: 40px;
background-color: #181818;
color: #888888;
font-size: 0.9rem;
}

footer a {
color: #f4f4f4;
text-decoration: none;
}

footer a:hover {
color: #50fa7b;
}

@media (max-width: 768px) {
.team-member {
width: 100%;
}

h1 {
font-size: 2.5rem;
}

.about-section p {
font-size: 1rem;
}
}

0 comments on commit 62a892c

Please sign in to comment.