*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header{
    min-height: 70vh;
    width: 100%;
    background-image:linear-gradient(rgba(4,9,30,10.5),rgba(4,9,30,0.7)),url(images/Resin.jpg); 
    /* linear - gradient ( top , btm ) */
    background-position:center; /* center the image */
    background-size:cover;
    position:relative;
}

nav{
    display: flex; /* now we are putting it side by side */
    padding: 2% 6%;
    justify-content:space-between;
    align-items: center;
    

}

nav img{
    width: 130px; /* Logo Size */
    
}
nav a{
    text-decoration:none;
} /* this is to remove the underline under the logo */
.logoname{
    color:white;
    font-size:15px;
    font-weight:bold;
    text-align: left;
    margin-top:-20px;
    text-decoration: none;
}
.nav-links{
    flex:1; /* flex 1 is equivalent to flex 1 1 0*/
    text-align: right;
}

.nav-links ul li{
    list-style: none; /* removing the bullet points */
    display: inline-block; /* come horizontally */
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color:#fff;
    text-decoration:none;
    font-size: 13px;
}

.nav-links ul li::after{
    content:'';
    width: 0%;
    height: 2px;
    background: #f44336;
    display:block;
    margin:auto; 
    transition: 0.5s;   
}

.nav-links ul li:hover::after{
    width: 100%;

}

