#bio {
  position: relative;
  width: 100vw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url(../assets/images/Sony-Camera-in-Hands.jpg) center no-repeat;
  background-size: cover;
  z-index: 0;
}

#bio::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: 100vh;
  inset: 0;
  background: rgba(7, 7, 7, 0.6);
  z-index: -1;
}

/* ================ Profile ================ */
#bio .profile {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#bio .profile .flag {
  width: 150px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#bio .profile .flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#bio .profile .profile_info {
  width: 100%;
  height: auto;
  text-align: center;
  padding-top: 20px;
}

#bio .profile .profile_info p {
  font-size: var(--text-sm);
  font-variation-settings: var(--w-500), var(--dots-2);
  color: var(--white);
  text-shadow: 0px 5px 10px #000;
}

/* ================ Links ================ */
#bio .links {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

#bio .links a {
  width: 100%;
  max-width: 450px;
  height: 46px;
  direction: ltr;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 5px;
  border-radius: 23px;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  -ms-border-radius: 23px;
  -o-border-radius: 23px;
  margin-bottom: 10px;
  background: rgba(var(--white-rgb), 0.5);
  box-shadow: 0px 5px 10px rgba(var(--black-rgb), 0.3);
  border: 1px solid var(--border);
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}

#bio .links a:last-child {
  margin-bottom: 0;
}

#bio .links a:hover {
  scale: 99%;
  background: rgba(var(--white-rgb), 0.6);
}

#bio .links a .icon {
  position: relative;
  width: 35px;
  height: 35px;
  margin-right: 20px;
  outline: 1px solid var(--border);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

#bio .links a .icon .material-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 46px;
  color: #696969a5;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

#bio .links a .icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  object-fit: cover;
  padding: 8px;
  filter: var(--white-f);
  -webkit-filter: var(--white-f);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

#bio .links a .name {
  width: max-content;
  font-family: "roboto";
  font-size: calc(var(--text-xs) - 1px);
  font-weight: 600;
  color: var(--black);
}

#bio .links a .info {
  width: max-content;
  font-size: calc(var(--text-xs) - 1px);
  font-variation-settings: var(--w-500), var(--dots-2);
  margin-right: 10px;
  margin-left: auto;
  color: var(--black);
  opacity: 0.6;
}

/* ================ Caption ================ */
#bio .caption {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#bio .caption p {
  text-align: center;
  font-size: calc(var(--text-xs) - 2px);
  font-variation-settings: var(--w-400), var(--dots-2);
  color: var(--white);
  text-shadow: 0px 2px 10px #000;
}

/** ================ Responsive ================ */

@media screen and (min-width: 480px) {
  #bio .profile .profile_info {
    padding-top: 30px;
  }
  #bio .links {
    padding: 50px 0;
  }
  #bio .links a {
    height: 50px;
    margin-bottom: 25px;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
  }
  #bio .links a .icon {
    width: 40px;
    height: 40px;
  }
  #bio .links a .icon .material-icons {
    font-size: 48px;
  }
  #bio .links a .icon img {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
  #bio .links a .name,
  #bio .links a .info {
    font-size: var(--text-xs);
  }
  #bio .caption p {
    font-size: var(--text-sm);
  }
}

@media screen and (min-width: 768px) {
  #bio .links {
    padding: 100px 0;
  }
  #bio .caption {
    width: 80%;
  }
}

@media screen and (min-width: 992px) {
  #bio {
    position: relative;
    flex-direction: row;
    justify-content: flex-start;
  }
  #bio .profile {
    height: 100dvh;
  }
  #bio .links {
    height: 100dvh;
    padding: 0;
  }
  #bio .caption {
    position: absolute;
    bottom: 20dvh;
    right: 5%;
    max-width: 45%;
  }
  #bio .caption p {
    width: 80%;
    max-width: 500px;
  }
}
