
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    list-style-type: none;
}

body{
    font-family: 'Overpass', sans-serif;
    font-size: 15px;
    background-color: hsl(216, 12%, 8%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

button{
    font-family: inherit;
}

h1,
h2 {
  color: #fff;
}

p {
  line-height: 1.8;
  color: hsl(217, 12%, 63%);
}

p.disclaimer {
  padding: 0 1.5rem;
  max-width: 400px;
  margin-bottom: 2rem;
  text-align: center;
}

.main-container, .thank-you {
    background-color: hsl(213, 19%, 18%);
    padding:2rem 1.5rem;
    border-radius: 0.625rem;
    max-width: 400px;
}

.main-container img {
    background-color: hsl(213, 20%, 22%);
    padding: 0.5rem;
    border-radius: 50%;
}

.main-container h1 {
    color: #fff;
    margin: 2rem 0 1rem;
}

.main-container p {
    color: hsl(217, 12%, 63%);
    margin-bottom: 1rem;
}

.main-container ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.main-container ul li button {
    width: 3rem;
    height: 3rem;
    border: none;
    background-color: hsl(213, 20%, 22%);
    color: #fff;
    padding-top: 0.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.main-container ul li button:hover {
    background-color: hsl(25, 97%, 53%);
}

.main-container ul li button:focus {
    background-color: hsl(217, 12%, 63%);
}

.btn-submit {
    color: #fff;
    background-color: hsl(25, 97%, 53%);
    width: 100%;
    padding: 0.8rem 0 0.6rem;
    border: none;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #fff;
    color: hsl(25, 97%, 53%);
}

.thank-you {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thank-you img {
    display: block;
    margin: 0 auto 2rem;
}

.thank-you p.gray {
    font-size: 0.9rem;
    color: hsl(25, 97%, 53%);
    background-color: hsl(213, 20%, 22%);
    border-radius: 30px;
    padding: 0.2rem 0.3rem 0;
    margin-bottom: 2rem;
}

.thank-you h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.thank-you p {
    color: hsl(217, 12%, 63%);
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

.attribution 
{ 
    font-size: 14px; 
    text-align: center; 
    color: #fff;
    margin-top: 2rem;
}

.attribution a 
{
     color: hsl(228, 45%, 44%);
}