185 lines
3.5 KiB
CSS
185 lines
3.5 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap');
|
|
|
|
:root{
|
|
--Playfair: "Playfair Display", serif;
|
|
--Quicksand: "Quicksand", sans-serif;
|
|
--Roboto: "Roboto", sans-serif;
|
|
--dark: #3c393d;
|
|
--exDark: #2b2b2b;
|
|
}
|
|
*{
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: var(--Quicksand);
|
|
}
|
|
body{
|
|
line-height: 1.4;
|
|
color: var(--dark);
|
|
}
|
|
img{
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
.container{
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
padding: 0 1.2rem;
|
|
}
|
|
header{
|
|
min-height: 100vh;
|
|
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(image/katebartova0.jpg) center/cover no-repeat fixed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: stretch;
|
|
}
|
|
.navbar{
|
|
background: rgba(0, 0, 0, 0.6);
|
|
padding: 1.2rem;
|
|
}
|
|
.navbar-brand{
|
|
color: #fff;
|
|
font-size: 2rem;
|
|
display: block;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
font-family: var(--Playfair);
|
|
letter-spacing: 1px;
|
|
}
|
|
.navbar-nav{
|
|
padding: 0.8rem 0 0.2rem 0;
|
|
text-align: center;
|
|
}
|
|
.navbar-nav a{
|
|
text-transform: uppercase;
|
|
font-family: var(--Roboto);
|
|
letter-spacing: 1px;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
padding: 0.4rem 0.1rem;
|
|
letter-spacing: 3px;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
.navbar-nav a:hover{
|
|
opacity: 0.7;
|
|
}
|
|
.banner{
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: #fff;
|
|
}
|
|
.banner-title span{
|
|
font-family: var(--Playfair);
|
|
color: var(--exDark);
|
|
}
|
|
.banner p{
|
|
padding: 1rem 0 2rem 0;
|
|
font-size: 1.2rem;
|
|
text-transform: capitalize;
|
|
font-family: var(--Roboto);
|
|
font-weight: 300;
|
|
word-spacing: 2px;
|
|
}
|
|
.banner form{
|
|
background: #fff;
|
|
border-radius: 2rem;
|
|
padding: 0.6rem 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.search-input{
|
|
font-family: var(--Roboto);
|
|
font-size: 1.1rem;
|
|
width: 100%;
|
|
outline: 0;
|
|
padding: 0.6rem 0;
|
|
border: none;
|
|
}
|
|
.search-input::placeholder{
|
|
text-transform: capitalize;
|
|
}
|
|
.search-btn{
|
|
width: 40px;
|
|
font-size: 1.1rem;
|
|
color: var(--dark);
|
|
border: none;
|
|
background: transparent;
|
|
outline: 0;
|
|
cursor: pointer;
|
|
}
|
|
.design{
|
|
padding: 4.5rem 0;
|
|
}
|
|
.title{
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
}
|
|
.title h2{
|
|
font-family: var(--Playfair);
|
|
font-size: 2.4rem;
|
|
}
|
|
.title p{
|
|
text-transform: uppercase;
|
|
padding: 0.6rem 0;
|
|
}
|
|
.design-content{
|
|
margin: 2rem 0;
|
|
}
|
|
.design-item{
|
|
cursor: pointer;
|
|
margin: 1.5rem 0;
|
|
}
|
|
.design-img{
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.design-img::after{
|
|
position: absolute;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
.design-img img{
|
|
transition: all 0.5s ease;
|
|
}
|
|
.design-item:hover img{
|
|
transform: scale(1.2);
|
|
}
|
|
.design-img span:first-of-type{
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 10px;
|
|
left: 10px;
|
|
background: var(--exDark);
|
|
color: #fff;
|
|
padding: 0.25rem 1rem;
|
|
}
|
|
.design-img span:last-of-type{
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
}
|
|
.design-title{
|
|
padding: 1rem;
|
|
font-size: 1.2rem;
|
|
text-align: center;
|
|
width: 70%;
|
|
margin: 0 auto;
|
|
}
|
|
.design-title a{
|
|
color: var(--dark);
|
|
text-decoration: none;
|
|
text-transform: capitalize;
|
|
font-family: var(--Playfair);
|
|
} |