:root {
    --primary-color: #0073e6;
    --secondary-color: #005bb5;
    --font-color-base: #333333;
}



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--font-color-base);
}


/* navbar */
.navbar  {
    padding: 1.6rem 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: .1rem solid var(--font-color-base);
    background-color: rgba(255, 255, 255, .5);
}

.navbar .brand {
    font-size: 2rem;
    font-style: italic;
}

.navbar .brand span {
    color: var(--secondary-color);
}

.navbar .nav  {
    display: flex;
    /* align-items: center; */
    gap: 2rem;
    font-size: 1.2rem;
}

.navbar .nav li a {
    color: var(--font-color-base);
    position: relative;
    transition: .3s ease;
}

.navbar .nav li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -.5rem;
    left: 0;
    right: 0;
    border-bottom: .1rem solid var(--primary-color);
    transform: scaleX(0);
    transition: .3s linear;
}

.navbar .nav li a:hover {
    color: var(--primary-color);
}

.navbar .nav li a:hover::after {
    transform: scaleX(1);
}

.navbar .extra-item {
    display: flex;
    gap: 1rem;
}

.navbar .extra-item a {
    font-size: 1.4rem;
    color: var(--font-color-base);
    transition: .3s ease;
}

.navbar .extra-item a:hover {
    color: rgba(51, 51, 51, .5);
}

#hamburger-menu {
    display: none;
}



/* home section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 7%;
}

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

.home .row .home-content {
    max-width: 50%;
}

.home .row .home-content h1 {
    font-size: 2.5rem;
}

.home .row .home-content h1 span {
    color: var(--secondary-color);
}

.home .row .home-content h2 {
    font-size: 2rem;
    margin-bottom: .1rem;
}

.home .row .home-content h2 span {
    font-size: 2.4rem;
}

.home .row .home-content p {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home .row .home-content a {
    position: relative;
    display: inline-block;
    color: #fff;
    line-height: 1;
    font-size: 1.2rem;
    padding: .5rem 1rem;
    background-color: #eee;
    /* box-shadow: .1rem .1rem 1rem rgba(51, 51, 51, .5); */
    border-radius: .3rem;
    transition: .5s ease;
    z-index: 1;
}

.home .row .home-content a:hover {
    color: var(--primary-color);
}

.home .row .home-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: .3rem;
    z-index: -1;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform .5s ease;
}

.home .row .home-content a:hover::before {
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s ease;
}

.home .home-img {
    max-width: 50%;
    display: flex;
    justify-content: end;
}

.home .home-img img {
    width: 80%;
}



/* about section */
.about {
    min-height: 100vh;
    padding: 6rem 7% 0;
}

.about h1 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about .row {
    display: flex;
}

.about .row .about-content {
    /* max-width: 50%; */
    flex: 1 1 45rem;
}

.about .row .about-content h2 {
    font-size: 1.7rem;
}

.about .row .about-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about .row .about-content .sosmed a {
    font-size: 1.4rem;
    margin-right: 1rem;
    padding: .2rem .4rem;
    text-align: center;
    line-height: .2rem;
    color: var(--font-color-base);
    border: .1rem solid var(--font-color-base);
    border-radius: 50%;
    transition: .5s ease;
}

.about .row .about-content .sosmed a:hover {
    color: #fff;
    background-color: var(--primary-color);
    border: .1rem solid var(--primary-color);
}

.about .row .about-img {
    /* max-width: 50%; */
    flex: 1 1 35rem;
}

.about .row .about-img img {
    width: 100%;
    text-align: end;
}



/* category section */
.category {
    min-height: 100vh;
    padding: 6rem 7% 0;
}

