/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* font styling */

@import url('https://fonts.googleapis.com/css?family=Exo:400,400i,700,700i|Karla');

h1, h2, a {
    font-family: 'Exo', sans-serif;
}

p {
    font-family: 'Karla', sans-serif;
}


/* navigation styling */



#mylogo {
    float: left;
    margin: 20px 10px 10px 20px; 
    transition: 0.35s all ease; 
}



#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#myname {
    color: #85CB33;
    width: 500px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    float: left;
    margin-left: 300px;
    margin-top: 70px;
    font-size: 35px;
    
}

.main {
    
    width: 100%;
    background-color: white;
    
   
    
    
}

footer {
    display: block;
    color: #85CB33;
    background-color:#272D2D;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align:center;
    font-size: 20px;
    overflow: auto;
    
   
   
   
}

a {
    text-decoration: none;
    color:#85CB33;
    border: 1px;
}



/* dropdown menu */

#primary_nav_wrap
{
	
    background-color: #272D2D;
    height: 150px;
    position: fixed;
    top: 0;
    width: 100%;
    transition: 0.35s all ease;
    z-index: 1000;
    
}

#primary_nav_wrap ul /* this changes margin for whole nav */
{
	list-style:none;
	position:relative;
	float:right;
	margin:0;
	padding:0;
    margin-top: 37px;
    transition: 0.35s all ease;
    
}

#primary_nav_wrap ul a
{
	
	color:white;
	text-decoration:none;
	font-weight:700;
	line-height:32px;
	padding:0 15px;
    font-size: 20px;
	display: block;
    transition: 0.35s all ease;
}

#primary_nav_wrap ul li
{
	position:relative; /* do not delete */
	float:left;
	margin:0;
	padding:0;
    margin-top: 50px;
    border-radius: 5%;
    
    
}



#primary_nav_wrap ul li:hover
{
	background:#85CB33;
    
}


#primary_nav_wrap ul ul
{
	display:none;
	position:absolute; /* do not delete */
	top:100%;
	right:0;
	background:#fff;
	padding:0;
    margin: 0;
    border-radius: 5%;
    border: solid 2px #272D2D;
    
}

#primary_nav_wrap ul ul li
{
	float:none;
    text-align: center;
    margin: 0;
    width: 100%;
    
}

#primary_nav_wrap ul ul a
{
	line-height:120%;
	padding:10px 15px;
    color: black;
    
    
}

#primary_nav_wrap ul li:hover > ul
{
	display:block
}


.move{
    display:inline-block;
}

/* down arrow for media link */

i {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}




/* home page */

body {
    background-color: white;
}

.image {
    color: white;
    text-align: center;
    line-height: 11;
    font-size: 100px;
    background-image: url(../images/comp-food.jpg);
    height: 1000px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0;
    margin-top: 0;
    
}

#image2 {
    background-image: url(../images/comp-bully.jpg);
    height: 1000px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}



.white {
    background-color: white;
    text-align: center;
    font-size: 50px;
    height: 500px;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 10;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: contain;
   
    
}


#gifs {
    background-image: url(../images/gif-optimized.gif);
    height: 1000px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* about me */

#about {
    display: block;
    margin-left: auto;
    margin-right:auto;
    width: 6ew;
    margin-top: 10px;
    border-radius: 50%;
}

.bio {
    text-align: left;
    font-size: 20px;
    width: 600px;
    margin: auto;
    margin-top: 20px;
    border: solid 2px #272D2D;
    padding: 10px;
}

#bio_info {
    color: black;
    text-indent: 40px;
    background-color: white;
    margin-bottom: 20px;
    padding-top: 250px;
}

/* photo section */

h1 {
    margin-top: 220px;
    text-align: center;
    text-decoration: underline;
    font-size: 40px;
}



#poster {
    float:left;
    margin-top: 50px;
    margin-left: 300px;
    
}

