/* #region everything */
body {
  margin: 0;
  background-color: lightblue;
  color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
}

html {
  scrollbar-gutter: stable;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    font-size: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    color: inherit;
    background: none;
}

main {
    min-height: 100vh;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 50px;
    width: 90%;
    line-height: 30px;
    font-size: large;
}
/* #endregion */

/* #region zyradoc */
.entire-game-box {
    max-width: 100%;
    padding: 20px;
    background-color: white;
    border-radius: 1%;
}

.entire-game-box h1 {
    font-size: x-large;
    text-align: center;
    font-weight: bolder;
    margin-bottom: 30px;
}

.case-info p {
  border: 1px solid black;
  border-radius: 5%;
  background-color: lightblue;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  font-size: larger;
}

.you-are-incorrect p {
    border: 2px solid red;
  border-radius: 10%;
  background-color: lightpink;
  padding-top: 5px;
  color: red;
  padding-bottom: 5px;
  text-align: center;
    opacity: 0;
}

.youve-already-played-today p {
    border: 3px solid green;
    border-radius: 5%;
    background-color: lightgreen;
    padding: 10px;
    color: green;
    text-align: center;
    font-weight: bold;
    display: none;
}

.youve-already-played-today-archives-link {
    text-decoration: underline;
    color: black;
}

.select-or-skip p {
    border: 2px solid red;
  border-radius: 5%;
  background-color: lightpink;
  padding-top: 10px;
  color: red;
  padding-bottom: 10px;
  text-align: center;
  display: none;
}

.guess-and-submit {
    display: flex;
    flex-direction: column;
}

.input-and-button {
  display: flex;
  flex-direction: row;
  gap: 5%;
}

.input-and-button input {
    flex: 1;
    border-radius: 5%;
    border: 1px solid gray;
    height: 40px;
    padding-left: 10px;
    padding-right: 5px;
    font-size: large;
}

.submit-and-skip-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#submit-btn {
  border: 2px solid black;
  border-radius: 5%;
  background-color: navy;
  color: white;
  font-size: large;
  height: 40px;
  font-weight: bold;
  width: 100px;
}

#submit-btn:hover {
  background-color: black;
  border: 2px solid navy;
}

#skip-btn {
  border: 1px solid black;
  background-color: gray;
  color: white;
  border-radius: 5%;
  font-size: large;
  height: 40px;
  width: 100px;
}

#skip-btn:hover {
  background-color: black;
}

.open-case-summary {
    text-align: center;
}

#open-case-summary-button {
    font-size: larger;
    padding: 10px;
    width: 80%;
    background-color: navy;
    color: white;
    border-radius: 10%;
    border: 3px solid black;
    font-weight: bold;
    animation: pulse 1.5s infinite ease-in-out;
  display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

#open-case-summary-button:hover {
    background-color: black;
    border: 3px solid navy;
    animation: none;
}

.autocomplete-options {
  background: blue;
  border-radius: 8px;
  margin-top: 5px;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item {
  cursor: pointer;
}

.suggestion-item:hover {
  background: yellow;
}

.incorrect-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.incorrect-list .incorrect-list-first-one {
    border: 1px solid red;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    border-radius: 5%;
    background-color: lightpink;
    padding: 0 10px;
    font-size: medium;
  display: none;
}

.incorrect-list .incorrect-list-second-one {
    border: 1px solid red;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    border-radius: 5%;
    background-color: lightpink;
    padding: 0 10px;
    font-size: medium;
  display: none;
}

.incorrect-list div p {
    margin: 0;
}

.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 900;           
    overflow-y: auto;
  display: none;
}

.feedback-modal.active {
    display: flex;
}

.feedback-modal-popup {
  display: flex;
  flex-direction: column;
  background-color: white;
  justify-content: center;
  align-items: center;
  padding: 50px 5%;
  margin: 0 auto;
}

.close-button-for-feedback-modal {
    width: 100%;
    text-align: right;
}

#close-feedback-modal-button {
  font-size: 50px;
  border: none;
  font-weight: bolder;
  transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

