-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (128 loc) · 2.37 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
125
126
127
128
129
130
131
*{
padding: 0;
margin: 0;
box-sizing: border-box;
color: #a09038;
font-family: 'Poppins', sans-serif;
}
ul{
list-style: none;
font-style: italic;
font-weight: 700;
}
a{
text-decoration: none;
}
body{
background: url(./img/pexels-cut.jpg) no-repeat center center fixed;
background-size: cover;
}
header{
display: flex;
justify-content: space-around;
align-items: center;
padding: 10px;
border-bottom: 1px solid white ;
margin-bottom: 50px;
border-color: #a09038;
}
header ul{
display: flex;
}
header ul li{
padding: 5px;
}
header ul li a{
transition: 300ms;
}
header ul li a:hover{
color: #c0a717;
text-decoration: underline;
}
.container{
text-align: center;
}
.container .nome h1{
font-size: 60px;
}
.container .nome h5{
font-size: 25px;
}
#arrow{
font-size: 35px;
animation: blink 1s steps(5, start) infinite;
}
#arrow i {
cursor: pointer;
}
@keyframes blink {
to {
visibility: hidden;
}
}
#animation{
transition: 300ms;
}
.rotate{
transform: rotate(180deg);
transition: 300ms
}
.active{
display: block !important;
}
#sobre p{
max-width: 800px;
margin: 0 auto;
}
.form{
width: 40%;
margin: 0 auto;
margin-top: 30px;
}
.form input{
width: 50%;
padding: 5px 10px;
border: none;
border-radius: 5px 0px 0px 5px;
}
.form button{
width: 15%;
padding: 5px 10px;
background: linear-gradient(to right, #c0a717 50%, #9c551b 50%);
background-size: 200% 100%;
background-position: right bottom;
color: #FFF;
font-weight: 600;
border: none;
cursor: pointer;
transition: all 300ms ease-out;
border-radius: 0px 5px 5px 0px;
margin-top: 20px;
margin-left: -5px;
}
.form button:hover{
background-position: left bottom;
}
@media only screen and (max-width: 480px) {
.form{
width: 100%;
}
}
@media only screen and (max-width: 480px) {
.container .nome h1 {
font-size: 30px;
}
.container .nome h5 {
font-size: 15px;
}
#sobre p {
max-width: 80%;
}
#arrow i {
font-size: 25px;
text-align: justify;
}
}
/* box-sizing: border-box - faz com q o conteudo dentro do box se contente dentro da sua box,
qnd tiver width e hight, a soma deles seja apenas eles */
/* back-url - cobrir toda a tela, fixado e sem repetir */