.gray-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 200px;
  }
  
.gray-box {
    background-color: black;
    padding: 20px;
    border: 1px solid #ddd;
    color: white;
    border-radius: 10px;
    width: 30%;
    margin: 3%;
    display: flex;
    align-items: center;
}
  
.gray-box img {
    margin-right: 20px;
}
  
.logo {
    font-size: 24px;
    background: -webkit-linear-gradient(#26283b, #595b6e);
    display: inline-block;
    padding-left: 0.3em;
    padding-right: 0.3em;
    border-radius: 0.25em;
    color: white;
    width: 100px;
}
  
html {
    height: 100%;
}
  
body {
    background-image: url('../images/unnamed.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    margin: 0;
    background-attachment: fixed;
}
.game-modes {
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
    padding: 20px;
}
  
.game-modes h2 {
    font-size: 60px;
    margin-bottom: 10px;
    font-family: 'League Gothic', sans-serif;
}
  
.game-modes p {
    font-size: 30px;
    margin-bottom: 20px;
    font-family: 'League Gothic', sans-serif;
}
  
.game-modes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 25px;
    font-family: 'League Gothic', sans-serif;
}
  
.game-modes li {
    margin-bottom: 10px;
}
  
.game-modes li:before {
    content: "-";
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
}
.text {
    font-family: "Riot Games", sans-serif;
    font-size: 18px;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    width: 55%;
}

@media only screen and (max-width: 1100px) {
    .gray-box {
        flex-direction: column;
    }
}