/* styles.css */
body {
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

.footer {
    background-color: #7A7BCC;
    color: #282946;
    padding: 20px;
    text-align: center;
}
.content {
    min-height: calc(100vh - 60vh);
    padding: 20px;
    text-align: center;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.link {
    text-decoration: underline;
}

.third-width {
    width: 200px;
    margin: auto;
}

.header {
    height: 40vh;
    background-image: url("svgs/header.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: grid;
    align-items: center; /* Centers child elements vertically */
    justify-items: center; /* Makes the svg appear in the horizontal centre*/
    filter: drop-shadow(0px 10px 30px rgba(248, 150, 214, 0.4));
}

.small-header {
    height: 30vh;
    background-image: url("svgs/small-header-wave.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: grid;
    align-items: center; /* Centers child elements vertically */
    justify-items: center; /* Makes the svg appear in the horizontal centre*/
    filter: drop-shadow(0px 10px 30px rgba(248, 150, 214, 0.4));
    position: relative; /* Make it positioned relative to its container */
    z-index: 1; /* Set the stacking order above game-content-container */
}

.game-content-container {
    position: absolute; /* Make it positioned relative to the viewport */
    top: 0; /* Start at the top of the viewport */
    left: 0; /* Start at the left of the viewport */
    width: 100%; /* Take up the full width of the viewport */
    height: 100vh; /* Take up the full height of the viewport (vh) */
    background-color: #282946; /* Set the background color to dark blue */
    padding-top: 30vh;
  }

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
  
.category-text {
    margin: auto;
    width: 140px;
    height: 47px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 400;
}

.word-text {
    width: 272px;
    text-align: center;
    font-size: 25px;
    margin: 1em auto;
}

.bold { font-weight: 700; }

.next-button {
    width: 315px;
    height: 70px;
    border-radius: 10px;
    border: 0;
    margin: 1em auto;
}

.bottom-buttons-wrapper {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -10%);
}

.buttom-button {
    width: 315px;
    height: 55px;
    border-radius: 10px;
    border: 0;
    margin: 0.5em;  /* Adjust margin for spacing between buttons */
    display: flex; /* Make button container a flexbox */
    align-items: center; /* Align content vertically */
    justify-content: center; /* Align content horizontally */
}
.next-text {
    text-transform: uppercase;
    justify-content: center;
}
.button-label {
    text-transform: uppercase;
    margin: 0; /* Remove margin as it's handled by flexbox */
    line-height: 1; /* Set line-height to button height */
}

.back-button {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 0;
    margin: 1em 0;
    left: 30px;
    position: absolute;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 3rem); /* Adjust font size range */
}

.titles-font-sizes {
    font-weight: 400;
    font-style: normal;
    color: #282946;
}

#dice-icon {
    padding: 0 10px;
}

/* FONTS */
.bungee-shade { font-family: "Bungee Shade", sans-serif; }
.poppins { font-family: "Poppins"; }
.bungee { font-family: "Bungee"; }

.welcome-section {
    display: grid;
    grid-template-columns: 250px auto;  
    width: fit-content;
    margin: 0 auto;
}

.welcome-section p, .welcome-section img {
  grid-row: span 2; /* Spans both rows for the content on the right */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    width: fit-content;
    margin: 2vb auto;
}

.footer-grid img, .footer-grid div {
    text-align: inherit;
}

.footer-grid img, .footer-grid div:not(:first-child) {
    text-align: left;
}

.button-grid {
    display: grid;
}

.button-grid > .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {  /* iPhone layout (1 column) */
    .button-grid > .row {
        grid-template-columns: 1fr;
    }
}
  
.game-choice {
    position: relative;
    filter: drop-shadow(1px 3px 4px rgba(244, 157, 186, 0.25));
    padding: 20px 30px;
}
.bubbles {
    position: relative;
    background-size: 100px 100px, 100px 100px;
    background-repeat: no-repeat, no-repeat;
    z-index: 1;
    padding: 20px 30px;
    filter: drop-shadow(1px 3px 4px rgba(244, 157, 186, 0.25));
}
.pink-bubbles {
    background-image: url("svgs/pink-bubble.svg"), url("svgs/pink-bubble-2.svg");
    background-position: bottom left, top right;
    
}
.yellow-bubbles {
    background-image: url("svgs/yellow-bubble.svg"), url("svgs/yellow-bubble-2.svg");
    background-position: top left, bottom right;
}
.orange-bubbles {
    background-image: url("svgs/orange-bubble.svg"), url("svgs/orange-bubble-2.svg");
    background-position: bottom left, top right;
}

.game-box {
    width: 100%;
    padding: 50px 15px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    border: 0;
}

.light-pink { background-color: #FFBFD5; }
.light-yellow { background-color: #FFECBF; }
.light-tangerine { background-color: #FFD5BF; }
.yellow { background-color: #FFD575; }
.tangerine-background { background-color: #F88F58;}
.white-background {background-color: white;}
.slate-blue-background { background-color: #7A7BCC;}
.dark-blue-background { background-color: #282946;}
.bubblegum-background { background-color: #F18AAD;}

.tangerine-font { color: #FFD5BF; }
.light-yellow-font{ color: #FFECBF;}
.pastel-yellow-font { color: #FEF6B6;}
.dark-blue-font { color: var(--Dark-blue, var(--Dark-blue, #282946));}
.white-font { color: white;}

.suggestion-box {
    padding: 1rem;
    border: 1px solid #282946;
    border-radius: 5px;
    font-family: inherit;
    resize: none;
    width: 100%;
    box-sizing: border-box;
}

.suggestion-box:focus {
    outline: none;
}

.submit-button {
    background-color: #282946;
    color: #FFECBF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    width: 100%;
    margin: 1em auto;
    box-sizing: border-box;
}

.suggestion-link {
    display: block;
    text-align: center;
}

.submit-button:hover {
    outline: none;
    background-color: #7A7BCC;
}

.long-width {
    margin: auto;
    width: 80%;
}

.margin-top-3vb {
    margin-top: 3vb;
}

.category-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  /* Stack cards vertically */
    margin-bottom: 15vb;
    margin-top: 4vb;
}

.category-card {
    position: relative;
    border: 1px solid #282946;
    margin: 1vh auto;
    border-radius: 10px;
    text-transform: uppercase;
    width: 310px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
  
.category-label {
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center; /* Center text horizontally */
    gap: 10px; /* Add space between items */
}

.checkbox {
    opacity: 0;
    height: 0;
    width: 0;
}

.start-game-button {
    padding: 15px 30px;
    border: none;  /* Removed border-radius for a rectangular shape */
    cursor: pointer;
    text-transform: uppercase;
    position: fixed;  /* Fix button to bottom */
    bottom: 0;  /* Position at bottom edge */
    left: 0;  /* Position at left edge (full width) */
    width: 100%;  /* Set width to 100% of viewport */
    height: 15vb;
    font-size: 24px;
    font-weight: 500;
}

.wavy-container {
    background-image: url("svgs/dark-blue-wave.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.text-content {
    text-align: center;
}

.truth-dare-buttons {
    width: 150px;
    height: 70px;
    border: 0;
    border-radius: 10px;
    text-transform: uppercase;
    padding-top: 8px;
}
.truth-dare-buttons img { margin-bottom: 0px; }
.truth-dare-buttons p { margin-top: 0px; }

.timer {
    font-size: 40px;
}
