/*  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(31, 77%, 52%);
  --Dark-cyan: hsl(184, 100%, 22%);
  --Very-dark-cyan: hsl(179, 100%, 13%);
  --Transparent-white: hsla(0, 0%, 100%, 0.75);
  --Very-light-gray: hsl(0, 0%, 95%);

  --ff-lexed-deca: "Lexend Deca", sans-serif;
  --ff-big-shoulders: "Big Shoulders Display", cursive;
}

* {
  font-family: var(--ff-lexed-deca);
  font-size: 15px;
}

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

.container {
  min-height: 29rem;
  display: flex;
  flex-wrap: wrap;
  border-radius: 0.8rem;
  overflow: hidden;
}

.col1,
.col2,
.col3 {
  width: 20rem;
  flex: 1;
  padding: 3rem;
}

.col1 {
  background: var(--orange);
}

.col2 {
  background: var(--Dark-cyan);
}

.col3 {
  background: var(--Very-dark-cyan);
}

.container h2 {
  color: var(--Very-light-gray);
  font-size: 2.5rem;
  font-family: var(--ff-big-shoulders);
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.container p {
  color: var(--Transparent-white);
}
.container p,
h2 {
  padding-block: 1.25rem;
}

.container button {
  border: 3px solid white;
  margin-top: 3rem;
  padding-block: 0.8rem;
  padding-inline: 1.7rem;
  border-radius: 1000vmax;
  font-weight: 700;
  cursor: pointer;
}

.container button:hover {
  color: var(--Transparent-white);
}

.container .col1 button:hover {
  background-color: var(--orange);
}

.container .col2 button:hover {
  background-color: var(--Dark-cyan);
}

.container .col3 button:hover {
  background-color: var(--Very-Dark-cyan);
}

.orange {
  color: var(--orange);
}

.cyan {
  color: var(--Dark-cyan);
}

.darkcyan {
  color: var(--Very-dark-cyan);
}

@media only screen and (max-width: 800px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-block: 3rem;
  }
}
