p {
    line-height:25px;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e5e3f9;
    color: #9556d6;
}
#valorant-peak-act {
    font-size: 12px;
    margin: 0px 90px 0px;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #cbc9ff;
    color: #9556d6;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

nav {
    background-color: #cbc9ff;
    padding: 5px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #9556d6;
    text-decoration: none;
    font-weight: bold;
}

section {
    max-width: 800px;
    margin: 20px auto;
    background: #f2f0f6;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.team, .rank, .setup-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.team-logo, .game-logo, .equipment-img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

h2 {
    border-bottom: 2px solid #9556d6;
    padding-bottom: 5px;
}

h3 {
    margin: 10px 0 5px;
}

ul {
    list-style: none;
    padding: 0;
}
ul li {
    background: #cbc9ff;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}
.rank-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Socials Section in Menu */
.socials {
    text-align: center;
    padding: 5px;
    margin-top: 10px;
}

    .socials h3 {
        margin-bottom: 0px;
        color: #9556d6;
    }

    .socials a {
        display: inline-flex; /* Change from block to inline-flex for horizontal layout */
        color: #9556d6;
        text-decoration: none;
        font-weight: bold;
        padding: 10px;
    }

        .socials a:hover {
            text-decoration: underline;
        }

        .socials a img {
            width: 30px;
            height: 30px;
            transition: transform 0.2s;
        }

            .socials a img:hover {
                transform: scale(1.1);
            }

/* Hamburger Button */
.menu-toggle {
    display: none; /* Hide by default */
    font-size: 30px;
    background: none;
    border: none;
    color: #9556d6;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show the button on small screens */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: #cbc9ff;
        position: absolute;
        top: 60px;
        right: 20px;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    }

        /* Make mobile menu vertical */
        .nav-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            text-align: center;
        }

            .nav-menu ul li {
                padding: 10px;
            }

        .nav-menu.show {
            display: flex;
        }

    /* Socials Section in Menu */
    .socials {
        text-align: center;
        padding: 10px;
        margin-top: 10px;
    }

        .socials h3 {
            margin-bottom: 5px;
            color: #9556d6;
        }

        .socials a {
            display: inline-flex; /* Change from block to inline-flex for horizontal layout */
            justify-content: center;
            align-items: center;
            color: #9556d6;
            text-decoration: none;
            font-weight: bold;
            padding: 5px;
        }

            .socials a:hover {
                text-decoration: underline;
            }

            .socials a img {
                width: 30px;
                height: 30px;
                margin: 5px;
                transition: transform 0.2s;
            }

                .socials a img:hover {
                    transform: scale(1.1);
                }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
        }

        .nav-menu {
            width: 200px;
        }
    }
}