#close-feedback-modal-button:hover {
  text-shadow: 0 0 15px gray;
}

.correct-or-incorrect-feedback {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: black;
    font-size: larger;
}

.you-are-correct-feedback {
    border: 2px solid green;
    border-radius: 10%;
    background-color: lightgreen;
    padding: 20px 10px;
    display: none;
}

.you-are-correct-feedback span {
    font-weight: bolder;
    font-size: xx-large;
    color: green;
}

.you-are-incorrect-feedback {
    border: 2px solid red;
    border-radius: 10%;
    background-color: lightpink;
    padding: 20px 10px;
  display: none;
}

.you-are-incorrect-feedback span {
    font-weight: bolder;
    font-size: xx-large;
    color: red;
}

.fifty-percentile {
  font-size: larger;
  font-weight: bold;
  text-align: center;
}

.you-were-top-fifty {
  display: none;
}

.you-were-not-top-fifty {
  display: none;
}

.fifty-percentile-archives-link {
  text-decoration: underline;
  color: navy;
}

.fifty-percentile-archives-link:hover {
  color: rgb(2, 131, 141);
}

.share-this-zyradoc {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 50px;
  align-items: center;
}

.share-button {
  border-radius: 10%;
  border: 2px solid black;
  color: white;
  background: navy;
  font-size: larger;
  font-weight: bold;
  padding: 10px 50px;
  animation: pulse 1.5s infinite ease-in-out;
}

.copied {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.copied.show {
    opacity: 1;
}

.share-button:hover {
  border: 3px solid navy;
  background: black;
  animation: none;
}

.feedback-case-summary {
  border: 2px solid black;
  width: 100%;
  border-radius: 10px;
  font-size: larger;
}

.feedback-case-summary h2 {
  text-align: center;
  text-decoration: underline;
  font-size: x-large;
}

.feedback-case-summary p {
  padding: 0 5%;
}
/* #endregion */

/* #region header-part */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 2.5%;
  padding-right: 2.5%;
  background-color: navy;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
}

header button:hover,
header a:hover {
  color: orange;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-centre {
  display: none;
}

.header-centre a {
  font-weight: bold;
  text-align: center;
}

.hamburger button {
  font-size: x-large;
  border: none;
  margin-right: 0.3em;
}

.header-logo a {
  font-size: x-large;
  font-weight: bold;
}

.search-box button {
  border: none;
}

.header-subscribe button {
  border-radius: 30%;
  border: 2px solid white;
  background-color: transparent;
  font-size: small;
  margin-left: 0.5em;
}

.header-subscribe button:hover {
  border-color: orange;
}
/* #endregion */

/* #region hamburger-menu */
.hamburger-menu {
  position: fixed;
  left: -100%;
  width: 80%;
  height: 100%;
  background-color: #dde9fc;
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
  transition: left 0.3s ease;
}

.hamburger-menu.active {
  left: 0;
}

.hamburger-menu a {
  margin-left: 5%;
  margin-right: 5%;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.hamburger-menu a:hover {
  color: rgb(2, 131, 141);
}

.hamburger-menu hr {
  border: none;
  height: 1px;
  background-color: rgb(180, 180, 180);
}

.hamburger-menu .search-bar {
  display: flex;
}

.hamburger-menu .search-bar input {
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 5px;
  flex-grow: 1;
  height: 20px;
  margin-left: 5%;
  font-size: medium;
}

.hamburger-menu .search-bar button {
  margin-top: 30px;
  margin-bottom: 20px;
  height: 34px;
  width: 20%;
  margin-right: 5%;
  background-color: rgb(2, 131, 141);
  border: 2px solid black;
  font-size: medium;
}

.hamburger-menu .search-bar button:hover {
  background-color: navy;
  color: white;
  border-color: navy;
}

#suggestions-container-menu {
  position: absolute;
  width: 80%;
  display: none;
  overflow-y: auto;
  border: 1px solid #ccc;
  background-color: white;
  z-index: 10;
  border-radius: 1%;
  margin-top: -15px;
  margin-left: 5%;
}

.suggestion-item-menu {
  padding: 15px 3%;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestion-item-menu:hover {
  background-color: #f0f0f0;
}

.hamburger-menu .about-contact-advertise-hamburger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 5%;
  margin-right: 5%;
  column-gap: 5%;
  row-gap: 20px;
  margin-top: 30px;
  margin-bottom: 5px;
}

.hamburger-menu .about-contact-advertise-hamburger a {
  font-weight: normal;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamburger-menu .follow-us-on-hamburger {
  margin-bottom: 50px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5%;
  align-items: center;
  font-size: x-large;
  font-weight: bold;
}

.hamburger-menu .follow-us-on-hamburger .twitter:hover,
.hamburger-menu .follow-us-on-hamburger .pinterest:hover {
  transform: scale(1.15);
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
/* #endregion */

/* #region footer */
footer {
  background-color: navy;
  color: white;
  padding-top: 30px;
  padding-bottom: 50px;
}

footer a:hover {
  color: orange;
}

footer .footer-logo-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

footer .footer-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5%;
  align-items: center;
  font-size: x-large;
  font-weight: bold;
  margin-bottom: 25px;
}

footer .footer-logo .twitter:hover,
footer .footer-logo .pinterest:hover {
  transform: scale(1.15);
}

footer .about-contact-advertise-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 5%;
  margin-right: 5%;
  column-gap: 5%;
  row-gap: 20px;
}

footer .about-contact-advertise-footer a {
  text-align: center;
  font-size: small;
}

footer .footer-medical-disclaimer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-left: 5%;
  margin-right: 5%;
}
/* #endregion */

