/* --------------------------------------------------------------------------------------------- */
/* ######################################## LOAD FONTS ######################################### */
/* --------------------------------------------------------------------------------------------- */
@font-face { font-family:'Quicksand'; src:url(../fonts/Quicksand-Light.ttf) format('truetype'); font-weight:300; }
@font-face { font-family:'Quicksand'; src:url(../fonts/Quicksand-Regular.ttf) format('truetype'); font-weight:400; }
@font-face { font-family:'Quicksand'; src:url(../fonts/Quicksand-Medium.ttf) format('truetype'); font-weight:500; }
@font-face { font-family:'Quicksand'; src:url(../fonts/Quicksand-SemiBold.ttf) format('truetype'); font-weight:600; }
@font-face { font-family:'Quicksand'; src:url(../fonts/Quicksand-Bold.ttf) format('truetype'); font-weight:700; }

@font-face { font-family: 'Rocher'; src: url(https://assets.codepen.io/9632/RocherColorGX.woff2); }
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* --------------------------------------------------------------------------------------------- */
/* ####################################### BODY CONTENT ######################################## */
/* --------------------------------------------------------------------------------------------- */
*, ::after, ::before { box-sizing: border-box; }

body {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  background: #bfdfec;
  background-repeat: repeat-x;
  background-image: url("../images/clouds.png");
  animation: movement 20s linear infinite;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@keyframes movement {
  0% { background-position: 0 0; }
  100% { background-position: 560px 0; }
}

/* --------------------------------------------------------------------------------------------- */
/* ########################################## CONTENT ########################################## */
/* --------------------------------------------------------------------------------------------- */
#content { 
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  max-width: 70%;
  text-align: center; }
#content .text { margin-bottom: 30px; }
#content .text > h1 { 
  font-size: 40px;
  margin: 0;
  margin-bottom: 5px; 
  color: #bfdfec;
  letter-spacing: 3px;
  background: #19a0d1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 4px transparent; }
#content .text > h3 {  font-size: 20px; margin: 0; color: #38505d; }
#content .logos { display: flex; }
#content .logos > a { margin: 0 15px; }
#content .logos > a > img { height: 100px; }
#content .logos > a:not(.animate__delay-1s):hover { transform-origin: top center; animation-name: swing !important; }

/* --------------------------------------------------------------------------------------------- */
/* ###################################### HOT AIR BALLOON ###################################### */
/* --------------------------------------------------------------------------------------------- */
#balloon {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: fixed;
  width: 12em;
  height: 19em;
  top: 5%;
  left: 5%;
  font-size: 16px;
  transform-origin: 0 0;
  transform: scale(0.5);
  animation: drift 2s infinite alternate; }
@keyframes drift { to { transform: scale(0.5) translateY(-10%); } }

#balloon .envelope { position: relative; width: inherit; height: 16em; overflow: hidden; }
#balloon .envelope span {
  position: absolute;
  width: inherit;
  height: 12em;
  border-radius: 50%;
  background-color: currentColor;
  color: orange; }
#balloon .envelope span::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  left: calc(50% - 5.5em);
  top: 8.45em;
  border-width: 10em 5.5em 0 5.5em;
  border-style: solid;
  border-color: currentColor transparent transparent transparent; }
#balloon .envelope span:nth-child(2) { transform: scaleX(0.4); filter: brightness(0.85) contrast(1.4); }

#balloon .basket { position: relative; width: 2em; height: 3em; }
#balloon .basket::before {
  content: '';
  position: absolute;
  width: inherit;
  height: 1.6em;
  background-color: peru;
  bottom: 0px;
  border-radius: 0 0 0.5em 0.5em; }
#balloon .basket::after {
  content: '';
  position: absolute;
  width: 105%;
  height: 0.3em;
  background-color: saddlebrown;
  top: 1.3em;
  left: calc((100% - 105%)/2);
  border-radius: 0.3em; }
#balloon .basket span {
  position: absolute;
  width: 0.1em;
  height: 1.5em;
  background-color: burlywood;
  left: calc((var(--n) - 1) * 0.6em);
  transform: rotate(calc(var(--r) * 7deg));
  transform-origin: bottom; }
#balloon .basket span:nth-child(1) { --n: 1; --r: -2; }
#balloon .basket span:nth-child(2) { --n: 2; --r: -1; }
#balloon .basket span:nth-child(3) { --n: 3; --r: 1; }
#balloon .basket span:nth-child(4) { --n: 4; --r: 2; }

/* --------------------------------------------------------------------------------------------- */
/* ########################################### ROCKET ########################################## */
/* --------------------------------------------------------------------------------------------- */
#rocket { position: absolute; right: 50px; bottom: 50px; height: 150px; }