/* --------------------------------------- *\
                    Fonts
/* ---------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');


/* --------------------------------------- *\
                  Utilities
/* ---------------------------------------- */

* {
    margin: 0;
    padding: 0;
    outline: 0;
}

ul,li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img {
    vertical-align: middle;
}

body {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 1170px;
}

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


/* --------------------------------------- *\
                Navber Section
/* ---------------------------------------- */

.for-mobile,
.navbar-logIn {
    width: 100%;
    background: #2D25A0;
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-btn a,
.menu a {
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.menu a {
    padding-right: 36px;
}

.menu a:hover {
    color: #E02C6D;
}

.login-btn a {
    padding: 10px 24px;
    background: #E02C6D;
}

.login-btn a:hover {
    background: #2f90eb;
}

.fa-sign-in-alt {
    padding-right: 8px;
}

.for-mobile {
    display: none;
}



/* --------------------------------------- *\
                Banner Section
/* ---------------------------------------- */

.banner {
    width: 100%;
    background: #2D25A0;
    display: flex;
    justify-content: center;
    padding: 49px 0 86px;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-info h1 {
    color: #ffffff;
    font-size: 64px;
    font-weight: 700;
    line-height: 80px;
}

.banner-button {
    margin-top: 27px;
}

.banner-button {
    transition: transform linear 0.8s;
}

.banner-button:hover {
    transform: scale(1.5) translateX(78px);
}

.banner-button a {
    color: #ffffff;
    background: #E02C6D;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 10px 24px;
}

.banner-button a i {
    padding-left: 8px;
}

.banner-image img {
    width: 556px;
    height: 438px;
}


/* --------------------------------------- *\
                Player Section
/* ---------------------------------------- */

.player-container {
    width: 1050px;
    margin: 70px 0px;
}

.players {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 27px;
    grid-column-gap: 30px;
}

.player {
    width: 300px;
    padding: 15px;
    box-shadow: 0 0 5px #9e9e9e;
}

.player-image img {
    width: 300px;
    height: 256px;
}

.player-intro h3 {
    color: #18191F;
    font-size: 28px;
    line-height: 40px;
    font-weight: 700;
    padding-top: 16px;
    padding-bottom: 10px;
}

.player-intro p {
    color: #6C6C6C;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}



/* --------------------------------------- *\
                top-player Section
/* ---------------------------------------- */

.topPlayers .player-container {
    margin-top: 20px;
}

.section-heading {
    padding: 30px 0 50px;
    text-align: center;
    color: #2D25A0;
    font-size: 48px;
    font-weight: 700;
    line-height: 80px;
    text-transform: uppercase;
}

.top-players {
    display: flex;
    justify-content: space-between;
}

.top-player {
    width: 400px;
    padding: 20px;
    box-shadow: 0 0 5px #9e9e9e;
}

.top-player-img {
    position: relative;
    overflow: hidden;
}

.top-player-img img {
    width: 400px;
    height: 300px;
}

.top-player-statistics {
    background: rgba(0, 0, 0, 0.589);
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    visibility: hidden;
}

.top-player-statistics h2{
    color: #a7a1f8;
    font-size: 36px;
    font-weight: 700px;
    line-height: 48px;
    padding-bottom: 10px;
}

.top-player-statistics h3{
    color: #ffffff;
    font-size: 28px;
    line-height: 40px;
    font-weight: 700;
    padding-bottom: 5px;
}

.top-player-statistics p{
    color: #ffffff;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}

.top-player-img:hover .top-player-statistics {
    visibility: visible;
}



/* --------------------------------------- *\
                Winner Section
/* ---------------------------------------- */

.cup-win .player-container {
    margin-top: 20px;
}

.section-heading {
    padding: 30px 0 50px;
    text-align: center;
    color: #2D25A0;
    font-size: 48px;
    font-weight: 700;
    line-height: 80px;
    text-transform: uppercase;
}

.winners {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.winner {
    width: 400px;
    padding: 20px;
    box-shadow: 0 0 5px #9e9e9e;
    margin-right: 200px;
}

.winner-img {
    position: relative;
    overflow: hidden;
}

.winner-img img {
    width: 400px;
    height: 450px;
}

.winner-flag {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    opacity: 0%;
    top: 0;
    visibility: hidden;
    transition: all ease-in-out 0.8s;
}

.winner-img:hover .winner-flag {
    visibility: visible;
    opacity: 75%;
}

.winner-intro h2 {
    color: #3d3d3d;
    font-size: 40px;
    font-weight: 700px;
    line-height: 48px;
    padding-bottom: 10px;
}

.winner-intro h3{
    color: #3d3d3d;
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    padding-bottom: 5px;
}

.winner-intro p{
    color: #3d3d3d;
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
}

hr {
    border: 3px solid #2D25A0;
    margin-bottom: 30px;
}

/* --------------------------------------- *\
                Footer Section
/* ---------------------------------------- */

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 63px;
}

.footer-container {
    width: 484px;
    margin-top: 88px;
}

.footer-image {
    margin-bottom: 20px;
}

.footer-image img {
    width: 484px;
    height: 110px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icons {
    background: rgba(164, 166, 173, 0.294);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 14px;
}

.social-icons i{
    color: #969BAB;
}

.footer-content p {
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}


/* --------------------------------------- *\
                Media Query Section
/* ---------------------------------------- */

            /* ------------------- *\
                   mobile device
            /* -------------------- */

@media only screen and (max-width:688px) {
    .footer-container,
    .player-container,
    .container {
        width: 100%;
    }

    /* Navbar part query */

    .navbar {
        align-items: center;
        justify-content: space-around;
    }

    .menu i {
        color: #ffffff;
        font-size: 30px;
    }

    .menu ul li ul {
        background: #2d25a0a8;
        display: none;
    }

    .menu ul li:hover ul {
        display: inline-block;
    }

    .menu ul li:hover .fas {
        visibility: hidden;
    }

    .login-btn a {
        padding: 10px 5px;
    }

    .navbar-logIn {
        display: none;
    }

    .for-mobile {
        display: block;
    }

    /* Banner part query */

    .banner-content {
        flex-direction: column;
    }

    .banner-info h1 {
        color: #ffffff;
        font-size: 36px;
        font-weight: 700;
        line-height: 50px;
    }

    .banner-image {
        margin-top: 50px;
    }
    
    .banner-image img {
        width: 329px;
        height: 259px;
    }

    .banner-button:hover {
        transform: scale(1.2) translateX(50px);
    }

    /* Player part query */

    .players {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 24px;
    }

    /* top-player part query */

    .section-heading {
        font-size: 38px;
        padding-bottom: 25px;
    }

    .top-players {
        display: flex;
        flex-direction: column;
    }

    .top-player {
        width: 300px;
        padding: 10px;
        margin-bottom: 20px;
    }

    .top-player-img img {
        width: 300px;
        height: 200px;
    }
    
    .top-player-statistics {
        height: 200px;
    }
    
     .top-player-statistics h2{
        font-size: 26px;
        line-height: 30px;
    }
    
    .top-player-statistics h3{
        font-size: 20px;
        line-height: 26px;
    }
    
    .top-player-statistics p{
        font-size: 14px;
        line-height: 20px;
    } 


    /* Winners part query */
    
    .winners {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .winner {
        width: 300px;
        padding: 10px;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .winner-img img {
        width: 300px;
        height: 350px;
    }
    
    .winner-flag {
        height: 350px;
    }
    
    .winner-intro {
        text-align: center;
    }

    .winner-intro h2 {
        font-size: 30px;
        line-height: 46px;
    }
    
    .winner-intro h3 {
        font-size: 22px;
        line-height: 34px;
    }
    
    .winner-intro p {
        font-size: 16px;
        line-height: 26px;
    }

    hr {
        display: none;
    }


    /* footer part query */

    .footer-image {
        display: flex;
        justify-content: center;
    }

    .footer-image img {
        width: 275px;
        height: 63px;
    }
    
}


            /* ------------------- *\
                   Tab device
            /* -------------------- */

@media only screen and (min-width:689px) and (max-width:991px) {
    .footer-container,
    .player-container,
    .container {
        width: 100%;
    }

    /* Navbar part query */

    .navbar-logIn {
        width: 100%;
        background: #2D25A0;
        display: flex;
        justify-content: center;
        padding: 50px 0;
    }
    
    .navbar {
        justify-content: space-around;
    }
    
    .login-btn a,
    .menu a {
        color: #ffffff;
        font-size: 12px;
        line-height: 20px;
    }
    
    .menu a {
        padding-right: 16px;
    }


    /* Banner part query */

    .banner-content {
        justify-content: space-around;
    }

    .banner-info h1 {
        color: #ffffff;
        font-size: 36px;
        font-weight: 700;
        line-height: 50px;
    }

    .banner-image {
        margin-top: 50px;
    }
    
    .banner-image img {
        width: 329px;
        height: 259px;
    }

    .banner-button:hover {
        transform: scale(1.3) translateX(60px);
    }

    /* Player part query */

    .players {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 24px;
    }

    /* Top-Player part query */

    .top-players {
        display: flex;
        flex-direction: column;
    }

    .top-player {
        margin-bottom: 30px;
    }


    /* winner part query */

    .winners {
        display: flex;
        align-items: center;
    }
    
    .winner {
        width: 300px;
        padding: 10px;
        margin-right: 30px;
        margin-bottom: 30px;
    }
    
    .winner-img img {
        width: 300px;
        height: 350px;
    }
    
    .winner-flag {
        height: 350px;
    }
    
    .winner-intro h2 {
        font-size: 40px;
        line-height: 50px;
    }
    
    .winner-intro h3 {
        font-size: 30px;
        line-height: 40px;
    }
    
    .winner-intro p {
        font-size: 20px;
        line-height: 26px;
    }

    hr {
        display: none;
    }


    /* footer part query */

    .footer-image {
        display: flex;
        justify-content: center;
    }

    .footer-image img {
        width: 275px;
        height: 63px;
    }
}