* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 1px;
}

body {
    color: white;    
    font-family: sans-serif;
    background-color: #192a51;
}


/* header: navbar */

li, a, i, button {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

header img {
    width: 60px;
    
}

header {
    display: flex ;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px ;
    background-color: #1d3772;
}

.menu {
    list-style: none;
   
    padding: 1% 50px;
}

.menu li {
    display: inline-block;
    padding: 15px 20px;
    
}

.menu i {
    padding: 15px 12px;

}

.logo {
    cursor: pointer;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #192a51;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #568cc9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  body.loading {
    overflow: hidden;
  }

/* BROWSE OUR GAMES*/

.browse h2 {
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 50px;
}

/* PRODUCTS */

 .categories {
    font-size: 1.2rem;
 }

.small-container {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.row-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}



.row-1 img {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.col-1 h4, .col-1 p {
    margin-bottom: 5px;
}

.pre {
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 100;
    background-color: #1B203C;
    color: rgb(221, 221, 221);
    border: solid;
    border-width: thin;
    border-radius: 10px;
    margin-top: 10px;
    padding: 2px 50px;
   
}


button {
    background-color: #1e74cf;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 40px auto;
    flex-wrap: wrap;
    text-align: center;
}



/* FOOTER */

footer {
    width: 100%;
    bottom: 0;
    padding: 10px 5px;
    border: 125px;
    font-size: 0.8rem;
    line-height: 18px;
    background: linear-gradient(to right, #568cc9, #1d346b);
}

.row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    
}

.col img {
    max-width: 100%;
    width: 150px;
    margin-bottom: 10px; 
}

col {
    flex-basis: 15%;
    padding: 10px;
} 

.col h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    
} 

.col h3 {
    
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
}

.col h5 {
    font-size: 0.8rem;
    margin-top: 20px;
    letter-spacing: 1px;
}

.col ul li {
    list-style: none;
    line-height: 20px;
    font-weight: 100;
    font-size: 0.5rem;
}

form {
    padding-bottom: 10px;
    display: flex;
    border-bottom: 1px solid rgb(131, 150, 189);
    margin-bottom: 10px;
    
}

form input {

    padding: 0 5px;
    background: transparent;
    border: 0;
}

form button {
    background: transparent;
    border: 0;
    padding: 2.5px;
    opacity: 50%;
}

  
    @media screen and (max-width: 768px) {
        /* nav */
   
       header img {
           width: 80px;
       }
   
       header {
           justify-content: center;
           text-align: center;
           gap: 20px;
           font-size: 2rem;
       }
   
       
       .menu {
        padding: 5px;
       }

       .menu li {
           display: flex;
           flex-direction: column;
           justify-content: center;
           text-align: center;
       
           padding: 5px;
           gap: 20px;
       }
   
       .menu a {
           font-size: 1.6rem;
           background-color: #182747;
           border-radius: 8px;
           padding: 2px;
       }
   
       .menu i {
           flex-direction: row;
            font-size: 2rem;
       }

       input[type=email]::placeholder {
        color: rgb(199, 199, 199);
    }
    
    }

 @media screen and (max-width: 1024px) {
        
    .small-container {
        padding: 50px;
        max-width: 900px;
        margin: 0 auto;
    }

        .row-1 img {
           
            max-width: 350px;
        
        }

        button {
            background-color: #1e74cf;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .row-1 i {
            font-size: 1.8rem;
        }

        .row-1 p {
            margin-bottom: 15px;
            margin-top: 10px;
            font-size: 1.6rem;
        }

       }

@media screen and (max-width: 850px) { 

.row-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.row-1 img {
           
    max-width: 400px;

}

.browse h2 {
    font-size: 1.5rem;
}

}