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

:root{
    --size-tin: 1rem;
    --size-sml: 2rem;
    --size-mid: 3rem;
    --size-big: 6rem;
    --size-lrg: 12rem;

    --color-bg: #faebd7;
    --color-text: #2f4f4f;
    --color-input-bg: #d3d3d3;
    --color-accent: #50C878;
    --color-box: rgba(255, 255, 255, 0.25);
}


body,h1,h2,h3,p{
    margin: 0;
}

button{
    padding: var(--size-tin);
    font-family: inherit;
    font-size: 3rem;
}

/* utils */
.box{
    padding: var(--size-mid);
    background: var(--color-box);
    border-radius: 10px;
}

.title{
    font-size: 5rem;
    font-weight: 600;
}

.text{
    font-size: 3.5rem;
}

.main-button{
    position: relative;
    padding: var(--size-mid);
    background: var(--color-accent);
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
}

.main-button::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    height: 0;
    width: 0;
    background: #FFFFFF;
    opacity: 0.25;
    z-index: -1;
    transition: height .2s, width .2s;
}

.main-button:hover::before{
    height: 100%;
    width: 100%;
}

*{
    box-sizing: border-box;
}

html{
    font-size: 4pt;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    background: var(--color-bg);
    color: var(--color-text);
}

.container{
    padding: var(--size-big) var(--size-big) var(--size-lrg) var(--size-big);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.container-inner{
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-flow: column nowrap;
    gap: var(--size-big);
}

/* views */
.view{
    min-height: 35vh;
    min-height: 35dvh;
    display: none;
}

.view.active{
    display: flex;
}

/* instructions view */
.instructions-view{
    flex-flow: column nowrap;
    gap: var(--size-mid);
}

.instructions-view-text{
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    gap: var(--size-sml);
}

/* game view */
.game-view{
    flex-flow: row wrap;
    gap: var(--size-mid);
}

.game-view-form{
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-flow: column nowrap;
    gap: var(--size-tin);
}

.game-view-form form{
    display: flex;
    flex-flow: row nowrap;
    gap: var(--size-sml);
}

.game-view-form form input{
    flex: 1;
    padding: var(--size-sml);
    background: var(--color-input-bg);
    font-size: 3rem;
    color: var(--color-text);
    border: none;
    border-radius: 10px;
}

.game-view-form form button{
    padding: var(--size-tin);
    height: 8rem;
    width: 8rem;
    text-align: center;
    color: #FFFFFF;
    border-radius: 50%;
}

.game-view-form form button img{
    height: 100%;
    width: 100%;
    filter: invert();
}

.game-view-hints{
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-flow: column nowrap;
    gap: var(--size-tin);
}

.game-view-hint{
    flex: 1;
    min-height: 8rem;
    position: relative;
    padding: var(--size-sml);
    background: var(--color-box);
    border-radius: 10px;
    overflow: hidden;
    z-index: 0;
}

.game-view-hint::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--color-input-bg);
    background-image: url('../media/images/icons/five-hints-exclamation-round-icon.svg');
    background-repeat: no-repeat;
    background-size: auto 75%;
    background-position: center;
    transition: opacity .2s;
}

.game-view-hint.active::after{
    opacity: 0;
}

/* share view */
.share-view{
    flex-flow: column nowrap;
    gap: var(--size-mid);
}

.share-view-top{
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: var(--size-mid);
    text-align: center;
}

.share-view-top .share-view-share-buttons{
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--size-sml) !important;
}

.share-view-top .share-view-share-buttons .st-btn{
    margin: 0 !important;
    padding: var(--size-sml) !important;
    height: 8rem !important;
    width: 8rem !important;
    border-radius: 50% !important;
}

.share-view-top .share-view-share-buttons .st-btn img{
    top: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

.share-view-bottom{
    text-align: center;
}

@media only screen and (max-width: 768px){
    .game-view{
        flex-direction: column;
    }
}

@media only screen and (max-width: 400px){
    html{
        font-size: 3.5pt;
    }
}
/* Style for all social buttons */
.social-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0074c2; /* Customize the background color */
    color: #ffffffff; /* Customize the text color */
    text-decoration: none;
    margin-right: 9px;
    border-radius: 5px;
}
/* CSS to style the share buttons */
.share-button {
   text-decoration: none; /* Remove underlines from the links */
   color: black; /* Set the text color to black */
}

/* Optional: Add hover styles to change the color on hover */
.share-button:hover {
   color: #333; /* Change text color to a darker shade on hover */
}

/* Style for icons */
.social-button i {
    margin-right: 5px; /* Adjust the spacing between icon and text */
    font-size: 20px; /* Adjust the icon size */
}

/* Style for individual social buttons */
.facebook {
    background-color: #1877f2; /* Customize the Facebook button color */
}

.twitter {
    background-color: #1da1f2; /* Customize the Twitter button color */
}

.sms {
    background-color: #25d366; /* Customize the SMS button color */
}

.reddit {
    background-color: #ff4500; /* Customize the Reddit button color */
}

.snapchat {
    background-color: #fffc00; /* Customize the Snapchat button color */
}

.line {
    background-color: #00c300; /* Customize the Line button color */
}

.whatsapp {
    background-color: #25d366; /* Customize the WhatsApp button color */
}

/* @supports (-webkit-touch-callout: none) {
    
} */