
<style> 
body{
            color: white;
            background-color:rgb(255, 255, 255);
            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;
}
h1 {
    color: rgb(136, 21, 130);
    margin-left: 120px;
    margin-top: -5px;
}



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{
    text-align: center;
    display: inline-flex;
    background-size: cover;
    width: 1250px;
  height: auto;
    
    background-color: #2bab0d;
    opacity: 0.77;
    font-weight: 800;
    font-size: large;

}

nav .ul{
    display: inline-block;
}
.hide{
display: none;
}

.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;
}



@media (max-width: 550px) {




    body{
   width: 100%
}


     .special{
                
                color:  blue;
                display: inline-flex;
                font-size: xx-small;
                text-align: center;
                background-color:#2bab0d;
                height: 100px;
                width: 100%;
                border-radius: 15px 15px 0px 0px
                
            }
            .special li{
                font-size: small;
            }
                
                h6{
                    color: rgb(238, 10, 10);
                    display: inline;
                    font-size: small;
                    font-weight: bolder;

                }
                
                
.menu-bar{
    background: rgb(0,100,0);
    text-align: center;
    text-transform: uppercase;
    font-weight: 100;
    height: 600px;
    width: 100%;
    border-radius: 40px 40px 0 0;
    position: absolute;
    margin-top: 0px;
    left: 0px;
} 
.menu-bar ul{
    display: inline-flex;
    list-style: none;
    margin-left: 0px;
}
.menu-bar ul li{
    width: 10px;
    padding: 20px;
    margin: 15px;
    margin-top:50px;
 display: grid;
}
.menu-bar ul li a{
text-decoration: none;
color:rgba(252, 252, 252, 0.877);
font-weight: 200;
font-size: xx-small;
color: rgba(252, 252, 252, 0.877);
}
.active, .menu-bar ul li:hover{
border-radius: 9px;
background-color: rgb(0,100,0);


}
.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: 1px;
text-transform: lowercase;
}
.menu-bar ul li:hover .sub-menu-1 ul {
display: block;
margin: 3px;
}
.menu-bar ul li:hover .sub-menu-1 ul li{
    width: 70px;
    padding: 5px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
    margin-top:20px;
    
}
.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: -10px;
    margin-left: 30px;
    background: rgb(0,100,0);
    text-transform: lowercase;
    
}
    header .logo a {
background: rgb(254, 255, 254);
display: inline-flex;
position: absolute;
width: 100%;
inset: 0;
opacity: 0.7;
height: 100%;
z-index:-10;
border-radius: 0% 0% 9% 9%;
background-repeat: no-repeat;
padding: ;
margin-top: 700px;
margin-left:0px;}

    section{
    height: 300px;

    flex-direction: row;
    font-size: large;
    padding: 10px;
    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: 100%;
inset: 0;
opacity: 0.7;
height: 400px;
z-index:-10;
border-radius: 0% 0% 9% 9%;
background-repeat: no-repeat;
padding: ;
margin-top: 700px;
margin-left:0px;

margin-bottom: 0;

}
  h1 {
    margin-left: 0;
    text-align: center;
    font-size: 20px;
  }
  

  button {
    margin: 10px;
    display: inline-block;
    width: 40%;
  }

  li {
    padding: 15px;
    text-align: center;
  }

  footer {
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 30%;
  }

  header::before {
    background-size: cover;
    height: 100%;
  }

  section .logo a::before {
    display: 100%;
  }
  a{
    display: 100%

  }
  body{
            
            color: white;
        
            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: 0px;

}
header::before {
content: '';
background-image: url(Images/background\ school\ nyumbani.png);
background-size: 100%;
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: 100%;
z-index:-10;
border-radius: 6%;
background-repeat: no-repeat;
padding: -350px;
margin-top: 160px;
margin-left:0px ;
margin-right: 0px;
}


h1 {
    color: rgb(136, 21, 130);
    margin-left: 120px;
    margin-top: -5px;
}
iframe{
    margin-left: 0px;
    background-color: rgb(241, 241, 241);
    border-radius: 10px;
    margin-top: 30px;
    width: 500px;
}
</style> 



