*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}


header{top: 8px;
    position: absolute;
    background-color: #fff;
    width: 100%;
    height: 18vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 4;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.7);
}

header.sticky{
    position: fixed;
    top: 8;
    width: 100%;
}

#logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 20%;
    height: 20vh;
  
}

#logo .text{
    padding-left: 1px;
    color: rgb(131, 48, 131);
    text-align: center;
}

#logo .p1{
    font-size: 1.2em;
    font-weight: bold;
}


#logo .p2{
    font-size: 0.7em;
    font-weight:100;
}

#logo img{
    width: 67px;
}

#student-portal{
    display: flex;
    justify-content: end;
    width: 75%;
    height: 30%;
    margin-right: 3px;
    align-items: center;
}

#side-menu{
    position: relative;
    background-image: url(./icons/icons8-menu-24.png);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    cursor: pointer;
    
}

#side-menu.close{
    position: relative;
    background-image: url(./icons/icons8-close-24.png);
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    cursor: pointer;
    transform: scale(0.6);

}

#student-portal h3{
     text-transform: capitalize;
    font-size: 0.9em;
    color: rgb(131, 48, 131);
    cursor: pointer;
    border-radius: 3px;
    padding: 3px 2px;
    text-align: center;
    transform: 1s ease;
}

#student-portal a{
    border-color: #b15bb1;
}

#student-portal img{background-color: #fff;
    cursor: pointer;
    margin: 0 10px;
    width: 23px;
    filter: invert(0);
    transform: scale(0.9);
    transition: 0.5s;
}

#student-portal img:hover{
    transform: scale(0.9) translateY(-12px);
}

#student-portal h3:hover{
    box-shadow: 0 0 0 1px rgb(131, 48, 131);
}

#school-portal{
    display: none;
}

#school-portal.dropdown{
    display: flex;
    top: 18vh;
    right: 0;
    position: absolute;
    width: 100%;
    height: calc(95vh - 14vh);
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    border-radius: 0 0 5px 5px;  
    transition: 0.5s;
}

#school-portal li{
    list-style: none;

}

#school-portal li a{
    font-size: 1.5em;
    line-height: 2.1em;
    color: #fff;
    text-align: left;
    padding: 0 4px 0 8px;
    
}

#school-portal li:hover{
    box-shadow: 0px 0px 0 1px rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 5px;
}

#menu-page{
    display: none;
}

#menu-page.open{ 
    position: absolute;
    top: 18vh;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    right: 5px;
    width: 550px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.96);
}

#menu-page.open hr{
    width: 500px;
    border-color: #d3b4d3;
    border-width: 1px;
}

#menu-page.open ul, li a{
    color: #fff;
    text-decoration: none;
    list-style: none;
    font-size: 1.3em;
    text-transform: capitalize;
    text-align: left;
    line-height: ;
    padding: 8px 10px;
    text-decoration: none;
   
    
}

#menu-page.open ul{
    line-height: 1.7;

}

.mobil-no{ margin-top: 10px;
    display: flex;
    align-items: center;
    font-size: 1em;
    padding: 0;
}

.email{
    color: blue;
    margin-top: 10px;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    font-size: 1em;
    padding: 0;
}

#menu-page img{
    filter: invert(1);
    transform: scale(0.95);
    padding: 0 6px;
    
}


#menu-page li a:hover{
    box-shadow: 3px 0 0 0;
    background-color: #b15bb1;
    transition: 0.4s ease-in-out;
}

#menu-page .socials img{
    margin-top: 15px;
    filter: invert(1);
    transform: scale(1.1);
    transition: 0.5s;
    
}

#menu-page .socials img:hover{
    transform: scale(1.1) translateY(-11px);

}

/* main section  with a class of 'form-page'*/

.form-page{
    background-color: #b15bb1;
    position: relative;
    top: 130px;
    width: 100%;
    height: 150vh;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

/* about page */
.about-page{
    background-color: #b15bb1;
    position: relative;
    top: 130px;
    width: 100%;
    height: 200vh;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}


/* Sign up for news and updates main page */
.news-update{
    top: 140px;
    width: 100%;
    height: 70vh;
    display: flex;    
}

.sign-up{
    background-color: rgb(245, 238, 238);
    width: calc(100% - 20px);
    height: calc(100% - 10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-radius: 20px;
}

/* content container of about page */

.about-content{
    background-color: rgb(245, 238, 238);
    width: calc(100% - 60px);
   
}

.about-page-p{
    padding: 30px 30px;

}

.sign-up input, select{
    padding: 12px 16px;
    margin-top: 8px;
    color: #b15bb1;
}

.sign-up h3, ::placeholder, p{
    color: #b15bb1;
}

label{
    padding: 12px 0;
    color: #b15bb1;
}
 




/* footer section page */
footer{background-color: #b15bb1;
    width: 100%;
    min-height: calc(80vh);
    position: absolute;
    top: 174%;
    padding-top: 13px;
    box-sizing: border-box;

}


/* footer page for news / updates */
.footer-news-updates{
    top: 100%;
}

/* footer page for about page */
.footer-about-page{
    top: 215%;

}

.footer-line{
    height: 3%;
}

.footer-logo{
    background-color: #fff;
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.endorsed{
    width: calc(100% - 80px);
    height: 20vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 150px, 1fr));
    gap: 2rem;
}

.basic-edu{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 5px 0 5px 0px;
    align-items: center;
    justify-content: center;
}

.lagos-schoolonline{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 8px 0;
    align-items: center;
    justify-content: center;
}

#ng-check{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0px 0px;
    align-items: center;
    justify-content: center;
}


