html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    width: 100%;
}

h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
}

*, * :before, *:after {
    box-sizing: border-box;
}

h5 {
    margin-top: 20px;
}

h3 {
    margin-top: 8px;
}

#next-of__kin {
    border: 1px solid #a2d1f3;
    padding: 15px;
    width: 100%;
    overflow: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 7px;
    margin-top: 8px;
    margin-bottom: 10px;
}

/* Hide scrollbar for Chrome, Safari and Opera */

form::-webkit-scrollbar {
    display: none;
}

#next-of__kin>div {
    margin: 9px;
}

h4 {
    margin-top: 10px;
    text-transform: uppercase;
}

.form-title {
    display: none;
}

#next-details {
    font-size: 0.9rem;
}

#next-address {
    font-size: 0.8rem;
}

#inner-form {
    margin-top: 8px;
}

@media screen and (min-width: 370px) {
    #next-details {
        font-size: 1rem;
    }
    #next-address {
        font-size: 1rem;
    }
}

@media screen and (min-width: 600px) {
    #page-header {
        margin-bottom: 20px;
    }
}

@media screen and (min-width: 850px) {
    #biodata {
        color: #379ce4;
    }
    #contact-sidebar {
        color: #379ce4;
    }
    #next-sidebar {
        background-color: #1d90e2;
        color: #fff;
    }
    #next-of__kin {
        position: relative;
        overflow: unset;
    }
    #next-details {
        display: none;
    }
    #next-address {
        display: none;
    }
    #inner-form {
        position: relative;
        overflow: unset;
        margin-top: 14px;
    }
    .form-title {
        position: absolute;
        border: 1px solid #fff;
        background-color: #fff;
        font-weight: 500;
        font-size: 0.9rem;
        padding-left: 5px;
        padding-right: 5px;
        color: #47a5e7;
        display: unset;
        top: -21px;
        left: 3px;
    }
}