:root{

    --name-color: rgb(254, 204, 79);
    --header-color:  rgb(45, 42, 42);

    .material-icons.md-100 { font-size: 5vw; }
}

html {
    background-color: rgb(222, 217, 209);
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(
        to top,
        rgb(169, 163, 154) 0%,
        rgb(222, 217, 209) 10%
    );
}

p {
    margin-top: 10px;
    padding: auto;

}

.flex{

    display: flex;

    height: auto;
    width: auto;
    
    flex-direction: row;
    flex-wrap: nowrap;

    row-gap: 20%;
    justify-content: center;
    column-gap: 2%;


}
.title-div{

    margin: 1%;
    padding: 0.5%;

    display: flex;
    height: auto;
    width: auto;

    flex-direction: row;
    justify-content:flex-end;
    align-items: center;
    column-gap: 9%;

    background-color: rgb(45, 42, 42);
    margin-bottom: 0%;

}
#img-container{

    background-color: rgb(255, 255, 255);
    margin: 3%;
    margin-top: 0%;
    padding: 2%;

}
h1{
    margin: 0.5%;
    padding: 1%;
    
    color: var(--name-color);
    font-size: 8vw;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;

    text-shadow: 0px 0.3vw 0.2vw rgb(159, 0, 0), 0px 0.8vw rgb(188, 73, 31), 0px 1.5vw 0.2vw black;

}
h2{ 
    margin: 0.5%;
    padding: 1%;
    
    color: var(--header-color);
    font-size: 2.75vw;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;

}
.plain-text{

    margin: 1%;
    padding: 2%;

    font-size: 1.75vw;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}

.main-img-div{

    width: 17%;
    height: 17%;
    background-color: black;
    padding: 0%;


}
.logo-div{

    width: 15%;
    height: 15%;

}
img{

    width: 100%;
    height: 100%;

    object-fit: cover;

}
.img-full img{

    border: 10px solid rgb(255, 168, 75);
    box-sizing: border-box;
    box-shadow: 0px 10px 2px rgb(159, 0, 0), 0px 20px 2px rgb(0, 0, 0);;

}
.img-full{

    width: 45%;
    height: 45%;
    padding: 0;
    margin: 0;

    object-fit: cover;
}
.hor-flex{

    display: flex;
    height: auto;
    width: auto;

    flex-direction: column;
    row-gap: 20%;
    padding: 10%;
    align-items: center;
    
}
.games-flex{
    background-color: rgb(45, 42, 42);

    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    gap: 50px;

    margin: 1%;
    margin-top: 0px;
    padding: 5%;
}
.button-home{

    background-color: rgb(217, 50, 75);
   
    border-radius: 20px;
    margin: 0.5%;
    padding: 1%;

}
.button-home:hover{

    background-color: rgb(191, 35, 89);
    transform: scalex(0.99);

}
.button-about{

    background-color: rgb(255, 168, 75);

    border-radius: 20px;
    margin: 0.5%;
    padding: 1%;

}
.button-about:hover{

    background-color: rgb(233, 138, 88);
    transform: scalex(0.99);

}
.button-games{

    background-color: rgb(75, 195, 151);

    border-radius: 20px;
    margin: 0.5%;
    padding: 1%;

}
.button-games:hover{

    background-color: rgb(53, 164, 148);
    transform: scalex(0.99);

}
.button-contact{

    background-color: rgb(63, 133, 176);

    border-radius: 20px;
    margin: 0.5%;
    padding: 1%;

}
.button-contact:hover{

    background-color: rgb(52, 105, 162);
    transform: scalex(0.99);


}
a.button {
    display: block;
    width: 75%;
    text-decoration: none;
    color: var(--header-color);
    font-size: 40px;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    text-align: center;
}
.end-buffer{

    height: 225px;


}

.img-wrap{

    align-items: flex-start;
    gap: 5%;
    display: flex;
    height: auto;
    width: auto;

    flex-direction: row;
    justify-content: space-between;

    
}

.hor-flex-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* instead of center */
    padding: 2%;             /* reduce this A LOT */
    row-gap: 10px;           /* use px instead of % */
}
img.game-img:hover {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

#silly-guy-pics{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;

    padding: 15px;
    margin: 0px;
    column-gap: 15%;

    width: 100%;
    height: 100%;
    
    background-color: rgb(222, 217, 209);
    border-radius: 25px;
}

.contact-flex{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    text-align: center;


    column-gap: 5%;

    text-decoration: none;

}
.cont-button{

    border-radius: 25px;

}

#img1{
    width: 15vw;
    height: 15vw;
    background-position: center center;
    background-image: url("nuke.gif");
    background-size: 15vw;
    background-repeat: no-repeat;
    border-radius: 20px 5px 5px 20px;

}
#img2{
    width: 15vw;
    height: 15vw;
    background-position: center center;
    background-image: url("wiggleorb.gif");
    background-size: 15vw;
    background-repeat: no-repeat;
    border-radius: 5px;

}
#img3{
    width: 15vw;
    height: 15vw;
    background-position: center center;
    background-image: url("wigglespike.gif");
    background-size: 15vw;
    background-repeat: no-repeat;
    border-radius: 5px 20px 20px 5px;

}

.about-inner {
justify-self: center;
  width: 100%;
  max-width:1100px;
  background-color: white;
  padding: 2%;
}