#poster_info {
    text-align: left;
    font-size: 20px;
    color: black;
    width: 400px;
    border: solid 2px #272D2D;
    float:right;
    padding-left: 10px;
    text-indent: 40px;
    border-radius: 5%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 300px;
    margin-top: 100px;
    height:100%;
    padding-right: 10px;
    margin-bottom: 180px;
    
}

#mult {
    float:left;
    margin-top: 180px;
    margin-left: 150px;
   
}

#mult_info {
    text-align: left;
    font-size: 20px;
    color: black;
    width: 400px;
    border: solid 2px #272D2D;
    float:right;
    padding: 10px;
    text-indent: 40px;
    margin-top: 300px;
    margin-right: 300px;
    border-radius: 5%;
    padding-bottom: 10px;
    margin-bottom: 180px
    
}

#card1 {
    margin-top: 180px;
    float:left;
    margin-left: 100px;
    margin-bottom: 180px;
    
}

#card2 {
    
    margin-top: 180px;
    float:left;
    margin-left: 10px;
    margin-bottom: 180px;
    
}

#card_info {
    text-align: left;
    font-size: 20px;
    border: solid 2px #272D2D;
    float: right;
    padding: 10px;
    text-indent: 40px;
    margin-top: 150px;
    margin-bottom: 150px;
    width: 400px;
    margin-right: 300px;
    border-radius: 5%;
}

#flyer {
    float:left;
    margin-left: 300px;
    margin-bottom: 50px;
}

#flyer_info {
    text-align: left;
    font-size: 20px;
    border: solid 2px black;
    float: right;
    padding: 10px;
    text-indent: 40px;
    margin-bottom: 50px;
    margin-top: 100px;
    width: 400px;
    margin-right: 300px;
    border-radius: 5%;
}


/* video section */

#phobia {
    display: block;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    
    
}

#phobia_info {
    text-align: left;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border: solid 2px #272D2D;
    padding: 10px;
    text-indent: 40px;
    margin-bottom: 50px;
    margin-top: 50px;
    width: 700px;
    margin-bottom: 150px;
    
}


#book {
    display: block;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    
    
}

#book_info {
    text-align: left;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border: solid 2px #272D2D;
    padding: 10px;
    text-indent: 40px;
    margin-bottom: 50px;
    margin-top: 50px;
    width: 700px;
    margin-bottom: 150px;
}

#ashbringer {
  
    display: block;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    
}

#ashbringer_info {
    text-align: left;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border: solid 2px #272D2D;
    padding: 10px;
    text-indent: 40px;
    margin-bottom: 50px;
    margin-top: 50px;
    width: 700px;
    margin-bottom: 150px;
}

#spato {
   
    display: block;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto; 
}

#spato_info {
    text-align: left;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    border: solid 2px #272D2D;
    padding: 10px;
    text-indent: 40px;
    margin-bottom: 50px;
    margin-top: 50px;
    width: 700px;
    margin-bottom: 50px;
}

/* webdev section */



.webinfo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    text-align: left;
    width: 600px;
    text-align: center;
}


#size {
    font-size: 50px;
}

.img-comp-container {
    position: relative;
    height: 500px;
    margin-top: 50px;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    
    
}

.img-comp-img {
    position: absolute;
    width: auto;
    height: auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    
}

.img-comp-img img {
    display: block;
    vertical-align: middle;
}

.img-comp-slider {
    position: absolute;
    z-index: 500;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: #85CB33;
    opacity: 0.7;
    border-radius: 50%;
}

.site {
    color: #85CB33;
    
    border-radius: 5%;
    
}

.link-text {
    text-align: center;
    margin-bottom: 20px;
    background-color: #272D2D;
    width: 250px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
}











/* brick breaker game */

#gameOver {

	visibility: hidden;
    color:ghostwhite;
}

button#restart {
	width:100px;
	display:block;
	margin:auto;
	background-color:#272D2D;
	color:#85CB33;
    margin-bottom: 5px;
}

