* {
    box-sizing: border-box;
}

body {
    background-color: #FFE100;
    color: white;
    text-align: center;
    margin: 0;
    font-family: Arial;
}

/* ===== Scrollbar ===== */

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #FFC900;
}

::-webkit-scrollbar-thumb {
    background: #eeff00;
    border: 3px solid black;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7f9407;
}

/* ===== NAV ===== */

nav {
    width: min(90%, 1100px);
    margin: 20px auto;
    background: linear-gradient(to bottom, #FFC900, #FF9B00);
    border: 5px solid black;
    border-radius: 20px;
    padding: 10px;
}

.icon img {
    width: 110px;
    height: 110px;
    border-radius: 100px;
}

.buttons {
    margin-top: 10px;
}

.buttons button {
    background-color: rgb(215, 4, 0);
    border-radius: 10px;
    width: 170px;
    height: 40px;
    font-size: 20px;
    border: 2px solid black;
    cursor: pointer;
    margin: 5px;
    transition: 0.3s;
}

.buttons button:hover {
    transform: translateY(-10px);
    background-color: #ffc157;
}

/* ===== BOX ===== */

.boxs {
    width: min(95%, 1100px);
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(to top, #FFC900, #FF9B00);
    border-radius: 30px;
    border: 6px solid black;
}

.box {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    margin: 15px;
    padding: 15px;
    min-height: 300px;
    background: linear-gradient(to right, #cb5100, #ffb300, #c26e00, #d8971e);
    border-radius: 30px;
    border: 3px solid black;
    transition: 1s;
}

.skills:hover {
    transform: translateX(-40px) rotateY(-30deg) rotateZ(-10deg);
}

.data:hover {
    transform: translateX(40px) rotateY(30deg) rotateZ(10deg);
}

/* ===== PROJECTS ===== */

.projects {
    columns: 2;
}

.games {
    break-inside: avoid;
    margin-bottom: 20px;
}

.game_image {
    width: 250px;
    height: 200px;
    border-radius: 20px;
    border: 10px solid #b96f00;
    transition: 0.6s;
}

.game_image:hover {
    transform: translateY(-20px);
}

/* ===== SOCIAL ===== */

#social_images {
    width: 260px;
    height: 260px;
    border-radius: 30px;
    border: 10px solid #b96f00;
    transition: 0.5s;
}

#social_images:hover {
    filter: brightness(40%);
    box-shadow: 0 0 10px 10px black;
}

/* ===== MOBILE ===== */

.mobile {
    display: none;
}

@media (max-width: 800px) {

    .mobile {
        display: block;
    }

    .box {
        width: 90%;
        transform: none !important;
    }

    .projects {
        columns: 1;
    }

    .game_image {
        width: 90%;
        height: auto;
    }

    .buttons button {
        width: 90%;
        font-size: 16px;
    }

    #social_images {
        width: 180px;
        height: 180px;
    }
}