* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
   background-image: url(backgroundimg/background1.jpg);
   background-size: cover;
   font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#logo{
    margin-top: 5px;
    width: 300px; 
}

/* Wrapper */

#wrapper {
    width: 940px;
    margin: 140px auto 20px; /* Adjusted margin for 20px below header and nav */
    padding: 20px;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

.product #wrapper{
    margin: 140px auto 20px;
    width:980px;
    
}

.aboutus #wrapper{
    margin: 140px auto 20px;
    width:980px;
    
}

.contact #wrapper{
    width:940px;
    margin: 140px auto 20px;
}

.webcredit #wrapper{
    line-height: 1.5;
}

/* Header & Nav bar */
header {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%; /* Set header to be the full width of the viewport */
    height: 100px;
    background-color: rgba(0, 0, 0, 0.8); /* Add background color and opacity */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    padding: 0 10%; /* Adjust padding as needed */
     /* Ensure header is above other content */
}

header nav ul {
    display: flex;
    justify-content: space-between; /* Spread out the list items */
    height: 100%; /* Make sure the navigation ul takes full height of the header */
    align-items: center; /* Align items vertically */
 
}

header nav li {
    list-style-type: none;
    padding: 0 20px; /* Adjust padding as needed */
}

header nav a{
    transition: all 0.3s ease 0s;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
}
header nav a:hover {
    font-weight: 600;
    font-size: 24px;
    color:  rgb(194, 175, 210);

}

.home header nav li:nth-child(1) a,
.product header nav li:nth-child(2) a,
.aboutus header nav li:nth-child(3) a,
.contact header nav li:nth-child(4) a {
    font-weight: 600;
    font-size: 24px;
    color: rgb(194, 175, 210);
}


/* box for home page*/

.home main{
    float: left;
    line-height: 60px;
    text-align: center;
    margin-top: 20%; 
}

.home #text{
    padding-left: 20px;
}

.home #cover{
    width: 400px;
}

.home aside{
    float:right;  
    border-radius: 2rem;
    margin-top: 20px;
    margin-right: 10px;
}

.home .btn{
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    background-color: #000000;
    font-size:17px;
    padding: 1px 25px;
    transition: all 0.3s ease 0s;
    box-shadow:0 5px 10px rgba(0, 0, 0, .7);
}


.home .btn:hover{
    font-weight: bolder ;
    transform: scale(1.05);
    background-color: rgb(125, 87, 164);
    transition: all 0.23s;
}

/* box product page */
.product #container{
    border: 1px solid black;
    padding: 30px;
    margin-top: 10px;
    line-height: 1.5;
}

.product #title{
    float:left;
    margin-right: 30px;
    line-height: 1;
}


.product .row{
    margin: 20px  auto;
    clear: both;
    overflow: hidden;
  
}

.product .card{
box-shadow: 0 5px 10px rgba(0, 0, 0, .7); 
padding:20px;
text-align: center;
line-height: 1.5;
width:300px;
background: #000000;
margin-right: 20px;
float: left;
transition: all 0.2s ease 0s;
}

.product .card:last-of-type{
   
    margin-right: 0;
}
.product .card:hover{
cursor: pointer;
transform: scale(1.03);

}

.product .card a{
    color:rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bolder;
}

.product .card img{
    padding: 10px;
    height:250px;
    width:250px;
    margin-bottom: 20px;
}

.product .card .btn{
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
    background-color: #fffefe;
    font-size:17px;
    border-radius: 5px;
    padding: 8px;
    transition: all 0.2s ease 0s;
}
.product .card .btn:hover{
    transform: scale(1.05);
    background-color: rgb(125, 87, 164);
}

/*about us page */
.aboutus main {
 float: left;
 margin-right: 20px;
}

.aboutus #container{
    border: 1px solid black;
    background-color: #000000;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}


.aboutus .row{
    margin: 20px  auto;
    clear: both;
    overflow: hidden;
  
}

.aboutus .card{
box-shadow: 0 5px 10px rgba(0, 0, 0,.8 ); 
padding:20px;
text-align: center;
width:300px;
background-color:rgb(0, 0, 0);
margin-right: 20px;
float: left;
transition: all 0.2s ease 0s;
}

.aboutus .card:last-of-type{
    margin-right: 0;
}

.aboutus .card img{
    padding: 10px;
    height:250px;
    width:250px;
    margin-bottom: 20px;
}

.aboutus #about-border{
    margin-top: 15%;
    margin-right: 20px;
}

.aboutus hr{
    margin-top: 10px;
    height: 2px;  
    background-color: rgb(8, 8, 8);  
    border: none;
}

/* contact page */

.contact main {
    width: 580px; 
    float: left;
    margin-bottom: 20px;
}

.contact aside {
   color: white;
    width: 300px; /* Decrease the width */
    padding: 15px;
    background-color: rgba(0, 0, 0);
    float: right;
    border: 1px solid black;
}

.contact #contact-box{
    width:100%;
    float:left;
    border: 1px solid black;
    padding: 30px;
    line-height: 1.5;
}

#contact-box img{
    float: left;
    width:350px;
}

.contact #content{
    float: right;
}

form{
    max-width:580px;
    margin-bottom: 20px;
    line-height: 1.5;

}

fieldset {
    padding:20px;
    border-radius:5px;
    border: 1px solid rgb(1, 1, 1);
    background: #000000;
    color: #ffffff;
}


