
<style> 
body{
            color: white;
            background-color:grey;
            font-family: Arial, Helvetica, sans-serif;
            margin: 0;
            padding: 0;
            
            
}
header{
                height: 650px;
                padding: 50px;
                margin-top: 20px;   
                background-position: center; 
                background-attachment: fixed;
    
                margin-right: -70px;

}
header::before {
content: '';
background-image: url(Images/background\ school\ nyumbani.png);
background-size: 95%;
position: absolute;
inset: 0;
opacity: 0.4;
height: 700px;
z-index:-10;
border-radius: 6%;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
header .logo a {
background: rgb(169, 255, 169);
position: absolute;
inset: 0;
opacity: 0.7;
height: 90px;
z-index:-10;
border-radius: 6%;
background-repeat: no-repeat;
padding: -350px;
margin-top: 160px;
margin-left:110px ;
margin-right: 110px;
}
.Search-container{
margin-top: 20px;
position: relative;
background-color: none;
}
.Search-container input {
    width: 600px;
    border-radius: 20px;
    font-size: 18px;
    padding: 10px 20px;
    margin-bottom: 20px;
    margin-left: 285px;
}
h1 {
    color: rgb(136, 21, 130);
    margin-left: 120px;
    margin-top: -5px;
}
/*<div class="Search-container">
            <input type="text" placeholder="Search...">
            <i class="fa fa-search"></i>*/


section{
    height: 200px;
    display: flex;
    flex-direction: row;
    font-size: large;
    padding: 40px;
    margin: auto;
    font-weight: bold;
    color: rgb(255, 255, 255);
}
section .logo a::before{
content: '';
background-image: url(Images/2nd\ overrap\ 2nd.jpeg);
position: absolute;
width: 1110px;
inset: 0;
opacity: 0.7;
height: 400px;
z-index:-10;
border-radius: 0% 0% 9% 9%;
background-repeat: no-repeat;
padding: -350px;
margin-top: 700px;
margin-left:77px;
margin-right: 80px;
margin-bottom: 0;

}
    button{
    width:auto;
    margin:60px;
    padding: 15px;
    text-align: center;
    margin-left: 120px;

    background-color: #1f5721;
    font-size: large;
    font-weight: bold;
    color: white;
    display: inline-flex;
    border-radius: 20px;
}
button:hover{
    color: black;
}

ul{
    padding: 0;
    margin: 0;
    opacity: 100%;
    text-underline-offset: none;
    padding-left: 30px;
    text-decoration: none;
    list-style-type: none;
}
li{
    font-size: large;
    padding: 50px;
    text-decoration: none;
    list-style: none;
    
}
a{
    text-decoration: none;
    font-weight: bold;
    color: rgb(224, 236, 230);
}
a:hover{
    color: rgb(0,100,0);
}
/*Section*/
footer{
    display: inline-flex;
    background-size: cover;

    max-width: 100%;
  height: auto;
    
    background-color: #2bab0d;
    opacity: 0.77;
    font-weight: 800;
    font-size: large;
     width: 1250px;
}

nav .ul{
    display: inline-block;
}
.hide{
display: none;
}
/*GREAT STACK*
.menu-bar{
    background: rgb(22, 136, 22);
    height: 350px;
    width: 1028px;
    border-radius: 7% 7% 0% 0%;
    margin-top: -110px;
    margin-left: 70px;
    padding-bottom: 3px;
}
.active .menu-bar ul li:hover{
border-radius: 10px;
color: aquamarine;
}
.sub-menu-1{
    display: none;
}
.menu-bar ul li:hover .sub-menu-1{
display: block;
position: absolute;
width: 200px;
margin-top: 1px;
margin-left: -10px;
}
.menu-bar ul li:hover .sub-menu-1 ul {
display: block;
margin: 20px;
}
.menu-bar ul li:hover .sub-menu-1 ul li{
    width: 150px;
    padding: 10px;
    background: transparent;
    border-radius: 0;
    text-align: none;
}
.menu-bar ul li:hover .sub-menu-1 ul li a{
    font-size: large;
    font-weight: bold;
    color: aquamarine;
    text-transform: lowercase;
}
.menu-bar ul li:hover .sub-menu-1 ul li a:hover{
    color: rgb(117, 157, 184)}
.side-nav{
    width: 200px;
    height: 100%;
    background: green;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 30px;
}
.logo{
    display: block;
    margin-bottom: 375px;
}
.logo-img{
    width: 130px;
}
.nav-links{
    list-style: none;
    position: relative;
}
.nav-links li{
    padding: 20px;
   
}
.nav-links li a{
    color: white;
    text-decoration: none;
    
}

       /*side-bar DIV*/

.slide::after{
    content: '';
    margin-left: 100px;
    height: 100%;
    width: 180px;
    position: absolute;
    transition: 0.5s ease;
    transform: translateX(-180PX);
}
.toggle ul li{
color: white;
font-weight: 500;
padding: 20px 50px;
margin-top: -100px;
}
label input{
    display: none;
    visibility: hidden;
    -webkit-appearance: none;
    
}
.toggle{
    position: absolute;
    height: 30px;
    width: 30px;
    top: 20px;
    left: 15px;
    background-color: white;
    left: 15px;
    cursor: pointer;
    z-index: -1;
    border-radius: 2px;
    box-shadow: 0 0 10px black;
}
.toggle .common{
   position: absolute;
   height: 2px;
   width: 20px;
   background-color: rgb(110, 11, 134);
   border-radius: 50px;
   transition: 0.3s ease;
}
.toggle .top_line{
    top: 30%;
    left: 15%;
    transform: translate(-50% -50%);
}
.toggle .middle_line{
    top: 50%;
    left: 15%;
    transform: translate(-50% -50%);
}
.toggle .bottom_line{
    top: 70%;
    left: 15%;
    transform: translate(-50% -50%);
}
input:checked ~ .toggle .top_line{
left:2px;
top:14px;
width:25px;
transform: rotate( 45deg);

}
input:checked ~ .toggle .bottom_line{
left:2px;
top:14px;
width:25px;
transform: rotate( -45deg);
}
input:checked ~ .toggle .middle_line{
opacity: 0;
transform: rotate( 20deg);
}
input:checked ~ .slide{
    transform: translateX(0);
    box-shadow: 0 0 15px rgb(0, 0, 0);
}
       /*side-bar DIV*/
.menu-bar{
    background: rgb(0,100,0);
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    height: 500px;
    width: 1110px;
    border-radius: 40px 40px 0 0;
    position: absolute;
    margin-top: -10px;
    left: 75px;
} 
.menu-bar ul{
    display: inline-flex;
    list-style: none;
    margin-left: 30px;
}
.menu-bar ul li{
    width: 150px;
    padding: 15px;
    margin: 15px;
    margin-top:50px;
}
.menu-bar ul li a{
text-decoration: none;
color:rgba(252, 252, 252, 0.877);
font-weight: 900;
}
.active, .menu-bar ul li:hover{
border-radius: 9px;
background: #2bab0d;
}
.sub-menu-1{
    display: none;
}
.menu-bar ul li:hover .sub-menu-1{
display: block;
position: absolute;
background: rgb(0,100,0);
margin-top: 15px;
margin-left: -15px;
text-transform: lowercase;
}
.menu-bar ul li:hover .sub-menu-1 ul {
display: block;
margin: 10px;
}
.menu-bar ul li:hover .sub-menu-1 ul li{
    width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
    margin-top:40px;
}
.menu-bar ul li:hover .sub-menu-1 ul li:last-child{
border-bottom: none;
}
.menu-bar ul li:hover .sub-menu-1 ul li a:hover{
    color:#b2ff00 }
.fa-angle-right{
    float: right;
}
.sub-menu-2{
    display: none;
}
.hover-me:hover .sub-menu-2{
    position: absolute;
    display: block;
    margin-top: -40px;
    margin-left: 150px;
    background: rgb(0,100,0);
    text-transform: lowercase;
}
p{
    text-transform: lowercase;
    display:block;
}
.button{
   background-color: aqua;
}
/*<label>
        <input type="checkbox">
        <div class="toggle">
            <span class="top_line common"></span>
            <span class="middle_line common"></span>
            <span class="bottom_line common"></span>
            <div class="slide">
                <h1>MENU</h1>
            <ul>
                <li><a href="#"><i class="fas fa-tv"></i>Mathemaleaks</a></li>
                <li><a href="#"><i class="fas fa-book"></i>Maths teacher</a></li>
                <li><a href="#"><i class="fas fa-user"></i>Contacts</a></li>
                <li><a href="#"><i class="fas fa-folder"></i>Others</a></li>
            </ul>
            </div>
            <nav class="menu-bar">
                    <ul>
                    <li class="active"><a href="#">Home</a>
                        <div class="sub-menu-1">
                            <ul>
                    <li><a href="Maths teacher.Html">Maths teacher</a></li>
                    <li><a href="Mathemaleaks.html">Mathemaleaks</a></li>
                    <li><a href="Others.html">Others</a></li>
           </ul>
        </div>
        
                </li>
                    <li class="active"><a href="#">Maths teacher</a>
                        <div class="sub-menu-1">
                            <ul>
                    <li><a href="Maths teacher.Html">Maths teacher</a></li>
                    <li><a href="Mathemaleaks.html">Mathemaleaks</a></li>
                    <li><a href="Others.html">Others</a></li>
                    <li><a href="Contacts.html">Contacts</a></li>
           </ul>
        </div>
                </li>
                    <li class="active"><a href="#">Mathemaleaks</a>
                        <div class="sub-menu-1">
                            <ul>
                    <li><a href="Maths teacher.Html">Maths teacher</a></li>
                    <li><a href="Mathemaleaks.html">Mathemaleaks</a></li>
                    <li><a href="Others.html">Others</a></li>
                    <li><a href="Contacts.html">Contacts</a></li>
           </ul>
        </div>
        
                </li>
                    <li class="active"><a href="#">Others</a>
                        <div class="sub-menu-1">
                            <ul>
                    <li><a href="Maths teacher.Html">Maths teacher</a></li>
                    <li><a href="Mathemaleaks.html">Mathemaleaks</a></li>
                    <li><a href="Others.html">Others</a></li>
                    <li><a href="Contacts.html">Contacts</a></li>
           </ul>
           
        </div>
        
                
                    <li class="active"><a href="#">Contacts</a>
                        <div class="sub-menu-1">
                            <ul>
                    <li><a href="Maths teacher.Html">Maths teacher</a></li>
                    <li><a href="Mathemaleaks.html">Mathemaleaks</a></li>
                    <li><a href="Others.html">Others</a></li>
                    <li><a href="Contacts.html">Contacts</a></li>
           </ul>
        </div>
        
        </label>*/