@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    outline: none;

}


body {

    background-image: linear-gradient(270deg, #ccf540 0, #c1f43e 25%, #b5f23c 50%, #a9f03b 75%, #9cef3a 100%);

}


img {
    display: block;
    margin: 0 auto;
    padding: 2rem;
    filter: drop-shadow(5px 5px 5px);
}

h1 {
    display: flex;
    color: #fff;
    font-weight: 700;
    justify-content: center;
    position: relative;
    font-size: 3rem;
    padding: 1.5rem;
    text-shadow: 2px 2px 4px black;

}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    filter: drop-shadow(5px 5px 5px);
}

.inputs {
    display: flex;
    gap: 62px;
    /* Espaço entre os inputs */
    height: 7vh;
    border: 1px;
    border-radius: 14px;
    filter: drop-shadow(5px 5px 5px);

}

.inpu-min,
.input-max {
    width: 342px;
    height: 74px;
    border: 1px solid #fff;
    border-radius: 14px;
    background-color: rgb(123, 11, 227);
    font-weight: 700;
    font-size: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
}

.sorte {
    display: flex;
    background-color: chartreuse;
    justify-content: center;
    margin: 0 auto;
    width: 342px;
    height: 74px;
    border: 2.8px solid;
    border-radius: 14px;
    align-items: center;
    font-weight: 800;
    font-size: 50px;
    margin-top: 110px;
    filter: drop-shadow(5px 5px 5px);
    cursor: pointer;
}

button:hover {
    opacity: 0.9;

}

button:active {
    opacity: 0.8;


}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid white;
    box-sizing: border-box;
    animation: cobrinha 2s linear infinite;
    border-radius: 14px;
}

/*Resultado*/

.result-container {
    text-align: center;
    margin-top: 20px;
    display: contents;
}

.result {
    font-size: 34px;
    font-weight: bold;
    color: #333;
    margin-top: 30px;
}

@keyframes cobrinha {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }

    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 100%);
    }

    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%);
    }

    75% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
}

/*Responsivo*/

@media screen and (max-width: 600px) {
    img {
        width: 25rem;
        display: block;
        margin: 0 auto;
        padding: 2rem;
        margin-top: 100px;
        filter: drop-shadow(5px 5px 5px);
    }

    body {
        padding: 0;
        margin: 0;

    }

    h1 {
        display: flex;
        color: #fff;
        font-weight: 500;
        justify-content: center;
        font-size: 25px;
        text-shadow: 2px 2px 4px black;
        transform: translateY(450px);
        margin-top: -8rem;

    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
        filter: drop-shadow(5px 5px 5px);
    }

    .inputs {
        display: flex;
        gap: 62px;
        /* Espaço entre os inputs */
        height: 2vh;
        border: 1px;
        border-radius: 14px;
        filter: drop-shadow(5px 5px 5px);
        justify-content: center;
        align-items: center;

    }

    .inpu-min,
    .input-max {
        width: 140px;
        height: 74px;
        border: 1px solid #fff;
        border-radius: 14px;
        background-color: rgb(123, 11, 227);
        font-weight: 700;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: -15rem;
        display: flex;

    }

    .sorte {
        display: flex;
        background-color: chartreuse;
        justify-content: center;
        margin: 0 auto;
        width: 342px;
        height: 74px;
        border: 2.8px solid;
        border-radius: 14px;
        align-items: center;
        font-weight: 800;
        font-size: 50px;
        margin-top: -10rem;
        filter: drop-shadow(5px 5px 5px);

    }

}

