@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Vibes&display=swap");
:root {
  --special-text-color: #eba809;
  --so-much-yellow: #fff200;
  --text-color: #1a1a1a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  text-decoration: none;
  font-family: "Amiri", serif;
}
@media screen and (min-width: 426px) {
  body {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    direction: rtl;
    background: rgb(244, 164, 29);
    background: -moz-linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    background: -webkit-linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    background: linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4a41d",endColorstr="#ffe300",GradientType=1);
    color: var(--text-color);
  }
  .entry-cover {
    font-family: "Vibes", cursive;
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 555;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;
    text-align: center;
    line-height: 100vh;
  }
  #bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .hmbrger-menu {
    display: none;
  }
  .logo {
    cursor: pointer;
  }
  header {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    padding: 0rem 4rem;
  }
  nav {
    display: flex;
    width: 40%;
    justify-content: space-around;
    font-size: 1.8em;
    margin-top: 1.5rem;
  }
  nav * {
    color: var(--text-color);
    position: relative;
  }
  nav * > span {
    transition: 0.35s;
    width: 0%;
    transform-origin: center center;
  }
  nav *:hover > span {
    position: absolute;
    top: 70%;
    right: 0;
    width: 100%;
    height: 4%;
    background-color: var(--text-color);
  }
  .intro {
    width: 100vw;
    min-height: 80vh;
    padding: 2rem;
  }
  .intro-content {
    min-height: 70vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 2em;
    align-items: center;
  }
  .intro-images {
    width: 50%;
  }
  .special-text {
    font-size: 2.15em;
    color: white;
  }
  .intro-btns {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .intro-btns * {
    font-size: 2rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background-color: transparent;
    border: var(--text-color) 1px solid;
    color: var(--text-color);
    transition: 1 all ease;
  }
  .intro-btns *:hover {
    background-color: #1a1a1a;
    color: white;
  }
  #myWorld {
    width: 100vw;
    min-height: 70vh;
    display: none;
    align-items: center;
    grid-template-columns: 10% 1fr 10%;
    position: relative;
    place-items: center;
  }
  .mover {
    text-align: center;
    font-size: 4em;
    color: #1a1a1a;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.5;
  }
  .mover:hover {
    opacity: 1;
  }
  #add-to-my-world {
    display: none;
    grid-template-rows: 15% 80%;
    row-gap: 2rem;
    place-items: center;
  }
  #about-me {
    display: none;
  }
  .book {
    width: 100%;
    padding: 0 2rem;
    height: 80%;
    display: grid;
    grid-template-columns: 60% auto;
    place-items: center;
  }
  .bookCover {
    width: 75%;
    border-radius: 20px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: #1a1a1a -2px 2px 5px 0px;
    overflow: hidden;
    margin-right: 30px;
  }
  .bookInfo {
    padding-bottom: 10vh;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bookCover > img {
    width: 100%;
  }
  .bookCover:hover img {
    transform: scale(1.1);
  }
  .bookName {
    font-size: 3.75em;
    margin-bottom: 3rem;
  }
  .bookDescription {
    font-size: 1.7em;
    margin-bottom: 3rem;
  }
  .book-link {
    font-size: 2.5em;
    color: var(--text-color);
    border: #484538 1px solid;
    padding: 1rem 2rem;
    transition: 0.5s;
  }
  .book-link:hover {
    background-color: #b5ffe150;
    border: #48453800 1px solid;
  }
  .add-world-btns {
    display: flex;
    width: 50vw;
  }
  .add-world-btns * {
    font-size: 2rem;
    width: 100%;
    height: fit-content;
    padding: 0.5rem;
    border: #1a1a1a 1px solid;
    background-color: transparent;
    cursor: pointer;
    transition: 0.5s;
  }
  .add-world-btns *:hover,
  .selected {
    background-color: #1a1a1a;
    color: white;
  }
  .draw-btn {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-left: none;
  }
  .drawings-btn {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  .draw-div {
    padding: 2rem;
    display: grid;
    grid-template-columns: 40% 1fr;
    place-items: center;
    place-content: center;
    column-gap: 15px;
    width: 100vw;
    height: 100%;
  }
  .drawings {
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap !important;
    height: 70vh;
    text-align: center;
  }
  .pic-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .drawings img {
    width: 300px;
    height: 100%;
  }
  .drawings > * {
    border: #1a1a1a 1px solid;
  }
  .drawings h1 {
    border: #1a1a1a 1px solid;
    padding: 0.25rem 0;
    transition: 0.5s;
  }
  .drawings h1:hover {
    background-color: #1a1a1a;
    color: white;
  }
  .drawer-info {
    font-size: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-100px);
    height: 100%;
  }
  .drawer-info input {
    border: none;
    background-color: transparent;
    border-bottom: #1a1a1a solid 1px;
    margin-bottom: 15px;
    text-indent: 10px;
  }
  .drawer-info input:focus,
  .drawer-info input:active {
    outline: none;
  }
  .drawer-info button {
    width: fit-content;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: #1a1a1a 1px solid;
    font-size: 2rem;
  }
  #sender-name {
    width: 100%;
    font-size: 1.5rem;
  }
  .drawer-info > div {
    display: flex;
    justify-content: space-around;
  }
  .drawer-info > div > button {
    width: 40%;
    font-size: 1.25rem;
    cursor: pointer;
  }
  #draw {
    width: 600px;
    height: 450px;
    border: #1a1a1a 1px solid;
  }
  .brush-settings {
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .brush-settings * {
    font-size: 1.25em;
  }

  #about-me {
    padding: 2em;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100vw;
    font-size: 2em;
  }
  #about-me p {
    text-indent: 30px;
  }
  #about-me span {
    color: black;
    font-weight: bold;
    font-size: 1.25em;
  }
  .links {
    padding: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .links img {
    margin-right: 20px;
    margin-top: 5px;
    width: 100px;
  }
  #secret-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #secret-container div {
    display: grid;
    place-content: center;
    place-items: center;
  }
  #secret-container div * {
    font-size: 2.5em;
  }
  #secret-container h1 * {
    font-size: 3.5rem;
    color: #484538 !important;
  }
  .upload-container {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a83;
    color: white !important;
    font-size: 2em;
    text-align: center;
  }
  .upload-container > div {
    width: fit-content;
    height: max-content;
    background-color: rgb(195, 113, 113);
    padding: 2rem 4rem;
    border-radius: 20px;
  }
  .upload-container > div > button {
    width: fit-content;
    font-size: 2rem;
    border: var(--so-much-yellow) 1px solid;
    background-color: transparent;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-top: 15px;
    transition: 0.5s;
    color: white;
  }
  .upload-container > div > button:hover {
    background-color: var(--special-text-color);
    /* color: #1a1a1a; */
  }
}
@media screen and (max-width: 425px) {
  body {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
    direction: rtl;
    background: rgb(244, 164, 29);
    background: -moz-linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    background: -webkit-linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    background: linear-gradient(
      270deg,
      rgba(244, 164, 29, 1) 3%,
      rgba(255, 227, 0, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4a41d",endColorstr="#ffe300",GradientType=1);
    color: var(--text-color);
  }
  .entry-cover {
    font-family: "Vibes", cursive;
    width: 100vw;
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 555;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    text-align: center;
    line-height: 100vh;
  }
  #draw {
    width: 80%;
  }
  .links img {
    width: 50px;
  }
  #bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  header {
    width: 100vw;
    display: flex;
    justify-content: space-between;
  }
  nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    font-size: 2.5em;
    background-color: #1a1a1ae0;
    z-index: 99;
  }
  nav * {
    color: white !important;
  }
  .hmbrger-menu {
    z-index: 100;
    color: black;
    font-size: 2em;
    margin-left: 20px;
    margin-top: 20px;
  }

  #bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .intro {
    width: 100vw;
    min-height: 90vh;
    padding: 2rem;
  }
  .intro-content {
    min-height: 70vh;
    display: grid;
    font-size: 2rem;
  }
  .intro-content > * {
    width: fit-content;
  }
  .special-text {
    font-size: 2.5rem;
    color: white;
  }
  .intro-images {
    width: 100%;
  }
  .intro-btns {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .intro-btns * {
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    background-color: transparent;
    border: var(--text-color) 1px solid;
    color: var(--text-color);
    transition: 1 all ease;
  }
  #myWorld {
    display: none;
    width: 100vw;
    min-height: 90vh;
    display: none;
    align-items: center;
    grid-template-columns: 10% 1fr 10%;
    position: relative;
  }
  .mover {
    text-align: center;
    font-size: 4em;
    color: #1a1a1a;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.5;
    margin-bottom: 30vh;
  }
  .book {
    width: 100%;
    padding: 0 2rem;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding-bottom: 3rem;
  }
  .bookCover {
    width: 75%;
    border-radius: 20px;
    min-height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: #1a1a1a -2px 2px 5px 0px;
    overflow: hidden;
    margin-right: 30px;
  }
  .bookCover > img {
    width: 100%;
  }
  .bookName {
    font-size: 2.75rem;
    margin-bottom: 3rem;
  }
  .bookDescription {
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }
  .bookInfo {
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .book-link {
    font-size: 1.5rem;
    color: var(--text-color);
    border: #484538 1px solid;
    padding: 0.25rem 0.5rem;
    margin-bottom: 20px;
  }
  #add-to-my-world {
    display: none;
    width: 100vw;
    min-height: 90vh;
  }
  .add-world-btns {
    display: flex;
    justify-content: center;
    padding: 1rem;
  }

  .add-world-btns * {
    font-size: 1.25rem;
    width: fit-content;
    height: fit-content;
    padding: 0.5rem;
    border: #1a1a1a 1px solid;
    background-color: transparent;
    cursor: pointer;
    transition: 0.5s;
  }
  .selected {
    background-color: #1a1a1a;
    color: white;
  }
  .draw-btn {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-left: none;
  }
  .drawings-btn {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  .draw-div {
    display: grid;
    row-gap: 0;
    width: 100vw;
    height: 100%;
    place-items: center;
  }
  .canvas-div {
    grid-row-start: 1;
    grid-column-start: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #draw {
    border: #1a1a1a 1px solid;
  }
  .drawings {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap !important;
    height: 70vh;
    row-gap: 20px;
    text-align: center;
  }
  .pic-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .drawings img {
    width: 300px;
    height: 100%;
  }
  .drawings > * {
    border: #1a1a1a 1px solid;
  }
  .drawings h1 {
    border: #1a1a1a 1px solid;
    padding: 0.25rem 0;
    transition: 0.5s;
  }

  .drawer-info {
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .drawer-info label {
    font-size: 1.5rem;
    display: block;
    width: 100%;
    text-align: right;
    padding-right: 25px;
  }
  .drawer-info input {
    border: none;
    width: 70%;
    background-color: transparent;
    border-bottom: #1a1a1a solid 1px;
    margin-bottom: 15px;
    text-indent: 10px;
  }
  .drawer-info input:focus,
  .drawer-info input:active {
    outline: none;
  }
  .drawer-info button {
    width: fit-content;
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    border: #1a1a1a 1px solid;
    font-size: 1.5rem;
  }
  #sender-name {
    width: 80%;
    font-size: 1.15rem;
  }
  .drawer-info > div {
    display: flex;
    justify-content: space-around;
    column-gap: 10px;
  }

  .brush-settings {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .brush-settings * {
    font-size: 1.25em;
  }
  .upload-container {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a83;
    color: white !important;
    font-size: 1.25em;
    text-align: center;
  }
  .upload-container > div {
    width: fit-content;
    height: max-content;
    background-color: rgb(195, 113, 113);
    padding: 0.5rem 1rem;
    border-radius: 20px;
  }
  .upload-container > div > button {
    width: fit-content;
    font-size: 1.5rem;
    border: var(--so-much-yellow) 1px solid;
    background-color: transparent;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-top: 15px;
    transition: 0.5s;
    color: white;
  }
  .upload-container > div > button:hover {
    background-color: var(--special-text-color);
    /* color: #1a1a1a; */
  }
  #about-me {
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100vw;
    font-size: 1.5rem;
  }
  #about-me p {
    text-indent: 30px;
  }
  #about-me span {
    color: black;
    font-weight: bold;
    font-size: 2rem;
  }
  .links {
    padding: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .links img {
    margin-right: 20px;
    margin-top: 5px;
    width: 100px;
  }
}
