*{
    margin: 0;
    padding:0; 
}
/*-------------------header section--------------------*/
.header{
    min-height: 80vh;
    width: 100%;
    height:70vh;
    background-color: rgb(51, 134, 169);/* entire background*/
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;/* 4 navigation tabs in the top right*/

}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;/*removes bullet points*/
    display: inline-block;/*puts them next to each other*/
    padding: 8px 12px;/*Spaces between each word*/
    position: relative;
}
.nav-links ul li a{
    color: rgb(0, 0, 0);/*Link color*/
    text-decoration: none;/*remove underline*/
    font-size: 23px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #b01e14;/*underline under nav*/
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;/*Goes with the top*/
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 30%;
    left: 50%;transform: translate(-50%,-50%);
    text-align: left;/*main txt*/

}
.text-box h1{
    font-size: 62px;/*dinkapedia*/
    margin-top: 50px;
}
.text-box p{
    font-size: 20px;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid;
    padding: 12px 34px;/*button*/
    margin-top: 25px;
    font-size: 20px;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px soild #f44336;
    background: #f44336;
    transition: 1ps;
}
/*-----------------------this whole section is for mobile----------------------------*/
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
    }
    nav .fa{
        display: block;
        color: #000000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}
/*----------------learning section------------*/

.learning{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.learning h1{
    font-size: 30px;
    font-weight: 600;
    color:#000000;
}
.learning p{
    color: #000000;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
/*----------------learning text------------*/
.container{
    margin-top: 5%;
    display: flex;
    justify-content: center;
    flex-basis: 31%;
    background: #e8ebed;
    border-radius: 10px;
    flex-direction: column;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.container:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);

}
@media(max-width: 700){
    .learning{
        flex-direction: column;
    }
}
/*---------------------Wiki page------------------------*/

.wiki{
    width: 100%;
    height: 500px;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    background-color:rgb(51, 134, 169);
}