*{
    box-sizing: border-box;
}

body {
    background-color: rgb(255, 255, 255);
}

h1{
    font-size: 4vw;
    width: 95%;
    margin: 20px auto;
    text-transform: capitalize;
    border-bottom: 6px double grey;
}
header{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}
section{
    width: 100%;
    margin: 0;
}
section:last-of-type{
    display: flex;
	justify-content:space-between;
    align-items: center;
    width: 60%;
    margin: 10px;
}
ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: center;
   
}

.menu{
	width: 70%;
    font-size: 1.3vw;
    border: none;
    padding: 3px 15px;
		
}

section:last-of-type > ul{
    display: block;
    width: 100%;

}

li{
    width: 20%;
    list-style-type: none;
    padding:1px 10px;
    border-right: 5px solid grey;
    font-size: 1.3vw;
    display:block;
}

li:last-of-type{
    border-right: none;
}

 img{
    width: 12%;
}

main{
    width: 95%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
}
article{
    width: 100%;
    margin: 20px auto;
}

img[alt="principal"]{
    width: 100%;
}

article:nth-of-type(2){
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  
}

h2{
    width: 100%;
    font-size: 2.3vw;
    margin-top: 0;
}

article:nth-of-type(2) > img{
    width: 50%;
}

@media screen and (min-width: 480px){


    article:nth-of-type(2) > img{
    width: 33%;
    }

}

@media screen and (min-width: 780px){


    article:nth-of-type(2) > img{
    width: 25%;
    }
    img[alt="p5"], img[alt="p6"]{
        display: none;
    }

}

@media screen and (min-width: 1024px){

    main{

        flex-wrap: nowrap;
        justify-content: space-between;
    }

    article:nth-of-type(2){
        width: 45%;
        padding-left: 20px;
        align-items: space-between;
    }

    article:nth-of-type(2) > img{
        width: 50%;
        padding: 10px 0;
    }
    
    img[alt="p5"], img[alt="p6"]{
        display: block;
    }
    .icon{
        display: none;
    }

}
footer{
    width: 95%;
    margin: 0 auto;
    font-size: 1.2vw;
    color: gray;
    padding-left: 40px; 
}

@media screen and (min-width:1024px){
	section:last-of-type{
		display: flex;
		justify-content:space-between;
    	align-items: center;
    	width: 60%;
    	margin: 10px auto;
		
	}
	
	.menu{
		display: block;	
		
	}
	
	.icon{
		display: none;	
	}
	}
@media screen and (min-width:1025px){
	section:last-of-type > ul{
	    display: flex;
	    justify-content:start;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0px;
	}

}