/* Loading the font */
@font-face {
  font-family: IBMPlexMono_Regular;
  src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf");
}

@font-face {
  font-family: IBMPlexMono_Bold;
  src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Bold.ttf");
}

#returnIcon {
  margin-top: 0px;
  margin-left: 5px;
  position: fixed;
}

/* #returnIcon a {
  text-decoration: none;
} */

#returnIcon p {
  font-size: 34px;
  /* border: 1px solid black; */
  padding-left: 13px;
  padding-right: 13px;

  margin: 0;

  color: gray;
}
#returnIcon p:hover {
  color: black;
}

#returnIcon button {
  background-color: white;
  border: none;
  border: 1px solid white;

  margin: 0;
  padding: 0;
}
#returnIcon button:hover {
  cursor: pointer;
  border: 1px solid black;
}

#center {
  /*width: 50%;*/ /* For some reason, if you don't have the width as 50%, the baby's animation don't get centered. */
  width: 100%;

  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;

  -border: 1px solid red;
}

/* ------------------- TEXT ------------------- */
h1 {
  /*font-family: 'IBM Plex Mono', monospace;*/
  font-family: "IBMPlexMono_Regular", monospace;
  font-weight: 300;
  -font-size: 55px;
  font-size: 30px;

  padding-bottom: 10px;
  margin-bottom: 40px;

  border-bottom: 1px solid black;
}

p,
label {
  /*font-family: 'Droid Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-family: 'IBM Plex Mono', monospace;*/
  font-family: "IBMPlexMono_Regular", monospace;

  color: black;
  line-height: 1.5;
  font-size: 1rem;

  text-align: justify;
  text-justify: inter-word;
}

p a {
  color: rgb(239, 0, 80);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  /*font-family: 'Droid Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-family: 'IBM Plex Mono', monospace;*/
  font-family: "IBMPlexMono_Bold", monospace;

  color: black;
  line-height: 1.5;
  font-size: 1rem;

  text-align: justify;
  text-justify: inter-word;
}

/* ------------- FOOTER ------------- */
footer {
  width: 100%;
}

footer p {
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: black;
}

footer a:hover {
  -text-decoration: none;
}
/* ---------------------------------- */
/* -------------------------------------------- */

/* ------- MEDIA TO BE DISPLAYED -------------- */

iframe.youtube {
  position: block;
  height: 50%;
  width: 100%;

  /* margin-bottom: 40px; */
}

.animation {
  width: 70%;
  -border: 1px solid rgb(200, 200, 200);

  margin-bottom: 100px;

  display: block;
  margin-left: auto;
  margin-right: auto;
}

.borders {
  border: 1px solid rgb(200, 200, 200);
}

img {
  width: 100%;
  margin-bottom: 50px;
}

.canvas {
  -margin: 80px auto;
  margin-bottom: 60px;

  border: 1px solid rgb(200, 200, 200);
  -overflow: hidden;
}
/* -------------------------------------------- */

/* When screen is bigger than 1049px */
@media screen and (min-width: 1049px) {
  #center {
    /* max-width: 1000px; */
    max-width: 900px;
  }
}

/*******  Small screens  *******/
/* When screen is smaller than 1049px */
@media screen and (max-width: 1049px) {
  #center {
    width: 90%;
  }

  /* h1 {
    font-size: 2em;
  } */

  p {
    -font-size: 3em;
    text-align: left;

    font-size: 1rem;
  }

  .animation {
    width: 100%;
  }
}

@media screen and (max-width: 1110px) {
  #returnIcon {
    margin-left: 2px;
  }

  #returnIcon p {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media screen and (max-width: 700px) {
  #returnIcon {
    display: none;
  }
}
