body {
    font-family: 'Quicksand' ,sans-serif;
    padding: 0;
    margin: 0;
}
h3 {
    font-weight: 600;
}
svg {
    fill: var(--main-blue);
    height: 40px;
    width: 40px;
}
/* ------------------------------------ */
:root {
    --main-blue: #00A099;
    --grey: #5E5E5E;
    --light-grey: rgb(237, 242, 247);
    --light-blue: #10FEF3;
    --border-grey: rgb(216, 216, 216);
}
/* Footer */
footer {
    background-color: rgb(41, 41, 41);
    color: white !important;
}
#f-div {
    padding: 30px;
    display: flex;
    justify-content: center;
    margin: 0px 100px;
}
#f-div div {
    margin: 0px 5%;
    width: 200px;
}
#f-div > div h3 {
    color: var(--light-blue);
}
#f-links {
    list-style: none;
    display: inline;
}
#f-links li > a{
    text-decoration: none !important;
    color: white;
}
#f-links li > a:hover {
    color: var(--light-blue);
    transition: 400ms;
}
.sub-footer {
    text-align: center;
    padding: 1px;
    background-color: var(--main-blue);
}
.sub-footer h5 {
    margin: 10px;
    padding: 10px;
}

/* ---------- Index -------------------- */
/* Main */
.main {
    background-image: url(/assets/bay-holiday-lighthouse-7050.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    height: 70vh;
    color: white;
    display: flex;
    padding: 30px;
    align-items: center;
}
#main-left {
    margin-left: 10vw;
    width: 50%;
}
#main-left > p {
    line-height: 25px;
    font-weight: 500;
}
#main-right {
    margin-left: 10vw;
    width: 50%;
}
#main-right div {
    z-index: 0;
    height: 280px;
    width: 280px;
    border-radius: 50%;
    background-color: #17263d;
    border: 3px solid var(--main-blue);
}
#main-right div > img {
    margin-top: 75px;
    margin-left: 25px;
    z-index: 1;
    bottom: 0;
}

/* Div1 */
.div1 {
    background-color: var(--light-grey);
    padding: 80px 50px;
    text-align: center;
}
.div1 > h2 {
    margin: 10px;
}
.Div1-grid {
    display: flex;
    justify-content: space-evenly;
}
.Gdiv1-item {
    align-self: center;
    width: 150px;
}
/* Div2 */
.div2 {
    background-color: rgb(218, 218, 218);
    z-index: 0;
    background-image: url(/images/nik-macmillan-280300-unsplash.jpg);
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}
.div2-inner {
    color: white;
    z-index: 1;
    padding: 60px;
    clip-path: polygon(0 0, 50% 0, 75% 100%, 0% 100%);
    background-color: rgb(105, 105, 105);
    
}
.div2-inner *{
    margin-left: 5%;
    width: 40%;
}
/* Div3 */
.div3 {
    background-color: var(--main-blue);
    color: white;
    padding: 50px;
    text-align: center;
}
#Icons {
    justify-content: center;
    display: flex;
    padding: 30px 10px;
}
.Icon-layer {
    flex: 1;
}
.Icon-bck {
    display: inline-block;
    background-color: orange;
    height: 100px;
    width: 100px;
    border-radius: 50%;
}
.Icon-bck > img {
    margin-top: 25%;
}
.div4 {
    text-align: center;
    padding: 30px 10vw;
    background-color: var(--light-grey);
    display: flex;
}
.div4-left {
    width: 50%;
    text-align: left;
}
.div4-right {
    width: 50%;
    align-self: center;
}
/* ----------------- Services -------------------- */
.Idiv1 {
    background-color: rgb(255, 255, 255);
    padding: 150px 50px;
    text-align: center;
}
.Idiv2 {
    text-align: center;
    padding: 60px;
    background-color: var(--light-grey);
}
.Igrid {
    padding: 30px 0px;
    justify-content: center;
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-gap: 50px;
    width: 80%;
    margin: auto;
}
.Igrid-item img {
    border-radius: 10px 10px 0 0!important;
}
.grid-bck {
    padding: 5px 0;
    margin-top: -5px;
    width: 300px;
    background-color: var(--main-blue);
    color: var(--light-blue);
    border-radius: 0 0 10px 10px!important;
}
.services {
    background: url(/assets/vu-viet-anh-1194997-unsplash.jpg) rgba(12, 12, 12, 0.8);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 150px 50px;
    color: white;
    text-align: center;
}

