html
{
    background-color: white;
    height: 100%;
    overflow: hidden;
}
body
{
    margin: 0vw;
    padding: 0vw;
    height: 100%;
    -webkit-perspective: 2px;
    perspective: 2px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: scroll;
}
#header{
    height: auto;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto;
    position: sticky;
    top: 0vw;
    left: 0vw;
    z-index: 10;
}
#topcontact{
    height: auto;
    width: 100%;
    display: grid;
    background-color: #f8f8f8ef;
    grid-template-columns: 19% 42% 20% 20%;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
}
#tc1{
    display: grid;
    grid-template-columns: 40% 60%;
    text-align: center;
}
#tc1 p{
    margin: 0;
    font-size: 1.4vw;
    margin-right: 1vw;
}
#tc1 a{
    text-decoration: none;
    font-size: 1.4vw;
    text-align: left;
}
#tc2{
    text-align: center;
}
#tc2 p{
    margin: 0;
    font-size: 1.4vw;
}
#tc3{
    text-align: center;
}
#tc3link{
    font-size: 1.4vw;
    color: #065894;
    text-decoration: none;
    padding: 0.3vw;
}
#tc3link:hover{
    color: #f8f8f8ef;
    background-color: #065894;
    transition: ease-in-out 0.3s;
}
#logo{
    width: 14vw;
    height: 2.5vw;
    padding: 0.5vw;
}
#topcontactmobile{
    background-color: white;
    height: auto;
    width: 100%;
    text-align: center;
    display: none;
}
#topcontactmobile p{
    margin: 0;
    font-size: 1.4vw;
}

.linesspans{
    font-size: 1.4vw;
    color: #065894;
}
#tcsocialbuttons{
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: center;
}
#facebtn{
    background-color: transparent;
    margin-left: 3vw;
    border: none;
}
#facebtn:hover{
    cursor: pointer;
}
#facebtn img{
    height: 1.5vw;
    width: 8vw;
}
#instabtn{
    background-color: transparent;
    border: none;
}
#instabtn:hover{
    cursor: pointer;
}
#instabtn img{
    height: 2.5vh;
    width: 1.3vw;
}
#mainheader{
    background-color: #065894;
    display: grid;
    grid-template-columns: 40% 60%;
    height: auto;
}
#topnav{
    display: grid;
    grid-template-columns: 10% 30% 15% 30% 15%;
    text-align: center;
}
.tnlinks{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.1vw;
    text-decoration: none;
    color: white;
    line-height: 4vw;
}
.tnlinks:hover{
    background-color: white;
    color: #065894;
    /*border-radius: 1vw;*/
    box-shadow: 0.2vw 0.2vw 0.5vw #000000;
    transition: ease-in-out 0.3s;
}
/* end of header */
/*Home Page Main Information*/
main {
    height: 100vh;
}
#item6{
    margin-top: -20vw;
    height: 40vw;
    width: 100%;   
}
#welcomeheaderh1 {
    text-shadow: 0 0px 0 #fff, 0 0px 0 #2e2e2e, 0 0px 0 #2c2c2c, 0 0px 0 #2a2a2a, 0 2px 0 #282828, 0 3px 0 #262626, 0 4px 0 #242424, 0 5px 0 #222, 0 6px 0 #202020, 0 7px 0 #1e1e1e, 0 8px 0 #1c1c1c, 0 9px 0 #1a1a1a, 0 10px 0 #181818, 0 11px 0 #161616, 0 12px 0 #141414, 0 13px 0 #121212, 0 20px 28px rgba(0, 0, 0, 0.9);
}
.parallax {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
}
@keyframes fadeInAnimation { 
    0% { 
        opacity: 0; 
    } 
    100% { 
        opacity: 1; 
    } 
} 
.parallax ::before {
    content: "";
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    opacity: 0.5;
    background-image: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) ), url(baseball.jpg);
    background-position: center;
    background-size: 100vw auto;
    transform-style: preserve-3d;
    margin-top: -2vw;
    position: absolute;
    z-index: -1;
    transform: translateZ(-1px) scale(2);
    animation: fadeInAnimation ease 6s;
}
.parallax-inner {
    padding-top: 15%;
    padding-bottom: 15%;
}
.parallax2 {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    margin-bottom: 10vw;
}
.parallax2 ::before {
    content: "";
    width: 100vw;
    height: 100vh;
    margin-top: -40vw;  
    left: 0;
    background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(hikingbeltone.jpg);
    background-position: center;
    background-size: 100vw auto;
    transform-style: preserve-3d;
    position: absolute;
    z-index: -2;
    transform: translateZ(-1px) scale(2);
}
.parallax-inner2 {
    padding-top: 15%;
    padding-bottom: 15%;
}
.parallax3 {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
   
}
.parallax3 ::before {
    content: "";
    width: 100vw;
    height: 100vh;
    left: 0;
    background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(doctorpointingtoaidsbeltone.jpg);
    background-position: center;
    background-size: 80% auto;
    transform-style: preserve-3d;
    margin-top: -33vw;
    position: absolute;
    z-index: -3;
    transform: translateZ(-1px) scale(2);
}
.parallax-inner3 {
    padding-top: 15%;
    padding-bottom: 15%;
}

