:root {
  --clr-primary: black;
}


/* Box sizing rules */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Remove default margin */

* {
  margin: 0;
  padding: 0;
  font: inherit;
  /* border: 1px solid red; */
}

h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

ul[role='list'],
ol[role='list'] {
  list-style: none;
}


/* Set core root defaults */

html:focus-within {
  scroll-behavior: smooth;
}

html,
body,
.main-area {
  height: 100%;
}


/* Set core body defaults */

body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-weight: 400;
}


/* A elements that don't have a class get default styles */

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}


/* Make images easier to work with */

img,
picture,
svg {
  max-width: 100%;
  display: block;
}


/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Utility classes */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* added line */
  border: 0;
}

body {
  background-color: #0d0d0e;
  font-family: 'Roboto', sans-serif;
}

.container {
  --max-width: 1400px;
  --padding: 1rem;
  /* width: min(var(--max-width), 100% - var(--padding) * 2); */
  margin-inline: auto;
}

.main-area {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.section-left {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(./comissioner-removebg.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  filter: grayscale(100%);
  width: 50%;
  height: 100vh;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* position: absolute; */
  width: 50%;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.countdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-color: #fff;
  /* filter: grayscale(0); */
  color: tomato !important;
  font-size: 1.3rem;
  font-weight: 700;
}

.period {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 0.6rem;
}

.section-right {
  width: 50%;
  padding-inline: 1.4rem;
}

.main-msg {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-msg h1 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 3vw, 3em);
  line-height: 1.5;
  text-align: justify;
}

.main-area h1 span {
  text-transform: uppercase;
  color: tomato;
  display: inline-block;
  font-size: 3rem;
  font-size: clamp(1.7rem, 3vw, 3em);
}

.main-area p {
  color: #eee;
  font-size: 1.05em;
  font-weight: 400;
}

.birth {
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  inset: 0;
  background-image: url('./geometry2.png');
  position: relative;
  height: 100%;
}

.birth img {
  position: absolute;
  z-index: 0;
}

.birth-content {
  max-width: 750px;
  width: 100%;
  padding-inline: 1.2rem;
  padding-block: 2rem;
  z-index: 1;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  bottom: 0;
}

.birth-content h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color:blue;
}

.birth-content p {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.name {
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
}

@media (max-width: 35em) {
  /* .main {
    padding-bottom: 60px;
  } */
  .main-area {
    flex-direction: column;
    position: relative;
  }
  .section-left,
  .section-right {
    width: 100%;
  }
  .section-right {
    /* margin-bottom: -100px; */
    padding-inline: 1rem;
    position: absolute;
    bottom: 45px;
  }
  .main-msg h1 span {
    line-height: 1.7;
  }
  .countdown-wrapper {
    align-content: flex-end;
    justify-content: flex-start;
    padding: 0 0 16rem 1rem;
  }
  .countdown {
    width: 70px;
    height: 70px;
  }
  .main-msg {
    gap: 0;
  }
  .main-msg h1 {
    font-size: 2.5em;
    line-height: 0.8;
  }
  .main-area p {
    color: #eee;
    font-size: 1.05em;
    font-weight: 400;
  }
  .birth-content h2 {
    font-size: 1.7rem;
  }
}