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


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #b9eba9;
}

.logo {
    width: 160px;
}

header {
    width: 100%;
    height: 60px;
    background-color: #f1f1f1;
    position: sticky;
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 9;

    nav {
        a {
            color: #000;
        }
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;

    h2 {
        text-align: center;
        padding: 0 30px;
        color: #141414;

        span {
            color: #07ad4f;
        }
    }


    .container-content {
        width: 80%;
        display: flex;
        flex-direction: column;


        .inputNumber {
            padding: 12px;
            margin-bottom: 20px;
            border-radius: 7px  ;
            border: 1px solid #474747
        }

        .inputMessage {
            padding: 30px 12px;
            border-radius: 7px;

        }

        .btnGenerator {
            margin-top: 30px;
            padding: 12px 0;
            background-color: #209352;
            border: 1px solid #474747;
            border-radius: 7px;
            font-size: 0.9rem;
            color: #fff;
            cursor: pointer;
        }
    }


    .result {

        display: none;

        &.active {

            width: 80%;
            margin-top: 30px;
            padding: 20px 5px;
            background-color: #fff;
            display: flex;
            border-radius: 7px;
            align-items: center;
            
            p{
                flex: 1;
            }
    
    
            
            button {
                padding: 8px 10px;
                background-color: #209352;
                border-radius: 4px;
                border: none;
                cursor: pointer;
                i {
                    color: #fff;
                }
            }
        }

    }
}

footer {
    padding: 40px 30px;
    background-color: #fff;
    margin-top: 50px;

    .content {
        display: flex;
        justify-content: space-between;
    }

    p {
        text-align: center;
    }
}


@media (min-width: 769px) {

    header {
        display: flex;
        justify-content: space-around;
    }

    main{
        .container-content,
        .result{
            max-width: 800px;
        }
    }

    footer {
        .content {
            display: flex;
            justify-content: space-around;
        }
    }
} 