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

body{
    background-color: hsl(218, 23%, 16%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

main{
    width: 33vw;
    height: 43vh;
    border-radius: 15px;
    font-family: 'Manrope', sans-serif;
}

.container{
    width: 100%;
    height: 100%;
    background-color: hsl(217, 19%, 24%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 11%;
    padding-top: 7%;
    text-align: center;
    box-shadow:  0px 0px 12px #333;
}

#advices-num{
    color: hsl(150, 100%, 66%);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    word-spacing: 0.3em;
    font-size: 0.8em;
    margin-bottom: 10%;
}
#advices{
    color: white;
    padding-bottom: 7%;
    font-size: 1.2em;
}
#pattern-desktop{
    width: 100%;
}
#pattern-desktop img{
    width: inherit;
}

#pattern-mobile{
    display: none;
}

.generate{
    position: absolute;
    background-color: hsl(150, 100%, 66%);
    margin-top: 15.3%;
    width: 3.1em;
    height: 3.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    cursor: pointer;
}

.generate:hover{
    box-shadow: 0px 0px 20px hsl(150, 100%, 66%);
}

.generate img{
    width: 40%;
    height: auto;
}

@media screen and (max-width:425px) {
    main{
        width: 85vw;
    }
    #advices-num{
        font-size: 0.8em;
    }

    #advices{
        font-size: 1.4em;
    }

    .generate{
        margin-top: 72%;
        width: 3.5em;
        height: 3.5em;
    }

    #pattern-desktop{
        display: none;
    }

    #pattern-mobile{
        display: block;
    }
}


@media screen and (max-width:376px){
    .generate{
        margin-top: 85%;
    }

    #advices{
        font-size: 1.2em;
    }
    
}

@media screen and (max-width:320px){
    .generate{
        margin-top: 100%;
    }

    #advices{
        font-size: 1.2em;
    }

    #pattern-mobile img{
        width: 100%;
    }
}

@media screen and (min-width: 700px) and (max-width: 1023px){
    main{
        width: 60vw;
    }
    #advices-num{
        font-size: 0.8em;
    }

    #advices{
        font-size: 1.4em;
    }

    .generate{
        margin-top: 40%;
        width: 3.5em;
        height: 3.5em;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1380px){
    .generate{
        margin-top: 30.5%;
    }
    main{
        width: 43vw;
    }
    #advices-num{
        font-size: 0.8em;
    }

    #advices{
        font-size: 1.4em;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1900px){
    .generate{
        margin-top: 21.2%;
        width: 3.5em;
        height: 3.5em;
    }
}

@media screen and (min-width: 1920px) {
    .generate{
        margin-top: 17.2%;
        width: 3.5em;
        height: 3.5em;
    }
}

@media screen and (min-width: 2560px) {
    .generate{
        margin-top: 20%;
        width: 4em;
        height: 4em;
    }

    #advices-num{
        font-size: 1.6em;
    }

    #advices{
        font-size: 2.4em;
    }
}