html {
    font-size: 62.5%;
  }

    /* break browsers tap default blue */
    :root {
      -webkit-tap-highlight-color: transparent; /* transparent with keyword */
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* transparent with rgba */
      -webkit-tap-highlight-color: hsla(0, 0, 0, 0); /* transparent with hsla */
      -webkit-tap-highlight-color: #00000000; /* transparent with hex with alpha */
      -webkit-tap-highlight-color: #0000; /* transparent with short hex with alpha */
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

        /* refresh, button border problem */
    *,
    *:focus,
    *:hover {
      outline: none;
    }

    body {
      font-family: "Quattrocento", serif;
      font-size: 2rem;
    }

    html,
    body {
      height: 100%;
    }

/* 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: #e62a46;
  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 */
    .container {
      width: 100%;
      position: relative;
      height: 100%;

    }
    .background {
      height: 130vh;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .box {
      width: 50rem;
      height: 50rem;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      box-shadow: .2rem .3rem 2rem #000000, 0 0 12.5rem #8f5922 inset;
      background: #fffef0;
      border-radius: .5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: start;
    }

    .head img {
      z-index: 999;
      margin-top: 7rem;
      height: 14rem;
      transform: rotate(-16deg);
      opacity: 0.4;
    }

    h2 {
      color: #754848;
      margin-bottom: 1.2rem;
      z-index: 2;
      opacity: 0.8;
    }
    .input {
      width: 30rem;
      height: 4rem;
      background: #FEFEFA;
      margin-bottom: 2rem;
      position: relative;
      border: .1rem solid #C0C0C0;
      border-radius: 1rem;
    }

    input[type="text"] {
      background: #FEFEFA;
      height: 100%;
      width: 84%;
      border: none;
      border-radius: 1rem;
      padding: 0 3rem 0 1rem;
      font-family: inherit;
      font-size: large;
    }

    .input button {
      position: absolute;
      background-color: #f7f3f0;
      height: 100%;
      width: 16%;
      right: 0;
      border: none;
      outline: .1rem solid #C0C0C0;
      border-radius: 0 1rem 1rem 0;
      padding: .5rem;
      cursor: pointer;
      margin: 0;
    }

    .input button img {
      height: 100%;
    }

    .result {
      width: 30rem;
      height: 4rem;
      border: .1rem solid #C0C0C0;
      margin-bottom: 2rem;
      position: relative;
      border-radius: 1rem;
    }

    .result button {
      position: absolute;
      background-color: #f7f3f0;
      height: 100%;
      width: 16%;
      right: 0;
      border: none;
      outline: .1rem solid #C0C0C0;
      border-radius: 0 1rem 1rem 0;
      padding: .5rem;
      cursor: pointer;
    }

    button:hover {
      background-color: #ececec;
    }

    button:hover:active {
      transform: scale(105%);
    }

    .result button img {
      height: 100%;
    }

    #result {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      padding-left: 1rem;
    }

    #alertMessage {
      display: none;
      width: 100%;
      position: absolute;
      left: 0;
      top: 100%;
      border: .1rem solid #C0C0C0;
      border-radius: .5rem;
      padding: 1rem;
      background-color: #f5deb3;
      color: #FF0800;
      z-index: 3;
    }
    #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) {
      .box {
        width: 100%;
        height: 100vh;
      }
      .head img {
        margin-top: 20vh;
      }
      .background {
        display: none;
      }
      #cookie-consent-banner{
        flex-direction: column;
      }
      .footer-logo {
        display: none;
      }
      .footer-right {
        width: 100%;
      }
    }