/**
 * CSS/HTML Responsive Demo Stylesheet
 **/

* {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: sans-serif, "Arial-Narow";
  margin: 0px;
}

.toprightlinks:hover {
  color: rgb(12, 153, 129);
}

.toprightlinks {
  color: rgb(112, 112, 112);
  text-decoration: none;
}

header {
  padding: 20px;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  width: 183px;
  text-align: center;
  font-size: 24px;
  line-height: 19px;
  position: relative;
  right: -533px;
  top: -8px;
}

#topright {
  padding: 20px;
  color: rgb(112, 112, 112);
  background: rgb(255, 255, 255);
  width: 323px;
  height: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 19px;
  position: absolute;
  right: 391px;
  top: -15px;
}

#background {
  overflow: auto;
  color: rgb(12, 153, 129);
  position: relative;
  top: -8px;
  background: #e6e6e6;
  border-style: solid;
  border-width: 1px 0px 0px 0px;
  border-color: rgb(138, 138, 138);
}

#backgroundimg-portfolio {
  width: 1885px;
  height: 800px;
}

#backgroundimg {
  width: 1902px;
  height: 800px;
}

.contactbox {
  color: rgb(112, 112, 112);
  margin-bottom: 6px;
  padding: 0px;
}

.input {
  width: 100%;
}
.message-input {
  height: 150px;
  width: 100%;
}

.messageinput {
  width: 100%;
  height: 100%;
}
#mainsection-aboutme {
  position: absolute;
  top: 100px;
  background: #ffffff;
  width: 960px;
  height: 55%;
  right: 420px;
  border-color: rgb(138, 138, 138);
  border-width: 1px;
  border-style: solid;
}

#mainsection {
  position: absolute;
  top: 100px;
  background: #ffffff;
  width: 960px;
  height: 55%;
  right: 420px;
  border-color: rgb(138, 138, 138);
  border-width: 1px;
  border-style: solid;
}

#mainsection-portfolio {
  position: absolute;
  top: 100px;
  background: #ffffff;
  width: 960px;
  height: 78%;
  right: 420px;
  border-color: rgb(138, 138, 138);
  border-width: 1px;
  border-style: solid;
}

#aboutme {
  position: absolute;
  left: 30px;
  top: 10px;
  color: rgb(12, 153, 129);
}

#contactHeader {
  position: absolute;
  left: 30px;
  top: 10px;
  color: rgb(12, 153, 129);
}

#portfolioHeader {
  position: absolute;
  left: 30px;
  color: rgb(12, 153, 129);
  top: 4px;
}

#secondsection-aboutme {
  margin: 70px 30px 50px 30px;
  width: 900px;
  height: 530px;
  overflow: auto;
  border-color: rgb(204, 204, 204);
  border-width: 3px 0px 0px 0px;
  border-style: solid;
}

#secondsection-contact {
  margin: 70px 30px 50px 30px;
  width: 900px;
  height: 550px;
  overflow: auto;
  border-color: rgb(204, 204, 204);
  border-width: 3px 0px 0px 0px;
  border-style: solid;
}

#secondsection-portfolio {
  margin: 70px 30px 50px 30px;
  width: 900px;
  height: 570px;
  overflow: auto;
  border-color: rgb(204, 204, 204);
  border-width: 3px 0px 0px 0px;
  border-style: solid;
}

#maintext {
  margin: 20px 0px 20px 20px;
  color: rgb(138, 138, 138);
  width: 670px;
  float: left;
}

#secondtext {
  float: left;

  color: rgb(138, 138, 138);
}

#cat {
  margin-top: 19px;
  margin-right: 20px;
  width: 180px;
  height: 140px;
  float: left;
  overflow: auto;
}

.messagebox {
  width: 200px;
  height: 200px;
  text-align: top;
}

#hangman-image {
  margin-top: 20px;
  width: 160px;
  height: 160px;
  position: relative;
  float: left;
}

