/* CSS */
html {
  font-family: Poppins;
}

@font-face {
	font-family: Forte;
	src: url("fonts/Forte.ttf");
}
@font-face {
	font-family:lily;
    src: url("fonts/LilitaOne-Regular.ttf");
}
@font-face {
	font-family:IBM;
	src: url("fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf");
}
@font-face {
	font-family:Varela;
	src: url("fonts/Varela_Round/VarelaRound-Regular.ttf");
}
@font-face {
	font-family: Kreon;
	src: url("fonts/Kreon/static/Kreon-Regular.ttf");
}
@font-face {
	font-family: Poppins;
	src: url("fonts/Poppins/Poppins-Regular.ttf");
	
}
@font-face {
	font-family: Poppins;
	src: url("fonts/Poppins/Poppins-Bold.ttf");
	font-weight: bold;
}
@font-face {
  font-family: emoji;
  src: url("fonts/emojis.ttf");
}
.button-1 {
    height: 45px;
    background-color: rgba(var(--highlight1),1);
    color: rgb(0, 0, 0);
    font-size: 21px;
    font-family: Poppins;
    border: none;
    border-radius: 5px;
    text-align: center;
    line-height: 26px;
    z-index: 0;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    cursor:pointer;
}

.button-1:hover {
  background: rgba(var(--body-color),1);
  filter: brightness(105%);
  color: rgba(var(--base-highlight),1);
}

