@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Pinion';
    src: url('/src/Pinion-L3MWZ.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #000;
}
::-webkit-scrollbar
{
	width: 6px;
	background-color: #ffffff;
}
::-webkit-scrollbar-thumb
{
	background-color: #ffffff;
    border-radius: 8px;
}

body {
    overflow-x: hidden;
    user-select: none;
}
img {
    pointer-events: none;
}
h1, h2 {
    user-select: text;
}
::-moz-selection {
    color: black;
    background: white;
  }
  
  ::selection {
    color: black;
    background: white;
  }

.hero-title {
    font-family: 'Pinion', sans-serif;
    text-shadow: 1px 4px 7px rgba(0,0,0,0.6);
}
.roboto {
    font-family: "Roboto", sans-serif;
}
.quicksand {
    font-family: "Quicksand", sans-serif;
    color: rgb(126, 16, 16);
}
.space-x-6 {
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
}

#games-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    margin-top: 20px;
    width: 100%;
}

.game-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.game-icon {
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.game-container:nth-child(3) .game-icon {
    width: 240px;
    height: 240px;
}
.game-container:nth-child(2) .game-icon,
.game-container:nth-child(4) .game-icon {
    width: 200px;
    height: 200px;
}
.game-container:nth-child(1) .game-icon,
.game-container:nth-child(5) .game-icon {
    width: 160px;
    height: 160px;
}

.game-info {
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    margin-top: 5px;
}

.game-name {
    font-weight: bold;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
}

.game-playing {
    color: green;
    font-family: "Roboto", sans-serif;
    font-size: .8rem;
}

.game-visits {
    color: gray;
    font-family: "Roboto", sans-serif;
    font-size: .8rem;
}

.button-scale {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    border-radius: 0.25rem;
    transition: transform 0.2s ease-in-out;
}

.button-scale:hover {
    transform: scale(1.05);
}

.button-border {
    background-color: white;
    color: black;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    border-radius: 0.25rem;
    border: 2px solid transparent;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.button-border:hover {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: scale(1.05);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; 
}
.game-icon2 {
    width: 100%;
    height: full;
    object-fit: cover;
    border-radius: 10px;
}

.paddingupdown {
    padding: 0.75%;
    color: #ffffffbe;
}

.contact-section {
    width: 98%;
    margin: 0 auto;
    background-color: #FDEE00; background-image: linear-gradient(319deg, #FDEE00 0%, #ff8243 37%, #f94d00 100%);
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2%;
}

.contact-heading {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1%;
    margin-top: 2%;
    color: white;
}

.profile-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 1rem;
    padding-bottom: 2%;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pfp {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
}

.pfp-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: #00ff00;
    border-radius: 50%;
    border: 2px solid white;
}

.username {
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.text-button {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.text-button:hover {
    transform: scale(1.05);
}

.roblox-button {
    background-color: #0078d7;
}

.email-button {
    background-color: #d44638;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    #games-list {
        flex-direction: column;
        gap: 1rem;
    }

    .game-container:nth-child(3) .game-icon {
        width: 180px;
        height: 180px;
    }
    .game-container:nth-child(2) .game-icon,
    .game-container:nth-child(4) .game-icon {
        width: 150px;
        height: 150px;
    }
    .game-container:nth-child(1) .game-icon,
    .game-container:nth-child(5) .game-icon {
        width: 120px;
        height: 120px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
    }

    .profile-pfp {
        width: 100px;
        height: 100px;
    }

    .username {
        font-size: 1rem;
    }

    .text-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .game-container:nth-child(3) .game-icon {
        width: 120px;
        height: 120px;
    }
    .game-container:nth-child(2) .game-icon,
    .game-container:nth-child(4) .game-icon {
        width: 100px;
        height: 100px;
    }
    .game-container:nth-child(1) .game-icon,
    .game-container:nth-child(5) .game-icon {
        width: 80px;
        height: 80px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
        padding: 5px;
    }

    .contact-heading {
        font-size: 1.5rem;
    }

    .profile-pfp {
        width: 80px;
        height: 80px;
    }

    .username {
        font-size: 0.875rem;
    }

    .text-button {
        padding: 4px 8px;
        font-size: 0.625rem;
    }
}


nav {
    position: relative;
}

#nav-links {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
    #nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: black;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 1rem 0;
        display: none;
    }

    #nav-links.active {
        display: flex;
    }

    #nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
}

.discord-invite {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-bottom: 30px;
}

.discord-button {
    background-color: #5865F2;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.discord-button:hover {
    background-color: #4752C4;
    transform: scale(1.05);
}
