* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 50vh; /*viewprt height*/
    width: 100%;
    background-image: linear-gradient(rgba(4,9,3,0.7), rgba(4,9,3,0.7)), url(../images/background_main.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    opacity: 95%;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 200px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: yellow;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
   width: 100%;
}

.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 50px;
    margin-top: 70px;
}

.text-box p {
    margin: 10px 0 40px; /*10 from top, 0 from left and right 40 from bottom */
    font-size: 14px;
    color: white;
}

/*----button-----*/
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    margin-top: 40px;
    margin-right: 50px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
} 
.hero-btn:hover {
    border: 1px solid red;
    background: red;
    transition: 0.5s;

}

nav .fa {
    display: none;
}

h1{
    font-size: 36px;
    font-weight: 600;
}
h2{
    
    font-size: 24px;
    font-weight: 600;
}
h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
p{
    color: black;
    font-size: 16px;
    font-weight: 400;   
    line-height: 24px;
     padding: 5px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.task {
width: 80%;
margin: auto;
padding-top: 0px;
padding-bottom: 0px;
}

.mark {
width: 75%;
margin: auto;
margin-bottom: 20px;
padding-top: 0px;
padding-bottom: 0px;
background-color: lightblue;
border-radius: 10px;
}
.mark h2 {
    text-align: center;
}

.task-col {
flex-basis: 48%;
padding: 30px 2px;
}
.task-col img{
width: 100%;
 box-shadow: 0 0 10px 0px rgba(4,9,3,0.5)
}
.task-col h1{
padding: 0px;
}
.task-col p{
padding: 15px 0 25px;
font-size: 16px;
}

.row2 {
    margin-top: 2%;
    display: flex;
    justify-content: space-evenly;
   
}
.task-col2 p{
padding: 0 0 0 0;

}
.task-col2 h3{
    text-align: left;
    font-weight: 800;
    margin: 10px 0;
    
}

.desc {
width: 80%;
margin: auto;
padding-top: 0px;
padding-bottom: 0px;
}
.desc1 {
    padding: 1px 1px;
    border-radius: 10px;
    margin-bottom: 5%;

}
.desc1 h2{
   padding: 5px;
}
.desc2 {
    padding: 1px 1px;
    background: lightblue;
    border-radius: 10px;
    margin-bottom: 5%;
    box-sizing: border-box;
    box-shadow: 0 0 10px 0px rgba(4,9,3,0.5)
}
.desc2 h2 {
     padding: 5px;
}

/*----------Footer----------*/

.footer {
    width: 100%;
    text-align: center;
    padding: 20px 0 0 0;
    margin-bottom: 20px;
}
.footer h4{
   margin-bottom: 25px;
   margin-top: 0px;
   font-weight: 600;
}
i {
  display: inline-block;
  margin-right: 1em;
}

@media(max-width: 700px){
.text-box h1{
    font-size: 24px;
}
.nav-links ul li{
    display: block;
}
.nav-links{
position: fixed;
background: #f44336;
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: 30px;
}
.row {
        flex-direction: column;
    }
.row2 {
        flex-direction: column;
    }
.hero-btn {
    display: block;
    margin: auto; 
    margin-bottom: 2%;
    width: 40%;
}
.task-col h1{
font-size: 18px;
}
.task-col p{
font-size: 14px;
}
.task-col2 h2{
    font-size: 18px;
}
.task-col2 h3{
    font-size: 16px;
}
.task-col2 p{
    font-size: 14px;
}
.desc1 h2{
    font-size: 18px;
}
.desc1 p{
    font-size: 14px;
}
}