.button-1:active {
  outline: none;
  border: 2px solid rgba(var(--highlight1-brighter),1);
}
/*
.button-1:focus {
  
}
*/
.button-1:not(:disabled) {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.button-1:not(:disabled):hover {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.button-1:not(:disabled):focus {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.button-1:not(:disabled):active {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.button-1:disabled {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}




.underline {
height:3px;
/*background-image: linear-gradient(to right, rgb(80,80,80), rgb(235,235,235));*/
background-color:rgba(var(--grey),0.3);
margin:auto;
padding:0;
}
.wordes:hover .underline {
	background-color:rgba(var(--highlight1),1);
	animation: underline 0.6s;
}
.thewords:hover .underline {
	background-color:rgba(var(--highlight1),1);
	animation: underline 0.6s;
}

@keyframes underline {
0%{width:0;margin:auto;}
100%{width:100%}
}

h1 {
	font-family:Poppins;
	font-size:40;
}

.tip {
	font-family:Poppins;
}
.logo_fitting {
  display: block;
  height:84px;
}
.logo_head {
	min-height:60px;
	width:100%;
	background-color:rgba(var(--black),0.15);
  backdrop-filter: blur(10px);
	position:fixed;
	top:0;
	left:0;
	z-index:500;
	margin:0;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
}
.logo {
	height:60px;
	width:200px;
	margin-left:1px;
	background-image:url("./graphics/ezlet.svg");
	background-repeat:no-repeat;
	background-size:100%;
	transform: scale(0.93);
  order:-1;
}
.link{
  display: block;
  white-space: nowrap;
  color: #111;
  font-family: Poppins;
  text-align: center;
}
.header_content {
  width: 400px;
  display:flex;
  justify-content: space-between;
  margin-left:10px;
  margin-right:20px;
  padding-right:calc(100% - 400px);
}
#login_container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  right: 15px;
  order:-1;
  max-width: calc(100% - 209px);
}
#login_icon {
  margin: 0px 15px;
  background-color: rgba(var(--body-color), 0.5);
  min-width:50px;
  min-height:50px;
  border-radius: 50%;
  box-shadow: 2px 2px 4px rgba(var(--black),0.2);
}
#login_text {
  text-decoration: underline;
  text-overflow: ellipsis;
  width:auto;
  overflow:hidden;
}
body, html {
margin:0;
padding:0;
border:0;
overflow-x: hidden;
/*color:rgb(242,242,242);*/
z-index: 1;
}

.loading {
    display:none;
    height:50px;
    width:50px;
    margin:auto;
    background-image:url("./graphics/loading.png");
    background-repeat:no-repeat;
    background-size:contain;
    animation:spin 2s linear infinite;
}
@keyframes spin {
 0% {transform:rotate(0deg);}
 100%{transform:rotate(360deg);}
 }   
/*kommentti*/
.progress  {
  position:fixed;
  bottom:0;
  height:30px;
  background-color:rgba(var(--highlight1),1);
   width:100%;
  z-index: 200;
  
}
.progressbar {
  height:30px;
  background-color:rgba(var(--highlight1),1);
  width:50%;
 
}
.progress_label1   {
  position:absolute;
  left:calc(100% - 70px);
  top:-10px;
  font-family: Poppins;
}
.progress_label2  {
  position:absolute;
  left:30px;top:-10px;
  font-family:Poppins;
}
body {
  background-color: rgb(var(--body-color));
}

:root {
  --base-color: 217, 217, 217;
  --base-highlight: 111,111,111;
  --highlight1: 255, 212, 57;
  --highlight2: 50, 200, 50;
  --tip-text: 100,100,100;
  --body-color: 217, 217, 217;
  --white: 255,255,255;
  --black: 0,0,0;
  --grey: 150,150,150;
  --green: 109, 193, 85;
  --red: 193, 85, 85;
}
input[type="radio"], input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  width: 20px;
  transition: all 0.15s ease-out 0s;
  background: rgba(var(--base-highlight),1);
  border: none;
  cursor: pointer;
  display: inline-block;
  outline: none;
  position: relative;
  z-index: 10;
}
input[type="radio"]:hover:not(:checked), input[type="checkbox"]:not(:disabled):not(:checked):hover {
  background: rgba(var(--base-highlight),1);
  filter:brightness(125%);
}
input[type="checkbox"]:checked {
  background: rgba(var(--highlight1),1);
  background-image: url("./svg/checkmark.svg");
  background-repeat: no-repeat;
  background-size: 90% 90%;
  background-position: center;
}
input[type="radio"]:checked {
  background: rgba(var(--highlight1),1);
  background-image: url("./svg/circle.svg");
  background-repeat: no-repeat;
  background-size: 50% 50%;
  background-position: center;
}
input[type="radio"]:checked::before, input[type="checkbox"]:checked::before {
  width: 20px;
  height: 20px;
  display:flex;
  font-weight:bold;
  position: absolute;
  align-items:center;
  justify-content:center;
}
input[type="radio"]:checked::after, input[type="checkbox"]:checked::after {
  -webkit-animation: click-wave 0.65s;
  -moz-animation: click-wave 0.65s;
  animation: click-wave 0.65s;
  background: rgba(var(--highlight1),1);
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}
input[type="checkbox"]:disabled {
  background-color: rgba(var(--base-color),1);
  background-image: none;
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="radio"]::after {
  border-radius: 50%;
}
@keyframes click-wave {
  0% {
    height: 20px;
    width: 20px;
    opacity: 0.35;
    position: relative;
    pointer-events: none;
  }
  100% {
    height: 100px;
    width: 100px;
    margin-left: -45px;
    margin-top: -45px;
    opacity: 0;
    pointer-events: none;
  }
}
#footer {
  background-color: rgb(var(--highlight1));
  filter: brightness(95%);
  padding: 20px;
}
#footer_logo{
  background-image: url(/graphics/ezlet.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 6vh;
  margin:10px 10px 20px 10px;
  top: 10px;
  position: relative;
}
.laptopboy{
  position: absolute;
  height: 10vh;
  bottom: 30px;
  left: 30px;
}
@media only screen and (max-width:630px){
.laptopboy{
  display: none;
}}

.footer_content_container{
  display:flex;
  justify-content: end;
  flex-direction: column;
  align-items:flex-end;
}
.footer_content {
  display:flex;
  justify-content: space-between;
  padding:10px;
  text-align: end;
  font-size: large;
  width: 100%;
  max-width: 400px;
}

