:root {
    --light-blue: #1572aa;
    --dark-blue: hsl(233, 100%, 16%); 
    --dark-blue2: #030018;
    --another-blue: #6acdd4;
    --bright-color: #f8ffff;
    --font-color: #c4d5e4;
    --font-dark-color: #1c77b8;
}

@font-face {
    font-family: "SBLiquidW01-Solid";
    src: url("fonts/SBLiquidW01-Solid.woff2") format("woff2"),
        url("fonts/SBLiquidW01-Solid.woff") format("woff"),
        url("fonts/SBLiquidW01-Solid.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    
}

body {
    font-family: "SBLiquidW01-Solid", sans-serif;
    color: var(--font-color);
}

body {
    background-image: url('To\ Be\ Edited.png');
    
    background-position: center;
}
/* Make .main-page draggable */

.main-page {
    width: 90%;                /* take 90% of screen width on small devices */
    max-width: 600px;          /* don’t get too wide on large screens */
    min-height: 80vh;          /* dynamic height = 80% of viewport height */
    background-color: var(--dark-blue2); /* light background */
    opacity: 0.94;
    padding: 40px 20px 20px 20px; /* top padding for tab, spacing inside */
    border: 3px solid var(--light-blue);       /* optional: rounded edges */
    position: absolute;
    top: 40px;
    left: 600px;
    z-index: 10;
}
/* Make it adjust for desktops */
@media (min-width: 768px) {
  .main-page {
    width: 35%;              /* narrower on large screens */
    min-height: 100vh;       /* full screen height */
  }
}

.tab {
    width: 99.2%;
    height: 27.5px;
    background-color: var(--dark-blue);
    color: var(--font-color);
    display: flex;
    padding-left: 1%;     /* moves the text away from the edge*/
    align-items: center;
    justify-content: left;
    position: absolute;
    top: 0px;   /* lift above the box */
    left: 0;
    font-weight: bold;
    border-bottom: 3px solid var(--light-blue); 
    cursor: grab;
}

.countdown {
    width: 90%;                /* take 90% of screen width on small devices */
    max-width: 500px;          /* don’t get too wide on large screens */
    min-height: 15vh;          /* dynamic height = 80% of viewport height */
    background-color: var(--dark-blue2); /* light background */
    opacity: 0.94;
    padding: 40px 20px 20px 20px; /* top padding for tab, spacing inside */
    border: 3px solid var(--light-blue);       /* optional: rounded edges */
    position: absolute;
    top: 550px;
    left: 40px;
    z-index: 10;
}
/* Make it adjust for desktops */
@media (min-width: 768px) {
  .main-page {
    width: 35%;              /* narrower on large screens */
    min-height: 100vh;       /* full screen height */
  }
}
/*TIMER STYLES */
#bday-message {
  /* font-size: clamp(1.4rem, 3vw + 0.5rem, 2.5rem); /* responsive */
  font-size: 40px;
  font-weight: 800;
  margin: 0.5rem 0;
}
 .timer {
    display: flex;
    margin-top: 16px;

  }
  .unit {
    display: flex;
    align-items: center;
    padding: 2px 2px;

  }
  .unit span {
    font-size: 34px;
    line-height: 1;
  }
  .unit small {
    font-size: 30px;
    opacity: .8;
    color: var(--font-dark-color);
  }

  .unit-title {
    font-size: 38px;
    margin-bottom: 10px;
  }