

/* Resetting default margin and padding */
html, body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  font-family: 'league_spartanbold', sans-serif;
}

body {
  margin-top: 1rem;
  padding: 3rem;
  margin-left: 4rem;
  margin-right: 4rem;
  max-width: auto;
  background-color: #ffffff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  padding: 20px 40px;
  border-bottom: #000 1px solid;
  z-index: 100; /* Add this line */
}

header p {
  margin: 0;
  font-size: 1.5rem;
}


a {
  text-decoration: none;
  color: #000;
}

#menu-toggle {
    display: none;
}

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 10%;
}

.social-icons i {
  font-size: 12px;
  margin-top: 5px;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.shake-hover:hover {
  display: inline-block;
  animation: shake 0.5s ease-in-out;
}

.body {
  margin-top: 6rem;
  padding: 2rem;
}

.infocontent {
  font-family: 'league_spartanbold', sans-serif;
}

.infocontent h3 {
  color: rgb(46, 46, 46);
}

.line {
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  border-top: #000 solid 1px;
}

.content {
  margin-top: 2rem;
}

.box {
  padding: 1rem;
  background: #dfdbdb;
  transition: box-shadow 0.1s cubic-bezier(0, -0.07, 1, 1.11);
  box-shadow: 12px 12px 0 #333;
  display: inline-block;
  outline: none;
}

.box:hover {
  box-shadow: 0 0 0 #333;
}

.box:active {
  border: 2px solid #333;
  transition: border 0.3s ease-in-out;
  transform: scale(1.04);
}

.buttons-container {
  display: flex;
  gap: 2rem;
}

.button {
  font-family: 'league_spartanbold', sans-serif;
  padding: 1rem;
  background: #dadada;
  transition: box-shadow 0.1s cubic-bezier(0, -0.07, 1, 1.11);
  box-shadow: 12px 12px 0 #333;
  outline: none;
}

.button:hover {
  box-shadow: 0 0 0 #333;
}

.button:active {
  border: 2px solid #333;
  transition: border 0.3s ease-in-out;
  transform: scale(1.04);
}

.button a {
  text-decoration: none;
  color: #333;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

.popup-content {
  text-align: center;
}

input, textarea, button {
  margin-bottom: 10px;
}

button {
  background-color: #009974;
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #007c66;
}

.category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.category-content {
  max-width: 70%;
}

.bullet-list {
  color: rgb(46, 46, 46);
  margin-top: 10px;
}

.category h2, .category h3 {
  margin: 0;
}

.category p {
  font-size: x-large;
  margin-bottom: 10px;
}

ul li h2 {
  color: goldenrod;
}

/* Responsive styles */

@media (max-width: 768px) {
  header p {
    padding-left: auto;
    padding-right: auto;
  }
  header{
    top: 0;
    right: 0;
    left: 0;
    height: auto;
    padding: auto;
  }
  body{
    font-size: 70%;
    margin-top: 1rem;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: auto;
  }

  .menu-icon {
    display: block;
  }

  .social-icons {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 5.46rem;
    right: .65rem;
    border-top: 3px solid white;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    background-color: rgba(255, 255, 255, 0.863);
    padding: 20px;
  }

  #menu-toggle:checked ~ .social-icons {
    display: flex;
    
    
  } 

  .social-icons a {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.5s ease-out forwards;
  }

  .social-icons a:nth-child(1) { animation-delay: 0.1s; }
  .social-icons a:nth-child(2) { animation-delay: 0.2s; }
  .social-icons a:nth-child(3) { animation-delay: 0.3s; }
  .social-icons a:nth-child(4) { animation-delay: 0.4s; }
  .social-icons a:nth-child(5) { animation-delay: 0.5s; }
  .social-icons a:nth-child(6) { animation-delay: 0.6s; }

  @keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

  .button {
    padding: auto;
    background: #dadada;
    transition: box-shadow 0.1s cubic-bezier(0, -0.07, 1, 1.11);
    box-shadow: 12px 12px 0 #333;
    outline: none;
    max-width: 80%;
  }

  .buttons-container {
    flex-direction: column;
    gap: 1rem;
  }

  .box, .button {
    width: 100%;
  }

  .category {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-content {
    max-width: 100%;
  }
  .silver {
    color: rgb(56, 56, 56);
}

}
