*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  width: 100%;
}
body {

  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background: radial-gradient(circle, rgb(11, 11, 11) 0%, rgb(24, 18, 18) 42%, rgb(92, 0, 0) 100%);
  font-family: "poppins", sarn-serif;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgb(243, 6, 6) 0%, rgb(243, 6, 6) 25%, rgb(243, 6, 6) 75%, rgb(243, 6, 6) 100%);
  border-radius: 5px;
}
body::-webkit-scrollbar-track {
  background: linear-gradient(75deg, rgba(34, 33, 33, 0.8) 0%, rgba(37, 31, 31, 0.8) 100%);
}
body::-webkit-scrollbar {
  width: 0.4rem;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1400px, 100% - 2rem);
  margin-inline: auto;

  padding-block: 5rem 1rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

a {
  text-decoration: none;
}
a:has(i) {
  font-size: 1.5em;
}
i {
  color: white;
  transition: color 100ms;
  &:hover {
    color: rgb(210, 29, 29);
  }
}

footer {
  text-align: center;
  color:rgb(152, 94, 94);
  font-weight: bold;
  & > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
}


.button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;   
  position: relative;           
  margin-bottom: 200px;
}

.button-with-modal {
  position: static;        
}

.hover-btn {
  cursor: pointer;
  background: none;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 50px;

  background: rgba(255, 176, 176, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 197, 197, 0.25);
  transition: background 300ms;
  &:hover {
    background: rgba(255, 176, 176, 0.25);
  }
  &:active {
      background: rgba(255, 176, 176, 0.35);
  }
}

.hover-btn img {
  width: 40px;
  filter: invert(100%);
}

.hover-modal {
  position: absolute;
  top: calc(100% + 12px);    
  left: 50%;
  transform: translateX(-50%);   
  display: none;
  text-align: center;
  color: white;
  padding: 0.75rem 1rem;
  min-width: 300px;
  z-index: 10;
  transition: opacity 300ms;
  & > a {
    display: flex;
    padding: 5px 10px;
    border-radius: 12px;
    color: white;
    align-items: center;
    border: 1px solid rgba(255, 197, 197, 0.25);
    background: rgba(255, 176, 176, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    &:hover {
      background: rgba(255, 176, 176, 0.3);
    }
    & img {
      width: 30px;
      height: 30px;
    }
  }
}

.button-with-modal:hover .hover-modal,
.hover-modal:hover {
  display: block;
  opacity: 0.3;
}
.button-with-modal:focus-within .hover-modal {
  display: block;
  opacity: 1;
}