body {
  font-family:Verdana, Tahoma, sans-serif;
  background-color: dimgray;
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: auto;
  height: 100vh;
  cursor: url("cursornormal.png"), crosshair;
  }

#top {
  position: relative;
  
}

#nav {
 position: absolute; 
 top: 0;
 right: 0;
 padding: 15px;
 display: inline-block;
 margin-right: 15px;
  
}




#myInput {
  background-image: url('/css/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 50%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 2px solid black; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
  margin-left: 60px;
  
}

#word-list {
  /* Remove default list styling */
  list-style-type: none;
  padding: 0;
  display: inline-block;
  margin-left:40px;
  width: 60%;
  overflow: hidden;

}


#word-list li a {
  border: 1px solid #ddd; /* Add a border to all links */
  margin-top: -1px; /* Prevent double borders */
  background-color: #f6f6f6; /* Grey background color */
  padding: 12px; /* Add some padding */
  text-decoration: none; /* Remove default text underline */
  font-size: 17px; /* Increase the font-size */
  color: black; /* Add a black text color */
  display: block; /* Make it into a block element to fill the whole list */
}


#word-list li a:hover:not(.header) {
  background-color: #eee; /* Add a hover effect to all links, except for headers */
}

.word {
    display: inline;
    font-weight: bold;  
    margin-right: 5px;
    
  
}

.word-type {

 display: inline;
 padding: 2px;
 border-radius: 8px;
 border: solid 1px darkgray;
}


.noun {
    background-color: deepskyblue;
    padding: 0 5px;
}

.adjective {
    background-color:lightcoral;
    
}

.verb {
    background-color:darkseagreen;
    padding: 0px 5px;
}

.other {
    background-color: khaki;
  
}

.definition {
    display: inline;
    margin-left: 5px;
 
}

.everything {
    line-height: 1.75em;
    width: 90%;
    margin-right: 3px;
    
}

.notes {
    font-style:italic;
}

.see-also {
    font-style: italic;
}

#spaniaheading {
    color: dodgerblue;
    position:relative;
    text-align: center;
    text-shadow: 2px 3px black;
}

#johaycheading {
  color: lightgreen;
    position:relative;
    text-align: center;
    text-shadow: 2px 3px black;
}

#nermandoa {
  color: darkred;
    position:relative;
    text-align: center;
    text-shadow: 2px 3px lightgray;
}



#body-site {
 width: 100%;
}

.wordmaker {
    display: inline-block;
    width: 25%;
    padding: 5px;
    background-color: darkgrey;
    vertical-align: top;
    overflow: hidden;
    margin-left: 50px;
    border: 5px dotted black;
    

}

.wordmaker input {
    padding: 8px 0;
      
    
}


.winput {
 width: 260px;
  
}

#definition-field {
  display:block;
  text-align: left;
  min-width: 260px;
    max-width: 260px;
  width: 260px;
  height: 40px;
  min-height: 40px;
    overflow-x: hidden;
  overflow-y: auto;
 
}

#notes-field {
    display: block;
    text-align: left;
    min-width: 260px;
    max-width: 260px;
    width: 260px;
    min-height: 40px;
    height: 40px;
     overflow-x: hidden;
  overflow-y: auto;
  }



.wordmaker button {
  margin-left: 5px;
  margin-bottom: 5px;
  background-color: dodgerblue;
  color: white;
  text-align: center;
  font-size: 18px;
}

.entrant {
    padding: 10px;
}

#word-list li {
    position: relative;
    border: solid 2px lightgrey;
    border-radius: 5px;
}

.deleteBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: firebrick;
    color: white;
    border-radius: 2px;
    height: 40px;
    font-size: 18px;

}


/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_filter_list
https://stackoverflow.com/questions/5803023/how-to-place-two-divs-next-to-each-other 
https://stackoverflow.com/questions/68633562/css-change-input-type-text-so-that-the-text-start-from-the-beginning-of-th
*/