
*{
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: white;
}
.main-grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, minmax(auto, 25em)1fr); 
}
header {
    background-image: url("img/bg\ header.jpg");
    animation: animate 40s infinite;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
    grid-column: 1/-1;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
}
@keyframes animate {
    25%{
       background-image: url(img/1.png);
       background-size: cover;
    }
    50%{
       background-image: url(img/11.png);
       background-size: cover;
    }
    75%{
       background-image: url(img/2.png);
       background-size: cover;
    }
    100%{
       background-image: url(img/ddlcwebp.png);
       background-size: cover;
    }
   }
nav {
    font-size: 30px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}
.logo {
    height: 100%;
}
h1,p {
    font-family: Arial, Helvetica, sans-serif;
}
.menu ul {
  display: flex;
  list-style: none;
}
.menu ul li {
    padding:2em 2em;
}
.menu ul li a {
    color: white;
    text-decoration: none;
    transition: 0.6s;
}
.menu ul li a:hover {
    color: rgb(136, 215, 255);
    transition: 0.6s;
}
.banner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.banner h1 {
    font-size: 60px;
}
.banner p {
    font-size: 30px;
    text-align: center;
    max-width: 40%;
    padding: 50px 0;
}
.button {
    background: #002fff;
    color: pink;
    padding: 15px 50px;
    border-radius: 15px;
    transition: 0.6s;
}
.button:hover{
    background: pink;
    color:#002fff;
    transition: 0.6s;
}
.games {
    grid-column: 2/-2;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 100px;
}
.tiless {
    grid-column: 2/-2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    margin-bottom: 100px;
}
 .item {
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: 1;
    overflow: hidden
}
 .item img {
    grid-column: 1/-1;
    grid-row: 1/-1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
   
}
.item_overlay {
    background: rgba(0,0,0,0.5);
    grid-column: 1/-1;
    grid-row: 1/-1;
    z-index: 2;
    display: grid;
    justify-items: center;
    align-items: center;
    color: white;
    
}
.item_overlay h3 {
    color: white;
    padding: 15px 50px;
    transition: 0.6s;
    font-size: 30px;
}
.item_overlay h3:hover {
    color:#98abff ;
    transition: 0.6s;
}
.item:hover .item_img {
    transform: scale(1.15);
    transition: 0.6s;
   
}
footer {
    background: black;
    grid-column: 1/-1;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 30px;
    border-top-left-radius: 15px;
    border-top-right-radius:15px ;
}
.logotwo {
    width: 80px;
   margin-right: 1250px;
   margin-top: -80px;
}
.item:hover {
    cursor: pointer;
}
