* {
    box-sizing: border-box;

}
body {
    align-items: center;
    font-family: Arial, Helvetica, sans-serifserif;

}
h1 {
    text-align: center;
}

section {
    border: 1px solid black;
    padding: 10px;
    font-size: large;
    display: inline-block;
    margin: 10px;
    position: relative;
    color: aliceblue;
    background: rgb(117, 111, 111);
    text-align: justify;
    border-radius: 5px;
}

span {
    padding: 2px 10px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    float: right;
    color: aliceblue;
    border: 1px solid black;
    background-color: rgb(245, 145, 145);
    font-style: bold;
    border-radius: 4px;
}

#sec2 span {
    background-color: rgb(191, 14, 8);
}
#sec3 span{
    background-color: rgb(227, 173, 79);
}
@media screen and (max-width: 767px) {
    section {
        width: auto;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    section {

        width: 45%;
        float: inline-start;
    }

    #sec3 {
        min-width: 92%;
       
    }
    
}
@media screen and (min-width: 992px) {
    section {
        width: 30%;
    
        float: inline-start;
    }
    
}