/* ------------- About Us ------------ */
.about-us {
    background: url(/assets/trinity-treft-540342-unsplash.jpg) rgba(12, 12, 12, 0.8);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 150px 50px;
    color: white;
    text-align: center;
}
.A-div1 {
    background-color: var(--light-grey);
    padding: 40px;
    text-align: center;
}
.A-div1 p {
    padding-top: 20px;
    margin: auto;
    width: 50%;
    text-align: center;
}
.A-div2 {
    padding: 30px;
}
.card {
    width: 60%;
    margin: auto;
}
.card img {
    position: absolute;
    margin-top: 12vh;
    margin-left: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}
.Card-item > p {
    text-align: justify;
    font-weight: 400;
    line-height: 1.7;
}
.name {
    background-color: var(--main-blue);
    color: var(--light-blue);
    border-radius: 10px;
    width: 150px;
    margin: auto;
}
.card-top {
    height: 20vh;
    background: url(/assets/viktor-talashuk-1472688-unsplash.jpg) rgba(12, 12, 12, 0.7);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}
#CT2 {
    height: 20vh;
    background-image: url(/assets/jayden-wong-1680593-unsplash.jpg);
    background-color: rgba(12, 12, 12, 0.7);
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}
.card-bottom {
    text-align: center;
    padding: 30px;
    background-color: var(--light-grey);
    border-radius: 0 0 10px 10px;
}

/* --------------- Insurance ----------- */
.Insurance {
    background: url(/assets/4k-wallpaper-blue-sky-clouds-2090645.jpg) rgba(12, 12, 12, 0.8);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 150px 50px;
    color: white;
    text-align: center;
}
.ins-div2 {
    padding: 70px 30px;
    background-color: var(--light-grey);
    text-align: center;
}
.ins-div2 h3 {
    padding: 40px 0px 20px 0px;
}
.Ins-grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    grid-gap: 20px;
}
.Ins-grid-item p {
    font-weight: 500;
    text-align: left;
}
.QCircle {
    background-color: var(--light-blue);
    width: 80px;
    height: 80px;
    border-radius: 100%;
}
.QCircle img {
    margin-top: 25px;
}

/* ------------ Contact --------------- */
#pmobile {
    background-color: hsla(216, 45%, 16%, 0.062);
    padding: .5em;
    border-radius: 10px;
    width: 70%;
    margin: 0 auto;
    vertical-align: middle;
}
.contact {
    background-image: url(/assets/jayden-wong-1680593-unsplash.jpg) ;
    background-color: rgba(12, 12, 12, 0.7);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 150px 50px;
    text-align: center;
}
.Cdiv2 {
    padding: 40px;
    text-align: center;
    background-color: var(--light-grey);
}
.Cdiv2 p {
    margin: auto;
    padding: 30px; 
    width: 50%;
}
/* Map here */
.mapouter {
    margin: auto;
    text-align:center;
    height:500px;
    width:800px;
}
.Csub {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Cleft form {
    border: 1px solid var(--border-grey);
    background-color: rgb(248, 248, 248);
    text-align: left;
    padding: 30px;
    border-radius: 10px;
}
form div {
    margin-top: 15px;
}
.Fbtn {
    margin-top: 30px;
}
.Cleft {
    margin-right: 20px;
    width: 30%;
}
.Cright {
    border: 1px solid var(--border-grey);
    margin-left: 20px;
    padding: 30px 0;
    width: 30%;
    background-color: rgb(248, 248, 248);
    border-radius: 10px;
}
.Chours {
    margin: 30px;
    display: flex;
}
.CH-left {
    text-align: right;
    width: 40%;
}
.CH-right {
    width: 60%;
}
.gmap_canvas {
    display: block;
    overflow: hidden;
    background:none !important;
    height:500px;
    width: 100%;
}
.gmap_canvas iframe {
    height: 100%;
    width: 100%;
}
.mapouter {
    width: 100%;
}
/* ------------ Photo Gallery ------------*/
.PGdiv {
    background-color: var(--light-grey);
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 300px 300px 300px 300px;
    grid-gap: 20px;
    justify-content: center;
}
.PGitem img {
    height: 300px !important;
    width: 300px !important;
    background-size: cover;
}
.PGdiv1 {
    background: url(/assets/blooming-blur-close-up-459059.jpg) rgba(12, 12, 12, 0.6);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 150px 50px;
    color: white;
    text-align: center;
}

/* .-.-.-.- MEDIA QUERIES .-.-.-.--.- */
@media (min-width: 1281px){
    /* ------------------------------------ */
    /* Navbar */
    nav {
        font-weight: 600;
        padding: 10px;
        color: #008080;
        background-color: #17263d;
        display: flex;
    }
    .nav-right ul {
        margin-top: 15px;
        flex-direction: row;
        display: flex;
        text-align: center;
        list-style: none;
    }
    .nav-right > ul > li {
        flex: 1;
    }
    .nav-right > ul > li > a {
        text-decoration: none;
        color: var(--main-blue);
    }
    .nav-right > ul > li :hover {
        color: white;
    }
    /* ------------------------------------ */
    .nav-ham, .closebtn {
        display: none;
    }
    .nav-left {
        width: 40%;
    }
    .nav-right {
        width: 60%;
    }
    .Cleft, .Cright {
        width: 380px;
    }
    #main-left {
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 15px;
        padding: 20px;
    }
}