.universal-basic-edu{display: flex;
    width: 3.6em;
   height: 4.2em;
   justify-content: center;

}

.lag-sch-online{
    width: 10em;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
}

.ng-check{display: flex;
    flex-wrap: wrap;
    filter: invert(1);
    width: 8em;
    cursor: pointer;
}

.footer-summary-container{
    max-width: calc(100%);
    height: 90%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 20px 40px;
}

.footer-summary-container ul{
    color: #fff;
    list-style: none;
    line-height: 1.5em;
}

.footer-summary-container h1{
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.footer-summary-container p{
    display: flex;
    position: absolute;
    left: 0;
    padding: 0 5px;
    justify-content: center;
    color: #fff;
    font-size: 1em;
    text-align: center;
    width: 100%;
}

.phone-email{
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    position: absolute;
    left: 0;
}

.links-colaborations .links-img{
    position: absolute;
    margin-top: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
}

.footer-summary-container .developer{
    font-size: 0.6em;
    position: absolute;
    margin-top: 130px;
    background-color: #000;
    width: 100%;
    left: 0;
}

.links-colaborations .email{
    padding-left: 10px;
    margin-top: 20px;
}

.links-colaborations .email img{
    width: 1.3em;
    display: flex;
}

.links-colaborations .email h6{
    font-size: 0.9em;   
    text-decoration: underline;
}

.links-colaborations .phone{
    display: flex;
    align-items: center;
    position: absolute;
    transform: scale(1);
    padding-left: 10px;
}

.links-colaborations .phone img{
    width: 1em;
    height: 1.2em;
}

.links-colaborations .phone h6{
    font-size: 0.9em;
    font-weight: 100;
}

.links-colaborations{
    padding: 20px 0;
    position: absolute;
    display: flex;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.links-colaborations img{
    filter: invert(1);
    transform:g;
    width: 1.1em;
    margin-right: 2px;
}


.links-colaborations ul li{
    font-size: 0.8em;
}

.footer-summary-container .copyright ul li{
    font-size: 0.9em;
    font-weight: 100;
}


/* media query for some sections, of the pages 'head' section and 'footer' */

@media (max-width: 610px) {
    
    #logo{
        width: 70px;
    }
    
    
    #side-menu{
        position: relative;
        background-image: url(./icons/icons8-menu-24.png);
        background-repeat: no-repeat;
        cursor: pointer;
        width: 25px;
        transform: scale(0.8);
    }
    
    #side-menu.close{
        position: relative;
        background-image: url(./icons/icons8-close-24.png);
        background-repeat: no-repeat;
        cursor: pointer;
        width: 25px;
        height: 25px;
        transform: scale(0.5);
        padding-right: 12px;
    }
  
    #student-portal{
        width: 70%;
    }
    
    #student-portal h3{
        font-size: 1em;
    }
    
    #student-portal img{
        cursor: pointer;
        margin: 0 2px;
        width: 20px;
        filter:grayscale(10); 
        transform: scale(0.9);
    }

    #school-portal li{
        font-size: 1.3em;
        padding-left: 5px;

    }

    #menu-page img{
        transform: scale(0.6);
    }

    .mobil-no{
        display: flex;
    }

    .email .email p{
        display: flex;
    }

    .socials img{
        transform: scale(1);
    }

    .caption-text{
        font-size: 1.8em;
    }

    .register{
        font-size: 1em;
    
}

.endorsed{
    width: calc(100% - 20px);
    height: 20vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 90px, 1fr));
    gap: 1rem;

}

.universal-basic-edu{display: flex;
    width: 2.8em;
   height: 3.2em;
   justify-content: center;

}

.lag-sch-online{
    width: 10.5em;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
}

.ng-check{display: flex;
    flex-wrap: wrap;
    filter: invert(1);
    width: 6.5em;
    cursor: pointer;
}

}

/* adjustments for smaller screen size */


