davidovicnikola's picture
<!DOCTYPE html>
d7133be verified
Raw History Blame Contribute Delete
1.73 kB
/* Base Styles */
:root {
--primary: #6E7B6A;
--secondary: #E7A6A9;
--light: #F7F8F6;
--dark: #1e293b;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
color: var(--dark);
margin: 0;
padding: 0;
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Raleway', sans-serif;
line-height: 1.2;
}
/* Hero Section */
.hero {
display: flex;
flex-direction: row;
min-height: 80vh;
background: linear-gradient(to bottom, #6E7B6A, #B8CBB1);
padding: 2rem;
color: white;
}
.hero-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding-right: 2rem;
}
.hero-image {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.hero-image img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.search-box {
display: flex;
margin-top: 2rem;
}
.search-box input {
flex: 1;
padding: 1rem;
border: none;
border-radius: 4px 0 0 4px;
background-color: var(--light);
}
.search-box button {
padding: 0 2rem;
background-color: var(--secondary);
color: white;
border: none;
border-radius: 0 4px 4px 0;
cursor: pointer;
transition: background-color 0.3s;
}
.search-box button:hover {
background-color: #d88b8e;
}
/* Different Section */
.different {
padding: 4rem 2rem;
background: linear-gradient(to bottom, #B8CBB1, #A1B699);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.hero {
flex-direction: column;
}
.hero-content {
padding-right: 0;
margin-bottom: 2rem;
}
}