* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    font-size: 62.5%;
  }





/* HEADER */


header{
  position: fixed;
  padding-left: 20px;
  left: 0;
  top: 0;
  z-index: 999;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  height: 100vh;
  width: 300px;
  transition: 0.2s linear;
  background-color: #fefefa;
  color: #111111;
  z-index: 3;
  padding: 60px 10px;
}
.sidebar.is-active {
  left: 0;
  box-shadow: 5px 0 3px -3px #00000030;
}
.sidebar h2 {
  color: #fefefa;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.sidebar a {
  font-size: 1.4rem;
}

.menu-item {
  display: flex;
  padding: 10px 20px;
  color: #202930;
  text-decoration: none;
  transition: 0.3s ease-out;
}

.menu-item:hover,
.menu-item.is-active {
  color: #ff0800;
}

.content {
  flex-grow: 1;
  padding: 20px;
}

.content h1 {
  margin-bottom: 1rem;
}

.hamburger-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 50px;
}

.menu-toggle {
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
}

.hamburger {
  cursor: pointer;
  position: relative;
  top: 17%;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fefefa;
  background-color: #563c5ca6;
  border-radius: 1px;
  margin: 5px auto;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000;
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menuButton {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* header */































  input,
  button,
  select,
  option,
  textarea {
    font-family: "Noto Sans", sans-serif;
    font-size: 1.6rem;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
    width: 50rem;
    min-height: 50rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: .6rem solid #563c5ca6;
    padding: 5rem 5rem;
    font-size: 2rem;
    background-color: #91a3b0;
    border-radius: 2rem;
    font-family: "Noto Sans", sans-serif;
  }
  .inputArea {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #input {
    padding: 1.5rem;
    resize: none;
    width: 100%;
  }

  #clearButton {
    position: absolute;
    bottom: -1.2rem;
    right: 1.2rem;
    border-radius: 1rem;
    padding: .3rem 1rem;
    border: none;
    outline: none;
    background-color: #ff0800;
    color: #fff;
    cursor: pointer;
    transition: all 0.5s ease;
  }

  #clearButton.nonvisible {
    opacity: 0;
    visibility: hidden;
    appearance: none;
  }
  #clearButton.visible {
    visibility: visible;
    opacity: 1;
  }

  .convertText {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #563c5c;
    margin-top: 1rem;
    pointer-events: none;
  }

  label {
    cursor: pointer;
    color: #563c5c;
  }

  .section {
    width: 40rem;
    min-height: 4rem;
    border: none;
    outline: none;
    margin-bottom: 2rem;
    border-radius: 1rem;
  }
  .select-options {
    width: 40rem;
    height: 4rem;
    position: relative;
    background-color: #fff;
  }

  #caseSelection {
    width: 100%;
    height: 100%;
    padding-left: 2rem;
    background-color: #fff;
    appearance: none;
    border: none;
    border-radius: 1rem;
    outline: none;
    cursor: pointer;
  }

  .select-options img {
    height: 2rem;
    width: 2rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  option:nth-child(odd) {
    font-size: .3rem;
  }

  .case-options {
    display: none;
  }

  .checkBox {
    width: 100%;
    height: 100%;
    margin-bottom: .4rem;
    position: relative;
  }
  .checkBox span {
    font-size: 1.2rem;
    color: #fff;
  }

  .case-options [type="checkbox"] {
    opacity: 0;
    position: absolute;
  }

  .case-options [type="checkbox"] + label {
    position: relative;
    padding-left: 3rem;
    cursor: pointer;
    display: inline-block;
  }

  .case-options [type="checkbox"] + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    outline: .2rem solid #f2efea;
    border-radius: .2rem;
    background: #fff;
  }

  .case-options [type="checkbox"]:checked + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    outline: .2rem solid #563c5c;
    border-radius: .2rem;
    background: #fff;
  }

  .case-options [type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    background: url(./images/check-solid.svg);
  }

  #convertButton {
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
  }

  #convertButton:hover {
    background-color: #563c5c;
    color: #fff;
  }

  .resultArea {
    width: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    border-radius: 1rem;
  }

  #result {
    width: 100%;
    min-height: 4rem;
    max-height: 20rem;
    background-color: #fff;
    padding-left: 1rem;
    word-wrap: break-word;
    vertical-align: middle;
    border-radius: 1rem;
    margin-bottom: 2rem;
    padding: .5rem .5rem .5rem 2rem;
    color: black;
    overscroll-behavior: contain;
  }

  .resultArea button {
    background-color: #f7f3f0;
    width: 60%;
    height: 4rem;
    border: none;
    outline: none;
    border-radius: 1rem;
    padding: .5rem;
    cursor: pointer;
  }

  .resultArea button:hover {
    background-color: #563c5c;
    color: #fff;
  }

  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f9fb;
    z-index: 1;
  }
/*  */
  #cookie-consent-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f9f9f9;
    background-color: #344858;
    color: #f9f9f9;
    padding: 10px;
    border-top: 1px solid #ccc;
    text-align: center;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .cookie-link{
    text-decoration: underline;
  }
  .cookie-btn{
    padding: 2px 5px;
    border: none;
    cursor: pointer;
  }

/*  */

  footer {
    width: 100%;
    height: 360px;
    background-color: #0b1a24;
    color: #f0f0f0;
    margin-top: 18rem;
    position: relative;
    font-size: clamp(16px, 1.5vw, 20px);
    font-family: "Open Sans", sans-serif;
  }
  .footer-items {
    width: 100%;
    height: 70%;
    display: flex;
  }
  .footer-logo {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* font-size: 30px; */
  }
  .footer-logo-name {
    font-size: 4.6rem;
    font-family: "Montserrat", sans-serif;
  }
  .footer-logo::after {
    content: "";
    width: 100%;
    height: 60%;
    position: absolute;
    left: 0;
    top: 20%;
    border-right: .1rem solid #f0f0f0;
  }
  
  .footer-logo-name,
  a {
    color: #f0f0f0;
    text-decoration: none;
  }
  
  .footer-right {
    
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 10rem;
  }
  
  .footer-contact {
    display: flex;
    flex-direction: column;
    /* font-size: 16px; */
  }
  
  .blog-credits-legal {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  .legal {
    display: flex;
    flex-direction: column;
  }
  .footer-social-links {
    margin-top: 2rem;
  
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .footer-icon {
    width: 2rem;
  }
  
  .footer-bottom {
    /* border: 1px solid white; */
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    height: 12%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  @media (max-width: 768px) {
    html,
    body {
      height: 100%;
    }
    .container {
      width: 100%;
      min-height: 100%;
      border: none;
      border-radius: 0;
      margin: 0;
      padding: 0;
    }
    .inputArea {
      width: 70%;
    }
    .section {
      width: 70%;
    }
    .resultArea {
      width: 70%;
    }
    .evenOption {
      display: none;
    }

    #cookie-consent-banner{
      flex-direction: column;
    }
    .footer-logo {
      display: none;
    }
    .footer-right {
      width: 100%;
    }
  }
  @media (max-width: 425px) {
    .inputArea {
      width: 90%;
    }
    .section {
      width: 90%;
    }
    .resultArea {
      width: 90%;
    }
  }

