* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: hsl(0, 0%, 15%);
}

.postcard {
  position: relative;
  width: 600px;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;
  /* TODO: background sky gradient */
  background: #44A88E;
  background: linear-gradient(210, #44A88E(255, 166, 0, 1) 0%, rgba(54, 37));
}

.sun {
  position: absolute;
  top: 60px;
  right: 80px;
  width: 80px;
  height: 80px;
  /* TODO: sun shape and glow */
  /* TODO: sun color experiment */
  background: #f1f50c;
  border-radius: 50%;
  box-shadow: 6px 6px 91px 41px rgba(255,247,0,1);
-webkit-box-shadow: 6px 6px 91px 41px rgba(255,247,0,1);
-moz-box-shadow: 6px 6px 91px 41px rgba(255,247,0,1);;
}

.hills {
  position: absolute;
  bottom: 30%;
  left: -10%;
  width: 120%;
  height: 45%;
  /* TODO: hills shape */
  background: radial-gradient(
   ellipse 120% 60% at 50% 100%,
   hsl(120, 50%, 35%),
   hsl(120, 40%, 25%)
  );
  border-radius: 50% 50% 0 0;
}

.water {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32%;
  background: #0089de;
  background: linear-gradient(180deg, rgba(0, 137, 222, 1) 100%, rgba(255, 229, 0, 1) 0%);
}
.text-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: Georgia, serif;
  /* TODO: text styling and shadow */
  /* TODO: text color experiment */
  text-shadow: 9px 7px 3px rgb(255, 238, 0);
  color: #f1f50c;
}


/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}
.ribbon {
  --s: 1.8em; /* the ribbon size */
  --d: .8em;  /* the depth */
  --c: .8em;  /* the cutout part */
  
  padding: 0 calc(var(--s) + .5em) var(--d);
  line-height: 1.8;
  background:
    conic-gradient(at left  var(--s) bottom var(--d),
     #0000 25%,#0008 0 37.5%,#0004 0) 0   /50% 100% no-repeat,
    conic-gradient(at right var(--s) bottom var(--d),
     #0004 62.5%,#0008 0 75%,#0000 0) 100%/50% 100% no-repeat;
  clip-path: polygon(0 var(--d), var(--s) var(--d),var(--s) 0,calc(100% - var(--s)) 0,calc(100% - var(--s)) var(--d),100% var(--d),calc(100% - var(--c)) calc(50% + var(--d)/2),100% 100%,calc(100% - var(--s) - var(--d)) 100%,calc(100% - var(--s) - var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) calc(100% - var(--d)),calc(var(--s) + var(--d)) 100%,0 100%,var(--c) calc(50% + var(--d)/2));
  background-color: #CC333F; /* the main color */
  width: fit-content;
}