.textbox{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.textbox p{
    margin: 20px ;
    font-size: 14px;

}

.hero-btn{
    display:inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 12px;
    background: transparent;
    position: relative;
    cursor:pointer;
    border-radius: 30px;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background : #f44336;
}

nav .fa{
    display: none;
}

/* Index - Course Page */

.course{
    
    margin: auto;
    text-align: center;
    padding-top: 100px;

    background-image:linear-gradient(rgba(4,9,30,0.3),rgba(4,9,30,0.3)),url(AcutePictures/multicolourpallet.png); 
    /* linear - gradient ( top , btm ) */
    background-position:center; /* center the image */
    background-size:cover;
    position:relative;
    /*
    border-top-left-radius: 50px;
    transform: skewY(-2deg); */

}
h1{
    font-size: 36px;
    font-weight: bold;
    color: rgb(244, 246, 243);
}

.course-p{
    color:black;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-bottom: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col{ /* change the background of the three text and the box*/
    flex-basis: 31%;
    background: #fff3f3;
    border-radius : 20px;
    margin-bottom : 15%;
    margin-top: 3%;
    padding: 20px 12px;
    box-sizing: border-box;
}

h3{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 10px 0;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

/* campus */ 

.campus{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
 
}

.campush1{
    font-size:30px;
    color: black;
}
.campus-col{ /* set the container size for the image to be inside */
    flex-basis: 32%;

    margin-bottom: 30px;
    position: relative;
    overflow:hidden;
    margin-top: 30px;
    
}

.campus-col img{
    width:100%; /* this is to align the image to the containter size we fixed */
    display: block; /* this is to make the border with round edges */
    height: 400px;
    border-radius: 10px;

}


.layer{ /* this is to set a red image above the image */
    background:transparent;
    height: 100%;
    width:100%;
    position: absolute;
    top:0;
    left:0;
    transition:0.5s;
    border-radius: 10px;
}

.layer:hover{ /* hovering effect when cursor is placed */
    background: rgba(226,0,0,0.7);
}



.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 30px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* this is si that it can postion at x axis 50%*/
    position: absolute;
    opacity: 0; /* short cut to hide the words */
    transition: 0.5s;
    
}

.layer p{
    color:white;
    bottom:0;
    position:absolute;
    left:50%;
    font-size: 20px;
    transform: translateX(-50%);
    opacity:0;
    transition:0.5s;
    
}

.layer:hover p{

    bottom:35%;
    opacity:1;
 
    
}


.layer:hover h3{ /* this will make the word go from bottom to the top */
    bottom: 55%;
    opacity: 1;
}

.campus-hero-btn{ /* button to click */
    display:inline-block;
    text-decoration: none;
    color:black;
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 12px;
    background: transparent;
    position: relative;
    cursor:pointer;
    border-radius: 30px;
}

.campus-hero-btn:hover{
    border: 1px solid #f44336;
    background : #f44336;
}


/* offer */ 

/* Our facilities */

.Facilities{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-color:rgb(0, 195, 255);
}

.facilitiesh1{
    color: black;
}


.facilities-col{
    flex-basis: 21%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}


.facilities-col img{
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.facilities-col p{
    padding:0;
    text-align: center;;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
}

.facilities-col a {
    color:rgb(59, 59, 59);
    cursor:pointer;
    text-decoration:none;
}

.row-about{

    display: flex;
    justify-content: space-between;
    margin-left:10%;
    margin-right:10%;
}
/* footer */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}


.icon .fa{
    color:#f44336;
    margin:0 13px;
    cursor: pointer;
    padding: 18px 0;
}




/* contact us */


 /* contact us page */

 .sub-header{
    height:50vh;
    width:100%;
    /*background-image:linear-gradient(rgba(0, 0, 0, 0.5),rgba(4,9,30,0.4)),url(AcutePictures/recycleplastic.jpg);*/
    background-image:linear-gradient(rgba(0, 0, 0, 0.6),rgba(4,9,30,0)),url(AcutePictures/colorfulRoll.jpg); 
    background-position:center;
    background-size: cover;
    text-align:center;
    color:black;
}
.contact-us{
    padding-top: 10%;
}
.ContactH1{
    font-size:50px;
    font-weight: bold;
    color:white;
}

.location{
    width: 80%;
    margin:auto;
    padding: 80px 0;
}

.location iframe{
    width: 100%;
}

.contact-us h2{
    color:Black;
    text-decoration: underline;
    font-size: 25px;
}

.contact-us h4{
    color:Black;
    text-decoration: underline;
    font-size: 15px;
}
.contact-us{
    width:80%;
    margin:auto;
}

.contact-col{
    flex-basis:48%;
    margin-bottom:30px;
}

.contact-col div{
    display:flex;
    align-items: center;
    margin-bottom:40px;
}

.contact-col div .fa{
    font-size: 38px;
    color: #f44336;
    margin:20px;
    margin-right:50;
}

.contact-col div p{
    padding:0;
}

.contact-col div h5{
    font-size: 15px;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
    
}

.contact-col div h4{
    color:black;
   }

.contact-btn{
  display: inline-block;
  text-decoration: none;
  color:black;
  border: 1px solid black;
  padding: 12px 34px;
  font-size:30px;
  background: transparent;
  position:relative;
  cursor:pointer;
  border-radius:30px;
}

.contact-btn:hover{
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}


.contact-col input, .contact-col textarea{
  width:100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing:border-box;
}

/*About Us page */

.contact-sub-header{
    height:50vh;
    width:100%;
    /*background-image:linear-gradient(rgba(0, 0, 0, 0.5),rgba(4,9,30,0.4)),url(AcutePictures/recycleplastic.jpg);*/
    background-image:linear-gradient(rgba(0, 0, 0, 0.4),rgba(4,9,30,0)),url(AcutePictures/recycleplastic.jpg); 
    background-position:center;
    background-size: cover;
    text-align:center;
    color:black;
}

.AboutH1{
    font-size:50px;
      font-weight: bold;
      color:white;
  }

.aboutThecompany{
    display:flex;
    padding: 2% 6%;
    justify-content:center;
    align-items: center;
}

.para p{
    text-align:justify;
    justify-content: space-between;
    display: flex;
    width:80%;


}

.aboutRow{
    width:70%;
}

.para h2{
    font-size: 40px;
}
.picRow img{
    height: 600px;

    width:100%;
    margin-top:30px;
    margin-right:30%;
    border-radius: 20px;
}







  /*Product page */

.product-sub-header{
    height:50vh;
    width:100%;
    /*background-image:linear-gradient(rgba(0, 0, 0, 0.5),rgba(4,9,30,0.4)),url(AcutePictures/recycleplastic.jpg);*/
    background-image:linear-gradient(rgba(0, 0, 0, 0.6),rgba(4,9,30,0)),url(AcutePictures/LDPE2.jpg); 
    background-position:center;
    background-size: cover;
    text-align:center;
    color:black;
}

.ProductH1{
    font-size:50px;
      font-weight: bold;
      color:white;
  }


   /*Application page */

.application-sub-header{
    height:50vh;
    width:100%;
    /*background-image:linear-gradient(rgba(0, 0, 0, 0.5),rgba(4,9,30,0.4)),url(AcutePictures/recycleplastic.jpg);*/
    background-image:linear-gradient(rgba(0, 0, 0, 0.6),rgba(4,9,30,0)),url(AcutePictures/plastic\ blowing.jpg); 
    background-position:center;
    background-size: cover;
    text-align:center;
    color:black;
}

.applicationH1{
    font-size:50px;
      font-weight: bold;
      color:white;
  }


.footer-p{
    text-align: center;
}


@media(max-width: 700px){
    .textbox h1{
        font-size:20px;
    
    }

    .nav-links ul li{
        display:block;
    }
    
    nav img{
        width: 90px; /* Logo Size */
    }

    .logoname{
        color:white;
        font-size:12px;
        font-weight:bold;
        text-align: left;
        margin-top:-20px;
    }
    .nav-links{
        position: fixed;
        background: #2e2c2c;
        height: 100vh;
        width: 200px;
        top:0;
        right:-200px;
        text-align:left;
        z-index:2;
        transition: 1s;

    }

    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding:20px;
    }


    .nav-links ul li::after{
        content:'';
        width: 0%;
        height: 2px;
        background: #d3cece;
        display:block;
        margin:auto; 
        transition: 0.5s;   
    }
    
    .nav-links ul li:hover::after{
        width: 100%;

    
    }

    /* For course the display it vertically */

    .row{
        flex-direction:column;
    }

    .course-col{ /* change the background of the three text and the box*/
        flex-basis: 31%;
        background: #fff3f3;
        border-radius : 50%;
        margin-bottom : 15%;
        box-sizing: border-box;
    }
    
    
    .course h3{
        
        text-align: center;
        font-weight: bold;
        margin: 10px 0;
    }
    

    /* campus */

    .campus{
        width: 80%;
        margin: auto;
        text-align: center;
        padding-top: 10px;
    }
    
    .campush1{
        font-size:30px;
        color: black;
    }
    .campus-col{ /* set the container size for the image to be inside */
        flex-basis: 32%;
        border-radius: 10px;
        margin-bottom: 30px;
        position: relative;
        overflow:hidden;
    }
    
    
    .campus-col img{
        width:100%; /* this is to align the image to the containter size we fixed */
        display: block; /* this is to make the border with round edges */
        height: 400px;
    }




    .layer{ /* this is to set a red image above the image */
        background:transparent;
        height: 100%;
        width:100%;
        position: absolute;
        top:0;
        left:0;
        transition:0.5s;
    }
    
    .layer:hover{ /* hovering effect when cursor is placed */
        background: rgba(226,0,0,0.7);
    }
    
    .layer h3{
        width: 100%;
        font-weight: 500;
        color: #fff;
        font-size: 30px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%); /* this is si that it can postion at x axis 50%*/
        position: absolute;
        opacity: 0; /* short cut to hide the words */
        transition: 0.5s;
        
    }
    
    .layer p{
        color:white;
        bottom:0;
        position:absolute;
        left:50%;
        font-size: 20px;
        transform: translateX(-50%);
        opacity:0;
        transition:0.5s;
        
    }
    


    .layer:hover p{

        bottom:35%;
        opacity:1;
     
        
    }
    
    
    .layer:hover h3{ /* this will make the word go from bottom to the top */
        bottom: 55%;
        opacity: 1;
    }
    /*Facilities*/
    .facilities-col img{
        width: 80%;
        height: 230px;
        border-radius: 199px;
        margin-left: 12%;
    }

    .facilities-col a {
        color:rgb(110, 110, 110);
        cursor:pointer;
        text-decoration:none;
    }
    .facilities-col{
        flex-basis: 21%;
        border-radius: 10px;
        margin-bottom: 5%;
        text-align: left;
    }

    
    .facilities-col p{
        text-align: center;
    }
    
    .row-about{
        flex-direction:column;
    }

    
    /*footer*/

    .footer-p{
        font-size: 10px;
    }

    /*contact*/
    .contact-btn{
        display: inline-block;
        text-decoration: none;
        color:black;
        border: 1px solid black;
        padding: 12px 34px;
        font-size:15px;
        background: transparent;
        position:relative;
        cursor:pointer;
        border-radius:30px;
    }

}



