body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0f1013;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(31, 28, 39, 0.8)), url("../resources/SGBackG.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.SGLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
  animation: fadeIn 1.5s ease-out;
}

.SaladGrensLogo {
  transition: all ease-in-out 0.3s;
}

.SaladGrensLogo:hover {
  transition: all ease-in-out 0.3s;
  scale: 1.2;
}


.button-container {
  margin: 0 auto;
  /* Centers the container */
  display: flex;
  background-color: hsla(149, 27%, 24%, 0.25);
  width: 250px;
  height: 40px;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px;
  box-shadow: rgba(37, 61, 44, 0.35) 0px 5px 15px;
  transition: all ease-in-out 0.3s;
  animation: fadeIn 1.5s ease-out;
}

.button-container:hover {
  background-color: rgba(89, 165, 105, 0.15);
  transition: all ease-in-out 0.3s;
  scale: 1.2;
}

.button {
  outline: 0 !important;
  border: 0 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
  scale: 1.2;
}

.button:active {
  scale: 0.9;
}

.icon {
  font-size: 20px;
}

.homecontent {
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-top: 50px;
  padding-bottom: 80px;
  animation: fadeIn 1.5s ease-out;
}

/* Keyframes for Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.homecontent h1 {
  font-size: 40px;
}

.homecontent h2 {
  font-size: 30px;
}

.homecontent p, hr {
  font-size: 22px;
  margin-left: 80px;
  margin-right: 80px;
}

.SGSignature {
  margin-top: -50px;
}


.introvid-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  /* Maximum width */
  aspect-ratio: 16 / 9;
  /* Enforces 16:9 ratio directly */
  margin: 0 auto;
  /* Centers the container */
  overflow: hidden;
}

.introvid-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  /* Optional: removes default border */
}

/* From Uiverse.io by elisapi */
.socialscard {
  margin: 0 auto;
  /* Centers the container */
  background-color: hsla(149, 27%, 24%, 0.25);
  border-radius: 40px;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  gap: 20px;
  transition-duration: 0.3s;
  scale: relative;
}

/* Normal size */
@media (min-width: 768px) {
  .socialscard {
    transform: scale(1);
    /* Full size */
  }
}

/* Medium screens (e.g., tablets) */
@media (max-width: 768px) {
  .socialscard {
    gap: 10px;
    width: 480px;
  }
}

/* Small screens (e.g., phones) */
@media (max-width: 480px) {
  .socialscard {
    gap: 5px;
    width: 350px;
  }
}

.socialscard:hover {
  transform: scale(1.1);
  transition-duration: 0.3s;
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgba(55, 110, 114, 0.37);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
  border-radius: 30px;
}

.socialContainer:hover {
  transform: scale(1.2);
  background-color: rgba(89, 165, 105, 0.37);
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 100px;
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.discordCard{
  margin-top: 50px;
}

.discordCardBack {
  margin: 0 auto;
  width: 400px;
  height: 254px;
  background-image: linear-gradient(163deg, #00ff75 0%, #448aa5 100%);
  border-radius: 20px;
  transition: all .3s;
 }
 
 .discordCardFront {
  align-items: center;
  justify-content: center;
  display: flex;
  width: 400px;
  height: 254px;
  background-color: #1a1a1a;
  border-radius: 15px;
  background-image: url("../resources/KahlisEssence.png");
  filter: brightness(20%);
  background-position: 704px -250px;
  background-size: 1000px;
  transition: all .3s;
 }
 
 .discordCardFront:hover {
  transform: scale(0.98);
  border-radius: 20px;
  filter: brightness(100%);
  background-size: 800px;
  background-position: 605px -180px;
 }
 .discordCardFront:active {
  background-size: 1000px;
  background-position: 704px -250px;
 }
 
 .discordCardBack:hover {
  box-shadow: 0px 0px 30px 1px rgba(0, 255, 117, 0.30);
  scale: 1.2;
 }

 .discordCardBack:active {
  scale: 1;
 }

 .discordCardLink {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}

 .discordCardText {
  margin-top: 200px;
  align-items: center;
  justify-content: center;
  display: flex;
  width: 200px;
  height: 40px;
  border-radius: 40px;
  background-color: rgba(26, 26, 26, 0.75);
 }

.fb-page {
  border-radius: 10px;
  padding: 20px;
  background-color: hsla(149, 27%, 24%, 0.25);
  backdrop-filter: blur(20px);
  transition: 0.3s;
}

.fb-page:hover{
  scale: 1.05;
  transition: 0.3s;
}