395 lines
5.9 KiB
CSS
395 lines
5.9 KiB
CSS
@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");
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
scroll-behavior: smooth;
|
|
}
|
|
header {
|
|
position: relative;
|
|
height: 80vh;
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
|
|
url("/assets/banner.jpeg") center/cover no-repeat;
|
|
color: white;
|
|
}
|
|
|
|
/* NAVBAR */
|
|
|
|
.logo img {
|
|
height: 60px;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
padding: 20px 40px;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
font-family: "Poppins", serif;
|
|
gap: 50px;
|
|
}
|
|
|
|
nav ul li {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
nav ul li a {
|
|
text-decoration: none;
|
|
color: white;
|
|
font-weight: bold;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
nav ul li a:hover {
|
|
color: #f5511f;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.hamburger {
|
|
display: none;
|
|
flex-direction: column;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hamburger div {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: white;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
/* HERO */
|
|
|
|
.hero-section {
|
|
padding: 50px 20px;
|
|
height: auto;
|
|
min-height: 600px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-left {
|
|
max-width: 800px;
|
|
text-align: left;
|
|
color: white;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-left h1 {
|
|
font-size: 3rem;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.hero-left p {
|
|
font-size: 1.2rem;
|
|
line-height: 1.5;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.hero-button {
|
|
display: inline-block;
|
|
padding: 15px 30px;
|
|
background-color: #f5511f;
|
|
color: white;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
opacity: 0.9;
|
|
text-decoration: none;
|
|
border-radius: 20px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hero-button:hover {
|
|
opacity: 1;
|
|
background-color: #e44b1a;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.hero-section img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-section {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-left {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.hero-left h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.hero-left p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero-button {
|
|
font-size: 1rem;
|
|
padding: 10px 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-left h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-left p {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.hero-button {
|
|
font-size: 0.9rem;
|
|
padding: 8px 15px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1366px) {
|
|
.hero-section img {
|
|
display: none;
|
|
width: 100px;
|
|
background-color: red;
|
|
}
|
|
|
|
.hero-left {
|
|
margin-bottom: 300px;
|
|
}
|
|
}
|
|
|
|
/* CONTACT BUTTON */
|
|
|
|
.button {
|
|
border-radius: 20px;
|
|
background-color: #f75d2f;
|
|
border: none;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
width: 180px;
|
|
transition: all 0.5s;
|
|
cursor: pointer;
|
|
margin: 5px;
|
|
}
|
|
|
|
.button span {
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.button span:after {
|
|
content: "\00bb";
|
|
position: absolute;
|
|
opacity: 0;
|
|
top: 0;
|
|
right: -20px;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.button:hover span {
|
|
padding-right: 25px;
|
|
}
|
|
|
|
.button:hover span:after {
|
|
opacity: 1;
|
|
right: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
nav ul {
|
|
display: none;
|
|
flex-direction: column;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
position: absolute;
|
|
top: 60px;
|
|
right: 40px;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
nav ul.active {
|
|
display: flex;
|
|
}
|
|
|
|
.hamburger {
|
|
display: flex;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero .cta {
|
|
font-size: 1rem;
|
|
}
|
|
.button {
|
|
width: 150px;
|
|
}
|
|
}
|
|
|
|
/* FEATURED SECTION */
|
|
.featured-section-container {
|
|
background-color: #f1f6fd;
|
|
display: flex;
|
|
justify-content: "center";
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: "Poppins", serif;
|
|
}
|
|
|
|
.section-title span {
|
|
color: #f75d2f;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.section-title h2 {
|
|
font-size: 3rem;
|
|
color: #444;
|
|
}
|
|
.featured-section {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.featured-section .fs-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 50px;
|
|
}
|
|
|
|
.featured-section .fs-row img {
|
|
width: 200px;
|
|
height: auto;
|
|
}
|
|
|
|
.featured-section .fs-row img:hover {
|
|
transition: transform 2s ease-in-out;
|
|
cursor: pointer;
|
|
filter: grayscale(100%);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.section-title h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.featured-section .fs-row img {
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.section-title h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.featured-section img {
|
|
width: 120px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
/* footer styling */
|
|
|
|
.footer {
|
|
font-family: "Poppins", serif;
|
|
background-color: black;
|
|
color: #fff;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.footer-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.footer-section {
|
|
margin: 10px;
|
|
}
|
|
|
|
.footer-section h3 {
|
|
border-bottom: 2px solid #555;
|
|
color: #f5511f;
|
|
padding-bottom: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer-section ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-section ul li {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.footer-section ul li a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-section ul li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-bottom {
|
|
margin: auto;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
border-top: 1px solid #555;
|
|
width: 80%;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer-container {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-section {
|
|
text-align: center;
|
|
}
|
|
}
|