#bar1 {
    background-image: url(blue-white-bar.svg);
    background-size: 100% 47px;
    bottom: 0;
    height: 47px;
    margin-top: -10vw;
    animation: fadeInAnimation ease 3.2s;
}
#bluebox {
    background-color: #065894;
    height: 6vw;
    width: 100%;
    position: relative;
    z-index: 6;
}
#whitebg {
    position: relative;
    z-index: 6;
    background-color: white;
}
#whitebg2 {
    background-color: white;
    height: 84vh;
}
#bar2 {
    background-image: url(blue-white-bar.svg);
    background-size: 100% 47px;
    bottom: 0;
    height: 47px;
    transform: rotateX(180deg);
    margin-top: -0.3vw;
    background-color: white;
}
#bar2nobackground {
    background-image: url(blue-white-bar.svg);
    background-size: 100% 47px;
    bottom: 0;
    height: 47px;
    transform: rotateX(180deg);
    margin-top: -0.1vw;
    background-color: none;
}
#item6 h1{
    
    font-size: 5vw;
    text-align: center;
    margin-bottom: 5vw;
    color: rgb(255, 255, 255);
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32vh;
}
#item6 span{
    color: #ffffff;
}

#importanceofhearinghealth{
    width: 50vw;
    margin-left: 5vw;
    font-size: 2vw;
}
#importanceofhearinghealthvideo{
    margin-top: -4.4vw;
}
#item5{
    display: grid;
    grid-template-columns: 50% 50%;
    height: auto;
    width: 100%;
    background-color: white;
    padding-top: 4vw;
}
.slideshow{
    height: 30vw;
    width: 80vw;
}
.slideshowbtn{
    margin-left: auto;
    margin-right: auto;
}
.mySlides{

    display: none;
    margin-top: 3vw;
    z-index: 3;
    box-shadow: 1vw 1vw 2vw black;
}
#yourLocalBeltone{
    margin-right: 10vw;
    opacity: 0;
    margin-bottom: 5vw;
    text-align: center;
    transition: all ease-in 2s;
}
#yourLocalBeltone h3{
    font-size: 3.5vw;
    color: #065894;
    text-align: center;
}
#yourLocalBeltone p{
    font-size: 2vw;
    color: black;
    text-align: center;
}

