-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
135 lines (126 loc) · 2.41 KB
/
style.css
File metadata and controls
135 lines (126 loc) · 2.41 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;1,300;1,400&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Red Rose", cursive;
}
body {
background-image: url("./assets/pexels-maxyne-barcel-10402282 1.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100vh;
margin: 0 5%;
margin-top: 20px;
}
/* container */
.container {
display: grid;
grid-template-rows: 20vh 80vh;
}
/* ------------------------------ */
/* ---------- NAVBAR ------------ */
/* ------------------------------ */
.navbar {
display: grid;
grid-template-columns: 1fr 2fr auto;
justify-content: space-between;
align-items: center;
}
.navbar .logo {
margin: auto;
height: 45px;
}
.navbar .list {
display: grid;
list-style-type: none;
grid-template-columns: 1fr 1fr 1fr 1fr;
color: #e07c24;
font-size: 16px;
}
.navbar .button-small,
.button-large {
align-items: center;
padding: 5px 20px;
background-color: #de4839;
border: 0;
font-size: 16px;
color: #fff;
border-radius: 2px;
font-weight: bold;
}
/* ------------------------------ */
/* ---------- HERO ------------ */
/* ------------------------------ */
.hero {
text-align: center;
/* margin-top: 2%; */
}
.hero-heading {
font-size: 4em;
font-family: "Montserrat";
color: #de4839;
padding: 0 10%;
margin: 0 20px;
line-height: 1.5;
/* word-break: keep-all; */
}
.button-large {
margin-top: 12%;
font-size: 25px;
font-weight: 300;
}
.bottom div img {
margin: auto;
height: 90px;
position: absolute;
right: 5.5%;
bottom: 10%;
}
.button-small:hover,
.button-large:hover {
cursor: pointer;
background-color: #1c8d73;
}
.list-item:hover {
color: #fff;
font-weight: 400;
}
@media only screen and (max-width: 850px) {
.container {
display: grid;
grid-template-rows: 10vh 90vh;
}
.navbar .logo {
margin: auto;
height: 25px;
}
.navbar .list {
display: none;
}
.navbar .button-small,
.button-large {
align-items: center;
padding: 2px 15px;
background-color: #de4839;
border: 0;
font-size: 12px;
color: #fff;
border-radius: 2px;
font-weight: bold;
}
.hero {
text-align: center;
}
.hero-heading {
font-size: 2.3rem;
color: #fff;
line-height: 1.5;
}
.button-large {
margin-top: 12%;
font-size: 18px;
font-weight: 300;
}
}