label{
    display: block;
    margin-bottom:5px;
    font-weight:bold;
    font-size:1.1em;
}

input{
    margin-bottom:10px;
    height:30px;
    width:100%;
    margin-bottom: 20px;
}

input[type=radio],
input[type=checkbox]{
    height:auto;
    width:auto;
    margin-right:3px;
    margin-bottom:3px;
}

input[type=submit]{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; 
    font-weight: bold;
    width:100px;
    background: #ffffff;
    cursor: pointer;
    margin-bottom: 15px;
    float: right;

}

form ul{
    margin-left: 15px;
    margin-bottom: 20px;
}

form li{
    list-style-type: none;
}

select{
margin-bottom: 10px ;
width: 100px;
}

textarea{
    width:100%;
    height:110px;
    margin-bottom: 10px;
}

.contact form .btn{
    border: 1px solid ;
    padding: 3px 30px;
    background: #ffffff;
    display: inline-block;
}

.contact form a.btn {
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    color: #000000;
}

#asideimg{
    width: 250px;
    margin: 0px 10px ;
    margin-top: 10px;
}

.thanks main{
    float: left;
    margin-top: 15%;
    text-align: center;
}

.thanks h1, h3{
    margin-bottom: 30px;
}

.thanks main a{
    text-decoration: none;
    color: #ffffff;
    border: 1px solid black;
    padding: 10px;
    background: #000000;
}

.thanks img{
    float: right;
    width: 400px;
}

.thanks main a:hover{
    font-size: large;
    background: rgb(152, 107, 150);
}

.webcredit ul{
list-style: none;
}
.webcredit li{
 margin-bottom: 10px;
    }

.webcredit .btn {
  border: 1px solid black ;
  padding: 5px;
 }
.webcredit .btn {
    text-decoration: none;
    color: white;
    background: #000000;
    
}
.webcredit .btn a{
    margin-top: 20px;
}
.webcredit #btn{
    margin-top: 20px;
    text-align: center;
}

.webcredit #btn a:hover{
    font-size: large;
    background-color: rgb(152, 107, 150);
}
/* Footer */
footer {
    height: 50px;
    line-height: 50px;
    color: #ffffff;
    clear: both;
}

footer ul {
    margin-left: 20px;
}

footer a {
    text-decoration: none;
    color: rgb(255, 253, 253);
    font-weight: bolder;
}

footer a:hover {
    font-size: larger;
    color:   rgb(194, 175, 210);

}

footer li {
    list-style-type: none;
    float: left;
    width: 20%;
    text-align: center;}
    
/* Typography*/

.home h1{
    font-size: 60px;
}
.aboutus h1{
    color: white;
    font-size: 40px;
    text-align: center;
}

#topic{
    font-size:12px;
}
.home p{
    font-size: 15px;
    text-align: center;
}
.aboutus  p{
    line-height: 2;
    font-size: 18px;
    text-align: center;
   
}

.aboutus h2{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 35px;
    text-align: center;
}

.aboutus h3{
    margin-top: 15px;
    text-align: right;
}

.aboutus #h3-2{
    margin-bottom: 10px;
    font-size: 35px;
    text-align: center;
}

.aboutus .card h3{
    margin-bottom: 10px;
    font-size: 20px;
    color: white; 
    text-align: center;
}

.aboutus .card p{
    font-size: 15px;
    margin-bottom: 10px;
    color:white;
}

.product h1{
    font-size: 40px;
}

.product .card p{
    font-size: 15px;
    margin-bottom: 10px;
    color:white;
}
.product .card h3{
    margin-bottom: 10px;
    font-size: 20px;
    color: white; 
}

.contact h1{
    color:rgb(0, 0, 0);
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid;
    padding: 10px;
   
}

.contact h3{
    margin-bottom: 10px;
    font-size: 1.5em; 
    text-align: center;
 }



.webcredit h1{
    text-align: center;
    margin-bottom: 20px;
}

.webcredit h3{
    margin-bottom: 10px;
    margin-top: 20px;
}


 /* Social Media */
 /* Style all font awesome icons */
.contact #social{
    display: block;
    text-align: center;
}

.fa {
    margin: 5px 12px;
    margin-top: 10px;
    padding: 10px;
    font-size: 20px;
    width: 45px;
    text-align: center;
    text-decoration: none;
  }
  
  /* Add a hover effect if you want */
  .fa:hover {
    opacity: 0.7;
  }
  
  /* Set a specific color for each brand */
  
  /* Facebook */
  .fa-facebook {
    background: #3B5998;
    color: white;
  }
  
  /* Twitter */
  .fa-twitter {
    background: #55ACEE;
    color: white;
  }

    /* Instagram */
    .fa-instagram {
        background: #9f2250;
        color: white;
      }

/* carousel */
/* Slideshow container */
.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
  }

  .slideshow-container img{
    height:550px;
    width: 400px;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  

  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
 /* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s ease;
  }
  
  .active, .dot:hover {
    background-color:  rgb(75, 37, 116);
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  /*scroll to top btn */
  #myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 50px; /* Place the button at the bottom of the page */
    right: 20px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    border: 1px solid rgb(54, 5, 46);
    background-color: rgb(139, 94, 131); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
    background-color: #942d7e; /* Add a dark-grey background on hover */
  }










