body, html{
    height: 100%;
    background-color: #0e1317;
    background-image: url(images/watchCover.jpg);
    background-size: cover;
    /*remove margins around body*/
    margin:0; 
    padding:0; 
    box-sizing:border-box;
}

/*------ fonts ----------*/

h1, h2{
    text-align: center;
    font-family: "adobe gurmukhi", "times new roman";
}

h1{
    color: #c7b299;
    font-size: 60px;
    line-height: 60px;
    margin-bottom: 0;
}

#subtitle{
    color: white;
    margin-top: 5px;
}

@media screen and (min-width: 410px){
    #subtitle{
        font-size: 39px;
    }
}

@media screen and (max-width: 410px){
    h1{
        font-size: 40px;
        line-height: 40px;
    }
    #subtitle{
        font-size: default;
    }
}

#welcome{
    max-width: 600px;
    font-size: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0 auto;
}

p{
    font-family: "verdana", "arial";
}

p.imgDescription{
    font-family: "javanese text", "adobe gurmukhi", "times new roman";
    font-size: 20px;
    text-align: center;
    margin: 0;
}

/*------- container etc. ------------ */


.mainContainer{
    max-width: 900px;
    min-width: 320px; /*little smartphone*/
    height: 100%;
    margin: 0 auto;
}

.nav{
    margin-top: 0;
    width: 100%;
    min-height: 11%;
    overflow: hidden;
    background-color: white;
    top: 0;
}

.smallReso{
    display: none;
}

@media screen and (max-width: 550px){
    .infoLeft,
    .infoRight,
    #logo img{
        display: none;
    }
    .smallReso{
        display: inline;
    }
    .info{
        width: 50%;
        min-height: 100px;
        padding: 10px 10px 0 10px;
        float: left;
        font-size: 12px;
    }
    .right{
        text-align: right;
    }
    #logoSmall img{
        width: 100%;
    }
    #logoSmall{
        margin: 15px 20px 0 20px;
    }
}

.infoLeft{
    padding-top: 10px;
    padding-left: 10px;
}

#logo img{
    width: 100%;
    margin-top: 3px;
}

.infoRight{
    text-align: right;
    padding-top: 10px;
    padding-right: 10px;
}

@media screen and (max-width: 1000px){
    
    .infoLeft,
    .infoRight{
        width: 30%;
        float: left;
    }
    
    #logo img{
        width: 40%;
        float: left;
    }
}

#space1{
    width: 100%;
    height: 6%;
}

.mainPart{
    width: 100%;
    min-height: 25%;
    overflow: hidden;
}

.imagesSmall img{
    display: none;
}

#iconLeft img{
    width: 100%;
    margin-top: 20px;
}

#mainMessage{
    width: 100%;
}


#iconRight img{
    width: 100%;
    margin-top: 20px;
}

@media screen and (max-width: 1000px){
    
    #iconLeft img,
    #iconRight img{
        width: 20%;
        margin-top: 20px;
        float: left;
    }
    
    #mainMessage{
        width: 60%;
        float: left;
    }
    
}

@media screen and (max-width: 650px){
    
    #iconLeft img,
    #iconRight img,
    #mainMessage{
        clear: both;
    }
    
    #iconLeft img,
    #iconRight img{
        display: none;
    }
    
    #mainMessage{
        width: 100%;
    }
    
    .imagesSmall img{
        display: inline;
        width: 50%;
        float: left;
        padding: 30px;
    }
    
    
}

#space2{
    
}

.services{
    min-height: 30%;
    padding: 10px;
    background-color: white;
}

/*-------- hover text ---------*/

.hoverText{
    font-family: "verdana", "arial";
    font-size: 14px;
    
    visibility: hidden;
    width: 300px;
    background-color: #0e1317;
    color: #fff;
    text-align: left;
    padding: 5px 5px;
    border-radius: 6px;
    
    position: absolute;
    z-index: 1;
}

@media screen and (min-width: 1000px){
    .bubbleService{
        margin-top: -263px;
        margin-left: -125px;
    }
    .bubblePolish{
        margin-top: -203px;
        margin-left: -110px;
    }
    .bubbleBandRep{
        margin-top: -163px;
        margin-left: -110px;
    }
    .bubbleRepair{
        margin-top: 3px;
        margin-left: -110px;
    }
    .bubbleBattery{
        margin-top: 3px;
        margin-left: -110px;
    }
    .bubbleLubrication{
        margin-top: 3px;
        margin-left: -110px;
    }   
}

/*move the bubbles (tooltips) more left, up etc.*/
.bubbleService{
    margin-top: -263px;
}
.bubblePolish{
    margin-top: -203px;
    margin-left: -110px;
}
.bubbleRepair{
    margin-top: 3px;
}
.bubbleBattery{
    margin-top: 3px;
    margin-left: -110px;
}

@media screen and (max-width: 1000px){
    /*bug fixing*/
    .bubbleBandRep{
        margin-top: -163px;
        margin-left: -225px;
    }
    .bubbleLubrication{
        margin-top: 3px;
        margin-left: -225px;
    }
}

@media screen and (max-width: 580px){
    /*bug fixing*/
    .bubbleService{
        margin-top: -250px;
    }
    .bubblePolish{
        margin-top: -190px;
        margin-left: -110px;
    }
    .bubbleBandRep{
        margin-top: -150px;
        margin-left: -225px;
    }
    .bubbleLubrication{
        margin-top: 3px;
        margin-left: -225px;
    }
}
/*end of bubble-moving*/

.iconBox:hover .hoverText{
    visibility: visible;
}


/*--------- end of hover text --------- */

#border{
    border: solid 6px #101010;
}

#iconsContainer{
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden; /*fixes the bug of the FLOAT elements*/
}

.serviceBox{
    width: 33.33%;
    margin: 10px 0;
    float: left;
}

.iconBox{
    width: 35%;
    margin: 0 auto;
}

.iconBox img{
    width: 100%;
}

#space3{
    width: 100%;
    height: 7%;
}

.footer{
    width: 100%;
    min-height: 19%;
    background-color: white;
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
    overflow: hidden;
}

#footerInfo{
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
}

#map{
    max-width: 100%;
    max-height: 150px;
    
}

#frameCover{
    max-width: 300px;
    max-height: 150px;
    border: solid 3px #8e8e8e;
    background-color: grey;
    overflow: hidden;
}

@media screen and (max-width: 1000px){
    #map{
        width: 40%;
        float: left;
    }
}

#footerCopyright{
    max-width: 250px;
    text-align: center;
    font-size: 10px;
    margin: 0 auto;
}

@media screen and (max-width: 550px){
    .infoLeft,
    .infoRight,
    #map{
        display: none;
    }
    .smallReso{
        display: inline;
    }
    .info{
        width: 50%;
        min-height: 100px;
        padding: 10px 10px 0 10px;
        float: left;
        font-size: 12px;
    }
    .right{
        text-align: right;
    }
    #mapSmall{
        width: 100%;
    }
    #frameCover{
        margin: 0 auto;
    }
}