#winner {
    visibility: hidden;
    color:#85CB33;
}

#game {
    display:none;
    width:650px;
    margin:auto;
    background-color: white;
    margin-top: 220px;
    
}

.title {
    text-align: center;
    color:#85CB33;
    font-size: 20px;
    margin-bottom: 10px;
    background-color: #272D2D;
    padding: 10px;
    margin-top: 20px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#winner {
    margin-top: 10px;
    
}


/*splash screen for game */

#splashscreen {
    display: block;
    border: solid 2px #272D2D;
    width: 650px;
    height: 450px;
    margin-top: 300px;
    margin-left: auto;
    margin-right: auto;
    
    
}

#startbutton {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    font-size: 20px;
    padding: 5px;
    background-color: #272D2D;
    color: #85CB33;
    border-radius: 5%;
    width: 100px;
}

#splashscreen h1 {
    margin-top: 120px;
}

#splashscreen h1 {
    width: 350px;
    font-size: 50px;
    padding: 15px;
}

#splashscreen p {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    color: #272D2D;
    font-size: 20px;
    text-align: center;
}





/* contact page */

.contact-form {
    margin-bottom: 30px;
    margin-top: 40px;
    border: solid 2px #272D2D;
    width: 700px;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #272D2D;
    border-radius: 5%;
    
}

textarea {
    width: 500px;
    height: 300px;
    margin-bottom: 20px;
    border: solid 2px #85CB33;
    resize: none;
    border-radius: 5%;
}

input {
    margin: 10px;
    margin-bottom: 40px;
    border: solid 2px #85CB33;
    border-radius: 5%;
}

#contact {
    margin-top: 40px;
}

#contact-submit {
    background-color: #85CB33;
    text-decoration: none;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5%;
}

#sent-text {
    margin-top: 20px;
    color: #272D2D;
}

/* responsive */

@media (max-width: 1500px) {
    
    
    #myname {
        margin-left: 150px;
    }
    
    
    
    
}



@media (max-width: 1600px) {
    
    
    #poster {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    #poster_info {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    
    #mult {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    #mult_info {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    
    #card1, #card2 {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        margin-top: 50px;
        
    }
    
    #card_info {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        overflow:auto;
    }
    
    #flyer {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    #flyer_info {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    
    
   
    
    
    
    
}


@media (max-width: 1380px) {
    
    
    #myname {
        margin-left: 100px;
    }
    
    
    
    
}


@media (max-width: 1320px) {
    
    
    #myname {
        margin-left: 50px;
        font-size: 20px;
        width: 350px;

    }
    
    
    
    
}


@media (max-width: 1100px) {
    
    
    #myname {
        display: none;

    }
    
    
    
    
}

@media (max-width: 1050px) {
    
    #phobia {
        width: 640px;
        height: 480px;
    }
    
    #book {
        width: 640px;
        height: 480px;
    }
    
    #ashbringer {
        width: 640px;
        height: 480px;
    }
    
    #spato {
        width: 640px;
        height: 480px;
    }
    
    .white {
        font-size: 35px;
        height: 350px;
    }
    
    
    
    
    
}


@media (max-width: 760px) {
    .white {
        font-size: 25px;
        height: 300px;
    }
    
    #splashscreen {
        width: 600px;
    }
    
    #game {
        width: 600px;
    }
    
    #brick {
        width: 600px !important;
    }
    
    
}



/* hamburger menu */


#menuToggle
{
  display: none;
  position: relative;
  top: 50px;
    right: -40px;
  float: right;
    width: 100px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -15px;
  left: -13px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 200px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
    border: solid 2px #85CB33;
  
  background: #272D2D;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
    margin-right: 500px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px;
  font-size: 22px;
    width: 230px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}


#menu a li {
    width: 110px;
    padding: 10px;
    text-align: center;
}




@media (max-width: 920px) {
    #menuToggle {
        display: block;
    }
    
    #nav {
        display: none;
    }
    
}







