@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding:0;
  box-sizing: border-box;
}
html, body {
  height:100%;
  overflow-x: hidden;
}
body {
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  max-width: 1920px;
  min-height: 100vh;
}
a {
  color: #411c0a;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}
/* img {
  max-width: 100%;
}
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
} */
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/* END RESET */

.global-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 15;
  padding: 10px;
  text-align: center;
  transition: top 0.5s;
  
}
header a {
  width: 100%;
  height: 100%;
}
header a img {
  width: 200px;  
}

main {
  flex: 1;
}

.hero {
  position: relative;
  z-index: 3;
  width: 150%;
  margin-left: -25%;
}
.hero-img {
  padding-top: 2rem;
  width: 60%;
  height: auto;
  transform: translate(40%);
}
.hero-img-mask {
  width: 100%;
  height: auto;
  clip-path: ellipse(80% 95% at 50% 0%);
  background-color: #fdee04;
}

.marque-head {
  width: 100%;
  margin: 1rem auto 0;
  text-align: center;
}
.marque-head h1 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  line-height: 2.8rem;
  font-weight: 700;
  color: #e62c1c;
}
.marque-head h2 {
  font-family: "Pacifico", sans-serif;
  text-align: center;
  font-size: 1.7rem;
  line-height: 2.5rem;
  font-weight: normal;
  transform: rotate(-4deg);
  transform-origin: center;
}
.marque-head svg {
  width: 210px;
  margin: 0.5rem auto;
}

/* jokes */
.random-joke {
  margin: 1em auto;
  padding-bottom: 2rem;
  width: 100%;
}
.dbOutput {
  padding: 1rem;
  text-align: center;
}
#getJokeAnswer {
  width: 66.6%;
  margin: 1rem auto;
}
.progress-bar-container {
  width: 66.6%;
  margin: 1rem auto;
}
progress {
  background-color: #4CAF50;
  border: 0;
  height: 18px;
  border-radius: 9px;
}
progress[value]::-webkit-progress-bar {
  background-color: #4CAF50;
}
progress[value]::-moz-progress-bar {
  background-color: #4CAF50;
}
progress[value]::-webkit-progress-value {
  background-color: #4CAF50;
}
progress[value]::-moz-progress-value {
  background-color: #4CAF50;
}
.random-joke .cta {
  margin-top: 1rem;
  text-align: center;
}
.random-joke .cta button {
  padding: 0.5rem 1rem;
  border: #e62c1c solid 1px;
  border-radius: 2rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  text-align: center;
  background-color: #e62c1c;
  color: #fff;
  cursor: pointer;
}
.random-joke .cta button:hover{
  padding: 0.5em 2em;
}

/* shapes & assets */
.beautyful {
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  text-align: center;
}

.yellowWavyBg {
  display: block;
  width: 100%;
  height: 220px;
  color: #f9e600;
}

.beautyful .bubbles1 {
  position: absolute;
  width: 54px;
  height: auto;
  overflow: hidden;
  color: #f9e600;
}
.beautyful .bubbles2 {
  position: absolute;
  width: 54px;
  height: auto;
  overflow: hidden;
  color: #f9e600;
}

.floating-carambarLayered {
  position: absolute;
  width: 100%;
  top: -45px;
  left: 10%;
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 1s, transform 1s;
  pointer-events: none;
}
.floating-carambarLayered img {
  width: 250px;
  height: auto;
  vertical-align: middle;
  border: 0;
  transition: opacity .3s;
}

.floating-carambarStandup {
  display: none;
}

.floating-fireworks {
  display: none;
}

/* footer */
.footer {
  clear: both;
  position: relative;
  width: 100%;
  padding-top: 5em;
  color: #fff;
  text-align: center;
}
.footer-bulle {
  position: absolute;
  top: -4%;
  left: 10%;
  width: 40px;
  height: 30px;
  margin-left: 0;
}
.footer-brownWavyBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-left: 0;
}
.footer-brownWavyBg svg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.footer-logo {
  position: relative;
  padding: 0 2rem 4rem;
  line-height: 2.5rem;
  font-size: 0.95rem;
}
.footer-logo a {
  color: #fff;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
}
.footer-logo a img {
  width: 16rem;
  margin: 0 auto 2rem;
  vertical-align: bottom;
  border: 0;
  opacity: 1;
  transition: opacity .3s;
}
.footer-social {
  position: relative;
  box-sizing: border-box;
  vertical-align: bottom;
  top: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

/* media queries */
/* Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... } */

/* @media (min-width: 576px) */
@media (min-width: 576px) {
  header a img {
    width: 280px;  
  }

  .marque-head h1 {
    font-size: 2.5rem;
    line-height: 3.75rem;
  }
  .marque-head h2 {
    font-size: 2rem;
    line-height: 3rem;
  }
  .marque-head svg {
    width: 100%;
  }

  #getJoke {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
  #getJokeAnswer {
    margin-top: 1rem;
    font-size: 1.5rem;
  }

  .yellowWavyBg {
    height: 692px;
  }
  .beautyful .bubbles1 {
    top: 0;
    left: 26%;
    margin-left: 0;
  }
  .beautyful .bubbles2 {
    left: 43%;
    bottom: 9%;
    margin-left: 0;
  }
  .bubbles {
      left: 43%;
      bottom: 9%;
      margin-left: 0;
  }
}

/* @media (min-width: 992px) */
@media (min-width: 992px) {
  header a img {
    width: 330px;  
  }

  .hero-img {
    padding-top: 0;
  }

  .floating-carambarLayered img {
    width: 330px;
  }

  .footer-logo a img {
    width: 330px;
  }
}

@media (min-width: 1400px) {
  .floating-carambarStandup {
    display: block;
    position: absolute;
    width: 200px;
    height: 390px;
    top: 104px;
    margin-left: -800px;
    left: 50%;
    white-space: nowrap;
    text-align: center;
    font-size: 0;
    opacity: 1;
    transform: translate(0, 0);
    transition: opacity 1s, transform 1s;
    pointer-events: none;
  }
  .floating-carambarStandup img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
  }

  .floating-fireworks {
    display: block;
    position: absolute;
    width: 200px;
    height: 240px;
    top: 118px;
    margin-left: 600px;
    left: 50%;
    pointer-events: none;
  }
  .floating-fireworks img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    margin-left: -1px;
    border: 0;
  }
}

/* LOADER */
.loader {
  display: flex;
  gap: 1rem;
  margin: 1em auto;
  padding-bottom: 2rem;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.loader img {
  width: 2rem;
  height: 2rem;
  animation: rotate-loader 1s infinite ease-in-out;
}

@keyframes rotate-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}