@font-face {
  font-family: "Source Sans Pro";
  src: url(../fonts/SourceSansPro-Regular.ttf);
}
html{
  scroll-behavior: smooth;
}

head {text-align: center;}
body {
  background-image: url("../images/TwitchOBSlayoutBackground.png"); 
  height: 25px;
  color: rgba(0,0,0,0.87); 
  font-family: Helvetica, sans-serif;
  margin: 0;
}
.message {
  background: rgba(46, 69, 20, .9); 
  max-width: 90%; 
  margin: 2.5% auto 16px; 
  padding: 32px 24px; 
  border-radius: 5px;
}
.message h2 { 
  color: white;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
  font-weight: normal;
  font-size: 16px; 
  margin: 0 0 8px; 
}
.message h1 { 
  font-size: 22px; 
  font-weight: 300; 
  color: white;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
  margin: 0 0 16px; 
}
.message p { 
  line-height: 140%; 
  margin: 16px 0 24px; 
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
}
.message img { box-shadow: 5px 5px ; 
  display: block; text-align: center; 
  background: green; 
  text-transform: uppercase; 
  text-decoration: none; 
  color: rgba(0, 0, 0, 0.5); 
  padding: 16px; 
  border-radius: 4px;
}

.message a {
  color: #66ff00;
}

.message { 
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

#load { color: rgba(255, 255, 255, 0.4); text-align: center; font-size: 13px; }

.box{display: flex; justify-content: space-between;}

#links {margin-top: 24px;}

.topnav {
  background-color: #2f4228;
  overflow: hidden;
  padding-left: 4%;
  padding-right: 4%;
}

/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: #f2fbeb;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
border-radius: 5px;
}

/* Change the color of links on hover */
.topnav a:hover {
background-color: rgb(180, 228, 141);
color: green;
}

/* Add a color to the active/current link */
.topnav a.active {
background-color: #17aa04;
color: white;
}

.topnavDropdown {
  background-color: #2f4228;
  overflow: hidden;
  width: 100%;
  display: none;
}

.topnavDropdown li {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  list-style: none;
  border-radius: 5px;
}

.topnavDropdown a {
  color: #f2fbeb;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  border-radius: 5px;
  padding: 15px;
}

.topnavDropdown a li:hover {
  background-color: rgb(180, 228, 141);
  color: green;
}

.topnavDropdown a.active li {
  background-color: #17aa04;
  color: white;
}

#topnavDropdownItems {
  display: none;
}

.iframe {
  border-radius: 3px;
  box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
}

.leftImage {
  width: 800px; height: 500px; margin-right: 25px;
}

.rightText {
  width: 800px;
}

footer {
  text-align: center;
  background-color: #2f4228;
  padding-top: 15px;
  padding-bottom: 25px;
  color: white;
}

section {
  padding: 0px 1%;
}

section article {
  width: 100%;
}

.gameContainer {
  text-align: center;
}

.game img {
  border: 8px solid #618e3f;
  padding: 0;
  object-fit: cover;
  transition: scale .2s ease-out;
  width: 500px; height: 350px; 
}
.game img:hover {
  scale: 1.05;
}

.game h2 {
  padding-top: 15px;
  font-size: 1.25em;
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.5);
}
.game h3 {
  padding-bottom: 15px;
  color: rgb(214, 214, 214);
  font-size: 16px;
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.5);
}

.games {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.sectionPortfolio {
  width: 450px;
  padding-top: 130px;
  padding-bottom: 120px;
  text-align: center;
  border-radius: 25px;
  box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
  background: black;
}

.box a {
  scale: 1.0;
  text-decoration: none;
  transition: scale .2s ease-out;
}

.box a:hover{
  scale: 1.05;
  z-index: 2;
}

.box a h1 {
  scale: 1.0;
  transition: all .2s ease-out;
}

.box a:hover h1 {
  scale: 1.2;
}

.linkIcon {
  font-size: 82px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease-out;
}

.linkIcon:hover {
  text-shadow: 5px 5px rgba(0, 0, 0, 0.5);
}

button {
  border-style: none;
}

#mobileNavBar {
  display: none;
}

@media screen and (max-width: 1400px) {
  section {
    padding: 0px 1%;
  }
  .box a:hover{
    scale: 1;
    z-index: 0;
  }
}

@media screen and (max-width: 800px) {
  .box{
    display: block;
    align-items: center;
  }
  .topnav {
    display: none;
  }
  .topnav a {
    font-size: 25px;
  }

  .topnavDropdown {
    display: block;
  }

  #mobileNavBar {
    display: block;
  }

  .leftImage{
    width: auto;
    margin-right: 0;
  }
  .rightText {
    padding-top: 25px;
    width: auto;
  }
  .sectionPortfolio {
    align-self: center;
    width: 100%;
  }
  .games {
    width: 100%;
  }
  .gameContainer {
    width: 100%;
    text-align: center;
  }

  .game {
    width: 100%;
  }
  
  .game img {
    border: 8px solid #618e3f;
    padding: 0;
    object-fit: cover;
    width: 100%;
  }

}