/* CSS file made by DaOrgest :D
I'm still working on brushing up on my skills on CSS, 
so expect this to get better over time :D */

:root {
  --bg-color: #68777a;
  --text-color: white;
}

/* Font Faces */

@font-face {
  font-family: "Turner-Bold";
  src:
    url(/assets/font/Turner-Bold.woff2) format("woff2"),
    url(/assets/font/Turner-Bold.woff) format("woff"),
    url(/assets/font/Turner-Bold.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Oswald&display=swap");

/* Reset and General Styles */

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

/* Images */

img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 2rem;
  position: relative;
}

.bg {
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  width: auto;
  filter: drop-shadow(16px 16px 10px black);
  display: block;
  margin: 0 auto;
  z-index: 0;
}

/* Icons */

.icon {
  width: 8rem;
  height: 8rem;
  margin: 1em;
  transition: transform 0.3s ease-in-out;
}

.icon:hover {
  cursor: pointer;
  transform: scale(1.2);
}

/* Components */

.name {
  font-family: "Turner-Bold", "Oswald", sans-serif;
  text-align: center;
  font-size: 10vw;
  color: white;
  letter-spacing: 0.05em;
  position: absolute;
  margin-top: -40rem;
  z-index: 10;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0px 4px 8px rgba(0, 0, 0, 0.75); /* glow/dropshadow below */
}

.sona {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  gap: 2rem;
  z-index: 5;
  margin-top: -11rem;
}

.about-me {
  height: 100vh;
  user-select: none;
}

/* Media Queries */

@media (prefers-color-scheme: dark) {
  .main {
    background-color: rgb(48, 48, 48);
  }
}

@media screen and (max-width: 400px) {
  .links {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  img.bg {
    filter: drop-shadow(8px 8px 5px black);
  }
  .name {
    font-size: 15vw;
    margin-top: -10rem;
  }
  .icon {
    width: 5em;
    height: 5em;
  }
  .links {
    margin-top: -2rem;
  }
}
