body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  
h2{
    line-height: 2.6rem;
}
  h3{
    margin-top:3rem;
  }

  ul{
    margin-left:0px;
    padding-left: 15px;
    list-style: square;
  }

  .emotion,body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  
h2{
    line-height: 2.6rem;
}
  h3{
    margin-top:3rem;
  }

  ul{
    margin-left:0px;
    padding-left: 15px;
    list-style: square;
  }

  .emotion,
  .subemotion,
  .subemotion2 {
    cursor: pointer;
  }
  
  .emotion {
    margin: 10px 0;
    padding-left: 0px;

  }
  
.title{
    font-size: 6.7rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 500;
    /* max-width: 800px; */
    margin: auto;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;
}
  

  .level-1{
    font-size: 2.7rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 500px;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;

    /* background-color: #f2f2f2; */
    padding:25px;
    border-radius: 25px;
    align-self: flex-start;
    min-width: 300px;
  }

  .level-2{
    text-align: left;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 1.3rem;
    margin-top: 45px;

    /* background-color: #dadada; */
    /* padding:25px; */
    border-radius: 15px;

  }
  .level-3{
    text-align: left;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #86868b;
    font-size: 1.3rem;

  }
  
  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgb(255 255 255);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    /* border: 1px solid #888; */
    width: 80%;
    max-width: 600px;
    text-align: left;
    padding-bottom: 125px;
  }
  
  .close {
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;    float: right;
    font-size: 28px;
    font-weight: bold;
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #161616;
  }
  
  .close:hover,
  .close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
    background-color: #2d2d2d;

  }
  
  .close-circle {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
  }
  

  .en{
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.6;
    color: royalblue;
    
  }

/* 
  #search-input {
    padding: 10px 20px;
    border-radius: 100px;
    border: 0;
    background-color: #e2e2e2;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 1.3rem;
    margin: 50px auto; 
    width: calc(100% - 30px);
    max-width: 800px;
    box-sizing: border-box;
    display: block; 
}

@media screen and (max-width: 600px) {
    #search-input {
        font-size: 1rem;
        padding: 8px 15px;
        margin: 30px auto;
        width: calc(100% - 30px); 
    }
} */







.search-container {
  position: relative;
  width: calc(100% - 30px);
  max-width: 800px;
  margin: 50px auto;
}

#search-input {
  width: 100%;
  padding: 10px 40px 10px 20px; /* Zwiększony prawy padding */
  border-radius: 100px;
  border: 0;
  background-color: #e2e2e2;
  line-height: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.011em;
  font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #000000;
  font-size: 1.3rem;
  box-sizing: border-box;
}

.clear-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  display: none; /* Ukryty domyślnie */
}

.clear-button:hover {
  color: #333;
}

@media screen and (max-width: 600px) {
  .search-container {
      margin: 30px auto;
  }

  #search-input {
      font-size: 1rem;
      padding: 8px 35px 8px 15px;
  }

  .clear-button {
      font-size: 1.2rem;
  }
}


#popup-title{
    font-size: 2.7rem;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 25px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
}

#emotions{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-content: flex-start;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* flex-flow: row wrap; */
}
  .subemotion,
  .subemotion2 {
    cursor: pointer;
  }
  
  .emotion {
    margin: 10px 0;
    padding-left: 0px;

  }
  
.title{
    font-size: 6.7rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 500;
    /* max-width: 800px; */
    margin: auto;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;
}
  

  .level-1{
    font-size: 2.7rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 500px;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;

    /* background-color: #f2f2f2; */
    padding:25px;
    border-radius: 25px;
    align-self: flex-start;
    min-width: 300px;
  }

  .level-2{
    text-align: left;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 1.3rem;
    margin-top: 45px;

    /* background-color: #dadada; */
    /* padding:25px; */
    border-radius: 15px;

  }
  .level-3{
    text-align: left;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #86868b;
    font-size: 1.3rem;

  }
  
  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgb(255 255 255);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    /* border: 1px solid #888; */
    width: 80%;
    max-width: 600px;
    text-align: left;
    padding-bottom: 125px;
  }
  
  .close {
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;    float: right;
    font-size: 28px;
    font-weight: bold;
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #161616;
  }
  
  .close:hover,
  .close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
    background-color: #2d2d2d;

  }
  
  .close-circle {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
  }
  

  .en{
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.6;
    color: royalblue;
    
  }


#search-input{
    padding:10px 20px;
    border-radius:100px;
    border: 0px;
    background-color: #e2e2e2;
    line-height: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.011em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000000;
    font-size: 1.3rem;
    margin: 50px;
    margin-left: 15px;

    width: 100%;
    max-width: 800px;


}


/* #search-input{
font-size: 6.7rem;
color: #000;
margin-bottom: 20px;
font-weight: 500;
margin: auto;
text-align: left;
margin-bottom: 25px;
font-weight: 700;
border:0px;
} */


#popup-title{
    font-size: 2.7rem;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 25px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 25px;
    font-weight: 700;
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
}

#emotions{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-content: flex-start;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* flex-flow: row wrap; */
}