/* #region cookie-banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  right: 0;
  background: #dde9fc;
  color: black;
  z-index: 9999;
  display: none;
  border-top: 2px solid black;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 20px;
  padding-top: 1px;
}

.cookie-banner-and-popup-cookie-policy-link {
  color: navy;
  text-decoration: underline;
}

.cookie-banner-and-popup-cookie-policy-link:hover {
  color: rgb(2, 131, 141);
  text-decoration: none;
  font-weight: bold;
}

.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 10%;
}

.cookie-banner-buttons button {
  background: navy;
  font-size: large;
  font-weight: bold;
  color: white;
  border: 2px solid navy;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
}

.cookie-banner-buttons .customise {
  background: white;
  color: navy;
}

.cookie-banner-buttons button:hover {
  background: rgb(2, 131, 141);
  border: 2px solid black;
  color: black;
  font-weight: bold;
}

.cookie-banner-buttons .customise:hover {
  background: rgb(2, 131, 141);
  border: 2px solid black;
  color: black;
  font-weight: bold;
}

.cookie-modal-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #dde9fc;
  z-index: 10000;
  display: none;
  flex-direction: column;
}

.cookie-modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cookie-modal-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 5%;
  padding-left: 5%;
  padding-top: 50px;
  border-bottom: 2px solid black;
}

.cookie-modal-content-header h3 {
  font-size: 21px;
}

.cookie-modal-content-header button {
  font-size: 50px;
  margin-top: -10px;
  border: none;
  width: 50px;
}

.cookie-modal-content-header button:hover {
  color: rgb(2, 131, 141);
}

.cookie-modal-content-actual-content {
  flex: 1;
  overflow-y: auto;
  padding: 0px 5%;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}

.cookie-modal-buttons {
  padding: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  border-top: 2px solid black;
}

.cookie-modal-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  font-weight: bold;
  font-size: large;
  background: navy;
  color: white;
}

.cookie-modal-buttons button:hover {
  background: rgb(2, 131, 141);
  color: black;
  border: 2px solid black;
}
/* #endregion */

@media screen and (min-width: 991px) {
  main {
    width: 60%;
    margin-left: 10%;
    margin-right: 30%;
    margin-top: 100px;
  }
  .hamburger button {
    font-size: xx-large;
  }
  .header-logo a {
    font-size: xx-large;
  }
  .hamburger-menu {
    width: 50%;
  }
  .cookie-banner p {
    font-size: large;
  }
}