/* Original code by Mnemosyne Sartori */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=B612+Mono:ital,wght@0,400;0,700;1,400;1,700&family=B612:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Palette */
:root {
  --main-light: #60B0F7;
  --main-dark: rgb(25, 128, 213);
  --main-dark-transparent: rgba(25, 128, 213, 0.5);
  --accent-light: #F5D1E0;
  --accent-dark: #FF76A2;
  --text: #010101;
  --button: linear-gradient(180deg, rgba(96, 176, 247, 1) 0%, rgba(25, 128, 213, 1) 100%);
  --button-text: white;
  --inner-radius: 14px;
  --outer-radius: 30px;
}

* {
  margin: 0;
  padding: 0;

  a {
    text-decoration: none;
  }

  button  {
    border-radius: 15px;
    padding: 10px 20px;
    font-weight: bold;
  }
}

body {
  background-color: white;
  color: #010101;
  font-family: "B612", sans-serif;
}

/* PHONE */
#phone-frame {
  display: grid;
  grid-template-columns: 7% 84% 9%;
  gap: 0; /* removes any gaps between columns */
  width: 65%;
  height: 500px;
  margin: auto;
  border-radius: var(--outer-radius);
  border: 1px solid var(--accent-dark);
  background-color: var(--accent-light);
  /*background-image: ;  add alternative in case image doesn't laod */
  color: var(--accent-dark);
}

/* Top Section */
#phone-top {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-name {
  transform: rotate(-90deg);
  transform-origin: center;
  white-space: nowrap; /* prevents text from wrapping */
  font-style: italic;
}

/* Screen Section */
#phone-screen {
  display: grid;
  grid-template-rows: 30px 1fr auto; 
  width: 100%;
  height: 90%; /* % of phone-frame’s height */
  margin: auto 0;
  background-color: var(--button-text);
  background-image: ; /* add alternative in case image doesn't laod */
  border: 1px solid black;
  overflow: hidden;
}

/* Toolbar Row */
#toolbar  {
    padding: 5px 10px;
    background-color: var(--main-dark-transparent);
    color: var(--accent-light);
    font-family: "B612 Mono", monospace;

    img {
        width: auto;
        height: 90%;
    }
}

/* Main Content - middle row */
#id {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    align-items: stretch;
    justify-items: center;
    color: var(--main-dark);
    gap: 0;
    width: 100%;
}

.id-left, .id-center, .id-right {
    width: 100%; /* Ensure each column takes full width of its grid cell */
    box-sizing: border-box;
    padding: 15px;
}

/* Name - ID Left Column */
.id-left {
  line-height: 1.5;
}

.id-name {
  font-size: 1.5rem;
}

.alias {
  font-size: 1.2em;
  font-style: italic;
}

.id-title {
  font-weight: bold;
  color: var(--accent-light);
  -webkit-text-stroke: 2px var(--accent-dark);
  font-size: 1.7em;
}

/* Avatar - ID Center Column */
.id-center {
    padding: auto;
    align-items: center;
    justify-items: center;
    text-align: center;
}

/* Bio - ID Right Column*/
#id-bio {
  border-radius: var(--inner-radius);
  border: 1px solid var(--accent-dark);
  background-color: var(--accent-light);
  padding: 10px;
  box-sizing: border-box;

  button {
    width: 100%;
    border: 0;
    background: #60B0F7;
    background: var(--button);
    color: var(--button-text);
  }
}

.bio-info {
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--accent-dark);
}

/* .bio-categ {
  font-size: 1;
} */

.bio-answer {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Menu - Buttons*/
.menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 7px 10px;
  box-sizing: border-box;
  width: 100%;
  background-color: var(--main-dark-transparent);
}

.link {
  /* background-color: var(--accent-light); */
  padding: 5px;
  text-align: center;

  a {
    font-weight: bold;
    text-transform: capitalize;
    color: var(--button-text);
  }

  img {
    border: 2px solid var(--button-text);
    border-radius: var(--inner-radius);
  }
}

/* Bottom Section */
#phone-bot {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* fills its column */

  img {
    width: 45px;
    height: auto;
  }
}