:root{
--primary: #de8a0c;
--dark: #3e3e43;
--medium: #be8f57;
--gold: #de8a0c;
--light: #cac5be;
--white: #f2f2f2;
--shadow: 0 1px 5px rgba(104,104,104, 0.8);

}

html {

box-sizing: border-box; /* padding won't affect element width */
font-family: 'Jura', sans-serif;
color: var(--dark);

}

.profile-pic {
    border-radius: 50%;
}

.info img.game-pic {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px; /* Adjust the spacing between the logos as needed */
}

body{
background-image:url("volcano-feed.jpg");
	background-repeat: no-repeat;
	background-position:center;
	background-attachment:fixed;
	background-size:cover;

margin: 30px 50px;
line-height: 1.4;
}
img{
max-width: 100%; /* keep image inside container */
}

.image-container {
	text-align: left;
	margin-top: 20px; /* Adjust the margin as needed */
  }
  

video{
max-width: 100%; /* keep video inside container but allow to shrink for phone */
}
.wrapper{  /* contains content on every page -- allows us to format with grid */
display: grid;
grid-gap: 20px;
}

.btn {  /* makes the small rounded buttons */
font-size: .8em;
background: var(--dark);
color: var(--light);
padding: 0.6rem 0.6rem;
text-decoration: none;
border: 0;
border-radius: 4px;
}


/* Navigation*/

.main-nav ul{
display: grid;
grid-gap: 20px;
padding: 0;
list-style: none;
grid-template-columns: repeat(5, 1fr);
}

.main-nav a{
background: var(--dark);
display: block;
text-decoration: none;
padding: 0.8rem;
text-align: center;
color: var(--primary);
text-transform: uppercase;
font-size: 1.1rem;
box-shadow: var(--shadow);
}

.main-nav a:hover{
background: var(--gold);
color: var(--medium);
}

.main-nav .icon{
display: none;
}
/* Top Container */
.top-container{
display: grid;
grid-gap: 20px;
grid-template-areas:
'showcase showcase top-box-a'
'showcase showcase top-box-b';
/* the above lays out the rows and columns and shows what goes where */
}
/* Showcase assignments */
.showcase{
grid-area: showcase;
min-height: 300px;
background-color: var(--medium);
padding: 3rem;
display: flex;
flex-direction: column;
align-items: start;
justify-content: center;
box-shadow: var(--shadow);
}
.showcase img{
float: left;
margin-right: 10px;

}
.showcase h1{
font-size: 4rem;
margin-bottom: 0;
color: var(--primary);
margin-left: 45%;
}

.showcase p{
font-size: 1.3rem;
margin-top: 0;
color: var(--dark);
}
/* Top Boxes */

.top-box{
background: var(--medium);
display: grid;
color: var(--gold);
align-items: center;
justify-items: center;
box-shadow: var(--shadow);
padding: .5rem;
}
/* below assigns the areas to the grid template above */
.top-box-a{
grid-area: top-box-a;
}
.top-box-b{
grid-area: top-box-b;
}
/* Boxes */

.boxes{
display: grid;
grid-gap: 70px;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
/* above sets it to auto fill using 200 as minimum and 1 fraction as max */
}
.box{
background: var(--light);
box-shadow: var(--shadow);
text-align: center;
padding: 1.2rem 1rem;
}

.longbox{
	background: var(--light);
	box-shadow: var(--shadow);
	text-align: center;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
	}
/* Info area */

.info{
background: rgba(44, 62, 80, 0.8);
box-shadow: var(--shadow);
padding: 2rem;
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(2, 1fr);
color: antiquewhite;
}

.info a {
color: var(--light);
text-decoration: none;
}

info a:hover {
background: var(--gold);
color: var(--dark);
}
/* Portfolio */
.portfolio{
background-color: var(--dark);
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
}
.portfolio img {
width: 200px;
box-shadow: var(--shadow);
 border: 2px groove var(--dark);
}
footer {
margin-top: 2rem;
background: var(--dark);
color: var(--gold);
text-align: center;
padding: 1rem;
}

footer a{
color: var(--light);
}
/* In this section we define how we want the page to change at different screen sizes */
/* media queries - by screen size */
@media (max-width: 700px) {
	.top-container{
		grid-template-areas:
		'showcase showcase'
		'top-box-a top-box-b';
	}
	.showcase h1{
		font-size: 2.5rem;
	}
	.main-nav ul{
	grid-template-columns: 1fr; /*fill screen with one fraction*/
	}
	.info{
	grid-template-columns: 1fr; /*fill screen with one fraction*/
	}
	.info .btn{
	display: block;
	text-align: center;
	margin-auto;
	}
}

@media (max-width: 500px) { /*makes the hamburger icon show up on small screens to show and hide buttons*/
p {

	font-size 50%;
}

	.main-nav li {
    display: none;
  }
	
	.main-nav .icon{
	display: block;
	position: absolute;
    right: 0;
    top: 0;
	}
	
  
  .main-nav.responsive a.icon {
  	display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  .main-nav.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
}
	


