Spaces:
Sleeping
Sleeping
File size: 3,680 Bytes
65bffa4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
.project-detail-container {
color: white;
padding: 100px;
position: relative;
}
.project-list-section {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 3 kolom tetap */
gap: 50px;
}
.project-card {
background-color: #1c1c1e;
background-size: cover;
background-position: center;
border-radius: 20px;
overflow: hidden;
position: relative;
height: 400px;
display: flex; /* Tambahkan ini untuk menyesuaikan tinggi child */
flex-direction: column; /* Elemen disusun vertikal */
}
.project-info {
background-color: rgba(0, 0, 0, 0.6);
color: white;
padding: 15px;
border-radius: 0;
position: relative; /* Tambahkan ini */
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
justify-content: flex-start; /* Pastikan konten ada di atas */
z-index: 1;
box-sizing: border-box;
height: 100%;
}
.project-info h3 {
font-size: 48px;
margin-top: 5px;
margin-bottom: 10px; /* Spasi antar elemen */
}
.project-info h5 {
font-size: 16px;
margin-top: 0;
}
.project-info p {
margin: 5px 0; /* Spasi antar paragraf */
}
.project-description {
text-align: justify;
margin-bottom: 15px; /* Spasi dengan tombol */
margin-bottom: 15px; /* Mengatur jarak bawah */
min-height: 120px;
}
.project-date {
display: flex;
font-weight: bold;
margin-top: 15px;
margin-bottom: 15px;
padding: 10px; /* Kasih padding biar gak mepet */
gap: 20px;
}
.project-date-left, .project-date-right {
display: flex;
flex-direction: column; /* Ngebuat h4 & h6 vertikal */
justify-content: center; /* Centering secara vertical */
align-items: center; /* Centering secara horizontal */
padding: 10px;
}
.project-date-left {
width: auto;
border-top-left-radius: 15px; /* Rounded kiri atas */
border-bottom-left-radius: 15px; /* Rounded kiri bawah */
background-color: #f0f0f0; /* Kasih warna background biar kelihatan */
}
.project-date-right {
width: 80px; /* Bisa diatur sesuai kebutuhan */
border-top-right-radius: 15px; /* Rounded kanan atas */
border-bottom-right-radius: 15px; /* Rounded kanan bawah */
background-color: #f0f0f0; /* Kasih warna background biar kelihatan */
}
.project-date h4, .project-date h6 {
color: black; /* Semua font jadi warna hitam */
margin: 0;
}
.project-date h4 {
font-size: 20px; /* Ukuran font h4 jadi 20px */
margin-bottom: 10px;
}
.project-date h6 {
font-size: 10px; /* Ukuran font h6 jadi 10px */
}
.get-in-touch {
background-color: rgba(7, 14, 22, 1);
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
position: absolute; /* Pake absolute supaya bisa diposisikan relatif ke parent */
bottom: 30px; /* Posisikan tombol di bawah */
right: 30px; /* Posisikan tombol di kanan */
width: fit-content;
}
.get-in-touch:hover {
background-color: #0056b3;
}
/* ========== */
.gradient-circle {
/* width: 900px;
height: 900px; */
width: 200vw; /* 2x lebar viewport */
height: 200vh;
background: radial-gradient(circle, rgba(0, 61, 109, 0.5), rgba(0, 61, 109, 0.1));
border-radius: 50%;
filter: blur(100px);
position: absolute;
top: -300px;
left: 50%;
transform: translateX(-50%);
z-index: -1;
}
|