@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
}

main {
    padding-bottom: 60px;
}

button:focus {
    outline: none;
}

.ksh-logo {
    width: 185px;
    height: 70px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 14px;
}

#mainNavbar {
    background-color: #243859;
    padding-bottom: 30px;
}

button.navbar-toggler {
    margin-right: 10px;
}

nav.navbar .active {
    background-color: #243859;
}

nav.navbar {
    padding: 0;
}

.mainCard {
    transition: transform .2s;
    border-radius: 16px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: none;
    overflow: hidden;
    cursor: pointer;
    height: 240px;
    background-repeat: no-repeat;
    background-size: cover;
    outline: 2px solid #F0F0F1;
    outline-offset: -1px;

}

.mainCard .text {
    display: inline-block;
    position: relative;
    text-align: center;
    transform: translateY(75%);
    transition: all 0.7s ease;
    background-color: #ffffff;
    height: 240px;
}

.mainCard:hover .text {
    transform: translateY(0);
}

.mainCardImgOne {
    background-image: url("../img/sub/01.jpg");
}

.mainCardImgTwo {
    background-image: url("../img/sub/02.jpg");
}

.mainCardImgThree {
    background-image: url("../img/sub/03.jpg");
}

.mainCardImgFour {
    background-image: url("../img/sub/04.jpg");
}

.mainCardImgFive {
    background-image: url("../img/sub/05.jpg");
}

.mainCardImgSix {
    background-image: url("../img/sub/06.jpg");
}

.mainCardImgSeven {
    background-image: url("../img/sub/07.jpg");
}

.mainCardImgEight {
    background-image: url("../img/sub/08.jpg");
}

.mainCardImgNine {
    background-image: url("../img/sub/09.jpg");
}

.mainCardImgTen {
    background-image: url("../img/sub/10.png");
    background-position: 40% 500%;
}

.card-img-top {
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 183px;
}

.cardTitleFrame {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-title {
    font-size: 16px;
    margin-bottom: 0;
}

.card-description {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
}

hr {
    display: inline-block;
    text-align: left;
    width: 70px;
    margin-top: 6px;
    margin-bottom: 60px;
    margin-left: 0;
    height: 6px;
    color: #333333;
    background-color: #333333;
}

.mainH2 {
    font-size: 34px;
    color: #333333;
    width: 80%;
    font-weight: bold;
    margin-top: 50px;
}

h2.subpageH2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 44px;
}

p.subpageParagraph {
    font-size: 24px;
    margin-bottom: 50px;
}

a.phoneNumber {
    color: #333333;
    font-size: 34px;
    font-weight: bold;
}

a.phoneNumber:hover {
    color: #000000;
}

.mainParagraph {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 120px;
}

a.mainLink {
    color: #333333;
    text-align: center;
    font-size: 18px;
}

a.mainLink:hover {
    text-decoration: none;
}

ul.navbar-nav {
    width: 30%;
    float: left;
    margin-right: auto;
    margin-left: auto;
}

ul.navbar-nav:nth-child(1) {
    margin-left: 22%;
    margin-top: 50px;
}

ul.navbar-nav:nth-child(2) {
    margin-top: 50px;
}

button.navbar-toggler {
    border: none !important;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active {
    color: #ffffff;
    margin: 10px;
}

.navbar-light .navbar-nav .nav-link:focus {
    color: #02D4B7;
    text-decoration: underline;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #02D4B7;
    text-decoration: underline;
}

a.mainContactButton {
    background: #02D4B7;
    color: #243859 !important;
    width: 220px;
    border-radius: 7px;
    text-align: center;
    margin: 22px 10px;
}

.navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    text-decoration: none;
}

a.supageContactButton {
    background: #243859;
    width: 350px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 75px;
    color: #ffffff;
    display: block;
    padding: 15px 18px;
    font-size: 24px;
    border: 2px solid transparent;
    text-decoration: none;
}

a.supageContactButton:hover {
    background: #ffffff;
    color: #243859;
    text-decoration: none;
    border-color: #243859;
}

.lead {
    font-size: 34px;
    margin-bottom: 115px;
}

@media (max-width: 991.98px) {

    ul.navbar-nav {
        width: 50%;
    }

    ul.navbar-nav:nth-child(1) {
        margin-left: 0;
    }
}

@media only screen and (max-width: 800px) {

    h1.subpageH1 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h2.subpageH2 {
        margin-bottom: 1rem;
    }

    h2.subpageH2 {
        font-size: 1.5rem;
        margin-top: 1rem;
        width: 100%;
    }

    h2.subpageContactH2 {
        font-size: 1.5rem;
        width: 100%;
    }

    .mainParagraph {
        font-size: 1rem;
        width: 100%;
        margin: 20px 0;
    }

    p.subpageParagraph {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    #mainNavbar {
        padding-bottom: 0;
    }

    ul.navbar-nav {
        width: 100%;
        float: left;
        margin-right: auto;
        margin-left: auto;
    }

    ul.navbar-nav:nth-child(1) {
        margin-left: 0;
        margin-top: 20px;
    }

    ul.navbar-nav:nth-child(2) {
        margin-left: 0;
        margin-top: 0;
    }

    button.navbar-toggler {
        border: none !important;
    }

    .mainCard:hover {
        transform: scale(1.03);
    }

    .mainCard:hover .text {
        text-align: center;
        transform: none;
    }

    .mainCard .text {
        transform: translateY(75%);
    }

    a.supageContactButton {
        width: 100%;
        font-size: 1.35rem;
        margin: 2rem 0;
    }

    a.phoneNumber {
        font-size: 2rem;
    }

    a.nav-link.mainContactButton {
        width: 94%;
        margin-bottom: 1.5rem !important;
    }

    hr {
        margin: 0;
    }

    .lead {
        margin-bottom: 1rem;
        font-weight: 400;
    }

    li.green-bullet-list-item {
        margin: 0 0 0 1.8rem;
        padding-left: 1rem;
        padding-bottom: 1rem;
        font-size: 1rem;
    }

    ol.green-bullet-list {
        margin: 0;
        padding-left: 0;
        width: 100%;
    }
}