*{
    box-sizing: border-box;
}

body{
    background-color: rgb(77, 202, 165);
    outline: 10px solid purple;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

header{
    width: 100%;
    border: dotted 8px red;
    background-color: black;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px;
    justify-content: space-evenly;
}

a{
    color: white;
    font-size: 2.5em;
}

h1{
    font-size: 6em;
    text-align: center;
    letter-spacing: 8px;
    width: 90%;
    margin: 2px auto;
    text-shadow: -10px 10px 5px rgb(255, 139, 255);
}

h2{
    font-size: 2em;
    text-align: center;
    letter-spacing: 8px;
    width: 90%;
    margin: 20px auto;
    text-shadow: 10px -10px 5px rgb(226, 150, 78);
}

article{
    width: 95%;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
}

h3{
    color: white;
    font-size: 2em;
}

p{
    width: 100%;
}

img{
    width: 15%;
    margin: 10px auto;
    border: solid 5px rgb(12, 175, 12)
}

i:last-child{
    width: 100%;
    text-align: right;
    font-size: 3em;
}

article:nth-of-type(1){
    background-color: rgb(160, 160, 160);
    border: solid 2px pink;
}

article:nth-of-type(1)> section{
    width: 100%
}

article:nth-of-type(2){
    background-color: rgb(141, 63, 63);
    outline: dotted white 2px
}

article:nth-of-type(2)> section{
    width: 65%;
    margin: 10px auto;
}

article:nth-of-type(3){
    background-color: rgb(131, 24, 158);
    border: groove rgb(227, 115, 255) 3px
}

article:nth-of-type(3)> section{
    width: 80%;
    margin: 10px auto;
}

article:nth-of-type(4){
    background-color: rgb(187, 96, 96);
    border: groove rgb(235, 174, 174) 3px;
    flex-direction: row-reverse;
}

article:nth-of-type(4)> section{
    width: 80%;
    margin: 10px auto;
}