File size: 4,454 Bytes
97a49f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Analysis Result</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>

        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');



        body {

            background: #0e0e11;

            background: radial-gradient(circle at top left, #0d5daa, #13161d 65%);

            font-family: 'Outfit', sans-serif;

            color: #f5f5f5;

            margin: 0;

            padding: 0;

            height: 100vh;

            display: flex;

            align-items: center;

            justify-content: center;

        }



        .wrapper {

            display: flex;

            width: 90%;

            max-width: 1100px;

            min-height: 600px;

            height: 95%;

            background: rgba(15, 15, 20, 0.85);

            backdrop-filter: blur(20px);

            border-radius: 20px;

            box-shadow: 0 0 40px rgba(0,0,0,0.5);

            overflow: hidden;

        }



        .left {

            flex: 0.9;

            background: linear-gradient(180deg, rgb(17 126 203), rgb(36 41 57 / 95%));

            color: #fff;

            display: flex;

            flex-direction: column;

            justify-content: center;

            align-items: center;

            text-align: center;

            padding: 3rem 2rem;

        }



        .left h1 {

            font-family: 'Playfair Display', serif;

            font-size: 2.2rem;

            margin-bottom: 1rem;

        }



        .left p {

            font-size: 1rem;

            max-width: 80%;

            color: #d4d4d4;

        }



        .right {

            flex: 1.1;

            padding: 3rem 2rem;

            display: flex;

            flex-direction: column;

            align-items: center;

            justify-content: center;

            overflow-y: auto;

        }



        .lead {

            font-size: 1.05rem;

            line-height: 1.7;

            text-align: justify;

            color: #ccc;

            margin-bottom: 2rem;

            max-width: 85%;

        }



        img {

            max-width: 85%;

            height: auto;

            border-radius: 14px;

            box-shadow: 0 0 25px rgba(0,0,0,0.5);

            margin-bottom: 2rem;

        }



        .btn {

            background: linear-gradient(135deg, #6b85ff, #5e68f9);

            color: #fff;

            border: none;

            border-radius: 10px;

            padding: 0.8rem 1.8rem;

            font-weight: 500;

            transition: all 0.3s ease;

        }



        .btn:hover {

            background: linear-gradient(135deg, #5f85bd, #4b5adb);

            transform: translateY(-2px);

            box-shadow: 0 5px 20px rgba(107 121 255 / 30%);

        }



        footer {

            text-align: center;

            margin-top: 1rem;

            font-size: 0.85rem;

            color: #777;

        }



        @media (max-width: 992px) {

            .wrapper {

                flex-direction: column;

                min-height: auto;

                width: 95%;

            }

            .left, .right {

                width: 100%;

                padding: 2rem 1.5rem;

            }

            img, .lead {

                max-width: 100%;

            }

        }



        ::-webkit-scrollbar {

            width: 8px;

        }



        ::-webkit-scrollbar-thumb {

            background: #333;

            border-radius: 10px;

        }



        ::-webkit-scrollbar-track {

            background: transparent;

        }

    </style>
</head>
<body>
    <div class="wrapper">
        <div class="left">
            <h1>Terrain Change Analysis</h1>
            <p>Smart SAR-based detection model to visualize glacier retreat, floods, and environmental shifts.</p>
        </div>

        <div class="right">
            <p class="lead">{{ analysis }}</p>
            <img src="{{ result_image }}" alt="Result Image">
            <a href="/" class="btn">Upload Another Pair</a>
            <footer>&copy; 2025 Cosmic Narrator — Flood Impact Detection Project</footer>
        </div>
    </div>
</body>
</html>