body {
        font: 15px/1.5 arial, helvetica, sans-serif;
        padding: 0;
        margin: 0;
        background: url("../images/aluminum.png") no-repeat;
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
}

/*global*/

.certificatebox {
    float: left;
    display: inline-block;
    width: 80%;
    margin-left: 10%;
    height: auto;
}

.certbox {
    border: 5px solid blue;
    padding: 10px;
    margin-left: 5px;
    display: inline;
    float: left;
    width: 250px;
    height: 250px;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

nav {
    position: absolute;
    z-index: 20;
    width: 400px;
    background: none;
    float: left;
    left: 400px;
    top: 2%;
    margin-top: 20px;
}

.repairTech {
    background: url(../images/serviceIcon.png) no-repeat;
}

.RVinspection {
    background: none;
}

.link {
    width: 100px;
    height: 65px;
    border-color: black;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: bolder;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    padding: 3px;
    z-index: 99;
}

.subLink {
    width: max-content;
    background: none;
    border: none;
    text-decoration: none;
    color: black;
    font-weight: bolder;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
}

.subLink:hover {
    width: 100%;
    background: yellow;
    color: blue;
}

dropdown.active > .link,
.link:hover {
    color: blue;
}

.dropdown {
    position: relative;
    z-index: 10;
    
}

.dropdown-menu {
    z-index: 11;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    position: absolute;
    left: 0;
    top: calc(100% + .25rem);
    background-color: white;
    padding: .75rem;
    border-radius: .25rem;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
    font-size: 5px;
}

.dropdown.active > .link + .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
}

nav > .header, .dropdown {
    float: left;
    margin: 0 10px 0 10px;
}

ul{
    margin: 0;
    padding: 0;
}

/*header*/
header {
    background: rgb(99, 96, 96);
    padding-top: 10px;
    min-height: 70px;
    border-bottom: black 3px solid;
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
}

/*.currentpage {
    color: orange;
}*/

.sealtech {
    width: 20rem;
}

header a{
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

header li{
    float: left;
    display: inline;
    padding: 0 0 0 20px;
}

header .branding {
    float: left;
}

header .branding img{
    height: 120px;
    width: auto;
}

header .branding{
    margin:0;
}

header nav{
    float: right;
    margin-top: 20px;
}

nav .facebook img{
    width: 50px;
    height: auto;
}

header a:hover {
    background-color: black;
    color: white;
}


/* showcase */



#mobilelogo {
    display: none;
}

#showcase {
    min-height: 200px;
    background:  rgba(55, 1, 248, 0.3);
    text-align: center;
}

#showcase h1 {
    margin-top: 20px;
    font-size: 40px;
    margin-bottom: 10px;
}

#showcase p {
    font-size: 20px;
}

#reviews {
    padding: 1% 20% 1% 20%;
    text-align: center;
    font-style: italic;
    
}

.customerReview span {
    font-weight: bolder;
    font-style: normal;
}

#nrvia{
    padding: 15px;
}

#rvia{
    padding: 15px;
}

.nrviaStyle {
    font-weight: bolder;
    font-size: 1.3rem;
    color: darkgreen;
}

.rviaStyle {
    font-weight: normal;
    font-size: 3px;
    color: black;
}

.about ul li{
    list-style-position: inside;
    text-indent: 40px;

}

.standout {
    color: purple;
    font-size: .9rem;
}

.container h3{
    color: black;
    font-size: x-large;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

/* about */
.about p{
    text-indent: 20px;
}

footer {
    text-align: center;
    font-size: .7rem;
    padding: 20px;
    margin-top: 10px;
    background:  rgba(55, 1, 248, 0.3);
}

/* media queries */
@media(max-width: 800px){
    #showcase{
        margin-top: 120px;
    }
    
    header .branding{
        display: none;
    }

    nav {
        position: absolute;
        z-index: 20;
        width: 400px;
        background: none;
        float: left;
        left: 50px;
        top: 3%;
        margin-top: 20px;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
    }
    
    .link {
        width: 100px;
        height: 65px;
        background: none;
        border-color: black;
        border-radius: 5px;
        text-decoration: none;
        color: white;
        font-weight: bolder;
        font-family: inherit;
        font-size: 15px;
        cursor: pointer;
        padding: 3px;
        z-index: 99;
    }

    .subLink {
        width: max-content;
        background: none;
        border: none;
        text-decoration: none;
        color: black;
        font-weight: bolder;
        font-family: inherit;
        font-size: 13px;
        cursor: pointer;
        padding: 0;
    }

    #mobilelogo{
        display: block;
        height: 10px;
        padding-top: 10px;
        padding-bottom: 35%;
        text-align: center;
    }

    .mobileLogo {
        width: 70%;
    }

    .sealtech {
        width: 15rem;
    }

    section > .rvia{
        margin-top: 5px;
    }

    header nav,
    header li {
        float: none;
        text-align: center;
        width: 100%;
    }

    header {
        padding-bottom: 5px;
    }

    header nav{
        margin-top: 10px;
    }

}