-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
176 lines (149 loc) · 3.11 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
nav {
justify-content: space-around;
align-items: center;
height: 17vh;
display: flex;
}
#result{
text-align: center;
height: 17vh;
}
form{
align-items: center;
height: 350px;
width: 400px;
margin: auto;
border-radius: 20px;
/* background-color: rgb(113, 185, 236); */
/* padding: 30px; */
/* border-radius: 20px; */
/* background-color: rgb(169, 60, 220); */
}
input{
width:90%;
font-size:18px;
border:.5px solid #63707E;
/* border-radius: 30px; */
padding:10px 10px;
box-sizing:border-box;
margin:5px 0px 15px;
/* color:black; */
}
button{
/* background-color: #63707E; */
font-size: 20px;
/* color: white; */
padding: 10px 10px;
/* border-radius: 8px; */
/* border: .5px solid black; */
width: 90%;
}
.logo {
font-size: 3rem;
}
.project-img{
border-radius: 2rem;
width: 50%;
height: 50%;
}
.flames-img{
border-radius: 10px;
width: 360px;
height: 300px;
}
.photo{
padding: 26px;
}
.wrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-gap: 30px;
align-items: center;
justify-items: center;
margin: auto;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
color: white;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
border-radius: 20px; /* Added for consistency with other styles */
}
.box {
overflow: hidden;
border-radius: 20px;
margin: auto;
position: relative; /* Added for overlay positioning */
}
.wrapper img {
width: 100%;
height: 100%;
border-radius: 20px;
transition: 0.5s all ease-in-out;
}
.wrapper video{
width: 100%;
height: 500px;
border-radius: 20px;
transition: 0.5s all ease-in-out;
}
.box:hover .overlay {
opacity: 1; /* Show overlay on hover */
}
.wrapper img:hover {
transform: scale(0.9);
}
@media only screen and (max-width: 600px) {
h1{
font-size:26px;
}
form{
width: 300px;
height: 310px;
background-color:white;
align-items: center;
margin: auto ;
color:black;
padding: 20px ;
font-size: 15px;
border-radius: 20px;
background-color: rgb(113, 185, 236);
}
button{
font-size: 16px;
width:100%;
}
input{
font-size: 16px;
width:100%;
border-radius: 20px;
width: 100%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
/* border: 3px solid #ccc; */
-webkit-transition: 0.5s;
transition: 0.5s;
outline: none;
}
input:focus{
/* border: 35px #48bb1e; */
}
input[type=text]:focus {
border: 1px solid rgb(95, 87, 87);
}
}