body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  overflow-x: hidden;
  background: url(./images/background.png);
}
h1{ text-align: center; }
.chatmsg span{ margin-left: 3px; }
.cuscontainers {
  width: 100%;
  display: none;
  gap: 10px;
  padding: 10px;
 justify-content: center;
 height: 96vh;
}
.adspace {
    border: 1px solid #000;
    padding: 20px;
    margin-bottom: 10px;
  border-radius: 5px;
}
.adspace h3 {
    margin: 0px;
}
h1 {
    color: #fff;
}

.color-picker p {
    display: flex;
    align-items: center;
    gap: 10px;
}
.range {
    display: flex;
    gap: 10px;
    align-items: center;
}
img.w-100{ width: 100%; }

.formdat {
    display: flex;
    flex-direction: column;
    align-items: center;
    place-content: center;
    justify-content: center;
    height: 100vh;
    margin: auto;
    border-radius: 5px;
    gap: 10px
}
.chatcontainer {
  width: 30%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.chat-box {
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 300px;
  overflow-y: auto;
  padding: 10px;
  background-color: #fafafa;
  margin-bottom: 5px;
}

.chat-box div {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.input-group {
  display: flex !important;
  gap: 5px;
}

.input-group input[type="text"] , #guessInput , .input-group select {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.input-group button, #toggle-theme, .canvbutton button{
  padding: 10px 15px;
  background: #000;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s ease;
}

.input-group button:hover {
  background: #0056b3;
}

body.dark {
  background: #121212;
  color: #eee;
}

body.dark .chatcontainer {
  background: #1e1e1e;
  color: #eee;
}

body.dark .chat-box {
  background-color: #2a2a2a;
}

body.dark input,
body.dark button {
  background: #333;
  color: white;
  border: 1px solid #555;
}

.user-list {
  width: 20%;
   border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}

#chat-box p {
  margin: 4px 0;
}

.canvassec {
  width:50%;
   border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}
div#canvasDiv {
    width: fit-content !important;
}
.user-list h4 {
  margin: 0;
  font-size: 16px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
}

[type='color'] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  width: 15px;
  height: 15px;
  border: none;
}

[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}

[type='color']::-webkit-color-swatch {
  border: none;
}
 

.user-list ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    border: 1px solid #000;
    background: #fff;
    border-radius: 0px 0px 5px 5px;
}

.user-list li {
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

body.dark .user-list {
  background: #1a1a1a;
}

body.dark .user-list li {
  color: #ccc;
}

 

/* SKETCH */

 
.panelbuttons {margin-top: 7px; margin-bottom: -7px; border:none;}
#projectinfo{float:right;}
/* Options */
.optionstext {cursor:default;text-align: left; font-weight: bold;display: inline-block;}
.new-game {background:darkgray;
   height: 200px;
   margin-top: 250px;
   max-width: 320px;
   padding: 20px;
   z-index: 10;
   position: absolute;
   margin-left: auto;
   margin-right: auto;
   left: 0;
   right: 0;
   top: 80px;
}
#text {margin-bottom:25px;
margin-top: -35px;
}
#mainoptiontext{margin-bottom:25px; margin-top: -10px;}

/* Inputs and Checkbox */
#input {width: 90px;height:25px;font-size:small;border:1px solid  black;cursor:auto; margin-bottom: 2px;}
#input2 {width: 90px;height:25px;font-size:small;border:1px solid  black;cursor:auto; margin-left: 10px;}

/* Exit button image and its positioning */ 
img{width:20px;}
#exit{position:relative;top:-15px;left:145px;cursor:pointer;display: inline;}

 
div#round {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
}
div#word-options {
  position: relative;
    text-align: center;
    display: flex;
     font-weight: 600;
    gap: 15px;
    justify-content: center;
}

/* Canvas */
#canvas { background:white; border: 1px solid  #000 ; position:relative; cursor:pointer; border-radius: 5px;}
 
#controls {
            
            justify-content: space-between;
            align-items: center;
            text-align: center;
            gap:15px;
            padding-bottom: 10px;   }
  .controls p { font-size: 14px; font-weight: 500; }   
        
/* Error warning */
.alert-danger {margin-top: -19px; max-width: 50%; border-radius: 25px; border: 2px solid;font-weight: bold;z-index:5;}

 #game { margin: 20px auto; max-width: 800px; }
 
#word-options button {
    border: none;
    background: #ffffff;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 15px 0;
    width: 300px;
    color: #000000;
    height: fit-content;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

div#hintBox, #choosen {
    text-align: center;
    padding-bottom: 10px;
}
    #users, #scoreboard { display: flex; justify-content: space-around; margin-top: 10px; }
    #timer { font-size: 1.2em; margin: 10px; }
    .highlight { font-weight: bold; color: green; }

  .wordata, .scoredata {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    right: 0;
    bottom: 0;
    background: #00000096; 
    z-index: 9999;
}
.wordata button{
  background: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 30px;
  &:hover{
    background: #000;
    color: #fff;
  }
}
.wordata h5{
  color: #fff;
  font-size: 30px;
}

/* Winner style */

.winner-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.winner-content {
  background: white;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.winner-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.winner-content p {
  font-size: 20px;
  margin: 8px 0;
}

.winner-content button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.winner-content button:hover {
  background: #45a049;
}

.innerword {
    position: fixed;
    background: #0000009e;
    width: 100%;
    height: 100%;
    z-index: 999;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    color: #fff;
    font-size: 28px;
}