.category .heading {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

/* .category .heading::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    border-bottom: .2rem solid var(--primary-color);
    transform: scaleX(.5);

} */

.category .container {
    width: 100%;
    /* background-color: #ccc; */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding: 1.8rem 1.4rem;
    border-radius: .3rem;
    box-shadow: .3rem .3rem 1rem rgba(51, 51, 51, .5);
}

.category .container .container-img {
    width: 20rem;
    height: 20rem;
    box-shadow: .5rem .5rem 1rem rgba(51, 51, 51, .5);
    border-radius: .3rem;
}

.category .container .img1{
    background: url("../img/ball.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category .container .img2{
    background: url("../img/football-shoes.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category .container .img3{
    background: url("../img/jersey.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category .container .img4{
    background: url("../img/socks.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category .container .container-img h2 {
    text-align: center;
    line-height: 18rem;
    color: #000;
}



/* Product section */
.product {
    min-height: 100vh;
    padding: 6rem 7% 0;
}

.product h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.product .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
    align-items: center;
}

.product .row .product-card {
    width: 18rem;
    box-shadow: .5rem .5rem 1rem rgba(51, 51, 51, .5);
    border-radius: .3rem;
    padding: 0 0 1rem;
    position: relative;
}

/* .product .row .product-card .cad-img{
    width: 100%;
    height: 50%;
    background-color: #005bb5;
} */

.product .row .product-card .card-img img {
    width: 100%;
    height: 15rem;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.product .row .product-card .card-content {
    margin: 1rem 0;
    padding: 0 1rem;
    transition: .5s ease;
}

.product .row .product-card .card-content h3 {
    margin-bottom: .3rem;
    font-size: 1.4rem;
}

.product .row .product-card .card-content .rating {
    margin-bottom: .3rem;
    color: #ff523b;
}

.product .row .product-card .card-content p {
    margin-bottom: .3rem;
    font-size: 1.2rem;
}

.product .row .product-card .card-content .cart {
    font-size: 1.6rem;
}

.product .row .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: .3rem;
    z-index: -1;
    background-color: var(--primary-color);
    transition: .5s ease;
}

.product .row .product-card:hover::before {
    width: 100%;
}

.product .row .product-card:hover .card-content {
    color: #fff;
}



/* contact section */
.contact {
    min-height: 100vh;
    padding: 6rem 7% 0;
}

.contact h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact .row {
    display: flex;
    justify-content: space-between;
    padding: 4rem 0 0;
}

.contact .row .contact-media{
    width: 100%;
}

.contact .row .contact-media .media-grup {
    margin-bottom: 3rem;
}

.contact .row .contact-media .media-grup p {
    color: var(--font-color-base);
    margin-bottom: .3rem;
    font-size: 1.5rem;
}

.contact .row .contact-form {
    width: 100%;
    background-color: #ddd;
    padding: 2rem;
    border-radius: .4rem;
    box-shadow: .3rem .3rem 1rem rgba(51, 51, 51, .5);
}

.contact .row .contact-form .form-grup {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1.7rem;
}

.contact .row .contact-form .form-grup input, 
.contact .row .contact-form .form-grup textarea{
    width: 100%;
    height: 100%;
    padding: 1rem 2rem;
    border-radius: .6rem;
    font-size: 1.2rem;

}

.contact .row .contact-form .form-grup textarea {
    padding: 1rem .5rem;
}

.contact .row .contact-form .form-grup i {
    position: absolute;
    /* top: 0; */
    left: .5rem;
    line-height: 2rem;
}

.contact .row .contact-form button {
    width: 100%;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    border-radius: .6rem;
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.contact .row .contact-form button:hover {
    opacity: .5;
}



/* footer start */
footer {
    min-height: 50vh;
    padding: 6rem 7% 0;
    margin-top: 6rem;
    background-color: var(--font-color-base);
    position: relative;
}

footer .row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .row .footer-content h1 {
    font-size: 2rem;
    font-style: italic;
    color: #fff;
    margin-bottom: .5rem;
    text-align: center;
}

footer .row .footer-content h1 span {
    color: var(--secondary-color);
}

footer .row .footer-content .footer-sosmed {
    margin-bottom: .8rem;
    display: flex;
    justify-content: space-around;
}

footer .row .footer-content .footer-sosmed a {
    color: var(--primary-color);
    border: .1rem solid var(--primary-color);
    font-size: 1.4rem;
    border-radius: 50%;
    padding: .8rem;
    line-height: .2rem;
    text-align: center;
    box-shadow: .3rem .3rem 1rem rgba(0, 0, 255, .5);
    transition: .2s ease;
}

footer .row .footer-content .footer-sosmed a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

footer .row .footer-content .footer-nav {
    margin-bottom: .8rem;
}

footer .row .footer-content .footer-nav a {
    color: #fff;
    margin: 0 .4rem;
}

footer .row .footer-copyright {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #000;
    padding: 1rem;
}

footer .row .footer-copyright p {
    color: #fff;
    text-align: center;
}





















/* breakpoint */
/* tablet */
@media (max-width: 1024px) {
    html {
        font-size: 75%;
    }

    #hamburger-menu {
        display: block;
    }

    .navbar .nav {
        width: 40%;
        height: 100vh;
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        border-left: .1rem solid var(--font-color-base);
        display: flex;
        flex-direction: column;
        padding-left: 1rem;
        transition: .7s ease;
    }
    .navbar .nav.active {
        right: 0;
    }

    .navbar .extra-item a {
        padding: 0;
    }

}

/* mobile */
@media (max-width: 481px) {
    html {
        font-size: 55%;
    }

    .navbar .nav {
        width: 50%;
    }

    .about .row {
        flex-direction: column;
    }

    .about .row .about-content {
        flex: 1 1 15rem;
    }

    .contact .row {
        flex-direction: column;
        align-items: center;
    }

    .contact .row .contact-media {
        text-align: center;
    }
}
