

li {
  float: right;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 23px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: #111;
    color:white
}
body {
    background-color: #1c1c1c;
}
.logo {
    align-self: flex-start;
}
h1 {
    color: white;
}
h2 {
    color: white;
}




.topnav {
  overflow: hidden;
  background-color: yellow;
}

.topnav a {
  float: right;
  display: block;
  color: #000;
  text-align: center;
  padding: 23px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: black;
  color: white;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.toplinks {
 float: left;   
}

/* cool box design things*/ 

/*.box1 {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(5, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
background-color: #101010;
}

.boxtitle { grid-area: 1 / 1 / 2 / 6; }
.boximage { grid-area: 2 / 1 / 4 / 3; }
.boxtext { grid-area: 2 / 3 / 6 / 6; } 
*/
/* image stuffs*/ 

.responsive {
  max-width: 100%;
  
  height: auto;
}

/* button stuffs */
.hoverbutton {
  display: inline-block;
  border-radius: 4px;
  background-color: yellow;
  border: none;
  color: #000000;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 200px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;

}

.hoverbutton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.hoverbutton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

/* FIX THIS */
.hoverbutton:hover span {
  padding-right: 25px;
}

.hoverbutton:hover span:after {
  opacity: 1;
  right: 0;
}
