* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: white;
  --bg-url: url(./assets/bg-mobile.jpg);
  --stroke-color: rgba(255, 255, 255, 0.5);
  --surface-color: rgba(255, 255, 255, 0.1);
  --switch-bg-url: url(./assets/sun.svg);
}

.light {
  --text-color: black;
  --bg-url: url(./assets/bg-mobile-light.jpg);
  --stroke-color: rgba(0, 0, 0, 0.5);
  --surface-color: rgba(0, 0, 0, 0.1);
  --switch-bg-url: url(./assets/moon-stars.svg);
}

body {
  background-image: url(./assets/bg-mobile.jpg);
  background: var(--bg-url) no-repeat top center/cover;

}

body * {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}

#container {
  width: 360px;
  margin: auto;
  margin: 56px auto 0px;

  padding: 16px 24px;
}

#profile {
  text-align: center;
  padding: 24px;
}

#profile img {
  height: 100px;
  width: 100px;
  margin: auto;
  display: block;
  border: 4px solid var(--stroke-color);
  border-radius: 50%;
  object-fit: cover;
}

#profile a {
  font-weight: 500;
  line-height: 24px;
  margin-top: 8px;
  color: var(--text-color);
  text-decoration: none;
}


#switch {
  position: relative;
  width: 64px;

  margin: 0 auto 20px auto;
}

#switch button {
  width: 30px;
  height: 30px;
  border: 1px solid;
  border-radius: 50%;
  background: var(--switch-bg-url) no-repeat center;
  background-color: aliceblue;
  text-align: center;
  align-items: center;



  position: absolute;
  z-index: 1;
  top: 50%;
  right: 1;
  transform: translateY(-50%);
}

.light #switch button {
  right: 0;
  left: initial;
}

#switch span {
  display: block;
  width: 64px;
  height: 24px;
  background: var(--surface-color);
  border: 1px solid var(--stroke-color);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
}

/*links*/

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul li a {
  border: 1.5px solid var(--stroke-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);

  background: var(--surface-color);

  text-decoration: none;
  font-weight: 500;

  border-radius: 8px;

  height: 52px;
  backdrop-filter: blur(4px);

  transition: background 0.2s;
}

ul li a:hover {
  background-color: var(--stroke-color);
  border: 1.5px solid var(--text-color);
}

/*Icons*/
#social-links {
  display: flex;
  justify-content: center;
  justify-content: space-around;
  margin-top: 20px;

  padding: 24px 0;

  font-size: 24px;
}

#social-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: aliceblue;

  padding: 16px;
  transition: background 0.2s;
  border-radius: 50%;
}

#social-links a:hover {
  background: var(--surface-color);
}

footer {
  padding: 24px;
  text-align: center;
  font-size: 16px;
}
