-
Notifications
You must be signed in to change notification settings - Fork 2
/
estilo.css
142 lines (118 loc) · 3.36 KB
/
estilo.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import url('https://fonts.googleapis.com/css2?family=Gelasio:wght@400;500;700&family=Henny+Penny&family=Hubballi&family=Inspiration&family=Lato:ital,wght@0,300;1,700&family=Monofett&family=Mystery+Quest&family=Playfair+Display+SC:wght@400;700&family=Poppins:wght@200;300;400;500;600;700;800&family=Quattrocento&family=Righteous&family=Sarala:wght@400;700&family=Satisfy&display=swap');
body {
margin: 0;
height: 100vh;
background-image: url(img/background_poster.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
font-family: 'Gelasio', serif;
}
.banner {
position: relative;
width: 100%;
height: 100vh;
display: flex;
justify-content: flex-end;
align-items: flex-end;
margin: 0px auto;
background-image: url(img/castelo\ vetor222.png);
background-size: 900px;
background-position: 100% 0px;
background-repeat: no-repeat;
animation: animate-background linear 12s infinite;
}
@keyframes animate-background {
from {background-position: 40% 50px;}
to { background-position: 0px -100px;}
}
.banner .content {
max-width: 680px;
margin-right: 140px;
font-family: 'Gelasio', serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
}
.icones-menu {
padding-top: 20px;
}
.icones-menu .icone {
margin-top: 0px;
height: 40px;
text-align: right;
padding-bottom: 150px;
padding-left: 15px;
}
.banner .content h2 {
text-shadow: 1px 1px rgb(244, 210, 255);
text-align: right;
line-height: 1.1em;
text-transform: uppercase;
font-weight: 500;
font-size: 3.9em;
letter-spacing: 0.07em;
color: rgb(42, 37, 71);
text-align: right;
padding-bottom: -50px;
}
.banner .content h2 span {
font-weight: 800;
font-size: 1.5em;
}
.banner .content p {
font-size: 1.2em;
font-weight: 500;
letter-spacing: 0.02em;
line-height: 1.5em;
color: rgb(19, 17, 20);
margin: 15px 0 25px;
text-align: right;
padding-bottom: 80px;
}
/*responsividade*/
@media (max-width: 991px) {
.banner {
position: relative;
background-size: 500px;
display: flex;
justify-content: flex-start;
align-items: center;
}
@keyframes animate-background {
from {background-position: 120% 70px;}
to { background-position: -250px 0px;}
}
.banner .content {
top: initial;
right: initial;
max-width: 960px;
margin-left: 50px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
}
.banner .content h2 {
text-shadow: 1px 1px rgb(244, 210, 255);
text-align: left;
font-size: 1.8em;
letter-spacing: 0.05em;
}
.icones-menu {
padding-top: -50px;
}
.icones-menu .icone {
height: 30px;
text-align: left;
padding-bottom: 150px;
padding-left: 0;
padding-right: 7px;
}
.banner .content p {
font-size: 0.9em;
font-weight: 400;
text-align: left;
}
}