@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Orbitron", sans-serif;
}
body {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 10vw; /* Make the logo width relative to the viewport */
    max-width: 100px; /* Prevent it from getting too big */
    height: auto;
}
.container {
    width: 85%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 255, 255, 0.3);
}
h1 {
    font-size: 26px;
    color: #0ff;
    text-shadow: 0px 0px 10px #0ff;
    margin-bottom: 20px;
}
.input {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}
#input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    text-align: center;
    outline: none;
    border: 1px solid rgba(0, 255, 255, 0.3);
}
#btn {
    background: linear-gradient(90deg, #0ff, #0077ff);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0px 0px 5px #ffffff;
}
#btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px #0ff;
}
.output {
    margin-top: 20px;
}
.image {
    width: 100%;
    height: 300px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
}
#image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: none;
}
#loading {
    width: 50px;
    display: none;
}
.btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
button {
    background: rgba(0, 255, 255, 0.2);
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    color: #0ff;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0px 0px 5px #0ff;
}
button:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0px 0px 10px #0ff;
}
@media (max-width: 500px) {
    .container {
        width: 90%;
        padding: 20px;
    }
    h1 {
        font-size: 22px;
    }
    .image {
        height: 250px;
    }
    #logo {
        width: 20vw;
        max-width: 80px;
    }
}
@media (max-width : 400px){
    .container {
        width: 90%;
        padding: 0px;
        margin-top: 60px;
    }
}