.editor {
  width:100px;
  flex-grow: 1;
  flex-shrink: 1;
  height:min(3vw + 10px, 25px);
  background-color:rgba(var(--base-color),1);
  border:none;
  border-radius: 2px;
  font-family:Poppins;
  font-size:min(4vw + 10px, 20px);
  padding:max(0.2vw, 1px);
}
.editor:focus {
  outline:0px;
  border-bottom:3px solid rgba(var(--highlight1),1);
  margin-bottom:0px;
}
.line_containers {
  width:100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  min-height:min(7vw, 45px);
  margin-bottom:7px;
  background-color: rgb(var(--body-color));
  filter:brightness(95%);
  border-radius: 5px;
}
.adding_box {
  width:100%;
  display:flex;
  min-height:min(7vw, 45px);
  margin-bottom:7px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  border:3px dashed rgba(var(--base-highlight),1);
  cursor:pointer;
}
.plusbuttons {
  background-image:url("./graphics/plusButton.png");
}

.minusbuttons {
  background-image:url("./graphics/minusButton.png");
}
.plusbuttons, .minusbuttons {
  flex-shrink:3;
  width:25px;
  min-width:20px;
  height:min(2vw, 25px);
  min-height:20px;
  padding:0;
  margin-left:3px;
  margin-right:3px;
  border:none;
  background-repeat:no-repeat;
  background-size:85% 85%;
  background-color:rgba(0,0,0,0);
  background-position: center;
  object-fit: contain;
  cursor:pointer;
}
#gray_plus{
  width:25px;
  height:25px;
  padding:0;
  background-image: url("./graphics/plus-gray.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.plusbuttons:hover, .minusbuttons:hover {
  background-size:100% 100%;
}
#addline {
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  border-radius: 5px;
  background-image:url("./graphics/plus-gray.png");
  background-repeat:no-repeat;
  background-position: center;
  padding-bottom:15px;
  background-size: 30px 30px;
  background-color: rgba(0,0,0,0);
  filter: brightness(107%);
  margin:auto;
  bottom: 5px;
  display:block;
  min-height:40px;
  min-width: 50px;
  opacity: 0.6;
  margin-bottom: 0;
  border:none;
  position:sticky;
  cursor:pointer;
background-color: rgb(var(--body-color));
}
#addline:hover {
  background-size: 28px 28px;
}
.arrow {
  background-image:url("./graphics/arrow.png");
  height:26px;
  width:52px;
  min-width: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
#word_editing_box {
  display:flex;
  flex-direction:column;
  flex-shrink:0;
  background-color: rgb(var(--body-color));
  filter: brightness(103%);
  padding-left: 15px;
  padding-right: 15px;
  max-width: 760px;
  margin: auto;
  border-radius:5px;
  box-shadow: rgba(60, 64, 67, 0.3) 2px 2px 2px 1px;
      height:60vh;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  backface-visibility: hidden;
  transition:transform 1s;
}

#submitbox {
  display:block;
  resize: none;
  overflow: auto;
  
  position:absolute;
  width:min(100% - 11vw, 760px);
  height:60vh;
  bottom:0;
  left:calc(50% - 380px);
  backface-visibility: hidden;
  transform: rotateY(-180deg);
  transition:transform 1s;
}
#el_butonos_273 {
  display: flex;
  position: relative;
  margin: auto;
  justify-content: space-between;
  max-width:min(100% - 12vw - 2px, 760px);
}
#turnempty {
  display: flex;
  flex-basis: 100%;
  max-width: 450px;
  justify-content: space-between;
  margin-right:5px;
}
#turn_button, #empty_button, #undo, #redo {
  height: 50px;
  border-radius: 5px;
  border: none;
  background-size: 30px;
  object-fit: contain;
  background-repeat: no-repeat;
  text-align: right;
  font-family: Poppins;
  background-color: rgba(var(--highlight1),1);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  -webkit-text-stroke-color: #111;
  
}
#turn_button {
   margin-right:5px;
   max-width: 220px;
   flex-basis: 100%;
  background-image: url("./graphics/modeicon.png");
  background-position: 10%,50%;
  
}
#turn_button:hover {
   background-color:rgba(88, 88, 255, 0.216);

}
#turn_button:disabled {
   background-color:rgba(88, 88, 255, 0.086);
}
#empty_button:disabled, #undo:disabled, #redo:disabled {
   background: repeating-linear-gradient(
       45deg,
       #0000002d,
       #0000002d 10px,
       #00000018 10px,
       #00000018 20px
     );
   opacity:0.3;  
   color:rgba(0,0,0,0);
}

