home.css
unknown
plain_text
10 months ago
4.1 kB
3
Indexable
/* Banner */
.banner {
background-color: #d8c3a5;
height: 100%PX;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 150px;
}
.banner-image1 {
width: 100%;
height: auto;
object-fit: cover;
}
/* Carousel */
.carousel {
display: flex;
align-items: center;
justify-content: center;
margin: 20px;
position: relative;
height: 300px;
overflow: hidden;
margin-top: 50px;
}
.carousel-container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 600px;
}
.carousel-item {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
transition: all 0.5s ease;
opacity: 0;
transform: scale(0.7);
}
.carousel-item.center {
transform: scale(1);
z-index: 2;
opacity: 1;
}
.carousel-item.left {
transform: translateX(-350px) scale(0.3);
z-index: 1;
opacity: 0.6;
}
.carousel-item.right {
transform: translateX(350px) scale(0.3);
z-index: 1;
opacity: 0.6;
}
.carousel-item.hidden {
opacity: 0;
z-index: 0;
transform: scale(0.7);
}
.carousel-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
font-size: 30px;
cursor: pointer;
color: #1e2c49;
z-index: 3;
}
.left-arrow {
left: 20px;
}
.right-arrow {
right: 20px;
}
.carousel-image {
width: 100%;
height: auto;
border-radius: 10px;
}
/* Greeting Section */
.greeting-section {
display: flex;
justify-content: center;
align-items: center;
/* Màu xanh đậm */
padding: 50px 20px;
}
.greeting-container {
display: flex;
align-items: center;
justify-content: space-between;
width: 80%;
max-width: 800px;
background-color: #1e2c49;
color: white;
border-radius: 10px;
overflow: hidden;
height: 300px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.greeting-image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
margin-left: 40px;
/* Giữ hình ảnh trong hình tròn */
}
.greeting-icon {
font-size: 50px;
color: #fff;
}
.greeting-content {
padding: 20px;
flex: 1;
margin-left: 50px;
}
.greeting-content h2 {
font-size: 28px;
margin-bottom: 20px;
}
.greeting-content p {
margin: 10px 0;
color: #c1c1c1;
}
.greeting-button {
margin-top: 20px;
padding: 10px 20px;
background-color: #4a2f1f;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.greeting-button:hover {
background-color: #653f2b;
}
/* Chat Icon */
.chat-icon {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #4a4a4a;
color: white;
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
cursor: pointer;
}
/* Custom Section */
.custom-section {
display: flex;
justify-content: space-between;
align-items: center;
margin: 50px auto;
padding: 40px 20px;
max-width: 1200px;
gap: 20px;
}
/* Custom Item */
.custom-item {
display: flex;
align-items: center;
justify-content: space-between;
width: 48%;
background-color: #f9f5f1;
border-radius: 20px;
overflow: hidden;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
padding: 20px;
}
/* Custom Item - Image */
.custom-image {
width: 150px;
height: 150px;
background-color: #d8c3a5;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
margin-right: 20px;
}
.custom-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
/* Custom Item - Text */
.custom-text {
flex-grow: 1;
color: #1e2c49;
}
.custom-text p {
margin: 5px 0;
font-size: 14px;
color: #4a4a4a;
line-height: 1.5;
}
.custom-text p:first-child {
font-weight: bold;
font-size: 16px;
margin-bottom: 10px;
}Editor is loading...
Leave a Comment