/*  https://piccalil.li/blog/a-modern-css-reset */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --Orange: hsl(25, 97%, 53%);
  --White: hsl(0, 0%, 100%);
  --Light-Grey: hsl(217, 12%, 63%);
  --Medium-Grey: hsl(216, 12%, 54%);
  --Dark-Grey: #262f38;
  --Dark-Blue: hsl(213, 19%, 18%);
  --Dark-Blue2: hsl(217, 18%, 14%);
  --Very-Dark-Blue: hsl(216, 12%, 8%);
}

* {
  font-family: "Overpass", sans-serif;
  font-size: 15px;
}

body {
  background: var(--Very-Dark-Blue);
  display: grid;
  place-items: center;
  min-height: 100vh;
}

img {
  width: 10rem;
}

.container {
  background: var(--Dark-Blue2);
  width: 23.75rem;
  min-height: 23.75rem;
  border-radius: 20px;
  padding: 2rem 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
}

.icon-section {
  padding-block: 0.75rem;
}

.icon-section img {
  width: 1.5rem;
  display: inline;
}

.icon-section span {
  border-radius: 50%;
  background: var(--Dark-Blue);
  padding: 1.1rem;
  width: 3.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

h1 {
  color: var(--White);
  padding-block: 0.9rem;
  font-size: 1.7rem;
}

p {
  color: var(--Medium-Grey);
  font-weight: 700;
}

.buttons-section {
  padding-block: 1.1rem;
  display: flex;
  flex-direction: column;
}

.flex-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: var(--Dark-Blue);
  border: none;
  color: var(--Medium-Grey);
  font-size: 1.2rem;
  cursor: pointer;
}

button:focus {
  background: var(--Light-Grey);
  color: var(--White);
}

.button {
  width: 100%;
  height: 2.6rem;
  margin-top: 1.5rem;
  background: var(--Orange);
  color: var(--White);
  border-radius: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  display: grid;
  place-content: center;
  text-decoration: none;
}

.button:hover,
button:hover {
  background: var(--White);
  color: var(--Orange);
}

.message {
  text-align: center;
  border-radius: 1000vmax;
  background: var(--Dark-Grey);
  color: var(--Orange);
  padding-inline: 1.2rem;
  padding-block: 0.2rem;
  margin: 2rem 0 1rem 0;
  font-size: 1rem;
}

/* utilities */

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}
