-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (104 loc) · 2.4 KB
/
style.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
123
124
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--Violet: hsl(257, 40%, 49%);
--Soft-Magenta: hsl(300, 69%, 71%)
}
body{
font-family: 'Open Sans', sans-serif;
background: url('https://i.ibb.co/vmGjxDp/bg-desktop.png'), var(--Violet);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.container{
/* background-color: orange; */
width: 90%;
margin: 3vh auto;
}
.content-container{
margin: 20px 0;
display: flex;
}
.content-container .image-content, .content-container .content{
width: 50%;
}
.content-container .image-content img{
width: 100%;
}
.content-container .content{
padding: 40px 50px;
}
.content-container .content h2{
font-size: 2rem;
color: #fff;
margin-bottom: 25px;
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
.content-container .content p{
color: #fff;
}
.content-container .content .button{
border: 0;
margin: 20px 0;
padding: 15px 50px;
border-radius: 100px;
color: var(--Violet);
cursor: pointer;
box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}
.content-container .content .button:hover{
color: #fff;
background-color: var(--Soft-Magenta);
}
.social-media{
display: flex;
justify-content: end;
gap: 10px;
}
.social-media h3{
width: 40px;
height: 40px;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border: 1px solid #fff;
cursor: pointer;
font-weight: 600;
}
.social-media h3:hover{
color: var(--Soft-Magenta);
border: 1px solid var(--Soft-Magenta);
}
@media only screen and (max-width: 700px) {
body {
background: url("https://i.ibb.co/48Q2yTX/bg-mobile.png"), var(--Violet);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.content-container{
flex-direction: column;
}
.content-container .image-content, .content-container .content{
width: 100%;
text-align: center;
}
.content-container .content .button{
width: 50%;
text-align: center;
}
.social-media{
flex-direction: row;
justify-content: center;
}
}