body {
    margin: 0;
    padding: 0;
}


.htemplate {
    //height: 100vh;
    background-color: white;
    color: white;
}

.htemplate .row {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

.htemplate .row .box {
    background-image: url(./img/1.jpg);
    background-position: center center;
    background-size: cover;
    background-color: aqua;
    height: 20vh;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.template-use header {
    height: 110px;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.htemplate .row [class*='col'] {
    padding: 1em;
   
    width: 25%;
    box-sizing: border-box;
}

@media screen and (min-width: 600px) {
    .htemplate .row .col {
        flex: 1;
    }

    .htemplate .row .col-1 {width: 12.5%;}

    .htemplate .row .col-2 {width: 25%;}

    .htemplate .row .col-3 {width: 37.5%;}

    .htemplate .row .col-4 {width: 50%;}

    .htemplate .row .col-5 {width: 62.5%;}

    .htemplate .row .col-6 {width: 75%;}

    .htemplate .row .col-7 {width: 87.5%;}

    .htemplate .row .col-8 {width: 100%; }
}

.right-corn  {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 48px;
    font-weight: bold;
    background-color: #163A64;
    color: white;
    padding-bottom: 15px;
}

@media(max-width: 600px) {
    .htemplate .row  [class*='col'] {
        padding: 1em;
        width: 100%;
        box-sizing: border-box;
    }

    .htemplate .row .right-corn {

        font-size: 30px;


    }

    .htemplate .row .box {
        height: 300px;
    }


    .template-use header {
        height: 86px;
    }

}


@media screen and (min-width: 600px) and (max-width: 980px) {
    .htemplate .row  [class*='col'] {
        padding: 1em;
        width: 100%;
        box-sizing: border-box;
    }

    .htemplate .row .right-corn {
        font-size: 40px;
    }

    .htemplate .row .box {
        height: 300px;
    }


    .template-use header {
        height: 110px;
    }
}

@media screen and (min-width:980px) {
    .htemplate .row [class*='col'] {
        padding: 1em;
        width: 100%;
        box-sizing: border-box;
    }

    .htemplate .row .right-corn {
        font-size: 48px;
    }

    .htemplate .row .box {
        height: 300px;
    }


    .template-use header {
        height: 110px;
    }


}
