:root {
  --color-accent: #ffe001;
  --color-primary: #0b9346;
  --color-primary-darker: #141a13;
}

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/raleway-v37-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/raleway-v37-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/raleway-v37-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/raleway-v37-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/raleway-v37-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Raleway", serif;
  font-size: 62.5%;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

html,
body {
  min-height: 100%;
  background-color: #000000;
}

body.bio {
  min-height: 100dvh;
  background: url("../assets/background_image.webp") center center / cover
    no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

a {
  text-decoration: none;
}

.bred {
  border: 1px solid red;
}

.blue {
  display: none;
  z-index: 10000;
  position: absolute;
  top: -10rem;
  left: 12rem;
}

.profile-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6rem;
}

.profile {
  max-width: 46rem;
  width: 100%;
  height: auto;
}

.logo {
  position: absolute;
  bottom: -3.5rem;
  width: 26rem;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.container {
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  justify-content: center;
  align-items: center;
  padding-top: 0;
}

p.subtitle {
  font-size: 1.6rem;
  max-width: 32rem;
  text-align: center;
  line-height: 140%;
  font-weight: 700;
}

.text-yellow {
  color: var(--color-accent);
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.social li a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 1.4rem;
  color: white;
  border: 2px solid #ffffff40;
  width: 5.2rem;
  height: 5.2rem;
  transition: all 0.3s;
}

.social li:hover a {
  background-color: white;
  color: var(--color-primary);
}

.card-link {
  background-color: var(--color-primary-darker);
  color: white;
  padding: 2.4rem 3.2rem;
  border: 2px solid #ffffff40;
  border-radius: 1.6rem;

  display: flex;
  align-items: center;
  gap: 3.2rem;

  transition: all 0.3s;
}

.card-link:hover {
  transform: scale(1.02);
}

.container-left {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.card-link p.title {
  font-weight: 800;
  line-height: 100%;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.card-link span.subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff70;
}

.card-link svg.arrow-right {
  width: 3.6rem;
  height: 3.6rem;
  transition: transform 0.3s;
}

.card-link:hover svg.arrow-right {
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  body.bio {
    padding: 1.6rem 1.2rem;
    justify-content: flex-start;
  }

  .profile {
    width: 36rem;
    max-width: 90vw;
  }

  .logo {
    width: 22rem;
    bottom: -3rem;
  }

  .profile-logo {
    margin-top: 1rem;
    margin-bottom: 4.8rem;
  }

  p.subtitle {
    padding-top: 0;
    font-size: 1.5rem;
    max-width: 28rem;
  }

  .container {
    gap: 2rem;
    width: 100%;
    max-width: 38rem;
    padding-top: 0;
  }

  .card-link {
    width: 100%;
    transform: none;
    padding: 2rem 2.4rem;
  }

  .card-link:hover {
    transform: scale(1.02);
  }
}