#empty_button {
   margin-left:5px;
  max-width: 220px;
  flex-basis: 100%;
  background-image: url("./svg/raksi.svg");
  background-position: 10%,50%;
}
#empty_button:not(:disabled):hover {
   background-color:rgba(255, 130, 130, 0.5);
  
}
#undoredo {
   display:flex;
   min-width: 130px;
   max-width: 130px;
   margin-left:5px;
   justify-content: space-between;
}
#undo {
   min-width: 60px;
   background-image: url("./graphics/undoicon.png");
   background-position: center;
}
#undo:not(:disabled):hover{
   background-color: rgba(255, 202, 103, 0.5);
}
#undo:not(:disabled):hover + span {
   opacity:1;
}
#redo {
   min-width: 60px;
   background-image: url("./graphics/redoicon.png");
   background-position: center;
}
#redo:not(:disabled):hover {
   background-color: rgba(255, 202, 103, 0.5);
}
#redo:not(:disabled):hover + span{
 opacity:1;  
}
#undo_button_container, #redo_button_container {
  max-width: 60px;
  z-index: 20;
}
#editor_container {
  position:relative;
  height:calc(60vh + 10px);
  padding-left:5vw;
  padding-right:5vw;
}
.mobile_numbers {
  display:none;
}
.left-box, .right-box {
  max-width:calc(50% - 20px);
  flex: 2 1 50%;
  display:flex;
  align-items: center;
  color:rgba(0,0,0, .1);
  border-radius: 5px;
}
#top_labels {
  display:flex;
  justify-content: space-around;
  font-size:40px;
  font-family:Poppins;
  position:sticky;top:0;
  background-color: rgb(var(--body-color));
  z-index:20;
}
.tooltip {
  left:50%;
  top:10px;
  padding-top:3px;
  padding-bottom:3px;
  padding-left:5px;
  padding-right:5px;
  border-radius:6px;
  display:inline-block;
  transform:translate(-50%,0);
  opacity: 0;
  white-space: nowrap;
  position:relative;
  background-color: rgba(var(--base-highlight),1);
  color:white;
  transition:opacity 0.3s ease-out;
  font-family:Poppins;
  font-size:12px;
}
@media only screen and (max-width:460px) {
  #undoredo  {
      flex-wrap: wrap;
      flex-basis: 60px;
      min-width: 60px;
      max-width: 60px;
      justify-items: start;
      
  }
  #turnempty {
      flex-wrap: wrap;
  }
  #redo {
      margin-top:-30px;
  }
  #empty_button {
      margin-top:-15px;
      margin-left:0;
  }
  #turn_button {
      margin-right:0;
  }
  
}
@media only screen and (max-width :490px) {
  #word_editing_box {
    padding-top:10px;
}
#top_labels {
  display:none;
}
.line_containers {
  flex-wrap: wrap;
  min-height:max(20vw, 80px);
  align-content: space-around;
}
.adding_box {
  flex-wrap: wrap;
  min-height:max(20vw, 80px);
}
.arrow {
  display:none;
}
.mobile_numbers {
  display: block;
  min-width: 99%;
  margin:0;
  padding-left: 10px;       
  max-height:10px;
}
.left-box, .right-box {
  max-width:100%;
  flex: 2 1 100%;
}
}
@media only screen and (max-width:860px) {
  #submitbox {
    width:min(100% - 12vw - 2px, 760px);
    margin:auto;
    left:auto;
    }
}
#iframe_container{
  position:fixed;
  top:84px;
  left:0;
  backdrop-filter: blur(5px);
  width:100%;
  height:100%;
  z-index: 1000;
  background-color: rgba(0,0,0,0.4);
  overflow-y: hidden;
}
#login_iframe {
  max-height:calc(100vh - 200px);
  position:fixed;
  max-width:calc(100vw - 40px);
  top:80px;
  left:50%;
  transform: translate(-50%);
  border:none;
  border-radius: 10px;
  overflow: auto;
}
#close_button {
  position: absolute;
  top: 10px;
  left:10px;
}
a:link {
  color: rgb(var(--black));
}
a:visited {
  color: rgb(var(--black));
}
a:hover {
  color: rgb(var(--black));
}
a:active {
color: rgb(var(--black));
}
.PoppinForButton {
  font-family: Poppins;
}