923 lines
13 KiB
CSS
923 lines
13 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
|
|
|
|
/* Apply Poppins font to all text on the website */
|
|
body {
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
/* If you want to apply the font to specific elements, you can use more specific selectors */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p,
|
|
a,
|
|
li {
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
/* Section Home */
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
section {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, rgb(19, 147, 197) 45%, rgb(96, 202, 238) 30%, black 90%);
|
|
color: white;
|
|
position: relative;
|
|
text-align: left;
|
|
padding: 100px;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 50%;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.btn-custom {
|
|
align-items: center;
|
|
background-color: white;
|
|
color: #3294ddcc;
|
|
font-weight: bold;
|
|
padding: 12px 20px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.btn-custom:hover {
|
|
background-color: #d4edda;
|
|
}
|
|
|
|
.btn-custom i {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.hero-image {
|
|
position: absolute;
|
|
right: 0%;
|
|
bottom: 0;
|
|
width: 40%;
|
|
max-height: 90vh;
|
|
|
|
}
|
|
|
|
.hero-layer {
|
|
position: absolute;
|
|
left: 0%;
|
|
bottom: 0;
|
|
max-height: 90vh;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 1024px) {
|
|
.hero {
|
|
padding: 50px;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 60%;
|
|
margin-bottom: 120px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero-image {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding: 50px 20px;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 100%;
|
|
margin-bottom: 120px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero-image {
|
|
width: 80%;
|
|
max-height: unset;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.hero-layer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Section Navbar */
|
|
#about {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
#services {
|
|
background: #e0f2f1;
|
|
}
|
|
|
|
#contact {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.navbar {
|
|
background: #207BCF;
|
|
padding: 10px 0;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.navbar-nav .nav-link {
|
|
padding: 10px 15px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
background: white;
|
|
border-radius: 5px;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.masuk-button {
|
|
background: rgba(50, 73, 221, 0.8);
|
|
color: white;
|
|
padding: 8px 15px;
|
|
border-radius: 5px;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.masuk-button:hover {
|
|
background: #2577B5;
|
|
}
|
|
|
|
/* Responsif untuk layar kecil */
|
|
@media (max-width: 992px) {
|
|
.navbar {
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.navbar-nav {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.navbar-nav .nav-link {
|
|
padding: 10px;
|
|
}
|
|
|
|
.tombol-auth {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.tombol-auth a {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
/* Section About Us */
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
align-items: stretch;
|
|
}
|
|
|
|
.custom-card {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
|
|
color 0.3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Efek Hover */
|
|
.custom-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
|
|
background: #3294ddcc;
|
|
color: white;
|
|
}
|
|
|
|
.custom-card:hover .card-title,
|
|
.custom-card:hover .card-text {
|
|
color: white;
|
|
}
|
|
|
|
.icon-img {
|
|
width: 50px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 1024px) {
|
|
.custom-card {
|
|
padding: 15px;
|
|
}
|
|
|
|
.icon-img {
|
|
width: 45px;
|
|
}
|
|
|
|
.custom-card .card-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.custom-card .card-text {
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.row {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.col-md-4 {
|
|
width: 90%;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.custom-card {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.icon-img {
|
|
width: 40px;
|
|
}
|
|
|
|
.custom-card .card-title {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.custom-card .card-text {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.col-md-4 {
|
|
width: 100%;
|
|
}
|
|
|
|
.custom-card {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.icon-img {
|
|
width: 35px;
|
|
}
|
|
|
|
.custom-card .card-title {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.custom-card .card-text {
|
|
font-size: 0.85rem;
|
|
}
|
|
}
|
|
|
|
/* Section Search */
|
|
|
|
.search-box {
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
display: inline-block;
|
|
text-align: left;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Search Tabs */
|
|
.search-tabs {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background: #f0f0f0;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.search-tabs button {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.search-tabs .active {
|
|
background: #ddd;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* Search Filters */
|
|
.search-filters {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-filters select,
|
|
.search-filters input {
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.search-button {
|
|
background: rgba(50, 73, 221, 0.8);
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-button:hover {
|
|
background: #3294ddcc;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 1024px) {
|
|
.search-box {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.search-tabs button {
|
|
padding: 8px 15px;
|
|
}
|
|
|
|
.search-filters select,
|
|
.search-filters input {
|
|
padding: 8px;
|
|
}
|
|
|
|
.search-button {
|
|
padding: 8px 15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.search-box {
|
|
max-width: 100%;
|
|
padding: 10px;
|
|
}
|
|
|
|
.search-tabs {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.search-tabs button {
|
|
flex-grow: 0;
|
|
font-size: 14px;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.search-filters {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.search-filters select,
|
|
.search-filters input {
|
|
width: 100%;
|
|
}
|
|
|
|
.search-button {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
/* Section Recommendation */
|
|
.kost-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.kost-card {
|
|
background: white;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.kost-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.kost-card img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.kost-card-content {
|
|
padding: 15px;
|
|
}
|
|
|
|
.kost-label {
|
|
display: inline-block;
|
|
padding: 5px 10px;
|
|
border-radius: 5px;
|
|
font-size: 12px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.kost-rent {
|
|
background: #3294ddcc;
|
|
color: white;
|
|
}
|
|
|
|
.kost-details {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
color: #666;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Responsiveness */
|
|
@media (max-width: 1024px) {
|
|
.kost-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.kost-grid {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
|
|
.kost-card-content {
|
|
padding: 10px;
|
|
}
|
|
|
|
.kost-card img {
|
|
height: 180px;
|
|
}
|
|
|
|
.kost-details {
|
|
font-size: 13px;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.kost-card img {
|
|
height: 160px;
|
|
}
|
|
|
|
.kost-card-content h3 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.kost-card-content p {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* Section Fitur - Responsive */
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.header h2 {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.btn-custom1 {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #3294ddcc;
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 10px 18px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.btn-custom1:hover {
|
|
background-color: #d4edda;
|
|
}
|
|
|
|
.swiper {
|
|
width: 100%;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.image-container img {
|
|
width: 100%;
|
|
height: 250px;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.image-container:hover img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 15px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
.image-container:hover .overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.overlay h3 {
|
|
font-size: 16px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.overlay p,
|
|
.overlay strong {
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.lihat-Kost {
|
|
background: #3294ddcc;
|
|
color: white;
|
|
padding: 6px 12px;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
border-radius: 5px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Swiper Navigation */
|
|
.swiper-button-prev,
|
|
.swiper-button-next {
|
|
background: #3294ddcc;
|
|
width: 35px;
|
|
height: 35px;
|
|
border-radius: 50%;
|
|
color: white;
|
|
}
|
|
|
|
.swiper-button-prev::after,
|
|
.swiper-button-next::after {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Responsive Adjustments */
|
|
@media (max-width: 1024px) {
|
|
.image-container img {
|
|
height: 220px;
|
|
}
|
|
.overlay {
|
|
padding: 12px;
|
|
}
|
|
.overlay h3 {
|
|
font-size: 14px;
|
|
}
|
|
.overlay p,
|
|
.overlay strong {
|
|
font-size: 12px;
|
|
}
|
|
.lihat-Kost {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
.btn-custom1 {
|
|
margin-top: 10px;
|
|
}
|
|
.image-container img {
|
|
height: 200px;
|
|
}
|
|
.swiper-button-prev,
|
|
.swiper-button-next {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.header h2 {
|
|
font-size: 20px;
|
|
}
|
|
.btn-custom1 {
|
|
font-size: 14px;
|
|
padding: 8px 14px;
|
|
}
|
|
.image-container img {
|
|
height: 180px;
|
|
}
|
|
.overlay {
|
|
padding: 10px;
|
|
}
|
|
.overlay h3 {
|
|
font-size: 12px;
|
|
}
|
|
.overlay p,
|
|
.overlay strong {
|
|
font-size: 10px;
|
|
}
|
|
.lihat-Kost {
|
|
font-size: 11px;
|
|
}
|
|
.swiper-button-prev,
|
|
.swiper-button-next {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
}
|
|
|
|
/* Section Contact */
|
|
|
|
#contact {
|
|
background: url("image/calista.jpg") center/cover no-repeat;
|
|
padding: 80px 0;
|
|
position: relative;
|
|
}
|
|
|
|
#contact::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.contact-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
max-width: 1100px;
|
|
margin: auto;
|
|
padding: 20px;
|
|
position: relative;
|
|
z-index: 2;
|
|
gap: 150px;
|
|
}
|
|
|
|
.contact-info {
|
|
color: white;
|
|
max-width: 50%;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-info h2 {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-info p {
|
|
font-size: 20px;
|
|
margin: 10px 0;
|
|
text-align: left;
|
|
gap: 10px;
|
|
}
|
|
|
|
.contact-details p {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
margin: 5px 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-details i {
|
|
margin-right: 10px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.social-media {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.social-media a {
|
|
color: white;
|
|
font-size: 20px;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.social-media a:hover {
|
|
color: #1e7d3a;
|
|
}
|
|
|
|
.social-media span {
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Contact Form */
|
|
.contact-form {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.contact-form h3 {
|
|
color: #3294ddcc;
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 15px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
.contact-form textarea {
|
|
height: 80px;
|
|
}
|
|
|
|
.contact-form button {
|
|
background: rgba(50, 73, 221, 0.8);
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.contact-form button:hover {
|
|
background: #3294ddcc;
|
|
}
|
|
|
|
/* Responsif */
|
|
@media (max-width: 1024px) {
|
|
.contact-container {
|
|
gap: 80px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.contact-container {
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-info {
|
|
max-width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-info h2 {
|
|
font-size: 28px;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-details p {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.social-media {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.contact-form {
|
|
max-width: 100%;
|
|
width: 90%;
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.contact-info h2 {
|
|
font-size: 24px;
|
|
text-align: left;
|
|
}
|
|
|
|
.contact-details p {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.social-media a {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.contact-form {
|
|
padding: 20px;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
font-size: 14px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.contact-form button {
|
|
font-size: 14px;
|
|
padding: 8px;
|
|
}
|
|
}
|