#rpggame-image {
  margin-top: 20px;
  width: 163px;
  height: 160px;
  position: relative;
  float: left;
  margin-left: 50px;
}

#trivia-image {
  margin-top: 30px;
  width: 163px;
  height: 165px;
  position: relative;
  clear: both;
  float: left;
}

#rutgers-image {
  margin-top: 30px;
  width: 163px;
  height: 158px;
  position: relative;
  float: left;
  margin-left: 45px;
}

#rock-image {
  margin-top: 30px;
  width: 163px;
  height: 158px;
  position: relative;
  clear: both;
  float: left;
  margin-left: 5px;
}

.rpgtxt {
  position: absolute;
  top: 197px;
  left: 241px;
  width: 160px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  padding-top: 10px;
}

.hangmantxt {
  position: absolute;
  top: 199px;
  left: 31px;
  width: 159px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  padding-top: 10px;
}

.triviatxt {
  position: absolute;
  top: 392px;
  left: 31px;
  width: 160px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  padding-top: 10px;
}

.rutgerstxt {
  position: absolute;
  top: 389px;
  left: 237px;
  width: 164px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  padding-top: 10px;
}

.rock-txt {
  position: absolute;
  top: 574px;
  left: 34px;
  width: 164px;
  height: 35px;
  font-size: 14px;
  text-align: center;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
  padding-top: 10px;
}

.contactbutton {
  margin-top: 20px;
  width: 80px;
  height: 40px;
  font-size: 14;
  text-align: center;
  line-height: 3px;
  color: rgb(255, 255, 255);
  background: rgb(12, 153, 129);
}
footer {
  border-style: solid;
  border-width: 5px 0px 0px 0px;
  border-color: rgb(12, 153, 129);
  background: rgb(77, 77, 77);
  color: rgb(199, 199, 199);
  font-size: 10px;
  text-align: center;
  line-height: 22px;
  padding: 20px;
  width: 100%;
  height: 40px;
  position: relative;
  top: -13px;
}

@media only screen and (max-width: 980px) {
  .header {
    height: 80px;
    width: 204px;
    font-size: 30px;
    line-height: 19px;
    padding: 35px;
    right: -15px;
  }

  #topright {
    padding: 10px;
    width: 302px;
    line-height: 19px;
    right: 1px;
    top: 1px;
  }

  #background {
    width: 949px;
    
  }

  #mainsection {
    top: 120px;
    width: 677px;
    height: 59%;
    right: 251px;
  }

  #mainsection-aboutme {
    top: 120px;
    width: 677px;
    height: 52%;
    right: 251px;
  }

  #mainsection-portfolio {
    top: 120px;
    width: 677px;
    height: 1000px;
    right: 251px;
  }

  #backgroundimg-portfolio {
    width: 949px;
    height: 1220px;
    overflow: auto;
    clear: both;
  }

  #backgroundimg {
    width: 949px;
    height: 820px;
    clear: both;
  }

  #secondsection-aboutme {
    width: 620px;
    height: 89%;
  }

  #secondsection-contact {
    width: 520px;
    height: 82%;
  }

  #secondsection-portfolio {
     
    width: 620px;
    height: 95%;
  
  }

  #aboutme {
    left: 30px;
    top: 4px;
  }

  #portfolioHeader {
    left: 29px;
  }

  #contactHeader {
    left: 30px;
    top: 4px;
  }

  .contactbox {
    color: rgb(112, 112, 112);
    margin-bottom: 6px;
    margin-top: 25px;
    padding: 0px;
  }

 

  #cat {
   
  }

 
  
  
  #maintext {
   text-align: justify;
    width: 420px;
    margin: 0px auto;
    top: 16px;
    position: relative; 

  }

  #secondtext {
    text-align: justify;
    width: 620px;
    margin: 0px auto;
    top: 16px;
    position: relative; 
   
    margin: 0px auto;
    
  }



   #hangman-image {
    margin-top: 40px;
    width: 290px;
    height: 235px;
  }

  #rpggame-image {
    margin-top: 40px;
    width: 290px;
    height: 235px;
    top: 1px;
    margin-left: 39px;
    
    
  }

  #trivia-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 0px;
    
  }

  #rutgers-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 39px;
  }

  #rock-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 5px;
    margin-left: 0px;
  } 

   .rpgtxt {
    top: 312px;
    width: 290px;
    margin: 0px;
    left: 360px;
  }

  .hangmantxt {
    top: 298px;
    width: 290px;
  }

  .triviatxt {
    top: 556px;
    width: 290px;
  }

  .rutgerstxt {
    top: 569px;
    width: 290px;
    margin: 0px;
    left: 359px;
  }

  .rock-txt {
    top: 802px;
    width: 290px;
    left: 30px;
  } 
 

  footer {
    padding: 20px; 
    width: 100%;
    height: 60px;
    position: relative;
    bottom: -100px;
  }
}


