/* CSS Reset */
/* Resetting margins, paddings, and borders */
html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Box sizing */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Sizing - Height */
body {
  min-height: 100vh;
}

/* Typography */
body {
  font-size: 1rem;
  line-height: 1.5;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a,
a:visited {
  color: inherit;
}

/* Resetting specific element styles */
ol,
ul {
  list-style: none;
}

img,
video {
  max-width: 100%;
}

img {
  border-style: none;
}

a {
  text-decoration: none;
}

/* Basic rules */
.page {
  background-color: hsl(216, 12%, 8%);
  color: hsl(0, 0%, 100%);
  font-family: 'Overpass', sans-serif;
}

.container {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 30px 20px;
}

.text-center {
  text-align: center;
}

/* Component */
.component {
  background-color: hsl(213, 19%, 18%);
  border-radius: 30px;
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.55);
  max-width: 400px;
  min-height: 100px;
  padding: 35px;
}

.component__icon {
  align-items: center;
  border-radius: 50%;
  background-color:#3a4655;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.component__title {
  font-size: 1.5rem;
  margin-top: 40px;
}

.component__copy {
  color: hsl(217, 12%, 63%);
  font-size: .9375rem;
  margin-top: 10px;
}

.component__rating-box {
  background-color: hsl(213.3,18.9%,28%);
  border-radius: 30px;
  color: hsl(25, 97%, 53%);
  display: inline-block;
  font-size: .9375rem;
  margin-top: 30px;
  padding: 8px 20px;
}

/* Component - Form */
.form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.form__label {
  align-items: center;
  background-color: hsl(212.5,18.8%,25.1%);
  border-radius: 50%;
  box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.45);
  color: hsl(217, 12%, 63%);
  cursor: pointer;
  display: flex;
  flex-basis: 42px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  transition: all .4s;
}

.form__label:not(:last-of-type) {
  margin-right: 5px;
}

.form__label:hover {
  background-color: hsl(25, 97%, 53%);
  color: hsl(0, 0%, 100%);
  transition: all .8s;
}

.form__radio:checked + .form__label {
  background-color: hsl(216,9%,67.3%);
  color: hsl(0, 0%, 100%);
}

.form__radio {
  opacity: 0;
	position: absolute;
	z-index: -1;
}

.form__submit {
  background-color: hsl(25, 97%, 53%);
  border: none;
  border-radius: 30px;
  box-shadow: 7px 7px 12px 0px rgba(0,0,0,0.45);
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  flex-basis: 100%;
  font-size: .9rem;
  font-weight: 700;
  margin-top: 40px;
  padding: 12px;
  text-transform: uppercase;
  transition: all .4s;
}

.form__submit:hover {
  background-color: hsl(0, 0%, 100%);
  color: hsl(25, 97%, 53%);
  transition: all .8s;
}

.form__submit:active {
  transform: scale(0.98);
  transition: all .4s;
}