#yourLocalBeltone button{
    width: 15vw;
    margin-top: 2vw;
    border-radius: 1vw;
    height: 3vw;
    text-align: center;
    font-size: 1vw;
    background-color: rgb(0,60,255);
    color: white;
    outline: none;
}
#yourLocalBeltone button:hover{
    cursor: pointer;
    background-color: rgb(0, 119, 255)
}
#item1{
    
    height: 32vw;
    width: 100%;
    background-color: white;
    border-bottom: 1vw blue;
    padding-bottom: 4vw;
}
#item1 button{
    width: 15vw;
    margin-top: 2vw;
    border-radius: 1vw;
    height: 3vw;
    text-align: center;
    font-size: 1vw;
    background-color: rgb(0, 60, 255);
    color: white;
    outline: none;
}
#item1 a{
    width: 50vw;
}
#item1 button:hover{
    cursor: pointer;
    background-color: rgb(0, 119, 255)
}
#item1h3{
    margin: 0;
    margin-bottom: 1vw;
    font-size: 6vw;
    text-align: center;
}
#item1h4{
    margin: 0;
    margin-bottom: 3vw;
    font-size: 4vw;
    text-align: center;
}
#item1h3 span{
    margin: 0;
    font-size: 8vw;
    color: #065894;
    text-align: center;
}
#item1h4 span{
    margin: 0;
    margin-bottom: 3vw;
    font-size: 5vw;
    color: #065894;
    text-align: center;
}
#aboutbeltone{
    display: flex;
    flex-direction: row;
    height: 31.5vw;
    width: 100%;
}
#aboutbeltonebox{
    height: 25vw;
    width: 30vw;
    margin-left: 10vw;
    margin-right: 10vw;
    opacity: 0;
    margin-top: 20vw;
    text-align: center;
    transition: all 1s ease-in;
}
#aboutbeltonebox h3{
    font-size: 3.5vw;
    color: #065894;
}
#aboutbeltonebox p{
    font-size: 2vw;
    color: black;
}
#aboutbeltonevid{
    margin-top: 5vw;
}
#item2{
    
    
    width: 100%;
    background-color: none;
}

#innovation{
    
    width: 100%;
}
#innovationbox{
    text-align: center;
    width: 60vw;
    margin-right: auto;
    margin-left: auto;
    position: auto;
}
#innovationbox h3{
    margin-top: auto;
    font-size: 4vw;
    margin-bottom: auto;
    color: #065894;
}
#innovationbox p{
    font-size: 2vw;
    color: white;
}

#item3{
    margin-top: 1vw;
    height: 40vw;
    width: 100%;
    background-color: none;
    margin-right: auto;
    margin-left: auto;
}
#creatememories{
    height: 38vw;
    width: 100%;
    background-color: none;
    margin-left: auto;
    margin-right: auto;
}
#creatememoriesbox{
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vw;
    height: 30vw;
    width: 40vw;
    text-align: center;
}
#creatememoriesbox h3{
    margin: 0;
    margin-top: 5vw;
    font-size: 4vw;
    color: #065894;
}
#creatememoriesbox h4{
    margin: 0;
    margin-top: 1vw;
    font-size: 3vw;
    color: rgb(0, 81, 255);
}
#creatememoriesbox p{
    font-size: 1.5vw;
    color: white;
}
#creatememoriesbox button{
    margin-top: 2vw;
    font-size: 1vw;
    width: 15vw;
    height: 3vw;
    border-radius: 1vw;
    color: white;
    background-color: rgb(0, 60, 255);
    outline: none;
}
#creatememoriesbox button:hover{
    cursor: pointer;
    background-color: rgb(0, 119, 255)
}
#creatememoriespic{
    margin-top: 5vw;
    height: 30vw;
    width: 40vw;
}
#creatememoriespic img{
    height: 30vw;
    width: 40vw;
}
#item4{
    height: 40vw;
    width: 100%;
    background-color: white;
}
#reliableproducts{
    display: flex;
    flex-direction: row;
    height: 40vw;
    width: 100%;
}
#reliableproductsbox{
    text-align: center;
    margin-left: 5vw;
    margin-right: 1vw;
    opacity: 0;
    margin-top: 20vw;
    height: 40vw;
    width: 40vw;
    transition: all ease-in 1s;
}
#reliableproductsbox h3{
    margin: 0;
    padding-top: 8vw;
    font-size: 4vw;
    color: #065894;
}
#reliableproductsbox h4{
    margin: 0;
    padding-top: 1vw;
    font-size: 3vw;
    color: rgb(0, 81, 255);
}
#reliableproductsbox p{
    font-size: 1.5vw;
}
#reliableproductspic{
    height: 30vw;
    width: 40vw;
}
#reliableproductspic img{
    height: 40vw;
    width: 50vw;
}
#reliableproducts button{
    margin-top: 2vw;
    font-size: 1vw;
    width: 15vw;
    height: 3vw;
    border-radius: 1vw;
    color: white;
    background-color: rgb(0, 60, 255);
    outline: none;
}
#reliableproducts button:hover{
    cursor: pointer;
    background-color: rgb(0, 119, 255)
}
#slideshow{
    height: 30vw;
    width: 100%;
}
.slideshowbtn{
    margin-left: auto;
    margin-right: auto;
}
.mySlides{
    
    width: 40%;
    height: 25vw;
    display: none;
    margin-left: 10vw;
}

