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

/* common style */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
}


/* animation */
@keyframes changeWidth {
    from {
        transform: scale(0.4) rotate(0deg);
    }

    to {
        transform: scale(1.2) rotate(360deg);
    }
}

nav:hover .banner-img {

    animation: changeWidth 5s ease-in 0s infinite alternate;
}

/* header nav menu style */

nav {
    background-color: #2D25A0;
    height: 680px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1160px;
    margin-left: 60px;
    padding-top: 42px;
}

ul {
    display: flex;
    flex-direction: row;
    padding-left: 0px;
}

ul li {
    list-style: none;
    margin-right: 36px;
}

ul li a {
    text-decoration: none;
    color: white;
}

ul li a:hover {
    background-color: #E02C6D;
    padding: 5px 5px;
    border-radius: 5px;
    transition: .5s;
}

.login-btn {
    background-color: #E02C6D;
    padding: 10px 24px;
    border-radius: 5px;
}

.login-btn a {
    text-decoration: none;
    color: white;
}

/* header banner section style */

.banner-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 1100px;
    margin-top: 50px;
}

.banner-details {
    margin-left: 156px;
}

.banner-details h1 {
    font-size: 64px;
    width: 485px;
    font-weight: 700;
    color: white;
}

.banner-details a {
    text-decoration: none;
    background-color: #E02C6D;
    color: white;
    padding: 10px 24px;
    border-radius: 5px;
}

.banner-img {
    margin-left: 100px;
}

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

/* players section style */

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

.player-details {
    border: 2px solid white;
    border-radius: 5px;
    -moz-box-shadow: 10px 10px 5px #222;
    -webkit-box-shadow: 10px 10px 5px #222;
    box-shadow: 5px 10px 10px 5px rgb(212, 209, 209);
    padding: 15px;
}

.player-details img {
    width: 100%;
    height: 256px;
}

.player-details img:hover {
    transform: scale(1.1);
    transition: transform 3s ease-in-out;
}

.player-details h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: -10px;
}

.player-details p {
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}


/* highlight section styles */

.all-highlights {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 180px;
    margin-right: 210px;
}

.highlight-details {
    margin-right: 66px;
    margin-top: 155px;
}

.highlight-details h1 {
    font-size: 40px;
    font-weight: 700;
}

.highlight-details p {
    font-size: 16px;
    font-weight: normal;
    color: #6C6C6C;
    text-align: justify;
    margin-top: -20px;
}

.highlight-details a {
    text-decoration: none;
    background-color: #E02C6D;
    color: white;
    padding: 10px 24px;
    border-radius: 5px;
}

.higlight-banner {
    margin-top: 95px;
    margin-bottom: 158px;
}

.higlight-banner img {
    width: 490px;
    height: 427px;
    border-radius: 8px;
}

.higlight-banner img:hover {
    transform: scale(1.1);
    transition: transform 2s ease-in-out;
}

/* footer section styles */

.foot-section {
    margin-left: 475px;
    margin-right: 481px;
    margin-bottom: 63px;
}

.foot-section img {
    width: 483.87px;
    height: 110px;
}

.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 155px;
}

.social a {
    text-decoration: none;
    margin-left: 14px;
}

.social a i {
    color: rgb(233, 227, 227);
    background-color: #969BAB;
    border-radius: 50%;
    padding: 5px;
}

.fa-instagram:hover {
    color: #8a3ab9;
}

.fa-dribbble:hover {
    color: #ea4c89;
}

.fa-twitter:hover {
    color: #52A8E7;
}

.fa-youtube:hover {
    color: #c4302b;
}

.foot-section p {
    margin-left: 123.94px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: normal;
}

/* ----------------------------------
   Responsive style using media query 
------------------------------------*/

/* ---------- Mobile Devices ------------- */

