File size: 1,977 Bytes
b52d041
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9413e0e
b52d041
 
 
 
 
 
 
 
 
 
 
 
d2168f7
b52d041
1679b4b
b52d041
 
 
c620930
b52d041
 
 
0742a6f
b52d041
 
 
 
 
dd25652
b52d041
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1c30c87
 
 
 
 
 
 
 
 
 
3effa3d
 
 
9413e0e
3effa3d
b52d041
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
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}

body{
    background-image:url('https://img.freepik.com/free-vector/engraving-hand-drawn-mushroom-pattern_23-2148901998.jpg?w=2000');
    background-size:fill;
    background-attachment: fixed;
    background-blend-mode: overlay;
    width: 100vw;
    display: flex;
    padding: 2em 1em;
    flex-direction: column;
    align-items: center;
    row-gap: 1em;
}


.header{
    width: 100%;
    background:#FFF36D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
   text-align: center;
}
h1{
    font-size: 32px;
  width:100%;
    font-weight: 700;
}

.container{
    width: 50%;
    margin-top: 100px;
    padding: 0 46px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);

}
h1{
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

label{
    padding:  10px;
}
select{
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px auto;
    font-size: 16px;
    outline: none;
    cursor: pointer;
}
button{
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;

}

.container #result {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fields {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edible {
    color: green;
}

#result #prediction {
    color: red;
}

@media only screen and (max-width: 768px) {
  .container {
    width: 80%;
  }

  .fields {
    grid-template-columns: 1fr;
  }


  h2 {
    font-size: 24px;
  }
}