/*
Stylesheet for Father's Day Card
*/

/* CSS Global Level Styles and Variables */
/* Importing both fonts to use; printed and cursive styles */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Pacifico&display=swap');

:root {
  /* color palettes */
  --print: 'Caveat', cursive;
  --cursive: 'Pacifico', cursive;
  --dark-blue: rgba(56, 97, 140, 1);
  --light-blue: rgba(124, 162, 203, 1);
  --light-gray: rgba(211, 213, 212, 1);
  --bright-orange: rgb(143, 57, 31);
  --pale-yellow: rgba(254, 215, 102, 1);


}

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

body {
  background: linear-gradient(var(--light-blue), var(--dark-blue));
}

/* CSS Element Level Styles */
h1, h2 {
  padding: 4rem;
  text-align: center;
  cursor: pointer;
}
h1 {
  font-size: 6.5rem;
}

h2 {
  font-size: 5rem;
}

em {
  color: var(--bright-orange);
  font-size: 10rem;
}

section {
  overflow: hidden;
}


/* CSS Class Level Styles */
.fullscreen {
  width: 100vw;
  height: 100vh;
}

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

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

.print {
  font-family: var(--print);
  color: var(--pale-yellow);
}

.cursive {
  font-family: var(--cursive);
  color: var(--light-gray);
  opacity: 0.9;
}

.hidden {
  display: none;
}

.remove-text {
  animation: remove-text 2s 0s ease-in-out forwards;
}

.visible {
  display: initial;
}

.display-text {
  animation: display-text 2s 0s ease-in-out forwards;
}

@keyframes display-text {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes remove-text {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.button {
  padding: 1rem 2.5rem;

  font-size: 3rem;
  letter-spacing: 0.25rem;

  color: var(--dark-blue);
  background-color: var(--pale-yellow);
  opacity: 0.8;

  border: none;
  border-radius: 1.2rem;

  cursor: pointer;
}

.button:hover {
  opacity: 1;
}

/* CSS ID Level Styles */
