body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    text-align: center;
}
#landing{
    width: 50vw;
    margin: 5rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 35px;
    color: #080808;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  
  h1 span {
    display: block;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  h1 em {
    font-style: normal;
    font-weight: 600;
  }
  
  /* === HEADING STYLE #1 === */
  .one h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
  }
  .one h1:before {
    width: 28px;
    height: 5px;
    display: block;
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    margin-left: -14px;
    background-color: #1169a3;
  }
  .one h1:after {
    width: 100px;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 10px;
    left: 50%;
    margin-left: -50px;
    background-color: #1169a3;
  }
.banner {
    background-color: rgb(235, 227, 228);
    color: white;
    padding: 20px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.356);
}
.logo {
    width: 250px;
    height: auto;
    margin: 10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}
button {
    margin: 10px 15px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background-color: #1169a3;
    color: white;
    transition: background-color 0.3s ease;
}
button:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    background-color: #f3b60f;
    color: black;
}
.hidden {
    display: none !important;
}
#quizSection {
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.quiz-box {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    width: 90vw;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
#closeQuizBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #d33;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-weight: bold;
    color: white;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border: none;
    padding: 0;
}

#question {
    padding: 0 2rem 0 0;
    font-size: 1.3em;
    margin-bottom: 20px;
}
#answer {
    font-size: 1.1em;
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
#resultSection {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

@media (max-width: 640px) {
  body {
    text-align: left;
    font-size: 16px;
    padding: 0 0.5rem;
  }
  #landing {
    width: 96vw;
    margin: 2rem auto;
    padding: 0;
  }
  h1 {
    font-size: 2rem;
  }
  .banner, #resultSection, .quiz-box {
    padding: 10px 8px;
    max-width: 100vw;
    font-size: 1em;
  }
  .logo {
    width: 160px;
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  button {
    padding: 12px 10px;
    font-size: 1em;
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
  }
  #quizSection {
    padding: 0;
  }
  .quiz-box, #resultSection {
    padding: 0.5rem 0.5rem 1.2rem;
    width: 98vw;
    min-width: unset;
    border-radius: 0.5em;
  }
  #question {
    font-size: 1.08em;
    padding: 0 2rem 0 0;
  }
  #answer {
    font-size: 1em;
    padding: 6px;
    margin-bottom: 12px;
  }
}