@media (min-width: 1025px) and (max-width: 1280px){
    /* ------------------------------------ */
    /* Navbar */
    nav {
        font-weight: 600;
        padding: 10px;
        color: teal;
        background-color: rgb(23, 38, 61);
        display: flex;
    }
    .nav-right ul {
        margin-top: 15px;
        flex-direction: row;
        display: flex;
        text-align: center;
        list-style: none;
    }
    .nav-right > ul > li {
        flex: 1;
    }
    .nav-right > ul > li > a {
        text-decoration: none;
        color: var(--main-blue);
    }
    .nav-right > ul > li :hover {
        color: white;
    }
    /* ------------------------------------ */
    .nav-ham, .closebtn {
        display: none;
    }
    .nav-left {
        width: 30%;
    }
    .nav-right {
        width: 70%;
    }
    
    #main-left {
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 15px;
        padding: 20px;
    }
    /* ------------ Photo Gallery ------------*/
    .PGdiv {
        padding: 30px 10px;
        grid-template-columns: 300px 300px 300px;
        grid-gap: 20px;
    }
    .PGitem img {
        height: 300px !important;
        width: 300px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px){
    /* ------------------------------------ */
    /* Navbar */
    nav {
        font-weight: 600;
        padding: 10px;
        color: teal;
        background-color: rgb(23, 38, 61);
        display: flex;
    }
    .nav-right ul {
        margin-top: 15px;
        flex-direction: row;
        display: flex;
        text-align: center;
        list-style: none;
    }
    .nav-right > ul > li {
        flex: 1;
    }
    .nav-right > ul > li > a {
        text-decoration: none;
        color: var(--main-blue);
    }
    .nav-right > ul > li :hover {
        color: white;
    }
    /* ------------------------------------ */
    .nav-left {
        width: 20%;
    }
    .nav-right {
        width: 80%;
    }
    .nav-ham, .closebtn {
        display: none;
    }
    #main-left {
        margin-left: 5vw;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 15px;
        padding: 20px;
    }
    #main-right {
        margin: 8vw;
    }
    #main-right > div {
        margin: auto;
    }
    .div1 {
        padding: 50px;
    }
    .div2-inner {
        padding: 50px;
    }
    .div2-inner * {
        margin-left: 5px;
        width: 50%;
    }
    .Div1-grid {
        display: flex;
        justify-content: space-evenly;
        grid-gap: 10px;
    }
    .Gdiv1-item {
        align-self: center;
        width: 150px;
    }
    .Gdiv1-item > img {
        height: 55px;
        width: 90px;
    }
    #f-div {
        display: grid;
        grid-template-columns: 100px 180px 180px 180px;
        grid-gap: 20px;
        margin: 1px;
        padding: 30px 0px;
    }
    #f-div > p {
        word-wrap: wrap;
    }
    /* ---------- Contact ------------ */
    .Cdiv2 p {
        margin: auto;
        padding: 30px 0px;
        width: 100%;
    }
    .Cleft {
        width: 60%;
        max-width: 350px;
        margin: auto;
    }
    .Cright {
        width: 60%;
        margin: auto;
        max-width: 350px;
        margin-top: 40px;
    }
    .Csub {
        flex-direction: column;
    }
    .gmap_canvas{
        width: 100%;
        margin: auto;
        overflow-x: scroll;
    }
    .gmap_canvas iframe{
        width: 100%;
        margin: pnone;
    }
    .mapouter {
        width: 100%;
    }
    /* ---------------- Services ----------- */
    .Igrid {
        grid-template-columns: 220px 220px 220px;
        grid-gap: 30px; 
    }
    .Igrid-item img{
        height: 220px !important;
        width: 220px !important;
    }
    .grid-bck {
        width: 220px;
    }
    /* ------------ Photo Gallery ------------*/
    .PGdiv {
        padding: 30px 10px;
        grid-template-columns: 220px 220px 220px;
        grid-gap: 20px;
    }
    .PGitem img {
        height: 220px !important;
        width: 220px !important;
    }
}

