D a i l y W e b D e s i g n s
  • Home
  • Responsive Website
  • Build a Responsive Sport Website Design HTML CSS and JAVASCRIPT Tutorial With Source Code

Build a Responsive Sport Website Design HTML CSS and JAVASCRIPT Tutorial With Source Code

Hi everybody! Using HTML, CSS, and JavaScript, you will learn how to create a responsive website sports website design using HTML CSS, And JAVASCRIPT in this B
Build a Responsive Sport Website Design HTML CSS and JAVASCRIPT Tutorial With Source Code

Hi everybody! Using HTML, CSS, and JavaScript, you will learn

how to create a responsive website sports website design using HTML CSS, And JAVASCRIPT in this Blog.

Using standard JavaScript, users can use the navigation buttons on the web design moving car animation  website design to navigate through each slide. The clip-path property is utilized for the transition on the slide. I hope that when you design a website with online moving car animation , this video will be helpful.

You can download all of the source files and codes from this location. The code from the text editors must be copied and pasted. Try it out first by watching the video tutorial. It will assist you in comprehending everything. After that, if your code isn’t working right, look at the source codes provided and compare them to your own. It will assist you in comprehending everything, including your errors.

Index.html

				
					<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Complete resposive sport design dailywebdesign</title>
    <!-- font awesome cdn link -->
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
    <!-- custom css file links -->
    <link rel="stylesheet" href="style.css">
</head>
<body>
<!-- header section start page -->
<header>
    <a href="#">  sporteyz </a>
    <nav>
        <a href="#">Home</a>
        <a href="#">Shop</a>
        <a href="#">About</a>
        <a href="#">Review</a>
        <a href="#">Blog</a>
        <a href="#">Contact</a>
    </nav>
</header>
<!-- home section start -->
<section id="home">
                Never Stop
                <h3>upto 50% off</h3>
                <a href="#">Shop Now</a>
                <img decoding="async" src="img/cricket_img0.png">
                Never Stop
                <h3>upto 50% off</h3>
                <a href="#">Shop Now</a>
                <img decoding="async" src="img/cricket_img2.png">
</section>
<section>
    <img decoding="async" src="img/ne1.jpeg" alt="">
    limited sales
    <h3>upto 50% off</h3>
    <a href="#">Shop Now</a>
    <img decoding="async" src="img/ne2.jpeg" alt="">
    limited sales
    <h3>upto 50% off</h3>
    <a href="#">Shop Now</a>
    <img decoding="async" src="img/ne3.jpeg" alt="">
    limited sales
    <h3>upto 50% off</h3>
    <a href="#">Shop Now</a>
</section>
<!-- category start -->
    <h1>Our Shop</h1>
<section>
    <br />
    <h1> our category <a href="#"> view all >> </a> </h1>
        <a href="#">
            <img decoding="async" src="img/bx1.jpeg" alt="">
            <h3>night stadium</h3>
        </a>
        <a href="#">
            <img decoding="async" src="img/home-bg.jpg" alt="">
            <h3>day stadium</h3>
        </a>
        <a href="#">
            <img decoding="async" src="img/home-bg2.jpg" alt="">
            <h3>day stadium</h3>
        </a>
        <a href="#">
            <img decoding="async" src="img/pic7.jpeg" alt="">
            <h3>day stadium</h3>
        </a>
        <a href="#">
            <img decoding="async" src="img/upmatch.jpeg" alt="">
            <h3>evening stadium</h3>
        </a>
</section>
<!-- product section -->
<section>
    <h1> our product <a href="#">view all >></a></h1>
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod1.png" alt="">
                <h3>Bag</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod2.png" alt="">
                <h3>Cap</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod3.png" alt="">
                <h3>Shose</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod4.png" alt="">
                <h3>T-shirt</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod5.png" alt="">
                <h3>Foot Ball</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod6.png" alt="">
                <h3>Bat</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod7.png" alt="">
                <h3>Ball</h3>
                $19.99
                <a href="#"></a>
                <a href="#"></a>
                <a href="#"></a>
                <img decoding="async" src="img/prod8.png" alt="">
                <h3>Base Ball</h3>
                $19.99
</section>
<!-- about section -->
    <h1>About Us</h1>
<section>
        <img decoding="async" src="img/foter_bg.jpeg" alt="">
        Welcome to our Products
        <h3>sporteyz</h3>
        <p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
            incididunt ut labore et dolore farhan aliqua. Ut enim ad minim veniam, quis nostrud exercitation
            ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit
            in voluptate </p>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
             farhan aliqua. Ut enim ad minim veniam, quis</p>
             <a href="#">read more</a>
</section>
<!-- client section start -->
    <h1>Client's review</h1>
