:root{
    --color-1:#0f1016;
    --text-color:#f0f0f0;
    --accent-color:#006aff;
}
*{
    margin: 0;
    padding: 0;
}
html{
    font-size: larger;
}
.heading{
    color: #f0f0f0;
    margin: auto auto auto 24px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    animation: heading 3s ease-in-out 6s infinite alternate-reverse;
}
@keyframes heading {
    from{color:#f0f0f0;}
    to{
        background: linear-gradient(to right, violet, purple);
        background-clip: text;
        color: transparent;
    }
}
nav{
    height: 10vh;
    background-color:var(--color-1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.links-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav a{
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}
nav a:hover{
    background-image: linear-gradient(to bottom right,#008cff,#e100ff);
}
nav .home-link{
    margin-right: auto;
}
nav svg{
    fill:var(--text-color)
}
#sidebar-active{
    display: none;
}
.open-sidebar, .close-sidebar{
    display: none;
}
@media(max-width:2500px) {
    .links-container{
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 40vw;
        background-color: var(--color-1);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.25);
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar, .close-sidebar{
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container{
        right: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
}
.dsgimg{
    background-image: url("https://wallpaperaccess.com/full/2130690.jpg");
    background-size: cover;
    min-height:100vh;
    min-width: 100vw;
    background-repeat: no-repeat;
}
.headers{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.bg{
    font-size: 7vh;
    padding: 10px;
    display: flex;
    max-height: 20vh;
    width: 70vw;
    color: brown;
    margin: 3vh;
    justify-content: center;
    background-color: rgba(255 ,255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    animation: lft 3s ease-in-out 3s infinite alternate-reverse;
}
.bg2{
    font-size: 7vh;
    padding: 10px;
    display: flex;
    width: 70vw;
    color: crimson;
    margin: 3vh;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    animation: appear 3s ease-in-out 0s infinite alternate-reverse;
}
@keyframes lft {
    from{margin: 3vh;}
    to{margin: -100vh;}
}
.buttons{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
#b1{
    font-size :3vh;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
    background-image: url("https://wallpaperaccess.com/full/944291.jpg");
    color: aqua;
}
#b2{
    font-size:3vh;
    background-image: url("https://th.bing.com/th/id/OIP.XlzitQh6UDoLKpks9O2rlgHaEo?rs=1&pid=ImgDetMain");
    color:crimson;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
}
#b3{
    font-size:3vh;
    background-image: url("https://images3.alphacoders.com/100/1007428.jpg");
    color:midnightblue;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
}
#b4{
    font-size:3vh;
    background-image: url("https://wallpapercave.com/wp/wp3113575.jpg");
    color:chartreuse;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
}
#b5{
    font-size:3vh;
    background-image: url("https://wallpaperaccess.com/full/59110.png");
    color:aquamarine;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
}
#b6{
    font-size:3vh;
    background-image: url("https://staticg.sportskeeda.com/editor/2023/05/59948-16831302812524-1920.jpg");
    color:blueviolet;
    font-family: "Roboto", sans-serif;
    font-weight:900;
    font-style:normal;
    width:30vw;
    height:30vh;
    align-self:center;
    margin:3vh;
    padding:1vh;
    border-radius: 60px;
    border:4px solid whitesmoke;
}
.box:hover{
    display:flex;
    opacity: 1;
    transform: translateZ(300px);
}
.box{
    transition: .5s;
    min-width: 290px;
    opacity: 0;
    min-height:220px;
}
.buttons{
    transform-style: preserve-3d;
    transform: perspective(3000px);
}