*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{ 
    height: 100%;
}
body{
    min-height: 100vh;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(55deg, #00AAFF 0%, #001133 100%);
    font-family: "Poppins", sans-serif;
}
section{
    width: min(92vw, 543px);
    /* height: 50vh; */
    padding: clamp(24px, 5vw, 64px) clamp(16px, 3vw, 32px);
    background: #FFFFFF;
    /* display fle */
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: clamp(18px, 3vw, 30px);
    justify-content: center;
    /* align-items: center; */
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    /* text-align: center; */
}
h3{
    font-weight: 600;
    font-size: clamp(22px, 4vw, 32px);
    color: #001133;
}
p{
    color: #333333;
}
/* ------------Top Part---------------- */
#topPart{
    display: grid;
    gap: 10px;
    text-align: center;
}
#topPart p{
    font-size: clamp(14px, 2.2vw, 16px);
    font-weight: 400;
}

/* ------------Middle Part---------------- */
#middle{
    /* display: flex;
    flex-direction: column; */
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: clamp(16px, 4vw, 44px);
    /* justify-content: center; */
    /* width: 187px; */
    place-items: center;
    /* text-align: center; */
}
#questionMark{
    width: clamp(68px, 18vw, 87px);
    height: clamp(68px, 18vw, 87px);
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #001133;
    color: white;
}
#questionMark p{
    font-size: clamp(40px, 10vw, 64px);
    font-weight: 600;
    color: white;
}
#checkerDiv{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    /* gap: 14px; */
    width: 100%;
    max-width: 320px;
}
#checkerDiv input{
    width: 181px;
    height: 56px;
    padding: 6px 16px;

    background-color: #F7F6F8;
    border: 1px solid #e6e6ea;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 400;
    outline: none;
}
#checkerDiv input:focus {
  border-color: #001133;
}
#check{
    /* padding: 16px 32px; */
    /* font-family:; */
    width: 181px;
    height: 48px;
    border-style: none;
    background-color: #001133;
    color: white;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
#check:hover{
    cursor: pointer;
    background-color: #3f4d6a;
    transform: scale(1.01);
}


/* ------------Bottom Part---------------- */
#bottom{
    display: grid;
    /* grid-template-columns: repeat(1fr); */
    /* grid-template-columns: 285px 285px 181px;
    grid-auto-rows: 100px; */
    gap: clamp(18px, 4vw, 48px);
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
#guess{
    display: flex;
    flex-direction: column;
    gap: 63px;
    font-weight: 400;
    color: #333333;
    width: 100%;
    /* text-align: center; */
}
#guess > p:first-of-type{
    font-size: 12px;
}
#scores{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    gap: 114px;
    width: 100%;
}
#playAgain{
    width: 181px;
    height: 48px;
    border-style: none;
    background-color: #899A8C;
    color: white;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;

}
#middle, #bottom{
    place-items: center;
}

@media (max-width: 500px) {
  body {
    padding: 14px;
  }

  #checkerDiv input {
    height: 52px;
    width: 100%;
  }
  #check, #playAgain{
    width: 100%;
  }
}

