@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');


/* I try my best, but I don't know JavaScript, which is why I can't build it properly as Frontend Mentor requires. If you know JavaScript, please guide me on how to do it correctly or how I should start learning it. */


* {
    margin: 0%;
    padding: 0%;

}

body {
    background-color: hsl(216, 12%, 8%);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: "Nunito Sans", serif;
}


.hero {
    width: 250px;
    height: 250px;
    background-color: hsl(213, 19%, 18%);
    border-radius: 20px;
    padding: 30px;
}

.hero img {
    background-color: hsla(210, 20%, 8%, 0.217);
    padding: 10px;
    border-radius: 50%;
}

.hero h2 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.hero p {
    opacity: 0.5;
    font-size: 12px;
    line-height: 17px;
}

.num {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.btn {
    background-color: hsla(210, 20%, 8%, 0.217);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;    
    align-items: center;
    color: hsl(217, 12%, 63%);
    transition: 0.5s;
    cursor: pointer;
    border: none;

}


.btn:hover {
    background-color: hsl(25, 97%, 53%);
    color: black;
}


.submit {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: none;
    background-color: hsl(25, 97%, 53%);
    margin-top: 10px;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}

.submit:hover {
    background-color: white;
    color: black;
    
}