@media only screen and (max-width: 688px) {

    /* animation for respnsive */
    @keyframes changeWidth {
        from {
            transform: scale(0.4) rotate(0deg);
        }

        to {
            transform: scale(1.1) rotate(360deg);
        }
    }

    nav:hover .banner-img {

        animation: changeWidth 5s ease-in 0s infinite alternate;
    }

    /* header nav menu responsive style */

    nav {
        background-color: #2D25A0;
        height: 100%;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        width: 100%;
    }

    ul li {
        list-style: none;
        margin-right: 20px;
        font-size: 12px;
    }

    /* header banner section responsive style */

    .banner-section {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .banner-details {
        margin-left: 16px;
        margin-bottom: 50px;
    }

    .banner-details h1 {
        font-size: 36px;
        width: 100%;
        font-weight: 700;
        color: white;
    }

    .banner-details a {
        text-decoration: none;
        background-color: #E02C6D;
        color: white;
        padding: 10px 24px;
        border-radius: 5px;
    }

    .banner-img {
        margin-left: 15px;
        margin-bottom: 60px;
    }

    .banner-img img {
        width: 329px;
        height: 259.17px;
    }

    /* players section responsive style */

    .all-players {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 27px;
        margin: 47px 15px -35px 15px;
    }

    /* highlight section responsive styles */

    .all-highlights {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 15px;
        margin-right: 15px;
    }

    .highlight-details h1 {
        font-size: 30px;
    }

    .highlight-details p {
        font-size: 16px;
        font-weight: normal;
        color: #6C6C6C;
        text-align: justify;
        margin-top: -20px;
    }

    .higlight-banner {
        margin: 50px 16px 40px 16px;
    }

    .higlight-banner img {
        width: 100%;
        height: 248px;
        border-radius: 8px;
    }

    /* footer section responsive styles */

    .foot-section {
        margin-left: 20px;
        margin-right: 71px;
        margin-bottom: 220px;
    }

    .foot-section img {
        width: 100%;
        height: 63px;
    }

    .social {
        display: flex;
        flex-direction: row;
        margin-left: 75px;
        margin-right: 115px;
    }

    .foot-section p {
        margin-left: 55px;
    }
}



/* ----------------------- Tablet Devices ------------------------ */

@media only screen and (min-width: 689px) and (max-width: 991px) {

    /* animation for respnsive */
    @keyframes changeWidth {
        from {
            transform: scale(0.4) rotate(0deg);
        }

        to {
            transform: scale(1.1) rotate(360deg);
        }
    }

    nav:hover .banner-img {

        animation: changeWidth 5s ease-in 0s infinite alternate;
    }

    /* header nav menu responsive style */

    nav {
        background-color: #2D25A0;
        height: 100%;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        width: 100%;
    }

    ul li {
        list-style: none;
        margin-right: 20px;
        font-size: 16px;
    }

    /* header banner section responsive style */

    .banner-section {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .banner-details {
        margin-left: 260px;
        margin-bottom: 50px;
    }

    .banner-details h1 {
        font-size: 36px;
        width: 100%;
        font-weight: 700;
        color: white;
    }

    .banner-details a {
        text-decoration: none;
        background-color: #E02C6D;
        color: white;
        padding: 10px 24px;
        border-radius: 5px;
    }

    .banner-img {
        margin-left: 90px;
        margin-bottom: 60px;
    }

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

    /* players section responsive style */

    .all-players {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 30px;
        grid-row-gap: 27px;
        margin: 47px 15px -35px 35px;
    }

    /* highlight section responsive styles */

    .all-highlights {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 25px;
        margin-right: 15px;
    }

    .highlight-details {
        margin-right: 20px;
    }

    .highlight-details h1 {
        text-align: center;
        font-size: 40px;
    }

    .highlight-details p {
        font-size: 16px;
        font-weight: normal;
        color: #6C6C6C;
        text-align: justify;
        margin-top: -20px;
        margin-left: 25px;
    }

    .highlight-details a {
        margin-left: 25px;
    }

    .higlight-banner {
        margin: 50px 16px 40px 16px;
    }

    .higlight-banner img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

    /* footer section responsive styles */

    .foot-section {
        margin-left: 16px;
        margin-right: 71px;
        margin-bottom: 600px;
    }

    .foot-section img {
        width: 100%;
        height: 110px;
    }

    .social {
        display: flex;
        flex-direction: row;
        margin-left: 260px;
        margin-right: 260px;
    }

    .foot-section p {
        margin-left: 240px;
    }
}