* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', '', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    background-color: black;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: purple;
}

.navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1vw 8vw;
    justify-content: space-between;
    transform: translateX(0%);
    transition: 0.4s ease-in-out;
}

.navigation h1 {
    color: white;
}

nav.active {
    position: fixed;
    top: 0;
    transform: translateX(0);
    width: 100%;
    background-color: black;
    box-shadow: 0px 2px 10px purple;

}

.hamburger {
    display: none;
    cursor: pointer;
}

.canclebtn {
    display: none;
    cursor: pointer;
}

.menu ul {
    display: flex;
    flex-direction: row;
}

.menu li {
    list-style: none;
    margin: 20px;
}

.animation {
    position: relative;
    text-decoration: none;
    color: orangered;
    font-size: 20px;
}

.san_game {
    color: white;
    margin: 20px;
}

.san_page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 10px;
}

.san_image_page {
    margin: 20px;
}

.san_image {
    background-image: linear-gradient(to left, rgb(0, 0, 0), rgba(72, 5, 241, 0.287), rgba(229, 47, 6, 0.335), rgb(0, 0, 0)), url(../img/2155875-2560x1414-desktop-hd-gta-background.jpg);
    width: 100%;
    height: 60vh;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.san_vid iframe {
    outline: 2px solid purple;
    width: 100%;
}

.san_vid {
    margin: 20px;
}

.san_btn {
    margin-top: 15px;
}

.san_btn a {
    padding: 10px;
    background-color: orangered;
    color: white;
    text-decoration: none;
}

@media (max-width:1200px) {
    .hamburger {
        display: initial;
        color: white;
        line-height: 12px;
        font-weight: 1000;
    }

    .canclebtn {
        position: absolute;
        display: initial;
        color: white;
        top: 30px;
        font-size: 30px;
        right: 30px;
    }

    .navigation {
        width: 100%;
        margin-top: 20px;
    }

    nav.active {
        margin-top: 0;
        padding: 3rem;
        height: 2%;
    }

    .menu {
        position: absolute;
        width: 100%;
        top: 0;
        display: flex;
        flex-direction: column;
        left: 0;
        right: 0;
        height: 100vh;
        bottom: 0;
        background-color: black;
        opacity: 0;
        transform: translateX(50%, 100%);
        pointer-events: none;
        transition: opacity 0.4s ease-in-out, transform 0.46s ease-in-out;
    }

    .menu ul {
        position: absolute;
        top: 30px;
        display: flex;
        flex-direction: column;
    }

    .menu.active {
        pointer-events: auto;
        transform: translateX(0, 0);
        opacity: 0.94;
    }

}

@media (max-width:650px) {
    .san_game {
        color: white;
        margin: 20px;
    }

    .san_page {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
    }

    .san_image_page {
        margin: 20px;
    }

    .san_image {
        background-image: linear-gradient(to left, rgb(0, 0, 0), rgba(72, 5, 241, 0.442),
                rgba(229, 47, 6, 0.492),
                rgb(0, 0, 0)), url(../img/2155875-2560x1414-desktop-hd-gta-background.jpg);
        width: 100%;
        height: 30vh;
        background-position: center;
        background-size: cover;
        border-radius: 10px;
    }

    .san_game_descript h1 {
        text-align: center;
        font-size: 30px;
    }

    .san_vid iframe {
        outline: 2px solid orange;
        width: 100%;
    }

    .san_vid {
        margin: 20px;
    }

    .san_btn {
        margin-top: 15px;
    }

    .san_btn a {
        padding: 10px;
        background-color: orangered;
        color: white;
        text-decoration: none;
    }
}