html {
  scrollbar-color: #d6a84f white;
  scrollbar-width: thin;
}

html,
body {
  display: flex;
  flex-direction: column;
  background-color: #0e0e0e;
  height: 100%;
}

body {
  background-image:
    radial-gradient(circle at 25% 25%, #d6a84f 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #f0c96a 1px, #171717 1px);
  background-size: 44px 44px;
}

.buttons {
  margin: 0;
  display: flex;
  background-color: #f0c96a;
  border-radius: 30px 60px 30px 60px;

  #light-mode {
    display: none;
  }
}

.buttons a {
  text-decoration: none;
  color: white;

  #lang {
    margin-left: 20px;
  }
}

.buttons a:hover {
  background-color: #cb3534;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;

  #pfp {
    border-radius: 50%;
    width: min(300px, 80%);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin-top: 40px;
  }
}

.name {
  #name {
    font-family: "2";
    font-size: clamp(25px, 5vw, 40px);
    color: white;
    background-color: #d6a84f;
    text-align: right;
    border-radius: 50px 100px 50px 100px;
    padding-right: 5%;
    padding-left: 1%;
  }
}

.main {
  flex-grow: 1;

  .dinfo {
    text-align: justify;
    direction: ltr;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: bold;

    .line {
      font-family: "text";
      color: white;
    }
  }
}

.contacts {
  background-color: #d6a84f;
  color: white;
  border-radius: 50px 150px 50px 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-decoration: none;
  gap: 10%;
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  #pfp {
    width: 220px;
  }

  .name #name {
    font-size: clamp(25px, 8vw, 35px);
    text-align: center;
  }
}

@font-face {
  font-family: "title";
  src: url(src/fonts/thmanyahserifdisplay.otf);
}

@font-face {
  font-family: "text";
  src: url(src/fonts/thmanyahseriftext.otf);
}

@font-face {
  font-family: "2";
  src: url(src/fonts/BBHBartle.ttf);
}

@font-face {
  font-family: "3";
  src: url(src/fonts/GravitasOne.ttf);
}

@font-face {
  font-family: "4";
  src: url(src/fonts/KdamThmorPro.ttf);
}

@font-face {
  font-family: "5";
  src: url(src/fonts/Ysabeau.ttf);
}

@import url("https://fonts.googleapis.com/css2?family=Lateef:wght@200;300;400;500;600;700;800&display=swap");
