* {
    margin: 0px;
    padding: 0px;
}

html {
    box-sizing: border-box;
    font-family:'Young Serif', serif;

}

body {
    background: rgb(26, 156, 201);
    background: linear-gradient(90deg, rgba(26, 156, 201, 1) 18%, rgba(195, 25, 140, 1) 48%, rgba(104, 102, 137, 1) 70%, rgb(24, 216, 233) 83%, rgba(202, 24, 233, 1) 97%);

}

.list a {
    color: rgb(14, 134, 171);
    text-decoration: none;
    font-size: 18px;

}

.navigation {
    max-width: 1000px;
    margin: 0 auto;
}

.flex-nav {
    width: 100%;
}

.list {
    height: 70px;
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    border: 2px solid rgb(5, 77, 99);
    background-color: #00000045;

}

.header {
    height: 600px;
}

.header_inner {
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.header_inner img{
    height: 80%;
    width: 50%;
}
.header_info{
    width: 30%;
    margin-left: 10%;
    color:darkgreen;
    
}



.about{
    height: 600px;
    margin: 150px 0px;
}

.about_inner{
    height: 100% ;
    max-width: 1200px ;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.block:nth-child(even){
    align-self: flex-end;
}



 .block{
    height: 300px;
    width: 200px;
    background-color: rgba(244, 203, 20, 0.766);
    border: 4px  silver;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;  
    border-radius: 15px;
 }
 .block img{
    height: 100px;
    width: 100px;
    margin-bottom: 25px;
   
 }






@media all and (max-width:1000px) {
    .list {
        height: 140px;
        flex-wrap: wrap;
    }

    .list li {
        flex: 1 1 15%;
        text-align: center;
    }

    .social {
        flex: 1 1 25%;
    }
    .header_inner img{
        height: 50vw;
        width: 30vw;
    }
    .about_inner{
    justify-content: space-around;
}
.block{
    margin-bottom: 50px;
}
}


@media all and (max-width:500px) {
    .list a {
        font-size: 15px;
    }
.header_inner{
    flex-direction: column-reverse;
    justify-content: space-around;

}
.header_info{
    margin-left: 0px;
    font-size: 20px;
}
.header{
    height: 500px;
}

}