-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
113 lines (112 loc) · 2.18 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
@import url('https://fonts.googleapis.com/css2?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');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.nav{
position: fixed;
background-color: rgba(27, 124, 141, 0.336);
width: 100%;
padding: 10px 0;
z-index: 12;
}
.menu{
max-width: 1250px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
}
.logo a{
text-decoration: none;
color: white;
font-size: 35px;
font-weight: 600;
}
.ul{
display: inline-flex;
}
.ul li{
list-style: none;
margin-left: 7px;
}
.ul li a{
text-decoration: none;
color: white;
font-size: 18px;
font-weight: 500;
padding: 8px 15px;
border-radius: 5px;
transition: all 0.3s ease;
}
.ul li a:hover{
background-color: white;
color: black;
}
.img{
background: url('img.jpg')no-repeat;
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
position: relative;
}
.img::before{
content: '';
position: absolute;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0);
}
.center{
position: absolute;
top: 52%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
padding: 0 200px;
text-align: center;
}
.title{
color: white;
font-size: 52px;
font-weight: 600;
}
.subtitle{
color: white;
font-size: 52px;
font-weight: 600;
}
.buttons{
margin-top: 20px;
}
.learn-more-button,
.subscribe-button{
height: 55px;
width: 170px;
border-radius: 7px;
border: none;
margin: 0px 10px;
border: 2px solid white;
font-size: 20px;
font-weight: 500;
padding: 0 10px;
cursor: pointer;
outline: none;
transition: all 0.3 ease;
}
.learn-more-button{
color: rgb(255, 255, 255);
background: none;
}
.learn-more-button:hover{
background: white;
color: black;
}
.subscribe-button:hover{
background: blue;
color: lightblue;
}