/* Regras de CSS para telas entre 601px e 1024px */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    img {
        width: 25rem;
        display: block;
        margin: 0 auto;
        padding: 2rem;
        margin-top: 100px;
        filter: drop-shadow(5px 5px 5px);
    }

    body {
        padding: 0;
        margin: 0;

    }

    h1 {
        display: flex;
        color: #fff;
        font-weight: 500;
        justify-content: center;
        font-size: 25px;
        text-shadow: 2px 2px 4px black;
        transform: translateY(450px);
        margin-top: -8rem;

    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
        filter: drop-shadow(5px 5px 5px);
    }

    .inputs {
        display: flex;
        gap: 62px;
        /* Espaço entre os inputs */
        height: 2vh;
        border: 1px;
        border-radius: 14px;
        filter: drop-shadow(5px 5px 5px);
        justify-content: center;
        align-items: center;

    }

    .inpu-min,
    .input-max {
        width: 140px;
        height: 74px;
        border: 1px solid #fff;
        border-radius: 14px;
        background-color: rgb(123, 11, 227);
        font-weight: 700;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: -15rem;
        display: flex;

    }

    .sorte {
        display: flex;
        background-color: chartreuse;
        justify-content: center;
        margin: 0 auto;
        width: 342px;
        height: 74px;
        border: 2.8px solid;
        border-radius: 14px;
        align-items: center;
        font-weight: 800;
        font-size: 50px;
        margin-top: -10rem;
        filter: drop-shadow(5px 5px 5px);

    }

}

/* Para todos os dispositivos */
@media all and (max-width: 480px) {
    img {
        width: 25rem;
        display: block;
        margin: 0 auto;
        padding: 2rem;
        margin-top: 100px;
        filter: drop-shadow(5px 5px 5px);
    }

    body {
        padding: 0;
        margin: 0;


    }

    h1 {
        display: flex;
        color: #fff;
        font-weight: 500;
        justify-content: center;
        font-size: 25px;
        text-shadow: 2px 2px 4px black;
        transform: translateY(450px);
        margin-top: -8rem;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
        filter: drop-shadow(5px 5px 5px);
    }

    .inputs {
        display: flex;
        gap: 62px;
        /* Espaço entre os inputs */
        height: 2vh;
        border: 1px;
        border-radius: 14px;
        filter: drop-shadow(5px 5px 5px);
        justify-content: center;
        align-items: center;

    }

    .inpu-min,
    .input-max {
        width: 140px;
        height: 74px;
        border: 1px solid #fff;
        border-radius: 14px;
        background-color: rgb(123, 11, 227);
        font-weight: 700;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: -15rem;
        display: flex;

    }

    .sorte {
        display: flex;
        background-color: chartreuse;
        justify-content: center;
        margin: 0 auto;
        width: 342px;
        height: 74px;
        border: 2.8px solid;
        border-radius: 14px;
        align-items: center;
        font-weight: 800;
        font-size: 50px;
        margin-top: -10rem;
        filter: drop-shadow(5px 5px 5px);

    }
}

/* Para telas */
@media screen and (min-width: 481px) and (max-width: 768px) {
    img {
        width: 25rem;
        display: block;
        margin: 0 auto;
        padding: 2rem;
        margin-top: 100px;
        filter: drop-shadow(5px 5px 5px);
    }

    body {
        padding: 0;
        margin: 0;


    }

    h1 {

        display: flex;
        color: #fff;
        font-weight: 500;
        justify-content: center;
        font-size: 25px;
        text-shadow: 2px 2px 4px black;
        transform: translateY(450px);
        margin-top: -8rem;

    }


    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
        filter: drop-shadow(5px 5px 5px);
    }


    .inputs {
        display: flex;
        gap: 62px;
        /* Espaço entre os inputs */
        height: 2vh;
        border: 1px;
        border-radius: 14px;
        filter: drop-shadow(5px 5px 5px);
        justify-content: center;
        align-items: center;

    }

    .inpu-min,
    .input-max {
        width: 140px;
        height: 74px;
        border: 1px solid #fff;
        border-radius: 14px;
        background-color: rgb(123, 11, 227);
        font-weight: 700;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: -15rem;
        display: flex;

    }

    .sorte {
        display: flex;
        background-color: chartreuse;
        justify-content: center;
        margin: 0 auto;
        width: 342px;
        height: 74px;
        border: 2.8px solid;
        border-radius: 14px;
        align-items: center;
        font-weight: 800;
        font-size: 50px;
        margin-top: -10rem;
        filter: drop-shadow(5px 5px 5px);

    }

}