/*////Global Styles////*/
@font-face {
  font-family: "DangerSlanted";
  src: url("font/Another Danger Slanted - Demo.otf");
  src: url("font/Another-Danger-Slanted-Demo.ttf");
}

body{
  background-color: #efefef;
}

footer{
  color: #a9a9a9;
  padding: 30px;
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

ul{
  list-style: none;
}

a{
  color: inherit;
  text-decoration: none;
}

h2{
  font-family: "DangerSlanted";
  padding: 0px 15px 0px 40px;
  font-size: 50pt;
  width: 40%;
  margin: 0px;
}

h2 p{
  font-family: cursive;
  color: #a9a9a9;
  font-size: 15px;
}
/*////Home Page////*/

.navShape{
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.navShape div{
  margin-left: auto;
  margin-right: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.navShape div img{
  position: absolute;
  top: 220px;
  left: 300px;
  width: 36%;
}

.navButtons{
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
}

.navButtons ul{
  border-radius: 50%;
  position: relative;
  width: 800px;
  height: 600px;
  margin-left: auto;
  margin-right:auto;
}

.navButtons li{
  position: absolute;
  width: 22%;
}

.navButtons li a{
  display: block;
  height: 180px;
  width: 180px;
}

.acid{
  top: 50px;
  left: 120px;
  background-image: url("images/acidButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.acid:hover{
  transition: .2s ease;
  background-image: url("images/acidHover.png");
  background-repeat: no-repeat;
}

.bathSalts{
  top: 0px;
  left: 340px;
  background-image: url("images/bathSaltsButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.bathSalts:hover{
  transition: .2s ease;
  background-image: url("images/bathSaltsHover.png");
  background-repeat: no-repeat;
}

.cocaine{
  top: 50px;
  right: 120px;
  background-image: url("images/cocaineButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.cocaine:hover{
  transition: .2s ease;
  background-image: url("images/cocaineHover.png");
  background-repeat: no-repeat;
}

.ecstasy{
  right: 0;
  bottom: 200px;
  background-image: url("images/ecstasyButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.ecstasy:hover{
  transition: .2s ease;
  background-image: url("images/ecstasyHover.png");
  background-repeat: no-repeat;
}

.heroine{
  right: 120px;
  bottom: 50px;
  background-image: url("images/heroineButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.heroine:hover{
  transition: .2s ease;
  background-image: url("images/heroineHover.png");
  background-repeat: no-repeat;
}

.meth{
  bottom: 0;
  right: 330px;
  background-image: url("images/methButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.meth:hover{
  transition: .2s ease;
  background-image: url("images/methHover.png");
  background-repeat: no-repeat;
}

.oxy{
  bottom: 50px;
  left: 120px;
  background-image: url("images/oxycodoneButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.oxy:hover{
  transition: .2s ease;
  background-image: url("images/oxycodoneHover.png");
  background-repeat: no-repeat;
}

.weed{
  left: 0;
  top: 200px;
  background-image: url("images/weedButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.weed:hover{
  transition: .2s ease;
  background-image: url("images/weedHover.png");
  background-repeat: no-repeat;
}


/*/////Main Navigation/////*/

.mainDrugPage{
  display: flex;
  border: #a9a9a9 5px solid;
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mainNav{
  background-color: #caebf3;
  width: 25%;
}

.mainNav ul{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mainNav ul li{
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  height: auto;
  width: auto;
  background-size: 50%;
}

.mainNav ul a{
  height: 110px;
  width: 110px;
  display: block;
  margin-bottom: 15px;
}


.mainNav ul li h1 img{
  width: 100%;
  padding: 5px;
}

.mainNav ul li h1 a{
  height: 80px;
  width: 110px;
}


/*/////////Main Info Pages////////*/

.mainInfo{
  width: 75%;
  background-color: #efefef;
}
.mainInfo p{
  font-family: sans-serif;
  font-weight: normal;
  font-size: 15pt;
  padding: 0px 15px 15px 15px;
}

.mainInfo img{
  width: 50%;
  float: right;
  padding-right: 15px;
  padding-top: 20px;
}

.subNavMain ul{
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  padding-right: 20px;
}

.subNavMain ul li{
  width: 200px;
  height: 200px;
  margin-bottom: 25px;
}

.subNavMain ul li a{
  background-color: #ff3b3f;
  border-radius: 50%;
  font-size: 18pt;
  text-align: center;
  display: block;
  padding-top: 40%;
  width: 200px;
  height: 125px;
  color: white;
  font-family: "DangerSlanted";
}

.subNavMain ul li a:hover{
  background-color: #d22e31;
  width: 180px;
  height: 100px;
  transition: 0.4s ease;
  margin-left: 5%;
  margin-top: 5%;
}

/*////////Individual Drugs Nav/////////*/

.drugNav{
  background-color: #caebf3;
  width: 25%;
}

.drugNav ul{
  margin-left: auto;
  margin-right: auto;
}

.drugNav ul a{
  height: 110px;
  width: 110px;
  display: block;
  margin-bottom: 15px;
}

.drugNav ul li{
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  background-size: 100%;
}

.drugNav ul li h1 img{
  margin-top: 0;
  width: 100%;
  padding: 5px;
}

.drugNav ul li h1 a{
  margin-top: 0;
  height: 20px;
  width: 110px;
  background-color: #caebf3;
}

.drugNav ul li h1 a:hover{
  margin-top: 0;
  height: 20px;
  width: 110px;
  background-color: #caebf3;
  margin-left: 0;
}

.drugNav ul li{
  width: 110px;
  height: 110px;
  padding: 0;
  margin-bottom: 25px;
}

.drugNav ul li a{
  background-color: #ff3b3f;
  border-radius: 50%;
  font-size: 12pt;
  text-align: center;
  display: block;
  padding-top: 40%;
  width: 110px;
  height: 70px;
  color: white;
  font-family: "DangerSlanted";
}

.drugNav ul li a:hover{
  background-color: #d22e31;
  width: 90px;
  height: 50px;
  transition: 0.4s ease;
  margin-left: 10%;
  margin-top: 20%;
}

#primary_nav_wrap ul
{
position: relative;
margin-bottom: 30px;
}

#primary_nav_wrap ul ul
{
	display: none;
	position:absolute;
  border: #ff3b3f solid 4px;
  background-color: #ffb1b3;
  border-radius: 15%;
  margin: 10px 0 0 10px;
	padding:0 0 0 10px;
  top:875px;
	left:150px;
  width: 460px;
}

#primary_nav_wrap ul ul li{
  position: relative;
  display: inline-block;
  margin: 0;
}

#primary_nav_wrap ul ul li a{
  background-color: rgba(0, 0, 0, 0);
}

#primary_nav_wrap ul li:hover > ul
{
	display:block;
}

.acid2{
  background-image: url("images/acidButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
  top: 0;
  left: 0;
}

.acid2:hover{
  transition: .2s ease;
  background-image: url("images/acidHover.png");
  background-repeat: no-repeat;
  top: 0;
  left: 0;
}

.bathSalts2{
  background-image: url("images/bathSaltsButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
  top: 0;
  left: 30px;
}

.bathSalts2:hover{
  transition: .2s ease;
  background-image: url("images/bathSaltsHover.png");
  background-repeat: no-repeat;
}

.cocaine2{
  background-image: url("images/cocaineButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.cocaine2:hover{
  transition: .2s ease;
  background-image: url("images/cocaineHover.png");
  background-repeat: no-repeat;
}

.ecstasy2{
  background-image: url("images/ecstasyButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.ecstasy2:hover{
  transition: .2s ease;
  background-image: url("images/ecstasyHover.png");
  background-repeat: no-repeat;
}

.heroine2{
  background-image: url("images/heroineButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.heroine2:hover{
  transition: .2s ease;
  background-image: url("images/heroineHover.png");
  background-repeat: no-repeat;
}

.meth2{
  background-image: url("images/methButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.meth2:hover{
  transition: .2s ease;
  background-image: url("images/methHover.png");
  background-repeat: no-repeat;
}

.oxy2{
  background-image: url("images/oxycodoneButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.oxy2:hover{
  transition: .2s ease;
  background-image: url("images/oxycodoneHover.png");
  background-repeat: no-repeat;
}

.weed2{
  background-image: url("images/weedButton.png");
  background-repeat: no-repeat;
  background-size: 100%;
  height: 180px;
}

.weed2:hover{
  transition: .2s ease;
  background-image: url("images/weedHover.png");
  background-repeat: no-repeat;
}
/*////////Chemical Makeup Page/////////*/

.chemicalImg{
  width: 1000px;
  float: none;
}
