web-site / style.css
GarGerry's picture
Update style.css
feff4ef verified
/* Reset dasar */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
color: #333;
line-height: 1.6;
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #0b3d91;
padding: 10px 20px;
color: #fff;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
.navbar .logo img {
height: 50px;
}
.navbar nav ul {
list-style: none;
display: flex;
gap: 20px;
}
.navbar nav ul li a {
text-decoration: none;
color: #fff;
font-weight: bold;
transition: color 0.3s ease;
}
.navbar nav ul li a:hover {
color: #f0a500;
}
/* Headline Section */
.headline {
text-align: center;
padding: 100px 20px; /* Menambahkan padding agar tidak terhalang navbar */
background: #f4f4f4;
}
.headline h1 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.headline p {
font-size: 1.2rem;
}
/* Portfolio Section */
.portfolio-section {
padding: 50px 20px;
background: #fff;
}
.portfolio-section h2 {
text-align: center;
margin-bottom: 30px;
font-size: 2rem;
}
.portfolio-item {
margin-bottom: 50px;
}
.portfolio-item h3 {
font-size: 1.8rem;
margin-bottom: 20px;
text-align: left;
color: #0b3d91;
}
.assets,
.partners {
display: flex;
justify-content: center;
gap: 30px;
}
.asset, .partner {
text-align: center;
}
.asset img, .partner img {
height: 50px;
margin-bottom: 10px;
}
/* Footer */
footer {
background-color: #333;
color: #fff;
padding: 30px 20px;
text-align: center;
}
footer h4 {
margin-bottom: 15px;
}
footer ul {
list-style: none;
padding: 0;
}
footer ul li {
margin: 5px 0;
}
footer ul li a {
color: #f0a500;
text-decoration: none;
}
footer ul li a:hover {
text-decoration: underline;
}
footer .copyright {
margin-top: 20px;
font-size: 0.9rem;
}