<section>
        <img decoding="async" src="img/icon-1.png" alt="">
            <h3>fast delivery</h3>
            within 30 minutes
        <img decoding="async" src="img/icon-2.png" alt="">
            <h3>24/7 available</h3>
            within 30 minutes
        <img decoding="async" src="img/icon-3.png" alt="">
            <h3>easy payments</h3>
            within 30 minutes
</section>
<!-- review section start -->
<section>
            <img decoding="async" src="img/pic-1.png" alt="">
                <h3>edward bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
            <img decoding="async" src="img/pic-2.png" alt="">
                <h3>jenna bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
            <img decoding="async" src="img/pic-3.png" alt="">
                <h3>jhon bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
            <img decoding="async" src="img/pic-4.png" alt="">
                <h3>linda bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
            <img decoding="async" src="img/pic-5.png" alt="">
                <h3>kennay bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
            <img decoding="async" src="img/pic-6.png" alt="">
                <h3>lalisa bey</h3>
                happy client
        <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
</section>
<!-- blog section start -->
    <h1>our blog</h1>
<section>
    <h1> our blog<a href="#">view all>></a></h1>
                <img decoding="async" src="img/blog1.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
                <img decoding="async" src="img/blog2.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
                <img decoding="async" src="img/blog3.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
                <img decoding="async" src="img/blog4.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
                <img decoding="async" src="img/blog5.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
                <img decoding="async" src="img/blog6.jpeg" alt="">
                    <a href="#">  12 jan, 2023 </a>
                    <a href="#">  by administrator</a>
                <h3>blog title page</h3>
                <p>Lorem ipsum dolor sit amet, farhan aliqua. Ut enim ad minim veniam, quis</p>
                <a  href="#">read more...</a>
</section>
<!-- contect section start -->
    <h1>Contact us</h1>
<section>
            <h3>our number</h3>
            <p>+111-222-3333</p>
            <p>+456-786-7890</p>
            <h3>our email</h3>
            <p>shaikhfarhan@gmail.com</p>
            <p>xyzemail@gmail.com</p>
            <h3>our address</h3>
            <p>mumbai, india - 401203</p>
    </section>
    <section>
                <h3>quick links</h3>
                <a href="#">Home</a>
                <a href="#">Shop</a>
                <a href="#">About</a>
                <a href="#">Review</a>
                <a href="#">Blog</a>
                <a href="#">Contact</a>
                <h3>extra links</h3>
                <a href="#">my order</a>
                <a href="#">my favorite</a>
                <a href="#">my wishlist</a>
                <a href="#">my account</a>
                <a href="#">terms or use</a>
                <h3>follow us</h3>
                <a href="#">  facebook </a>
                <a href="#">  twitter </a>
                <a href="#">  instagram </a>
                <a href="#">  linkedin </a>
                <a href="#">  pinterest </a>
                <h3>newsletter</h3>
                <p>subscribe for lastest update</p>
                <form action="">
                    <input type="email" placeholder="enter your email address">
                    <input type="submit" value="subscribe">
                </form>
                <img decoding="async" src="img/payment.png" alt="">
    </section>
created by dailywebdesign || all right reserved
    <!-- custom js file link -->
</body>
</html>

				
			

style.css

				
					@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