@media (min-width: 481px) and (max-width: 767px){
    /* ------------------------------------ */
    /* Navbar */
    nav {
        font-weight: 600;
        padding: 10px;
        color: teal;
        background-color: rgb(23, 38, 61);
        display: flex;
    }
    .nav-right ul {
        text-align: left;
        list-style: none;
    }
    .nav-right > ul > li {
        flex: 1;
    }
    .nav-right > ul > li > a {
        text-decoration: none;
        color: var(--main-blue);
    }
    .nav-right > ul > li :hover {
        color: white;
    }
    /* ------------------------------------ */
    .nav-left {
        width: 90%;
    }
    .nav-ham {
        width: 10%;
        margin: auto;
        text-align: center;
    }
    /* The side navigation menu */
    #mySidenav {
        width: 0;
        margin: 0;
    }
    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        margin: 0;
        background-color: #111;
        overflow-x: hidden;
        padding-top: 60px; 
        transition: 0.3s;
        visibility: hidden;
    }
    /* The navigation menu links */
    .sidenav > li {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }
    /* When you mouse over the navigation links, change their color */
    .sidenav li:hover {
        color: #f1f1f1;
    }
    #mySidenav {
        visibility: hidden;
    }
    /* Position and style the close button (top right corner) */
    .sidenav, .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }
    .main {
        flex-direction: column-reverse;
        height: 90vh;
        margin: auto;
    }
    #main-left {
        width: 90% !important;
        margin: auto;
        text-align: center;
    }
    #main-right {
        width: 100%;
        display: inline-block;
        margin: auto;
    }
    #main-right > div {
        margin: auto;
    }
    .Div1-grid {
        height: 550px;
        justify-content: space-between;
        flex-direction: column;
    }
    .Gdiv1-item > img {
        height: 70px;
        width: 120px;
    }
    .div1{
       padding: 50px; 
    }
    .div1 > p {
        margin: 20px;
    }
    .div2-inner {
        padding: 15px;
    }
    .div2-inner > p {
        width: 50%;
    }
    .div3 {
        padding: 20px;
    }
    #f-div {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 20px;
        margin: 0px 50px;
    }
    /* ---------- Contact ------------ */
    .Cdiv2 p {
        margin: auto;
        padding: 30px 0px;
        width: 100%;
    }
    .Cleft {
        width: 80%;
        max-width: 350px;
        margin: auto;
    }
    .Cright {
        width: 80%;
        max-width: 350px;
        margin: auto;
        margin-top: 40px;
    }
    .Csub {
        flex-direction: column;
    }
    .gmap_canvas{
        width: 100%;
        margin: auto;
        overflow-x: scroll;
    }
    .gmap_canvas iframe{
        width: 100%;
        margin: none;
    }
    .mapouter {
        width: 100%;
    }
    /* ------------- Insurance ---------- */
    .Ins-grid {
        grid-template-columns: auto auto;
    }
    .ins-div2 p {
        width: 100% !important;
    }
    /* ---------------- Services ----------- */
    .Igrid {
        grid-template-columns: 200px 200px;
        grid-gap: 30px; 
    }
    .Igrid-item img{
        height: 200px !important;
        width: 200px !important;
    }
    .grid-bck {
        width: 200px;
    }
    /* ----------------- About --------------- */
    .card {
        width: 80%;
    }
    .card-bottom {
        padding: 40px 30px;
    }
    /* ------------ Photo Gallery ------------*/
    .PGdiv {
        padding: 30px 10px;
        grid-template-columns: 220px 220px;
        grid-gap: 20px;
    }
    .PGitem img {
        height: 220px !important;
        width: 220px !important;
    }
}
@media (max-width: 480px){
    /* ------------------------------------ */
    /* Navbar */
    nav {
        font-weight: 600;
        padding: 10px;
        color: teal;
        background-color: rgb(23, 38, 61);
        display: flex;
    }
    .nav-right ul {
        text-align: left;
        list-style: none;
    }
    .nav-right > ul > li {
        flex: 1;
    }
    .nav-right > ul > li > a {
        text-decoration: none;
        color: var(--main-blue);
    }
    .nav-right > ul > li :hover {
        color: white;
    }
    /* ------------------------------------ */
    .nav-left {
        width: 90%;
    }
    .nav-ham {
        width: 10%;
        margin: auto;
        text-align: center;
    }
    /* The side navigation menu */
    #mySidenav {
        width: 0;
        margin: 0;
    }
    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        margin: 0;
        background-color: #111;
        overflow-x: hidden;
        padding-top: 60px; 
        transition: 0.3s;
        visibility: hidden;
    }
    /* The navigation menu links */
    .sidenav > li {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }
    .sidenav li:hover {
        color: #f1f1f1;
    }
    #mySidenav {
        visibility: hidden;
    }
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }
    .nav-left {
        width: 90%;
    }
    .nav-ham {
        width: 10%;
        margin: auto;
        text-align: center;
    }
    .Div1-grid {
        height: 550px;
        justify-content: space-between;
        flex-direction: column;
    }
    .Gdiv1-item > img {
        height: 70px;
        width: 120px;
    }
    /* ------ Navbar ---------- */
    #Icons {
        flex-direction: column;
    }
    .main {
        flex-direction: column-reverse;
        height: 90vh;
        padding: 40px 20px;
        margin: auto;
        box-sizing: content-box;
    }
    #main-left {
        width: 100% !important;
        margin: auto;
        text-align: center;
    }
    #main-left > p {
        line-height: 20px;
    }
    #main-right {
        width: 100%;
        padding-top: 5vh;
        margin: auto;
    }
    #main-right > div {
        margin: auto;
    }
    #main-right div {
        z-index: 0;
        height: 220px;
        width: 220px;
        border-radius: 50%;
        background-color: rgb(23, 38, 61);
        border: 3px solid var(--main-blue);
    }
    #main-right div > img {
        margin-top: 70px;
        margin-left: 20px;
        height: 80px;
        width: 180px;
        z-index: 1;
        bottom: 0;
    }
    .div1{
        padding: 50px; 
     }
     .div1 > p {
         margin: 20px;
     }
     .div2-inner {
         padding: 15px;
     }
     .div2-inner > p {
         width: 50%;
     }
     .div3 {
         padding: 20px;
     }
     .div4 {
         flex-direction: column;
     }
     .div4-left, .div4-right {
         width: 100%;
     }
    #f-div {
        display: grid;
        grid-template-columns: 1 1;
        grid-gap: 20px;
        margin: 0px 0px;
    }
    /* ------------- Insurance ---------- */
    .Ins-grid {
        grid-template-columns: auto;
    }
    .ins-div2 p {
        width: 100% !important;
    }
    /* ---------------- Services ----------- */
    .Igrid {
        grid-template-columns: 200px;
        grid-gap: 30px; 
    }
    .Igrid-item img{
        height: 200px !important;
        width: 200px !important;
    }
    .grid-bck {
        width: 200px;
    }
    /* ----------------- About --------------- */
    .A-div1 > p {
        width: 100%;
    }
    .card {
        width: 100%;
    }
    .card-bottom {
        padding: 40px 30px;
    }
    /* ------------ Photo Gallery ------------*/
    .PGdiv {
        padding: 30px 10px;
        grid-template-columns: auto;
        grid-gap: 20px;
    }
    .PGitem img {
        max-height: 250px !important;
        max-width: 250px !important;
    }
    /* ------------ Contact ---------- */
    .Cdiv2 p {
        margin: 0;
        padding: 30px 0px;
        width: 100%;
    }
    .Csub {
        flex-direction: column;
    }
    .Cleft {
        width: 100%;
        margin: auto;
    }
    .Cright {
        width: 100%;
        margin: auto;
        margin-top: 40px;
    }
}
