@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300..700&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #111821;
    color: #dbdcde;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 140vh;
}

label,
span {
    font-weight: 400;
    font-size: 18pt;
}

.input-group {
    display: flex;
    justify-content: center;
}

.center {
    display: flex;
    justify-content: center;
    margin: 3% 0% 5% 0%;
}

a {
    text-decoration: none;
}

h2 {
    color: #dbdcde;
    font-weight: 700;
    font-size: 28pt;
    margin: 0% 0% 12% 0%;
    transition: ease-in 0.5s;
    text-align: center;
}

h2:hover {
    transition: ease-in 0.5s;
    font-size: 30pt;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.3%;
    margin-bottom: 2%;
    flex-wrap: wrap;
}

input {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    border-radius: 5px;
    width: 5vw;
    height: 4vh;
    background-color: #dbdcde;
    color: #111821;
    border: solid 1px #dbdcde;
    margin: 0% .5%;
    font-size: 15pt;
    font-weight: 500;
}

button {
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    color: #dbdcde;
    border: solid 1px #dbdcde;
    background-color: #111821;
    text-align: center;
    border-radius: 10px;
    transition: ease-in 0.5s;
    width: 8vw;
    height: 7vh;
    font-size: 14pt;
    font-weight: 500;
    padding: 0;
    box-sizing: border-box;
}

button:hover {
    background-color: #272e38;
    transition: ease-in 0.5s;
}

.resultado {
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #dbdcde;
    border-radius: 10px;
    margin-left: 2%;
    width: 8vw;
    height: 7vh;
    padding: 0;
    box-sizing: border-box;
}

p {
    font-size: 14pt;
    font-weight: 500;
}

@media screen and (max-width: 555px) {
    section {
        margin: 0;
        width: 98%;
        padding: 1%;
        overflow-x: hidden;
    }

    label,
    span {
        font-size: 14pt;
        margin: 0 1%;
    }

    .input-group {
        margin: 2% 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    input {
        width: 15vw;
        margin: 1% 2%;
        font-size: 12pt;
        height: 4vh;
    }

    button {
        width: 35vw;
        height: 6vh;
        font-size: 12pt;
        margin: 2% 0;
    }

    .resultado {
        width: 35vw;
        height: 6vh;
        margin-left: 3%;
        font-size: 12pt;
    }

    h2 {
        margin: 5% 0 10%;
        text-align: center;
        transition: none;
    }

    h2:hover {
        transition: none;
    }

    .center {
        margin: 3% 0 6%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}