*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

@font-face {
  font-family: "arialRegular";
  src: url("./font/arialRegular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@keyframes glow {
  from {
    text-shadow:
      0 0 0.05rem #c5f00a,
      0 0 0.1rem #c5f00a,
      0 0 0.15rem #c5f00a;
  }
  to {
    text-shadow:
      0 0 0.1rem #c5f00a,
      0 0 0.2rem #c5f00a,
      0 0 0.3rem #c5f00a,
      0 0 0.4rem #c5f00a;
  }
}

@keyframes glowLogo {
  from {
    filter: drop-shadow(0 0 0.15rem #c5f00a);
  }
  to {
    filter: drop-shadow(0 0 0.4rem #c5f00a);
  }
}

body {
  min-height: 100dvh;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(255, 215, 0, 0.03) 3rem,
    rgba(255, 215, 0, 0.03) 6rem
  );
  background-color: #000000;
  color: #c5f00a;
}

html {
  font-family: arialRegular, Helvetica, sans-serif;
  font-optical-sizing: auto;
}

p {
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 40rem;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.6;
}

#tekrigMainLogo {
  width: min(30rem, 90vw);
  height: auto;
  filter: drop-shadow(0 0 0.1rem #c5f00a);
  margin-top: clamp(1.5rem, 5vw, 3rem);
}

.logos {
  width: clamp(2.3rem, 8vw, 3rem);
  height: auto;
  filter: drop-shadow(0 0 0.4rem #c5f00a);
  margin-top: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.logos:hover {
  animation: glowLogo 2s ease-in-out infinite alternate;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

section {
  font-size: clamp(1.2rem, 4vw, 3rem);
}

.mailLogo {
  transform: translate(-1.5rem, 0.3rem);
}

h3 {
  color: #000000;
  letter-spacing: 0.3rem;
  margin: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
}
footer {
  margin-top: 3rem;
  color: #4d2218;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translateX(-50%);

  background-color: #c5f00a;
  color: #000000;
  text-align: center;
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  white-space: nowrap;

  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #c5f00a transparent transparent transparent;
}

.tooltip:hover .tooltip-text,
.tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 600px) {
  h3 {
    letter-spacing: 0.08rem;
    font-size: 1.3rem;
  }

  #hThreImg {
    transform: none;
    margin-right: 0.5rem;
  }

  footer {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .mailLogo {
    transform: translate(-0.4rem, 0.4rem);
    margin-bottom: 0.5rem;
  }
}
