-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
161 lines (146 loc) · 4.22 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encryption Techniques</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<style>
/* Body and Background */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #1d3557, #457b9d, #a8dadc);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
text-align: center;
}
/* Title */
h1 {
font-size: 4rem;
color: #f1faee;
margin-bottom: 30px;
text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
letter-spacing: 3px;
animation: fadeIn 2s ease-out;
}
/* Boxes Container */
.container {
display: flex;
gap: 40px;
justify-content: center;
align-items: center;
margin-bottom: 40px;
animation: fadeInUp 2s ease-out;
}
/* Individual Boxes */
.box {
background: #457b9d;
border-radius: 20px;
padding: 40px 60px;
text-align: center;
cursor: pointer;
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
width: 240px;
height: 240px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
}
.box:hover {
transform: translateY(-15px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
background-color: #1d3557;
}
.box h2 {
font-size: 2rem;
color: #f1faee;
margin: 0;
padding: 15px 0;
text-transform: uppercase;
transition: color 0.3s ease;
}
.box:hover h2 {
color: #a8dadc;
}
/* Footer */
footer {
position: absolute;
bottom: 10px;
font-size: 1rem;
color: rgba(255, 255, 255, 0.7);
letter-spacing: 1px;
}
footer a {
text-decoration: none;
color: #a8dadc;
font-weight: 600;
}
footer a:hover {
text-decoration: underline;
color: #f1faee;
}
/* Keyframe Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Media Queries */
@media (max-width: 768px) {
.container {
flex-direction: column;
gap: 25px;
}
h1 {
font-size: 2.8rem;
}
.box {
width: 200px;
height: 200px;
}
}
</style>
</head>
<body>
<h1>Encryption Techniques</h1>
<div class="container">
<div class="box" onclick="navigate('substitution.html')">
<h2>Substitution</h2>
</div>
<div class="box" onclick="navigate('transposition.html')">
<h2>Transposition</h2>
</div>
</div>
<footer>Made with 💻 by <a href="https://www.linkedin.com/in/kiran-kumar-k" target="_blank">Kiran</a></footer>
<script>
function navigate(page) {
window.location.href = page;
}
</script>
</body>
</html>