@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800&family=Manrope:wght@400;500;600;700;800&family=Poppins:wght@100;200;300;400;500;600;700&family=Roboto:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    display: grid;
    place-items: center;
    height: 100vh;
    padding: 20px;
    background: hsl(218, 23%, 16%);
}

.adviceAppCont {
    position: relative;
    width: 100%;
    padding: 30px;
    padding-bottom: 60px;
    background: hsl(217, 19%, 38%);
    background: hsl(217, 19%, 24%);
    color: hsl(193, 38%, 86%);
    text-align: center;
    border-radius: 15px;
    display: grid;
    grid-gap: 15px;
}

#advice {
    font-weight: 800;
}

#adviceNum {
    font-size: 11px;
    text-transform: uppercase;
    color: hsl(150, 100%, 66%);
    letter-spacing: 4px;
    font-weight: 800;
}

#author {
    font-size: 14px;
    font-style: italic;
    color: hsl(150, 100%, 66%);
    letter-spacing: 1px;
}

#tweetMe {
    position: absolute;
    right: 15px;
    top: 15px;
    background: transparent;
    border: none;
    color: hsl(193, 38%, 86%);
    cursor: pointer;
    transition: 0.4s all;
}

#tweetMe:hover {
	color: #00acee;
}

#nextadviceBtn {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(150, 100%, 66%);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    line-height: 55px;
    transition: 0.3s linear;
    cursor: pointer;
}

#nextadviceBtn:hover {
	box-shadow: 0 0 10px hsl(150deg 100% 66%), 0 0 40px hsl(150deg 100% 66%), 0 0 80px hsl(150deg 100% 66%);
}

.divider-d {
    display: none;
}

.divider-m {
	width: 100%;
}


/*Mobile view*/
@media (min-width: 991px) {
    .adviceAppCont {
        width: 500px;
    }

    .divider-m {
        display: none;
    }

    .divider-d {
        display: block;
    }
}