@media only screen and (max-width: 768px) {
 
  .header {
    height: 80px;
    width: 204px;
    font-size: 30px;
    line-height: 19px;
    padding: 35px;
    right: -15px;
  }

  #topright {
    padding: 10px;
    width: 302px;
    line-height: 19px;
    right: 1px;
    top: 1px;
  }

  #background {
    width: 733px;
    
  }

  #mainsection {
    top: 120px;
    width: 677px;
    height: 59%;
    right: 25px;
  }

  #mainsection-aboutme {
    top: 120px;
    width: 677px;
    height: 52%;
    right: 28px;
  }

  #mainsection-portfolio {
    top: 120px;
    width: 677px;
    height: 1000px;
    right: 25px;
  }

  #backgroundimg-portfolio {
    width: 733px;
    height: 1220px;
    overflow: auto;
    clear: both;
  }

  #backgroundimg {
    width: 733px;
    height: 820px;
    clear: both;
  }

  #secondsection-aboutme {
    width: 620px;
    height: 89%;
  }

  #secondsection-contact {
    width: 520px;
    height: 80%;
  }

  #secondsection-portfolio {
     
    width: 620px;
    height: 95%;
  
  }

  #aboutme {
    left: 30px;
    top: 4px;
  }

  #portfolioHeader {
    left: 29px;
  }

  #contactHeader {
    left: 30px;
    top: 4px;
  }

  .contactbox {
    color: rgb(112, 112, 112);
    margin-bottom: 6px;
    margin-top: 25px;
    padding: 0px;
  }

 

  #cat {
   
  }

 
  
  
  #maintext {
   text-align: justify;
    width: 420px;
    margin: 0px auto;
    top: 16px;
    position: relative; 

  }

  #secondtext {
    text-align: justify;
    width: 620px;
    margin: 0px auto;
    top: 16px;
    position: relative; 
   
    margin: 0px auto;
    
  }



   #hangman-image {
    margin-top: 40px;
    width: 290px;
    height: 235px;
  }

  #rpggame-image {
    margin-top: 40px;
    width: 290px;
    height: 235px;
    top: 1px;
    margin-left: 39px;
    
    
  }

  #trivia-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 0px;
    
  }

  #rutgers-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 39px;
  }

  #rock-image {
    margin-top: 40px;
    width: 290px;
    height: 220px;
    top: 0px;
    margin-left: 5px;
    margin-left: 0px;
  } 

   .rpgtxt {
    top: 312px;
    width: 290px;
    margin: 0px;
    left: 360px;
  }

  .hangmantxt {
    top: 298px;
    width: 290px;
  }

  .triviatxt {
    top: 556px;
    width: 290px;
  }

  .rutgerstxt {
    top: 569px;
    width: 290px;
    margin: 0px;
    left: 359px;
  }

  .rock-txt {
    top: 802px;
    width: 290px;
    left: 30px;
  } 
 

  footer {
    padding: 20px; 
    width: 100%;
    height: 60px;
    position: relative;
    bottom: -100px;
  }
}

