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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.container {
  width: 100%;
  min-height: 120vh;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  background: #2f363e;
  flex-direction: row;
  flex-wrap: nowrap;
}

#time {
  display: flex;
  gap: 40px;
  color: #fff;
}

#time .circle {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#time .circle svg {
  position: relative;
  width: 150px;
  height: 150px;
  transform: rotate(270deg);
}

#time .circle svg circle {
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke: #191919;
  stroke-width: 4px;
  transform: translate(5px, 5px);
}

#time .circle svg circle:nth-child(2) {
  stroke: var(--color);
  stroke-dasharray: 440;
}

#time div {
  position: absolute;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
}

#time div span {
  position: absolute;
  transform: translate(-50%, 0px);
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

#time .ap {
  position: relative;
  font-size: 1rem;
  transform: translate(-20px);
}

.dots {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.dots::before {
  content: '';
  position: absolute;
  top: -3px;
  width: 15px;
  height: 15px;
  background: var(--color);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color), 0 0 60px var(--color  );
}
/* Font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap');

/* Colors */
:root{

    /* Primary */
    --Light-Cyan: hsl(193, 38%, 86%);
    --Neon-Green: #52ffa8;

    /* Neutral */

    --Grayish-Blue: #4e5d73;
    --Dark-Grayish-Blue: #323a49;

}

/* Universal Selector */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

/* Html, Body */
html,
body {
  height: 40vh;
  display: grid;
  grid-template-rows: auto;
}
body{
    background-color: rgba(13, 12, 14, 0.95);
}

/* Main */
main{
    display: flex;
    flex-direction: column;
    padding: 30px 50px;
    border-radius: 10px;
    text-align: center;
    background-color: var(--Dark-Grayish-Blue);
    max-width: 550px;
    width: fit-content;
    height: fit-content;
}

/* Advice Id */
.advice-id{
    color: var(--Neon-Green);
    text-transform: uppercase;
    word-spacing: 10px;
}

/* Advice Text */
.advice-text{
    margin: 20px auto 0; 
    font-size: 28px;
    width: 100%;
    color: var(--Light-Cyan);
}

/* Divider */
.divider{
    margin: 20px 0 30px;
    background-size: 100% 100%;
    width: 100%;
}
#dice{
    background-color: var(--Neon-Green);
    border-radius: 50%;
    padding: 15px 16px 12px;
    border: 0;
    cursor: pointer;
    margin: auto;
}
#dice img{
    width: 23px;
}
#dice:hover {
    box-shadow: 0 0 40px var(--Neon-Green);
}

/* Attribution */
.attribution { 
    font-size: 0.8rem; 
    align-self: flex-end;
    text-align: center;
    background-color: var(--Dark-Grayish-Blue);
    padding: 10px;
    color: var(--Light-Cyan);
} 
.attribution a { 
    color: var(--Neon-Green); 
}

/* Media Query */
@media (min-width: 530px) {
    main{
        margin: auto;
    }
}



/* Responsive Styles */
@media (max-width: 768px) {
  main {
      padding: 20px; /* Adjust padding for smaller screens */
      margin: 10px; /* Adjust margin for smaller screens */
  }

  .advice-text {
      font-size: 18px; /* Adjust font size for smaller screens */
  }

  .divider {
      margin: 15px 0; /* Adjust margin for smaller screens */
  }

  #dice {
      margin: 0 auto 0px; /* Adjust margin for smaller screens */
  }

  #time {
      flex-direction: column; /* Change the flex direction for smaller screens */
      align-items: center; /* Center the time-related elements */
  }

  .circle {
      margin-bottom: 20px; /* Adjust margin between time-related circles for smaller screens */
  }
}

