body{
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background: linear-gradient(rgb(255, 255, 255), rgb(0, 0, 0))
}

@font-face {
    font-family: "pixel";
    src: url("../Fonts/dogicapixel.ttf");
}



.start{
    width: 100vw;
    height: 100vh;

    
    .bg{
        position: absolute;
        width: 100vw;
        height: 100vh;
        z-index: -1;
    }
    .logo{
        position: absolute;
        width: 100svw;
        height: 100svw;
        padding-left: 5%;
        padding-top: 5%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 0rem;

        h1{
            font-family: "pixel";
            color: black;
            transform: translate(-2%, -50%);
            font-size: 5vw;
        }
    }
    
    .logo img{
        top: 0;
        left: 0;
        width: 30%;
        height: 30%;
    }
}


.wrapper{
    overflow-x: hidden;
    position: relative;
}

.games{
    width: 50svw;
    height: 60svh;
    margin-left: 5svw;
    margin-top: 0;
    word-wrap: break-word;
    display: flex;
    align-items:center;
    overflow: hidden;
    transition: 0.1s linear;

    p{
        font-size: 1rem;
        padding: 2rem;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.games:hover{

    width: 52svw;
    height: 62svh;

    background: rgba(168, 124, 62, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.glas:hover{
    width: 52svw;
    height: 62svh;

    background: rgba(168, 124, 62, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.toolImages{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    gap: 1%;
    padding: 5%;

    div{
        width: 98%;
        height: 98%;
        align-content: center;
    }
}

.grid-item {
    width: 100%;
    border-radius: 20px;
}

.glas{
    width: 50svw;
    height: 60svh;
    margin-left: 5svw;
    margin-top: 0;
    word-wrap: break-word;
    display: flex;
    align-items:center;
    overflow: hidden;
    transition: 0.1s linear;

    p{
        font-size: 1rem;
        padding: 2rem;
    }

    .projectslink{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.contact{
    width: 95svw;
    height: 10svh;
    left: 50%;
    top: 90%;
    transform: translate(-50%,-50%);
    position: relative;
    word-wrap: break-word;
    align-items: center;

    div{
        width: 100%;
        height: 100%;
        display: flex;
        align-items:center;

        a{
            height: 100%;
            width: 100%;
            align-content: center;
            img{
                margin-left: 50%;
                transform: translateX(-50%);
                height: 50%;
                transition: 0.1s linear;
            }
            img:hover{
                height: 55%;
            }

            div{
                height: 100%;
                width: 100%;
                
            }
        }

       
    }

    p{
        font-size: 150%;
        margin: 0;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.about
{
    width: 40vw;
    height: 65svh;
    margin-left: 5svw;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    .logo-icon{
        width: 35vw;
        border-radius: 20px;
    }

    p{
        font-size: 1rem;
        padding: 2rem;
    }

    img{
        height: 50%;
        border-radius: 20px;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
}

.bg{
    position: absolute;
    object-fit: fill;
    border: 0;
    width: 100svw;
    height: 100svh;
    z-index: -2;
    overflow: hidden;
    }


.container{
    display: flex;
    flex-direction: row;
    width: 300vw;
    height: 100vh;

    section{
        width: 100vw;
        padding: 0,0;
        border: 0;

        h1{
            font-family: "pixel";
            font-size: 5vw;
            margin-left: 5vw;
            margin-top: 5vw;
        }
    }
}

.sliderwrapper:hover{
    div{
        
        img{
            transform: scale(1.01);
        }
    }
    
}

.sliderwrapper{
    position: absolute;
    width: 95%;
    display: flex;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    overflow: hidden;
    border-radius: 20px;

    .gamelink{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
    }

    div{
        width:  100%;
        display: flex;
        animation: scroll calc(10s * 3) linear infinite;
        gap: 1rem;

        img{
            width:  100%;
            display: flex;
            border-radius: 20px;
            transition: 0.1s linear;
        }
    }
}
@keyframes scroll{
    to{
        transform: translate(calc((-100% - 1rem) * 3));
    }
}

.end{
    width: 100vw;
    height: 100vh;
    h1{
        position: absolute;
        font-family: "pixel";
        font-size: 5vw;
        margin-left: 5vw;
        margin-top: 5vw;
    }
    
}

@media only screen and (max-width: 800px) {

    .start .logo{
        align-items: center;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-left: 0%;
        padding-top: 0%;
        gap: 1rem;

        h1{
            font-family: "pixel";
            color: black;
            transform: translate(0, -50%);
            font-size: 10vw;
        }

        img{
            width: 80%;
            height: 80%;
        }
    }

    .bg {
        position: absolute;
        object-fit: cover;
        border: 0;
        width: 100svw;
        height: 100lvh;
        z-index: -2;
        overflow: hidden;
    }

    .container{
        flex-direction: column;
        width: 100svw;
        height: 300vh;
        overflow: hidden;

        section{
            height: 100vh;
        }
    }

    .about {
    width: 90svw;
    height: 85svh;
    margin-left: 5svw;
    margin-top: 5svw;
    word-wrap: break-word;

    .logo-icon{
        display: none;
    }

    p{
        font-size: 3.5vw;
        padding: 2.5rem;
        text-align: center;
        align-items: center;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    }

    .glas{
        width: 90svw;
    height: 60svh;
    margin-left: 5svw;
    margin-top: 5svw;
    word-wrap: break-word;

    p{
        font-size: 20px;
        padding: 2.5rem;
        text-align: center;
        align-items: center;
    }

    background: rgba(92, 127, 137, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    }

.glas:hover{
    width: 90svw;
    height: 90svh;

    background: rgba(168, 124, 62, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
} 


    .games{
        width: 90svw;
        height: 90svh;
        margin-left: 5svw;
        margin-top: 5svw;
        word-wrap: break-word;
        display: flex;
        align-items:center;
    
        p{
            font-size: 1rem;
            padding: 2rem;
        }
    
        background: rgba(92, 127, 137, 0.11);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgb(30, 30, 30);
        box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    }
    
.games:hover{

    width: 90svw;
    height: 90svh;

    background: rgba(168, 124, 62, 0.11);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgb(30, 30, 30);
    box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
} 


    .sliderwrapper{
        position: absolute;
        width: 95vmin;
        height: 100%;
        display: flex;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        overflow: hidden;
        border-radius: 20px;
    
        .gamelink{
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }
    
        div{
            width:  100%;
            height: 100%;
            display: inline-block;
            animation: scroll calc(10s * 3) linear infinite;
            overflow: hidden;
            margin: 1rem;
    
            img{
                width:  100%;
                height: 30%;
                border-radius: 20px;
                padding-top: 0.2rem;
                padding-bottom: 0.75rem;
            }
        }
    }
    @keyframes scroll{
        to{
            transform: translateY(0);
        }
    }

    .contact{
        width: 40svw;
        height: 85svh;
        left: 25%;
        top: 55%;
        position: relative;
        word-wrap: break-word;
        align-items: center;
    
        div{
            width: 100%;
            height: calc(100% /6 + 7);
            display: flex;
            flex-direction: column;
    
            a{
                height: 100%;
                width: 100%;
                align-content: center;
                img{
                    width: 40%;
                    height: auto;
                    transition: 0.1s linear;
                }
                img:hover{
                    width: 45%;
                    height: auto;
                }
            }
    
           
        }
    
        p{
            display: none;;
            font-size: 150%;
            margin: 0;
        }
    
        background: rgba(92, 127, 137, 0.11);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgb(30, 30, 30);
        box-shadow: 0 8px 32px 0 rgba(0,0,0,1);
    }
}

