assignment-123/css/layout.css

266 lines
4.3 KiB
CSS
Raw Permalink Normal View History

2024-12-31 06:25:05 +00:00
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital@0;1&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap");
/* card styling */
.card-container {
margin: auto;
padding: 20px;
max-width: 1200px;
box-sizing: border-box;
}
.card-item-container {
margin: 20px 80px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 60px;
}
.card-container-title {
display: flex;
justify-content: center;
align-items: center;
margin: 30px 0px;
font-family: "Poppins", serif;
font-weight: bold;
text-align: center;
}
.card-container-title h2 {
font-size: 3rem;
}
.card-container-title span {
color: #f75d2f;
}
.card-item .card-icon {
padding: 20px;
background-color: black;
/* background-color: #f75d2f; */
text-align: center;
}
.card-item .card-icon i {
/* color: black; */
color: #f75d2f;
font-size: 30px;
}
.card-item {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease;
max-width: 400px;
gap: 30px;
box-sizing: border-box;
}
.card-item:hover {
transform: translateY(-10px);
}
.card-item img {
width: 100%;
height: auto;
}
.card-item h3 {
padding: 10px 15px;
font-size: 1.5rem;
font-weight: bolder;
text-transform: capitalize;
color: #333;
text-align: center;
font-family: "Poppins", serif;
}
.card-item p {
font-family: "Inter", serif;
padding: 0 15px 15px;
font-size: 1rem;
color: #666;
}
/* Responsive Design of cards section */
@media (max-width: 768px) {
.card-item {
max-width: 100%;
margin: 10px 0px;
}
.card-container-title h2 {
font-size: 2rem;
flex-wrap: wrap;
max-width: 90%;
}
.card-item-container {
gap: 15px;
}
}
@media (max-width: 480px) {
.card-item {
flex-wrap: wrap;
max-width: 100%;
}
}
/* MEET OUR TEAM */
.team-title {
font-family: "Poppins", serif;
text-align: center;
}
.team-title h2 {
font-size: 3rem;
}
.team-title span {
color: #f75d2f;
}
.team-section {
display: flex;
justify-content: center;
flex-direction: column;
font-family: "Arima", serif;
gap: 40px;
}
.team-item-row {
display: flex;
justify-content: center;
gap: 40px;
}
.team-item {
text-align: center;
}
.team-item img:hover {
cursor: pointer;
transition: 0.8s ease-out;
transform: scale(1.1);
}
@media (max-width: 768px) {
.team-title h2 {
font-size: 1.8rem;
}
.team-section {
gap: 20px;
}
.team-item-row {
flex-direction: column;
align-items: center;
}
}
/* PRICING */
.price-container {
margin: 60px 0px;
}
.pricing-title h2 {
color: black;
font-size: 3rem;
font-family: "Poppins", serif;
text-align: center;
}
.pricing-title span {
color: #f75d2f;
}
.price-row {
display: flex;
justify-content: center;
align-items: center;
gap: 60px;
}
.price-col {
font-family: "Arima", serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: #1f283b;
padding: 20px 40px;
border-radius: 20px;
color: #fff;
}
.price-col p {
font-size: 22px;
text-transform: uppercase;
letter-spacing: 3px;
/* color: #f75d2f; */
color: #f75d2f;
font-weight: bolder;
}
.price-col h3 {
font-size: 44px;
text-transform: capitalize;
margin: 20px 0 40px;
font-weight: 500;
}
.price-col span {
font-size: 16px;
}
.price-col ul {
margin: 20px 0px;
color: #ddd;
list-style: none;
}
.price-col ul li {
margin: 15px 0px;
padding-right: 40px;
}
.price-col ul li::before {
content: "\2022";
font-weight: bold;
margin-right: 8px;
color: #f75d2f;
margin-right: 8px;
}
.price-col button {
width: 100%;
padding: 14px 0px;
background: transparent;
color: #fff;
font-size: 15px;
border: 1px solid #f75d2f;
border-radius: 6px;
margin-top: 30px;
cursor: pointer;
transition: background 0.5s;
}
.price-col button:hover {
background-color: #f75d2f;
}
@media (max-width: 768px) {
.price-col {
flex-wrap: wrap;
}
.price-row {
flex-direction: column;
}
}