:root{
    --yellow:#FFEF2B;
}
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: capitalize;
    text-decoration: none;
    transition: .2s linear;
}
body{
    background:#FFEF2B;
}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    background: var(--yellow);
    color: #01411C;
    font-size: 1.7rem;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.btn:hover{
    background: #01411C;
    color: #FFEF2B;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
section{
    padding: 3rem 9%;
}
.heading{
    background: url(img/foter_bg.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 12rem;
    padding-bottom: 8rem;
    position: relative;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.heading h1{
    color:#FFEF2B;
    font-size: 5rem;
   font-weight: bold;
}
.title{
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    padding: 1.2rem 0;
    border-bottom:0.1rem solid rgba(0,0,0,0.7);
}
.title span{
    color: #01411C;
    padding-left:  .7rem;
}
.title a{
    margin-left: auto;
    color: #01411C;
    font-size: 1.5rem;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.header .logo{
    font-size: 2.5rem;
    font-weight: bolder;
    color: #01411C;
}
.header .logo i{
    color: #01411C;
    padding-right: .5rem;
}
.header .navbar a{
    font-size: 1.7rem;
    color: #01411C;
    margin: 0 1rem;
    font-weight: bold;
}
.header .navbar a:hover{
    color: #01411C;
}
.header .icons div{
    font-size: 2.5rem;
    margin-left: 1.7rem;
    cursor: pointer;
    color: #01411C;
}
.header .icons div:hover{
    color: #01411C;
}
#menu-btn{
    display: none;
}
@keyframes fadeLeft{
    0% {
        opacity: 0;
        transform: translateX(-5rem);
    }
}
@keyframes fadeup {
    0%{
        opacity: 0;
        transform:  scale(0.5);
    }
}
.home{
    padding-top: 14rem;
    background: url(img/home-bg2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.home .slides-container .slide{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    display: none;
}
.home .slides-container .slide.active{
    display: flex;
}
.home .slides-container .slide .content{
    flex: 1 1 40rem;
    animation: fadeLeft .4s linear .4s backwards;
}
.home .slides-container .slide .content span{
    color: #FFEF2B;
    font-size: 3rem;
    font-weight: bolder;
}
.home .slides-container .slide .content h3{
    font-size: 6rem;
    color: #FFEF2B;
    padding:  .5rem 0;
}
.home .slides-container .slide .img{
    flex: 1 1 40rem;
    margin: 3rem 0;
}
.home .slides-container .slide .img img{
    width: 100%;
    animation: fadeup .4s linear;
}
.home #next-slide,
.home #prev-slide{
    position: absolute;
    top: 50%;
    transform: translateY(-50);
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    text-align: center;
    background: #FFEF2B;
    font-size: 2rem;
    color: #01411C;
    cursor: pointer;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.home #next-slide:hover,
.home #prev-slide:hover{
    background: #01411C;
    color: #FFEF2B;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.home #prev-slide{
    left: 2rem;
}
.home #next-slide{
    right: 2rem;
}
.banner-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1.5rem;
}
.banner-container .banner{
    position: relative;
    height: 25rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.banner-container .banner img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.banner-container .banner .content{
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
}
.banner-container .banner .content span{
    color: #FFEF2B;
    font-size: 1.5rem;
}
.banner-container .banner .content h3{
    font-size: 2rem;
    padding-top: .5rem;
    color: #FFEF2B;
}
.banner-container .banner .content .btn{
    padding: .8rem 2.5rem;
}
.banner-container .banner:hover img{
    transform: scale(1.2);
}
.category .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    padding: 4rem 0;
}
.category .box-container .box{
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.category .box-container .box img{
    width: 100%;
    height: 100%;
}
.category .box-container .box:hover img{
    transform: scale(1.2);
}
.category .box-container .box h3{
    font-size: 2rem;
    margin: 1rem 0;
    color: #01411C;
}
.category .box-container .box:hover h3{
     color: #01411C;
}
.products .box-container {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
  }
  .products .box-container .box {
    position: relative;
    background: #FFEF2B;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
  }
.products .box-container .box:hover  .icons{
    top: 0;
}
  .products .box-container .box .icons {
   position: absolute;
    top: -105%;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #01411C;
    gap: 1rem;
  }
  .products .box-container .box .icons a {
    font-size: 2rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    background: #FFEF2B;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    color: #01411C;
  }
.products .box-container .box .icons a:hover{
    background: #01411C;
    color:#FFEF2B;
}
  .products .box-container .box .img {
    overflow: hidden;
  }
  .products .box-container .box .img img {
    height:100%;
    width:100%;
    object-fit: cover;
  }
  .products .box-container .box .content {
    padding: 1.5rem;
  }
  .products .box-container .box .content h3 {
    font-size: 2rem;
    color: #01411C;
  }
  .products .box-container .box .content .price {
    font-size: 2rem;
    color: #01411C;
    padding: 1rem 0;
  }
  .products .box-container .box .content .stars i {
    font-size: 1.7rem;
    color: #01411C;
  }
.about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.about img{
    flex: 1 1 40rem;
}
.about .img img{
    width: 545.59px;
    height: 364.39px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
}
.about .content{
    flex: 1 1 40rem;
}
.about .content span{
    color: #01411C;
    font-size: 2.5rem;
    font-weight: bold;
}
.about .content h3{
    color: #01411C;
    font-size: 3rem;
    padding-top: .5rem;
    font-weight: bold;
}
.about .content p{
    color: #01411C;
    font-size: 1.4rem;
    line-height: 2;
    padding: 1rem 0;
    font-weight: bold;
}
.info-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 1.5rem;
}
.info-container .info{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border:0.1rem solid rgba(0,0,0,0.7);
    background: #FFEF2B;
}
.info-container .info:hover{
    background: #01411C;
}
.info-container .info img{
    height: 7rem;
}
.info-container .info .content h3{
    font-size: 2rem;
    color: #01411C;
    padding-bottom: .5rem;
}
.info-container .info .content:hover h3{
    color: #FFEF2B;
}
.info-container .info .content span{
    font-size: 1.5rem;
    color: #01411C;
    font-weight: bold;
}
.info-container .info .content span:hover{
    color: #FFEF2B;
    font-weight: bold;
}
.review{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}
.review .box{
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border: 0.1rem solid rgba(0,0,0,0.7);
}
.review .box .user{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.review .box .user img{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
}
.review .box .user h3{
    font-size: 2.2rem;
    color: #01411C;
}
.review .box .user span{
    font-size: 1.4rem;
    color: #01411C;
}
.review .box p{
    font-size: 1.4rem;
    color: #01411C;
    line-height: 2;
}
.blog .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}
.blog .box-container .box{
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    border: 0.1rem solid rgba(0,0,0,0.7);
}
.blog .box-container .box .img:hover img{
    transform: scale(1.2);
}
.blog .box-container .box .img{
    height: 25rem;
    width: 100%;
    overflow: hidden;
}
.blog .box-container .box .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.blog .box-container .box .content{
    padding: 2rem 1.5rem;
}
.blog .box-container .box .content .icons{
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.7rem;
    margin-bottom: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog .box-container .box .content .icons a{
    font-size: 1.4rem;
    color: #01411C;
}
.blog .box-container .box .content .icons a:hover{
    color: #FFEF2B;
}
.blog .box-container .box .content .icons a i{
    color: #01411C;
    padding-right: .5rem;
}
.blog .box-container .box .content h3{
    font-size: 2.2rem;
    color: #01411C;
}
.blog .box-container .box .content p{
    font-size: 1.4rem;
    color: #01411C;
    line-height: 2;
    padding: 1rem 0;
}
.contact .icons-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
    gap: 1.5rem;
}
.contact .icons-container .icons{
    text-align: center;
    border: 0.1rem solid rgba(0,0,0,0.7);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
    padding:2rem;
}
.contact .icons-container .icons i{
    height:6rem;
    width:6rem;
    line-height: 6rem;
    font-size: 2.5rem;
    background: var(--yellow);
    color:#01411C;
    border-radius: 50%;
}
.contact .icons-container .icons h3{
    color:#01411C;
    font-size: 2rem;
    padding:1rem 0;
}
.contact .icons-container .icons p{
    color:#01411C;
    font-size: 1.5rem;
    line-height: 2;
}
.footer{
    background: var(--yellow);
}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
}
.footer .box-container .box h3{
    font-size: 2.2rem;
    color: #01411C;
    padding: 1rem 0;
}
.footer .box-container .box p{
    font-size: 1.5rem;
    color: #01411C;
    padding-bottom: .5rem;
}
.footer .box-container .box a{
    font-size: 1.4rem;
    color: #01411C;
    padding: 1rem 0;
    display: block;
}
.footer .box-container .box a:hover{
    color: #01411C;
}
.footer .box-container .box a:hover i{
    padding-right: 2rem;
}
.footer .box-container .box a i{
    padding-right: .5rem;
    color: #01411C;
}
.footer .box-container .box form input[type="email"]{
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.6rem;
    color: #01411C;
    margin: 1rem 0;
    text-transform: none;
}
.footer .box-container .box .payments{
    width: 100%;
    margin-top: 2rem;
}
.credit{
    text-align: center;
    background: var(--yellow);
    color: #01411C;
    font-size: 2rem;
}
/* media queries */
@media (max-width: 991px){
    html{
        font-size: 55%;
    }
    .header{
        padding: 2rem;
    }
    section{
        padding: 3rem 2rem;
    }
    .home #next-slide,
    .home #prev-slide{
        transform: translateY(0);
        top: 88%;
    }
    .home #prev-slide{
        left:auto;
        right: 8rem;
    }
}
@media (max-width: 786px){
    #menu-btn{
        display: inline-block;
    }
    .header .navbar{
        position: absolute;
        top: 90%;
        left: 0;
        right: 0;
        background: #01411C;
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
        border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    .header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: var(--yellow);
        font-size: 2rem;
        display: block;
        border-radius: .5rem;
    }
}
@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .home .slides-container .slide h3{
        font-size: 4rem;
    }
    .products .box-container .box .img{
        width: 100%;
    }
    .category .box-container .box img{
        width: 100%;
    }
}
				
			

main.js

				
					let navbar = document.querySelector('.navbar');
document.querySelector('#menu-btn').onclick = () => {
    navbar.classList.toggle('active');
}
window.onscroll = () => {
    navbar.classList.remove('active');
}
let slides = document.querySelectorAll('.home .slides-container .slide');
let index = 0;
function next(){
    slides[index].classList.remove('active');
    index = (index + 1) % slides.length;
    slides[index].classList.add('active');
}
function prev(){
    slides[index].classList.remove('active');
    index = (index - 1 + slides.length) % slides.length;
    slides[index].classList.add('active');
}

				
			

images

sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design

sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design
sport website design

Leave a Reply

Your email address will not be published. Required fields are marked *

Daily Web Designs

Email

contact@dailywebdesigns.com

©2025. All Rights Reserved .

By Daily Web Designs