:root {
  --primary-red: rgb(255, 49, 38);
  --primary-red-alt: rgb(255, 65, 54);
  --primary-red-hover: rgb(255, 44, 33);
  --light-pink: rgb(255, 220, 219);
  --lighter-pink: rgb(255, 236, 235);
  --lightest-pink: rgb(253, 212, 209);
  --dark-bg: rgb(16, 17, 20);
  --dark-bg-alt: rgb(30, 32, 37);
  --darker-bg: rgb(25, 27, 31);
  --light-text: rgb(255, 226, 224);
}

@font-face {
  font-family: "audiowide";
  src: URL("fonts/Audiowide.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins";
}

header {
  a {
    text-decoration: none;
  }
  box-sizing: border-box;
  width: 100%;
  display: flex;
  padding: 0.5rem 3rem;
  background-color: var(--dark-bg-alt);
  align-items: center;
  justify-content: space-around;
  position: fixed;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.1px);
  -webkit-backdrop-filter: blur(8.1px);
  border: 1px solid rgba(255, 255, 255, 0.23);
  z-index: 100;

  .logo {
    width: max-content;
    display: flex;
    align-items: center;

    .logoimg {
      img {
        height: 3rem;
      }
    }

    .logotext {
      font-size: 1.5rem;
      color: var(--primary-red-alt);
      line-height: 1.4rem;
      font-family: "audiowide";
    }
  }

  nav {
    width: 50%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;

    ul {
      display: flex;
      width: 100%;
      justify-content: space-around;
      align-items: center;
      list-style-type: none;
      font-size: 1.4rem;
      color: var(--primary-red);
      font-family: "Poppins";
      font-weight: 600;
      height: 100%;

      li {
        border-bottom: var(--light-pink) 2px solid;
        padding: 0rem 0.4rem;
        
        a {
          color: var(--primary-red);
          text-decoration: none;
        }
      }
    }
  }

  .search {
    padding: 0.1rem 0.1rem 0.1rem 0.6rem ;
    border: var(--primary-red) 3px solid;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: 1.4rem;
      background-color: var(--light-text);
    padding:0.1rem 0.8rem;       
    border-radius: 1rem;}


    input {
      background-color: transparent;
      color: var(--lighter-pink);
      margin: 0rem 0rem 0rem 0.2rem;
      border: none; 
      outline: none;
      font-size: 1rem; 
      &:focus {
        border: 3px;
        background-color: transparent;
      }
    }
  }
}

footer {
  background-color: var(--lighter-pink);
  color: var(--dark-bg);
  padding: 1.5rem 0px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;

  .logo {
    width: max-content;
    display: flex;
    align-items: center;

    .logoimg {
      img {
        height: 3rem;
      }
    }

    .logotext {
      font-size: 1.5rem;
      line-height: 1.4rem;
      font-family: "audiowide";
    }
  }

  h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--dark-bg);
  }

  p,
  a {
    font-size: 1rem;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
  }

  a:hover {
    color: var(--primary-red-alt);
  }
}

.social-icons {
  display: flex;
  margin-top: 10px;

  a {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background-color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 16px;
    transition: 0.3s;

    &:hover {
      background-color: #555;
    }
  }
}

.newsletter {
  input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-right: 5px;
    border: none;
    border-radius: 5px;
  }

  button {
    padding: 10px 15px;
    background-color: var(--primary-red-alt);
    border: none;
    border-radius: 5px;
    margin: 1rem 0px;
    cursor: pointer;

    &:hover {
      background-color: var(--primary-red-hover);
    }
  }
}

.footer-bottom {
  text-align: center;
  padding: 10px;
  background-color: var(--lightest-pink);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
  }

  .newsletter {
    input[type="email"] {
      margin-bottom: 10px;
    }

    button {
      padding: 0.75rem 2rem;
    }
  }
}