/* Media Queries */

@media (min-width: 1200px) {
    .h1,
    h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .h2,
    h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    .h3,
    h3 {
        font-size: 2.75rem;
    }
}

@media (min-width: 1200px) {
    .h4,
    h4 {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 767px) {
    .family {
        display: block !important;
    }
    .family-responsive {
        display: none !important;
    }
    .arrow-2 {
        display: block !important;
    }
    .insurance-shopping {
        background-position: 0% -150px !important;
    }
    .insurance-coverage {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .coverage-type {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    .section-one .icons {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
}

@media only screen and (min-width: 480px) and (max-width: 766px) {
    .insurance-coverage {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .icons .vehicle,
    .icons .travel,
    .icons .property,
    .icons .life,
    .icons .health {
        display: block !important;
    }
}

body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.025rem;
    color: #283458;
}

.h1,
h1 {
    font-size: calc(2rem + 1.25vw);
    font-weight: 700;
}

.h2,
h2 {
    font-size: calc(1.7rem + 0.7vw);
}

.h3,
h3 {
    font-size: calc(1.675rem + 0.5vw);
}

.h4,
h4 {
    font-size: calc(1.575rem + 0.3vw);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.5rem;
}

.link-theme-light:hover {
    color: #69abb3;
    cursor: pointer;
}

p,
ul {
    font-weight: 300;
}

.img-fit {
    width: 100%;
    object-fit: cover;
}

.height-400 {
    height: 400px;
}

.btn:focus {
    box-shadow: none !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #283458 !important;
}

.form-text {
    font-size: .675em !important;
}

.insurance-shopping {
    height: 650px;
    background-image: url('/public/images/hero.jpg');
    background-position: 0 -100px;
    background-repeat: no-repeat;
}

.icons .vehicle,
.icons .travel,
.icons .property,
.icons .life,
.icons .health {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 16px;
    font-family: "Poppins";
    font-weight: 400;
    color: rgb(255, 255, 255);
}

.section-two h1 {
    color: #69abb3;
}

.arrow-2 {
    display: none;
}

.section-two .icons {
    display: block
}

.family {
    display: none;
}

.family-responsive {
    display: block;
}

.bg-theme {
    background-image: linear-gradient(to bottom, #69abb3, #283458);
}

.bg-theme-light {
    background-color: #69abb3;
}

.bg-theme-dark {
    background-color: #283458;
}

.text-theme-light {
    color: #69abb3;
}

.text-theme-dark {
    color: #283458;
}

.font-weight-500 {
    font-weight: 500;
}

.btn {
    border-radius: 0 !important;
}

button.bg-theme-light:hover {
    color: #283458 !important;
}

button.bg-theme-dark:hover {
    color: #69abb3 !important;
}

.list-style-none {
    list-style-type: none !important;
}

.text-decor-none {
    text-decoration: none !important;
}

/*Hide all except first fieldset*/

#insurance-form fieldset:not(:first-of-type) {
    display: none;
}


/*form styles*/

#insurance-form {
    width: 100%;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}

#insurance-form fieldset {
    background: transparent;
    border: 0 none;
    border-radius: 3px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    /*stacking fieldsets above each other*/
    position: absolute;
}

.insurance-coverage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
}

.insurance-coverage .fire {
    text-align: center;
}

.coverage-type {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(50px, auto);
}

.insurance-quote-button {
    position: relative;
    margin: auto;
    padding: 8px 22px;
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none;
}

.insurance-quote-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .5);
    width: 40px;
    height: 40px;
    transition: all .3s ease;
}

.insurance-quote-button span {
    color: #fff;
    position: relative;
    letter-spacing: .05em;
    text-transform: uppercase;
    vertical-align: middle;
}

.insurance-quote-button svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #fff;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all .3s ease;
}

.insurance-quote-button:hover span {
    color: #283458 !important;
}

.insurance-quote-button:hover svg{
    stroke: #283458;
    transform: translateX(0) !important;
}

.insurance-quote-button:hover::before {
    width: 100% !important;
    background: rgba(255, 255, 255, 1);
}

.quote-banner {
    position: relative;
    overflow: hidden;
}

.quote-banner_bg {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    left: 0;
}

.quote-banner_bg svg {
    -webkit-transform: rotate(180deg) translateX(-38%);
    transform: rotate(180deg) translateX(-38%);
}

.fill-color {
    fill: #45bce5;
    color: #fff;
}

.text-decor-none:hover {
    text-decoration: underline !important;
}

.nav-item .nav-link {
    font-weight: 500 !important;
}

.nav-item .nav-link:hover {
    color: #69abb3 !important;
}

.nav-item .nav-link:after {
    display:block;
    content: '';
    border-bottom: solid 3px #283458;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
}

.nav-item .nav-link:hover:after { transform: scaleX(1); }