@charset "utf-8";
/* CSS Document */
.demo2 {
    background-color: #0DB300;
    height: auto;
    position: relative;
    width: 19%;
    text-align: center;
    margin-top: 0px;
    border-radius: 10px;
}
.demo2:nth-child(1){
    background-color: #EFB664;
}
.demo2:nth-child(1):after{
    border-top: 10px solid #EFB664;
}


.demo2:nth-child(2) {
    background-color: #B78533;
}
.demo2:nth-child(2):after{
    border-top: 10px solid #B78533;
}

.demo2:nth-child(3) {
    background-color: #5AB743;
}
.demo2:nth-child(3):after{
    border-top: 10px solid #5AB743;
}

.demo2:nth-child(4) {
    background-color: #307C00;
}
.demo2:nth-child(4):after{
    border-top: 10px solid #307C00;
}

.demo2:nth-child(5) {
    background-color: #D04682;
}
.demo2:nth-child(5):after{
    border-top: 10px solid #D04682;
}

.demo2 a {
    padding: 20px 10px;
    display: block;
    color: #FFFFFF;
    font-size: 0.9em;
    text-decoration: none;
}

.demo2:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    border-left: 10px solid #FFFFFF;
    border-right: 10px solid #FFFFFF;
    border-bottom: 10px solid #FFFFFF;
    border-top: 10px solid #0DB300;
    top: 100%;
    left: 50%;
    margin-left: -10px;
}
#list {
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-justify-content: space-between; /* Safari */
    justify-content: space-between;
    -webkit-flex-wrap: wrap; /* Safari */
    flex-wrap: wrap;
    margin-bottom: 50px;
}
section {
    border: 5px solid #85FFB9;
    border-radius: 5px;
    padding: 15px;
}
section:nth-child(1) {
    border: 5px solid ;
}
#s1 {
    border-color: #B78533;
}
#s2 {
    border-color: #5AB743;
}
#s3 {
    border-color: #307C00;
}
#s4 {
    border-color: #D04682;
}
#s5 {
    border-color: #D04682;
}





@media screen and (max-width:640px){
section {


}
h2 {
    margin-top: -70px;
    padding-top: 70px;
}
.demo2 a {
    font-size: 0.6em;
    padding: 10px 4px;
}



}
