@import url("https://fonts.googleapis.com/css2?family=Roboto");

* {
  font-family: "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header .navbar {
  background: rgb(181, 243, 184);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
}

.logo img {
  display: flex;
  height: 55px;
  width: auto;
  cursor: pointer;
  margin-left: 12px;
  transition: transform 0.3s ease;
  border-radius: 100px;
}

.logo img:hover {
  transform: scale(1.1);
}

.social-media {
  transition: transform 0.3s ease;
}

.social-media .fa-facebook {
  color: rgb(221, 149, 15);
}

.social-media .fa-instagram {
  color: rgb(221, 149, 15);
}

.social-media .fa-twitter {
  color: rgb(221, 149, 15);
}

.social-media .fa-linkedin {
  color: rgb(221, 149, 15);
}

.social-media .fa-facebook:hover {
  color: #1877f2;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-instagram:hover {
  color: #e4405f;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-twitter:hover {
  color: #1da1f2;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-linkedin:hover {
  color: #0a66c2;
  cursor: pointer;
  transform: scale(1.1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.navbar ul li {
  display: inline-block;
}

.navbar ul li a:hover {
  color: yellow;
}

.navbar ul li a {
  margin: 0 5px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  background-color: green;
  padding: 1px 7px 1px 7px;
  border-radius: 3px;
}

.store h1 {
  font-size: 3.2rem;
  margin-top: 3rem;
  text-align: center;
  color: green;
  transition: transform 0.3s ease;
}

.store h1:hover {
  cursor: pointer;
  color: orangered;
  transform: scale(1.1);
}

hr {
  width: 50%;
  margin: 0 auto;
  opacity: 0.3;
}

.container {
  margin-bottom: 12rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 5%;
}

.card {
  cursor: pointer;
  background-color: green;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: 100%;
  padding: 3% 5%;
}

.card i {
  color: white;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 3.2rem;
}

.card h3 {
  color: white;
  font-size: 18px;
}

.card p {
  text-align: center;
  margin: 8px 0;
  color: white;
}

.card:hover {
  background-color: orange;
  transform: translateY(-8px);
}

.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
  color: greenyellow;
}

.menu__link {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  font-weight: 300;
}

.menu__link:hover {
  color: greenyellow;
}

.footer {
  background-color: #0b7c1b;
  margin-top: 100px;
}

.footer p {
  color: #fff;
  text-align: center;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
}

.footer p:hover {
  color: greenyellow;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("img/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@media screen and (max-width: 700px) {
  .logo img {
    width: 48px;
    height: auto;
  }
  .navbar ul {
    display: none;
  }

  .toggle-btn {
    color: orange;
    padding: 0 5px;
  }

  .toggle-menu {
    position: absolute;
    height: 0;
    right: 1rem;
    top: 75px;
    background: rgba(13, 155, 32, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, -0.885, 0.32, 1.275);
  }

  .toggle-menu.open {
    height: 170px;
  }

  .toggle-menu li {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .toggle-menu li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
  }

  .menu__link {
    font-size: 1rem;
    margin: 0 5px;
  }
}

@media screen and (min-width: 700px) {
  .toggle-btn {
    display: none;
  }

  .toggle-menu {
    display: none;
  }
}
