@charset "utf-8";

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


body {
    background-image: url(img/jim.png);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: sans-serif;
    text-align: center;
}

h1 {
    color: white;
    margin-top: 50px;
    font-family: serif;
}

.neontext {
    font-size: 50px;
    font-weight: bold;
    background-image: url(img/fire.png);
    background-size: 200% auto;
    /* 👈 大きくすることで動きが見える */
    background-repeat: repeat-y;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
    animation: fire 4s linear infinite;
}

@keyframes fire {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}


h1.neontext {
    background-image: url(img/fire.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 30px 0;
    display: inline-block;
    width: 100%;
}


.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 350px);
}

.contents {
    background-color: rgba(0, 0, 0, 0.6);
    width: 500px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #0ff;
    box-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff;
    text-align: left;
    color: white;
}

.form-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: white;
}

.form-row select {
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
}

input[type="submit"] {
    padding: 5px 16px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #0ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background-color: #0cc;
    box-shadow: 0 0 15px #0cc, 0 0 25px #0cc;
}

.button-wrapper {
    display: flex;
    margin-top: 4%;

}

/* .camera-icon {
    width: 40px;
} */


@media screen and (max-width: 430px) {
    h1 {
        font-size: 28px;
        margin-top: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-row label {
        font-size: 14px;
    }

    .form-row select {
        width: 100%;
    }

    .wrapper {
        padding-top: 10px;
    }
}