/*footer begin*/
#footer{
    padding-bottom: 0.5vw;
    color: white;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #065894;

}
#footernav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding-bottom: 0.5vw;
    padding-top:0.75vw;
}
#companyPhrase{
    padding-top:0.25vw;
    padding-bottom: 0.25vw;
    font-size: 1.4vw;
    color: #312f2f;
    background-color: #A0A0A0;
}
.footerbtns :hover{
    color: #065894;
    background-color: white;
    box-shadow: 0.2vw 0.2vw 0.5vw #000000;
    transition: ease-in-out 0.3s;
}
.footerbtns a{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.1vw;
    text-decoration: none;
    color: white;
    padding: 0.1vw;
    padding-right: 0.6vw;
    padding-left: 0.6vw;
    margin-right: 1.5vw;
}
#footerImgCopy{
    display: grid;
    grid-template-columns: 50% 50%;

}
#footerImg{
    text-align: right;
    margin-right: 5vw;
}
#footerLogo{
    width: 12vw;
}
#copyright{
    text-align: left;
    margin-left: 5vw;
    margin-top: 1vw;
}
/*footer end*/
* video{
    outline: none;
    height: 20vw;
    width: 36vw;
}
#whitebox {
    height: 2vw;
    background-color: rgb(240, 240, 240);
}
@media screen and (orientation: portrait){
    * iframe{
        height: 20vw;
        width: 36vw;
    }
    video{
        border: none;
    }
    #topcontact{
        grid-template-columns: 33% 33% 33%;
    }
    #tc1{
        display: block;
    }
    #tc1 p{
        display: none;
    }
    #tc1 a{
        font-size: 3.5vw;
    }
    #tc2{
        text-align: center;
        display: none;
    }
    #tc2 p{
        margin: 0;
        font-size: 2vw;
    }
    #tc3{
    }
    #tc3 p{
   
    }
    #tc3link{
        font-size: 3.5vw;
        color: #065894;
        text-decoration: none;
    }
    #facelink{
    }
    #instalink{
    }
    #topcontactmobile{
        display: block;
    }
    #topcontactmobile p{
        font-size: 3.4vw;
    }
    #facelink{
        
    }
    #facebtn{
        margin-left: 0;
    }
    #facebtn img{
        height: 2.1vh;
        width: 16vw;
    }
    #instabtn img{
        height: 2.1vh;
        width: 3.9vw;
    }
    .linesspans{
        font-size: 1.2vw;
        color: #065894;
    }
    #topnav{
        margin-left: 5vw;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1.5vw;
        justify-content: center;
   }
    #logo{
        width: 28vw;
        height: 5vw;
        padding: 1vw;
    }
    .tnlinks{
        font-size: 4vw;
        min-width: 100px;
    }
    #mainheader{
        grid-template-columns: 25% 75%;
    }
    /* end of header changes*/
    body {
        transform: scale(1)
    }
    .parallax {
        width: 100%;
        height: 45vh;
        background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(baseball.jpg);
        background-size: 250vw 55vh;
        background-position: center top;
        background-repeat: no-repeat;
        margin-top: -30vw;
        animation: fadeInAnimation ease 2.5s;
    }
    .parallax ::before {
        content: "";
        width: 0;
        height: 0;
        top: 0;
        left: 0;
        background-image: none;
        background-position: center;
        background-size: 0;
        margin-top: 0;
        position: absolute;
        z-index: -1;
    }
    #item6 {
        margin-top: -30vw;
    }
    #bar1{
        background-image: url(blue-white-bar.svg);
        background-size: 100% 47px;
        bottom: 0;
        height: 47px;
        animation: fadeInAnimation ease 3.2s;
        margin-bottom: -1vw;
        
    }
    #item1h3 {
        margin-top: 12vw;
    }
    #bar2{
        background-size: 100%;
        position: relative;
        z-index: 4;
    }
    #bar2nobackground{
        margin-top: -0.5vw;
        background-size: 100%;
    }
    .parallax2{
        width: 100%;
        height: 45vh;
        background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(hikingbeltone.jpg);
        background-size: 180vw 60vh;
        background-position: -35vw -17vh;
        background-repeat: no-repeat;
        margin-top: -10vw;
        margin-bottom: 0;
        
    }
    .parallax2 ::before {
        content: "";
        width: 0;
        height: 0;
        left: 0;
        background-image: none;
        background-position: center;
        background-size: 0;
        margin-top: 0vw;
        position: absolute;
        
    }
    .parallax-inner2{
        padding-top: 30%;
    }
    .parallax3{
        width: 100%;
        height: 35vh;
        background-image: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(doctorpointingtoaidsbeltone.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
        margin-top: -5vw;
    }
    .parallax3 ::before{
        content: "";
        width: 0;
        height: 0;
        left: 0;
        background-image: none;
        background-position: center;
        background-size: 0;
        margin-top: 0vw;
        position: absolute;
        z-index: -1;
    }
    .parallax-inner3{
        padding-top: 10%;
    }
    #whitebg{
        position: relative;
        z-index: 6;
        margin-bottom: -2vw;
        
    }
    #whitebg2 {
        height: auto;
        position: relative;
        z-index: 6;
    }
    #item1{
        margin-top: -6.5vw;
        padding-bottom: 7.5vw;
    }
    #aboutbeltone{
        position: relative;
        z-index: 3;
    }
    #aboutbeltonebox{
        margin-left: 5vw;
        width: 40vw;
    }
    #aboutbeltonebox h3{
        font-size: 5vw;
        margin-bottom: 2vw;
        margin-top: 6vw;
    }
    #aboutbeltonebox p{
        font-size: 2.5vw;
        margin-bottom: 1vw;
    }
    #aboutbeltonevid{
        margin-top: 7.5vw;
    }
    #aboutbeltonebox button{
        font-size: 1.75vw;
        width: 18vw;
    }
    #yourLocalBeltone{
        margin-top: -6vw;
    }
    #yourLocalBeltone h3{
        font-size: 5vw;
        margin-bottom: 2vw;
    }
    #yourLocalBeltone p{
        font-size: 2.5vw;
        margin-bottom: 1vw;
    }
    #yourLocalBeltone button{
        font-size: 1.75vw;
    }
    #creatememoriesbox{
        width: 43%;
        margin-left: auto;
        margin-right: auto;
        margin-top: -8vw;
    }
    #creatememoriesbox h3{
        font-size: 5vw;
    }
    #creatememoriesbox h4{
        font-size: 4vw;
    }
    #creatememoriesbox p{
        font-size: 2.5vw;
    }
    #creatememoriesbox button{
        font-size: 1.75vw;
        width: 24vw;
    }
    #item4{
        padding-bottom: 12.5vw;
    }
    #reliableproductsbox{
        width: 47%;
    }
    #reliableproductsbox h3{
        font-size: 5vw;
    }
    #reliableproductsbox h4{
        font-size: 4vw;
    }
    #reliableproductsbox p{
        font-size: 2.5vw;
    }
    #reliableproductsbox button{
        font-size: 1.75vw;
        width: 16vw
    }
    #reliableproductspic{
        position: absolute;
        margin-top: 2vw;
        margin-left: 45vw;
    }
    #item2{
        margin-top: 10vw;
    }
    #innovationbox h3{
        font-size: 5vw;
    }
    #innovationbox p{
        font-size: 2.5vw;
    }
    #companyPhrase{
        font-size: 2.4vw;
    }
    #copyright{
        font-size: 2.3vw;
    }
    #footerLogo{
        width: 18vw;
    }
    .footerbtns a{
        font-size: 3.6vw;
    }

}
