@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap');

/* 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 {
  text-decoration:none;
  color: var(--Grayish-Blue);
}

/* 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;
}

:root {
--Light-Cyan: hsl(193, 38%, 86%);
--Neon-Green: rgb(82, 255, 168);
--Grayish-Blue: hsl(217, 19%, 38%);
--Dark-Grayish-Blue: hsl(217, 19%, 24%);
--Dark-Blue: hsl(218, 23%, 16%);
}

body {
  height: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  background-color: var(--Dark-Blue);
  display: grid;
  place-content: center;
  padding: 1rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
  padding: 2.5rem 1.5rem 0;
  text-align: center;
  color:var(--Light-Cyan);
  background-color: var(--Dark-Grayish-Blue);
  border-radius: 15px;
}

h1 {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--Neon-Green);
}

.text-container {
  display: grid;
  justify-items: center;
}

picture {
  max-width: 410px;
  margin:2rem 0 0;
}

button {
  padding: 1.25rem;
  border-radius: 100px;
  border: 1px solid transparent;
  background-color: var(--Neon-Green);
  transform: translateY(35px);
}

button:hover {
  cursor: pointer;
  box-shadow: 0px 0px 25px 5px rgba(82,255,168,0.7);
  -webkit-box-shadow: 0px 0px 25px 5px rgba(82,255,168,0.7);
  -moz-box-shadow: 0px 0px 25px 5px rgba(82,255,168,0.7);
}

.attribution {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14px;
}

@media (min-width: 600px){
  main{
    max-width: 540px;
    padding: 3rem 2rem 0;
    gap: 1.5rem;
  }
  picture {
    max-width: 500px;
    margin:2.5rem 0 0.5rem;
  }
}