@media(max-width: 455px) {

    #logo .text{
        padding-left: 1px;
        color: rgb(131, 48, 131);
        text-align: center;
    }
    
    #logo .p1{
        font-size: 1.2em;
        font-weight: bold;
    }
    
    #logo .p2{
        font-size: 0.6em;
        font-weight:100;
    }
    
    #logo img{
        width: 50px;
    }

    #menu-page.open{
        position: absolute;
        top: 21vh;
        height: 610px;
    }

    #side-menu{
        position: relative;
        background-image: url(./icons/icons8-menu-24.png);
        width: 25px;
        height: 25px;
        background-repeat: no-repeat;
        cursor: pointer;
        
    }

    #school-portal.dropdown{
        display: flex;
        top: 18vh;
        right: 0;
        position: absolute;
        width: 100%;
        height: calc(95vh - 14vh);
        background-color: rgba(0, 0, 0, 0.88);
        justify-content: center;
        align-items: center;
        border-radius: 0 0 5px 5px;  
        transition: 0.5s;
    }
    
    
    
    #school-portal li a{
        font-size: 0.8em;
        line-height: 2.2em;
        color: #fff;
        text-align: left;
        padding: 0 4px 0 8px;
        list-style: none;
    }

    #student-portal h3{
       text-transform: capitalize;
       font-size: 0.95em;
       color: rgb(131, 48, 131);
       cursor: pointer;
       border-radius: 3px;
       padding: 3px 2px;
       text-align: center;
       transform: 1s ease;
   }

   #menu-page.open ul{
    line-height: 2.5;

}

    #logo .p1{
        font-size: 1.1em;
    }
    
    
    #logo .p2{
        font-size: 0.65em;
    }

    /* main page resizing */

    .form-page{
        position: relative;
        top: 140px;
        
    }

    
    
    .sign-up{
        background-color: rgb(245, 238, 238);
        width: calc(100% - 20px);
        height: calc(100% - 10px);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        padding: 30px 0;
    }
    
    .sign-up input, select{
        padding: 12px 16px;
        margin-top: 8px;
        color: #b15bb1;
    }
   

footer{
    top: 190%;
    padding-top: 13px;
}

.footer-about-page{
    top: 240%;

}

.footer-summary-container{
    background-color: #945994;
    width: 100%;
    min-height: calc(85vh);
    position: relative;
    top: 29%;
    padding-top: 13px;
}

.endorsed{
    width: calc(100% - 20px);
    height: 20vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax( 40px, 1fr));
    gap: 1rem;

}

.endorsed img{
    transform: scale(0.98);
}

.universal-basic-edu{
    width: 2.5em;
}

.lag-sch-online{
    width: 7em;
   
}

.ng-check{
    width: 5em;
}

.footer-summary-container{
    width: 100%;
    height: 40vh;
    position: absolute;
    display: flex;
    padding: 20px 20px;
}

.links-colaborations{
    max-width: 100%;
    min-height: 41vh;
}

.phone-email{
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    width: 100%;
    position: absolute;
    left: 0;
}

.links-colaborations .links-img{
    position: absolute;
    margin-top: 110px;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
}

}

@media(max-width: 650px) {

    #logo .text{
        padding-left: 1px;
        color: rgb(131, 48, 131);
        text-align: center;
    }
    
    #logo .p1{
        font-size: 1.1em;
        font-weight: bold;
    }
    
    
    #logo .p2{
        font-size: 0.65em;
        font-weight:100;
    }
    
    #logo img{
        width: 67px;
    }

    #menu-page.open{position: absolute;
        top: 21vh;
        height: 620px;
    }

    #school-portal.dropdown{
        display: flex;
        top: 18vh;
        right: 0;
        position: absolute;
        width: 100%;
        height: calc(95vh - 14vh);
        background-color: rgba(0, 0, 0, 0.85);
        justify-content: center;
        align-items: center;
        border-radius: 0 0 5px 5px;  
        transition: 0.5s;
    }
    
    
    
    #school-portal li a{
        font-size: 0.9em;
        line-height: 2.4em;
        color: #fff;
        text-align: left;
        padding: 0 4px 0 8px;
        list-style: none;
    }


    .box1{position: absolute;
        width: 90px;
        height: 100px;
        background-color: gold;
        left: 0;
        top: 0;
        margin: 10px;
        border-radius: 3px;
    }
    
    .box2{
        margin: 20px;
        position: absolute;
        width: 230px;
        height: 260px;
        background-color: rgba(51, 49, 49, 0.7);
        top: 0;
        left: 0;
        color: #fff;
        border-radius: 2px;
    }

.box3{margin-left: 20%;
}


.cards{
    background-color: transparent;
    max-width: 160px;
    min-height: 365px;
    position: absolute;
    right: 110px;
    top: 18px;
    background-size: cover;
    background-position: center;
}

.davesther-schools{
    top: 240%;
}


}