@media only screen and (max-width: 640px) {
  .header {
    height: 80px;
    width: 604px;
    font-size: 30px;
    line-height: 19px;
    padding: 35px;
    right: 0px;
  }

  #topright {
    padding: 20px;
    width: 393px;
    line-height: 19px;
    right: 100px;
    top: 60px;
  }

  #background {
    width: 605px;
    top: 51px;
  }

  #mainsection {
    top: 150px;
    width: 577px;
    height: 59%;
    right: 10px;
  }

  #mainsection-aboutme {
    top: 150px;
    width: 577px;
    height: 82%;
    right: 10px;
  }

  #mainsection-portfolio {
    top: 160px;
    width: 547px;
    height: 1700px;
    right: 25px;
  }

  #backgroundimg-portfolio {
    width: 605px;
    height: 1920px;
    overflow: auto;
    clear: both;
  }

  #backgroundimg {
    width: 605px;
    height: 920px;
    clear: both;
  }

  #secondsection-aboutme {
    width: 520px;
    height: 89%;
  }

  #secondsection-contact {
    width: 520px;
    height: 80%;
  }

  #secondsection-portfolio {
    width: 470px;
    height: 95%;
  }

  #aboutme {
    left: 30px;
    top: 4px;
  }

  #portfolioHeader {
    left: 29px;
  }

  #contactHeader {
    left: 30px;
    top: 4px;
  }

  .contactbox {
    color: rgb(112, 112, 112);
    margin-bottom: 6px;
    margin-top: 25px;
    padding: 0px;
  }

  .input {
    width: 100%;
  }
  .message-input {
    height: 150px;
    width: 100%;
  }

  .messageinput {
    width: 100%;
    height: 100%;
  }

  .text {
    width: 10px;
    position: relative;
    right: 255px;
    margin: 0px auto;
    text-align: justify;
    top: 25px;
  }
  #maintext {
    margin: 20px 0px 20px 20px;
    width: 520px;
    margin: 0px auto;
  }

  #secondtext {
    margin: 20px 0px 20px 20px;
    width: 520px;
    color: rgb(138, 138, 138);
    margin: 0px auto;
  }

  #cat {
    margin-top: 19px;
    margin-left: 0px;
    width: 520px;
    height: 300px;
  }

  #hangman-image {
    margin-top: 10px;
    width: 470px;
    height: 270px;
  }

  #rpggame-image {
    margin-top: 40px;
    width: 470px;
    height: 270px;
    top: 1px;
    margin-left: 0px;
  }

  #trivia-image {
    margin-top: 40px;
    width: 470px;
    height: 270px;
    top: 0px;
    margin-left: 0px;
  }

  #rutgers-image {
    margin-top: 40px;
    width: 470px;
    height: 270px;
    top: 0px;
    margin-left: 0px;
  }

  #rock-image {
    margin-top: 40px;
    width: 470px;
    height: 270px;
    top: 0px;
    margin-left: 5px;
    margin-left: 0px;
  }

  .rpgtxt {
    top: 1245px;
    width: 470px;
    margin: 0px;
    left: 30px;
  }

  .hangmantxt {
    top: 299px;
    width: 470px;
  }

  .triviatxt {
    top: 610px;
    width: 470px;
  }

  .rutgerstxt {
    top: 935px;
    width: 470px;
    margin: 0px;
    left: 30px;
  }

  .rock-txt {
    top: 1522px;
    width: 470px;
    left: 30px;
  }

  .messagebox {
    width: 100px;
    height: 200px;
    text-align: top;
  }

  footer {
    padding: 20px;
    width: 100%;
    height: 60px;
    position: relative;
    bottom: -100px;
  }
}
