-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (119 loc) · 2.3 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
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600&display=swap");
*{
box-sizing: border-box;
margin: 0;
padding: 0;
border: none;
}
body{
background-image: linear-gradient(to right, hsl(0, 0%, 100%), to hsl(0, 100%, 98%));
font-family: "Josefin Sans";
}
.container{
display: flex;
min-height: 100vh;
}
.logo{
margin: 60px 0;
width: 200px;
}
.bg-mobile{
display: none;}
h1{
font-size: 60px;
font-weight: 400;
color: hsl(0, 6%, 24%);
letter-spacing: 10px;
text-transform: uppercase;
position: relative;
margin-bottom: 25px;
margin-top: 10px;
line-height: 1.1;
}
h1 span{
color: hsl(0, 36%, 70%);
font-weight: 200;
}
p{
font-size: 16px;
font-weight: 300;
color: hsl(0, 36%, 70%);
line-height: 26px;
position: relative;
}
.left-sec{
background-image: url("./images/bg-pattern-desktop.svg");
background-size: cover;
background-position: center center;
padding: 0 40px 40px;
width: 60%;
}
.left-sec__content{
margin: 0 auto;
max-width: 450px;
}
.rigth-sec{
width: 40%;
}
.bg-img{
background-image: url("./images/hero-desktop.jpg");
background-size: cover;
background-position: center center;
}
form{
position: relative;
margin-top: 25px;
}
input{
background-color: transparent;
border: 1px solid hsl(0, 36%, 70%);
padding: 15px 30px;
border-radius: 50px;
width: 100%;
height: 55px;
font-size: 16px;
}
input:focus{
outline: none;
border-width: 2px;
box-shadow: 0px 0px 10px hsla(0, 36%, 70%, 0.5);
}
input::placeholder{
color: hsl(0, 36%, 70%);
}
form.error input{
border: 2px solid var(--Soft-Red);
}
button{
position: absolute;
top: 0;
right: 0;
background-image: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
padding: 15px;
border-radius: 50px;
width: 100px;
height: 55px;
box-shadow: 2px 5px 10px hsla(0, 36%, 70%, 0.5);
transition: opacity 0.2s ease;
cursor: pointer;
}
button:hover{
opacity: 0.6;
}
.error-icon{
display: none;
position: absolute;
top: 15px;
right: 110px;
}
form.error .error-icon{
display: block;
}
small{
display: none;
margin-top: 15px;
margin-left: 30px;
}
form.error small{
display: block;
}