@font-face {
    font-family: louis;
    src: url(./fonts/Louis\ George\ Cafe\ Bold.ttf);
}

@font-face {
    font-family: vintage;
    src: url(./fonts/Perfectly\ Vintages\ Font\ by\ Keithzo.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: rgb(191, 143, 247);
    text-align: center;
    font-family: louis;
}

main {
    flex: 1;
    margin-top: 220px;
}


h1 {
    font-family: vintage;
    color: rgb(100, 20, 190);
    font-size: 42px;
}

p {
    font-family: louis;
    color: rgb(255, 255, 255);
    font-size: 20px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(119, 35, 214, 0.719);
    padding: 6px;
    width: 28%;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 5px;

}

.box {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

input {
    font-family: louis;
    font-size: 19px;
    text-align: center;
    padding: 10px;
    width: 20%;
    border: none;
    border-radius: 10px;
}

input:focus {
    outline: 2px solid rgb(104, 11, 49);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

button {
    background-color: rgb(100, 20, 190);
    color: #ffffff;
    border: none;
    font-family: louis;
    font-size: 15px;
    padding: 10px;
    margin-top: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: ease-in-out .3s;
}

button:hover {
    background-color: rgb(85, 17, 163);
}

#result {
    margin-top: 15px;
}

.social {
    display: flex;
    flex-direction: column;
}

.social img {
    width: 25px;
}

.social p {
    color: #ffffff;
    font-size: 15px;
    margin-top: 10px;
}

footer {
    background-color: rgb(99, 21, 187);
    padding: 20px;
    margin-top: auto;
}

@media (max-width: 834px) {
    h1 {
        font-size: 50px;
    }

    .container {
        width: 68vw;
    }

    .container p {
        font-size: 28px;

    }

    input {
        font-size: 25px;
    }

    button {
        padding: 20px;
        font-size: 19px;
        margin-top: 30px;
    }
}

@media (max-width: 440px) {
    h1 {
        font-size: 30px;
    }

    .container {
        width: 90vw;
        margin-top: 20px;
    }

    .container p {
        font-size: 17px;
    }

    input {
        width: 45vw;
        margin-top: 10px;
    }

    button {
        display: flex;
        margin-top: 25px;
        width: 28vw;
        padding: 15px;
        justify-content: center;
        align-items: center;
    }
}
