/* Global Reset */
* {
    box-sizing: border-box;
}

body {
    /* background-color: #121212; */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h2 {
    color: #00bcd4;
    text-align: center;
}

h3 {
    text-align: center;
}

.container {
    margin-top: 50px;
    margin-bottom: 50px;
    color: #E0F7FA;
    text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
    padding: 20px;
    border: #2c2c2c;
    border-radius: 15px;
    box-shadow: 0 0 8px 0 rgba(0, 188, 212, 0.5);
}

form {
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #ffffff;
    font-size: 16px;
}

button {
    width: 100%;
    background-color: #00bcd4;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

button:hover {
    background-color: #0097a7;
}

.result {
    margin-top: 20px;
    text-align: center;
    font-size: 1.2em;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px 5px;
    }

    .parent {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .container {
        width: 100%;
        max-width: 90vw;
        margin-top: 40px;
        margin-left:auto;
        margin-right: auto;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 0 8px 0 rgba(0, 188, 212, 0.5);
        font-size: 0.95em;
    }

    form {
        max-width: 100%;
        margin-bottom: 15px;
        padding: 0;
    }

    input[type="text"] {
        padding: 10px 10px;
        font-size: 15px;
    }

    button {
        padding: 10px;
        font-size: 15px;
    }

    h2, h3 {
        font-size: 1.25em;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .result {
        font-size: 1em;
        margin-top: 15px;
        text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
    }
}