/*The universal styling was set to border box and Ubuntu Mono(font)*/
* {
  box-sizing: border-box;
  text-align: center;
  font-family: 'Ubuntu Mono', monospace;
}
/*The background of the applicaiton was from an URL.
To make it fit on the page margin and padding were set to 0.
Also the image was set to no-repeat and to cover the page. */
body {
  margin: 0px;
  padding: 0px;
  background-image: url("../imgs/imageedit_3_7294279739.gif");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}
/*The title of the page will be using the padding, font-size,colour and text-align */
#navbar h2 {
  padding: 25px;
  font-size: 40px;
  color: white;
  text-align: right;
  background: black;
  margin: 0;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* the pseudo-class for  */
.row:after {
  content: "";
  display: table;
  clear: both;
}
/* Each card will be light blue and have a black boarder. */
#column1,
#column2 {
  background-color: rgba(95, 169, 253, 0.623);
  border: 2px solid black;
}
/* The title for each card will be used will appear at a font size of 50px*/
h2 {
  font-size: 50px;
}
/* The clear button will appear blue and have a font of 20px. 
The search button will only have the icons appear at 20px*/
.cryptoBtn,
#clearBtn,
.stockBtn {
  background-color: cornflowerblue;
  font-size: 20px;
}

#statcyptoPrice,
#statstocksPrice {
  background-color: white;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 10px auto;
  display: none;
}
/* The text box which will be containing the results will be centered using margin. 
It will display as a block, a background colour of light blue.*/
#centerBox {
  background: rgba(95, 169, 253, 0.623);
  width: 400px;
  height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* This styling would reflect the way the p elements in the info box would appear for the cryptocoin. */
/* The crypto-coin's results would appear relative have a line height and top spacing. */
p.infoText {
  position: relative;
  top: -13rem;
  line-height: 0.5rem;
}
/* The font positing in the info text would be relative and have a top spacing. */
h3.infoText {
  position: relative;
  top: -13rem;
}
/* The text for the stock's information would be styled by giving a line-height, top spacing and a relative position. */
p.infoText2 {
  position: relative;
  top: -13rem;
  line-height: 1.5rem;
}
/* This makes the results/info box not indically appear */
#infoBox{
  display: none;
}