-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
123 lines (115 loc) · 2.25 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
:root{
--main-color: #deab5f;
--primary-color: #312e2e;
}
button{
padding: 10px 30px;
background-color: var(--main-color);
border: none;
cursor: pointer;
}
*{
padding: 0;
margin: 0;
box-sizing: border-box;
color: white
}
body{
background-color: black;
}
nav{
display: flex;
justify-content: space-around;
align-items: center;
color: white;
font-family: sans-serif;
padding-top: 15px;
}
li{
display: inline;
list-style: none;
}
li a{
color: white;
text-decoration: none;
margin-left: 40px;
}
li a:hover{
border-bottom: 2px solid yellow;
}
/* Nav-end */
/* Header start */
.header{
background: url(img/pexels-nao-triponez-129207.jpg);
background-position: center;
background-size: cover;
height: 100vh;
font-family: 'Playfair Display', serif ;
font-weight: normal;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
text-align: center;
position: relative;
}
.mainhe{
position: absolute;
top: 7rem;
font-size: 4rem;
word-spacing: 10px;
}
.primaryh{
position: absolute;
bottom: 4rem;
font-size: 4rem;
word-spacing: 10px;
margin-bottom: -10px;
}
.btn{
position: absolute;
bottom: 0px;
padding: 10px 30px;
margin-top: 40px;
background: transparent;
background-color: var(--main-color);
border: none;
}
#our-story{
margin-top: 15%;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
}
.img{
width: 400px;
height: 400px;
background: url(img/pexels-chitokan-2183027-removebg-preview.png);
background-position: center;
background-size: cover;
}
.title-style{
display: flex;
align-items: center;
}
.title{
font-family: "Playfair Display", serif;
font-size: 4rem;
color: white;
transform: translate(-100px);
}
.line{
width: 100px;
height: 2px;
background-color: white;
transform: translatex(-120px);
}
.section-content p{
max-width: 500px;
color: white;
font-family: sans-serif;
}
/* Our-story-end */