/* Global Settings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: rgba(0, 22, 37, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: white;
    width: 100%;
}

h1 {
    display: none;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 70px;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 70px;
    margin-top: 10px;
    margin-bottom: 20px;
}

h4 {
    font-weight: 400;
    line-height: 30px;
    font-size: 20px;
}

h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    text-align: justify;
}

/* Flex Universal */
.container {
    display: flex;
}

/* navbar/logo */


.nav-container {
    width: 100%;
    align-items: center;
    flex-direction: row-reverse;
}

#logo {
    height: 60px;
    width: auto;
    margin-top: 20px;
    margin-right: 30px; 

}

#nav-link-container {
    text-align: center;
    margin-top: 0px;
    width: 75%;
}


#nav-link-container li {
    list-style-type: none;
    display: inline-flex;
    margin: 0 20px;
    justify-content: space-between;
  }

#nav-link-container a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}



/* header */
header {
    height: 590px;
    width: 100%;
}

/* banner */
.bannerimg {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/background/boat repair 2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 750px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimgrepair {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/background/boat repair 2.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimgpainting {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/background/boat painting.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimgfiberglass {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/background/BoatFiberglass.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimggelcoat {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/background/GelcoatRepair.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimgvarnishing {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/brightwork/billickbrightwork/Maryland Brightwork Service 4.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannerimgconsulting {
    background-image: linear-gradient( rgba(129, 58, 0, 0.8), rgba(1, 38, 68, 0.8)), url("/resources/images/consulting/marina consultant.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 695px;
    width: 100%;
    position: absolute;
    top: -30px;
    z-index: -1
}

.bannertext {
    display: inline-block;
    position: absolute;
    width: 400px;
    color: white;
    left: 10%;
    top: 200px;
    text-align: center;
}

.bannertext h4 {
    font-size: 25px;
}

.toppage {
    margin-top: 90px;
    flex-wrap: nowrap;
    width: 100%;
}

.bannerpage {
    width: 50%;
    margin: auto 1% auto 5%;
    text-align: center;
}

.topimg {
    width: 38%;
    max-width: 600px;
    margin-left: 1%;
    margin-right: 5%;
    margin-top: 50px;
}

.bannerpage h4 {
    font-size: 30px;
    font-family: 'Playfair Display', serif;
}

.bannerpage h5 {
    font-size: 25px;
    line-height: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-align: center;
}

.video-container {
    display: block;
    z-index: 2;
    min-width: 500px;
    width: 50%;
    height: 450px;
    overflow:hidden;
    position:absolute;
    top: 160px;
    right: 2%;
}

#video-bg{
    width:100%;
    min-height: 100%;
    object-fit: contain;
    position: relative;
}

button {
    border: none;
    background-color: rgb(207, 66, 0);
    padding: 15px 32px;
    text-align: center;
    display: block;
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
    min-width: 150px;
}

#call {
    position: absolute;
    margin-top: 400px;
    left: 50%;
    transform: translate(-50%, 0);
    display: none;
    border: 1px solid white;
  }

  .callindex {
    margin-top: 450px!important;
  }

  .callconsulting {
    margin-top: 330px!important;
  }

#call a {
    color: white;
    text-decoration: none;
}

    /* Dropdown */
.dropbtn {
    margin: 0 auto;
    margin-top: 50px;
    border: 1px solid white;
    color: white;
    background-color: rgba(1, 38, 68, 0.9);
    padding: 15px 64px;
}

.dropbtn:active {
    background-color: rgb(207, 66, 0);
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 176px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align:center;
    top: 237px;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.dropdown-content a {
    border: 1px solid white;
    color: white;
    background-color: rgba(1, 38, 68, 0.9);
    padding: 14px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 10px;
    font-size: 20px;
}

.dropdown-content a:active {
    background-color: rgb(207, 66, 0);
}

.dropdown.show .dropdown-content {
    display: block;
}

#nav2 {
    display: none;
}


  /* Section */

    .section {
    width: 100%;
    flex-direction: row;
    margin-top: 170px;
    }

    .pagesection {
    }

    .pic {
    width: 100%;
    }

   .figureleft {
    margin: auto 1% auto 4%;
    width: 50%;
    }

    .articleright {
    width: 40%;
    margin: auto 4% auto 1%;
    }

    .articleleft {
    margin: auto 1% auto 4%;
    width: 40%;
    }

    .figureright {
    margin: auto 4% auto 1%;
    width: 50%;
    }

    .figurerightshadow {
    margin: auto 4% auto 3%;
    width: 50%;
    }

    .pictall {
    display: block;
    margin: 0 auto;
    max-height: 445px;
    }

    .button2 {
    padding: 8px 20px;
    outline: 1px solid white;
    margin: 0 auto;
    margin-top: 20px;
    }

    .button2 a {
    color:white;
    text-decoration: none;
    }

    .shadow {
        box-shadow: -30px 30px rgba(1, 38, 68, 0.9);
    }

/* Footer */

    footer {
        background-image: linear-gradient( rgba(129, 58, 0, 0.9), rgba(1, 38, 68, 0.9));
        margin-top: 100px;
        text-align: center;
    }

    .footer {
        width: 100%;
    }

    .contact {
        margin: 5% auto;
    }

    .contact img {
        width: 50%;
        max-width: 800px;
    }

    .contact p {
        text-align: center;
    }

/* Carousel */

.pagesection {
    margin-bottom: 100px;
}

.carousel {
    width: 80%;
    max-height: 70%;
    margin: 0 auto;
}

.carousel-inner {
    border: 10px solid rgba(1, 38, 68, 0.5);
}

.carousel h2 {
    text-align: center;
    margin-bottom: 40px;
}

.captiontitle {
    font-weight: bold;
    font-size: 25px;
}

.caption {
    text-align: center;
    font-size: 20px;
}

/* Article */

article h4, .imgbox h4 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 130px;
}

article .ol {
    font-size: 16px;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 100px;
}

article ol {
    display: inline-block;
    text-align: left;
}

.paragraph {
    font-family: 'Montserrat';
    margin-left: 10%;
    margin-right: 10%;
}

.paragraph li {
    font-size: 16px;
    margin-top: 80px;
    margin-bottom: 70px;
    text-align: justify;
}

.paragraph ul {

}

.sublist {
    margin-left: 30px;
    margin-top: 20px!important;
    margin-bottom: 30px!important;
}

.boldp {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}

/* logobox */

.logobox {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 10% 10% 10%;
    width: 80%;
}

.imgblock {
    background-color: white;
    margin: 2%;
    width: 40%;
    max-width: 150px;
    aspect-ratio : 1 / 1;
    align-items: center;
}

.imgblock img {
    width: 100%;
    align-items: center;
}


/* Mobile */

  @media screen and (max-width: 600px) {
    .dropdown {
        display: contents;
    }
    .nav-container {
        flex-direction: column;
    }
    .nav-container a {
        font-size: 18px;
        margin: 10px;
    }
    #logo {
        margin-right: 0px;
        margin-top: 30px;
        height: 70px;
    }
    .flex-430px {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }
    #nav-link-container {
        margin-top: 30px;
        display: none;
    }
    #nav-link-container li {
        display: block;
    }
    #nav-link-container a {
        font-size: 20px;
        line-height: 32px;
        font-weight: 400;
    }
    .bannerimg {
        width: 100%;
        height: 820px;
    }
    .bannertext {
        margin-top: 80px;
        text-align: center;
        width: 100%;
        left: auto;
    }
    .bannertext h2 {
        font-size: 50px;
    }
    .bannerpage h4 {
        font-size: 20px;
    }
    header {
        height: 400px;
    }
    #call {
        display: block;
    }
    h3 {
        font-size: 50px;
    }
    #nav2 {
        display: block;
    }
    .bannerpage h2 {
        font-size: 40px;
    }
    .toppage {
        margin-top: -30px;
        margin-bottom: -300px;
    }
    .pagehead {
        margin-top: 50px;
        margin-bottom: 130px;
    }
    .section p {
        font-size: 15px;
    }
    footer p {
        font-size: 15px;
    }
    .pic {
        margin-bottom: 10px;
    }
    .pictall {
        width: 90%;
        margin-bottom: 10px;
    }
    .section:nth-of-type(1) {
        margin-top: 240px;
    }
    .carousel {
        width: 90%;
        max-height: 80%;
    }
    .pagesection:nth-of-type(1) {
        margin-top:200px;
    }
    .bannerimgpainting, .bannerimgrepair, .bannerimggelcoat, .bannerimgfiberglass, .bannerimgvarnishing, .bannerimgconsulting {
        height: 800px;
    }
    .carousel-inner {
        border: none;
    }
    .bannerpage h5 {
        font-size: 20px;
        line-height: 30px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
    }
    }
    

  @media screen and (max-width: 1000px) {
  .video-container {
    display: none;
    }
    .carousel h2 {
        font-size: 30px;
    }
    article h4, .imgbox h4 {
        font-size: 25px;
        margin-bottom: 30px;
    }
    article .ol {
        font-size: 13px;
    }
    .paragraph li, .paragraph p {
        font-size: 13px;
    }
    .bannertext {
        left:0;
        right:0;
        margin-left:auto;
        margin-right:auto;
    }
    }

  @media screen and (max-width: 1200px) {
    .section {
        flex-direction: column;
    }
    .fig2nd {
        flex-direction: column-reverse;
    }
    .shadow {
        box-shadow: -20px 20px rgba(1, 38, 68, 0.9);
    }
    .figureleft {
    width: 90%;
    margin: auto 5%;
    }
    .articleright {
        width: 90%;
        margin: auto 5%;
    }
    .articleleft {
        width: 90%;
        margin: auto 5%;
    }
    .figureright {
        width: 90%;
        margin: auto 5%;
    }
    .figurerightshadow {
        margin: auto 5%;
        width: 90%;
    }
    article h5 {
        display:none;
    }
    .topimg {
        display:none;
    }
    .bannerpage {
            width: 100%;
            text-align: center;
            margin: 50px auto 0 auto;   
    }
    .carousel-caption {
        display:none;
    }
    
  }


