* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #e7e0e0;
  /* margin: 0px; */
  /* padding: 20px; */
}

h1 {
  color: rgb(245, 242, 242);
}

p {
  color: rgb(79, 29, 29);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  margin: 2px;
}
span {
  color: black;
  font-style: normal;
  font-weight: 600;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}


/* -----------meny ---------- */
#proffesorOakDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  margin-top: -20px;
  z-index: 1000;
  /* position: fixed; */
  bottom: 0;
}

#indexMenuDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fafafa;
  border-radius: 3em;
  width: 250px;
  height: 100%;
  min-height: 100px;
}

#indexMenuDiv:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 30px solid transparent;
  border-top-color: #fafafa;
  border-bottom: 0;
  border-left: 0;
  margin-left: 30px;
  margin-bottom: -20px;
}

#menuDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fafafa;
  border-radius: 2em;
  width: 60%;
  height: 60px;
}

#menuDiv:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 30px solid transparent;
  border-top-color: #fafafa;
  border-bottom: 0;
  border-left: 0;
  margin-left: 30px;
  margin-bottom: -20px;
}

#intro {
  width: 250px;
  max-width: 200px;
  height: 100%;
  padding: 1px;
  overflow: hidden;
}

#introText {
   color: rgb(187, 36, 43);
  font-size: 20px;
  white-space: pre-line;
  padding-right: 1px;
}


#linkDiv {
  display: flex;
  flex-direction: column;
}


/* ------- Länkar ------ */
#indexPokeDex {
  color: rgb(187, 36, 43);
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}
#indexPokeDex:hover {
  color: rgb(84, 36, 187);
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}
#indexPokeDex:active {
  color: rgb(228, 182, 15);
  font-size:28px;
  font-weight: 800;
  text-decoration: none;
}

#indexLocaTion {
  color: rgb(187, 36, 43);
  font-size:28px;
  font-weight: 800;
  text-decoration: none;
}
#indexLocaTion:hover {
  color: rgb(84, 36, 187);
  font-size:28px;
  font-weight: 800;
  text-decoration: none;
}
#indexLocaTion:active {
  color: rgb(228, 182, 15);
  font-size:28px;
  font-weight: 800;
  text-decoration: none;
}

a {
  color: rgb(187, 36, 43);
  font-size: larger;
  font-weight: 800;
  text-decoration: none;
}
a:hover {
  color: rgb(84, 36, 187);
  font-size: larger;
  font-weight: 800;
  text-decoration: none;
}
a:active {
  color: rgb(228, 182, 15);
  font-size: larger;
  font-weight: 800;
  text-decoration: none;
}

/* ======== Bilder på Proffessor Oak ============= */

#proffsorOak {
  height: 600px;
  /* border: 1px solid black; */
}

#proffsorOakHalv {
  position: relative;
  width: 300px;
}

/* ============= SÖK FÄLT OCH KNAPP =========== */

#pokemon {
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  border-radius: 20px;
  padding: 5px;
  width: 55%;
}

#pokemonButton {
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  border-radius: 20px;
  padding: 5px;
}

#pokemonButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============= POKEMON BILD =========== */

#pokemonPic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  height: 220px;
  width: 220px;
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  /* border: 5px solid beige;
  border-bottom: 20px solid beige;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;*/
  border-radius: 240px;
  margin-top: 20px;
  margin-bottom: 5px;
}

#pokemonPicture {
  position: relative;
  width: 100%;
  height: 100%;
  /* border: 1px solid black; */
  top: -20px;
}

/* ============= BLÅ RUTAN =========== */

#searchWindow {
  /* Justera flexboxen*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(141, 176, 222);
  border: 7px solid beige;
  border-bottom-left-radius: 50px;
  box-shadow: 2px 2px 4px 0px rgb(0, 0, 0);
  width: 100%;
  height: 400px;
}

#searchMenu {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 5px;
  margin-top: 5px;
  width: 90%;
}

#name {
  color: rgba(18, 18, 18, 0.755);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0px;
}

#typePokemon {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0px;
}
#typePokemon2 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0px;
}

/* ================= TEXT =============== */

#pokeText {
  display: flex;
  /* align-items: center; */
  justify-content: space-evenly;
  width: 80%;
  height: 70px;
}

#pokeNameAndType {
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 0px;
  width: 80%;
  height: 50px;
}

#pokeWeightHeight {
  width: 35%;
}
#pokeMoves {
  width: 65%;
}
/*================= POKEDEXTER DIV ===================*/

#pokeDexter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, rgb(160, 22, 22), rgb(221, 77, 77));
  border: 3px solid black;
  border-bottom-left-radius: 50px;
  border-top-left-radius: 20px;
  border-top-right-radius: 50px;
  box-shadow: 10px 10px 40px 5px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 320px;
  height: 100vh;
  max-height: 550px;
  padding: 1.5em;
}

#upperThing {
  width: 100%;
  margin-bottom: 10px;
}

#circle {
  display: flex;
  align-items: flex-start;
  /* flex-direction:row; */
  justify-content: right;
  background: linear-gradient(45deg, rgb(132, 181, 231), rgb(228, 221, 221));
  border-radius: 100%;
  border: 2px solid black;
  box-shadow: 2px 2px 20px 1px rgba(0, 0, 0, 0.6);
  width: 50px;
  height: 50px;
  margin-left: 20px;
}

#circle2 {
  margin-top: 10px;
  margin-right: 10px;
  background-color: rgb(255, 255, 255);
  border-radius: 50px;
  border: 1px solid rgba(31, 31, 31, 0.2);
  width: 10px;
  height: 10px;
}

#indexSpaceDiv {
  height:100px;
}

#spaceDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
}

#spaceDivLocations {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 68px;
}
/* ===================== LOCATIONS AND CHARTS ==================== */

#citiesAPI {
  display: flex;
  flex-direction: column;
  justify-content: start;
  border: 3px solid black;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 10px 10px 40px 5px rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 40px;
  background: linear-gradient(45deg, rgb(160, 22, 22), rgb(221, 77, 77));
  width: 80%;
  max-width: 300px;
  min-height: 200px;
  height: 100%;
  padding: 10px;
  margin-bottom: 50px;
}

#citiesForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px;
}

#locationInput {
  width: 97%;
  margin-bottom: 4px;
  border-radius: 10px;
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  padding: 3px;
}

#populationInput {
  width: 97%;
  margin-bottom: 4px;
  border-radius: 10px;
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  padding: 3px;
}

#methodButtonDiv {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 4px;
}

#method {
  width: 42%;
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  border-radius: 10px;
  padding: 4px;
  box-shadow: 1px 0px 1px 1px rgba(0, 0, 0, 0.4);
}

#buttonInput {
  width: 57%;
  background: linear-gradient(75deg, rgb(241, 241, 241), rgb(173, 222, 239));
  border-radius: 10px;
  padding: 4px;
  box-shadow: 1px 0px 1px 1px rgba(0, 0, 0, 0.4);
}

#responseDiv {
  /* background-color: #fff; */
  width: 100%;
  max-width: 300px;
  height: 100%;
  /* padding: 4px; */
}

#locationDiv {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  background: linear-gradient(40deg, rgb(141, 176, 222), rgb(218, 223, 231));
  padding: 4px;
  color: rgb(38, 38, 38);
  min-height: 100px;
  height: 100%;
  border-radius: 10px;
  border-bottom-left-radius: 60px;
}

/*================= CHART JS ===================*/

#chartDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-height: 500px;
  width: 80%;
  max-width: 500px;
}

#myChart {
  width: 100%;
  height: 100%;
}
