body {
    margin: 0;
    padding: 0;
    background: url(primaraBilde.jpg);
    background-size: cover;
    background-position: right;
    font-family: 'Times New Roman', Times, serif;
    background-attachment: fixed;
}

.Izskats {
    height: auto;
    width: auto;
    min-width: 300px;
    background: rgb(0, 0, 0, 0.5);
    text-align: center;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    display: block;
}

p {
    font-size: 30px;
    text-align: left;
}

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

.info {
    font-size: 30px;
    text-align: left;
}

.tituls {
    border-radius: 50%;
    width: 250px;
    min-width: 20%;
}


.active1 {
    opacity: 0.8;
    background: rgb(0, 0, 0, 0.5);
    color: black;
    padding: 2%;
}

.active2 {
    float: right;
    margin-right: 1%;
    font-size: 18px;
    background: rgb(0, 0, 0, 0.5);
    font-weight: bold;
    
}

.active2href {
    word-spacing: 20px;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
}

/* hederis */

.navBar{
    background:rgb(0,0,0,0.5);
  
}

header{
    position: relative;
    max-width: 1200px;
    box-sizing: border-box;
    border-radius: 4px;
    font-weight: bold;
    

}

.logo{
    height:60px;
    font-size:36px;
    color:white;
    line-height: 60px;
    padding: 0 20px;
    background:rgb(0, 0, 0, 0.2);
    text-align:center;
    box-sizing: border-box;
    float: left;
    font-weight: bold;
    opacity: 0.5;
    
}

.menu-toggle{
    opacity: 0;
    color:white;
    margin-top: -10%;
   
}

.atdalitsLaukums2 {
    width: auto;
    padding: 40px;
}


nav{
    float: left;

   


}
.clearfix{
    clear:both;
}

nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    

}
nav ul li:hover:not(.active){
    background-color: rgb(0,0,0,0.8);
}

nav ul li{
    list-style:none;
    padding: 2%;
    text-transform: uppercase;
    font-weight: bold;
 
}

nav ul li a{
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    text-decoration:none; 
}

li a:hover:not(.active) {
    background-color: rgb(255,255,255,0.1);
    
  }

  li a {
    display: block;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 30px 35px;
    text-decoration: none;
    background:rgb(0,0,0,0.1);
    font-family: sans-serif;
    
    
  }

nav ul li a.active,
nav ul li a.hover{
    background: rgb(0, 0, 0, 0.2);
    transition:0.5s;
    color:white;
}


@media(max-width: 1200px){
    header{
        margin:20px;
    }
}

@media(max-width: 768px){
    .menu-toggle{
        display: block;
        width: 55px;
        height:40px;
        background: black;
        cursor: pointer;
        text-align:center;
        font-size: 35px;
        opacity: 1;
        margin-top: 0;
        
        
        
    }

    nav{
        display: none;
    }
    nav.active{
        display:block;
        width:50%;
        float:left;
        
    }

    nav.active ul{
        display: block;
        
    }
}


.drop-content {
    display: none;
    position: absolute;
    background-color: rgb(0, 0, 0, 1);
    min-width: 50px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.drop-content a {
    color: white;
    text-decoration: none;
    display: block;
    text-align: left;
}

.drop:hover .drop-content {
    display: block;
    
}




.virsraksts {
    background: rgb(0, 0, 0, 0.5);
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 100%;
    
    text-transform: uppercase;
}

.saites {
    float: center;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 5%;
    border-radius: 50%;
}

html {
    box-sizing: border-box;
}

.column {
    float: left;
    width: 23%;
    min-width: 300px;
    margin-bottom: 16px;
    padding: 0 8px;
    margin-left: 25px;
}

.card {
    color: white;
}

.parMsa {
    background: rgb(0, 0, 0, 0.5);
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: white;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.container::after,
.row::after {
    content: "";
    clear: both;
    display: table;
}

.veidotajs {
    color: white;
    text-align: center;
    font-size: 12px;
    background: black;
}



.active1 {
    opacity: 0.8;
    background: rgb(0, 0, 0, 0.5);
    color: black;
    padding: 2%;
}

.active2 {
    float: right;
    margin-right: 1%;
    font-size: 18px;
    background: rgb(0, 0, 0, 0.5);
    font-weight: bold;
    
}

.active2href {
    word-spacing: 20px;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
}

.darzs1 {
    width: 307px;
    height: 306px;
}

.pakapiens1 {
    width: 307px;
    height: 306px;
}

.mebeles1 {
    width: 307px;
    height: 306px;
}

.kapuIzstradajumi1 {
    width: 307px;
    height: 306px;
}

p {
    text-align: center;
    padding: 5px;
    line-height: 1.5;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

section {
    width: 100%;
    min-width: 300px;
    height: 300vh;
    background: url(bg.jpg) no-repeat;
    background-size: cover;
}

.gotopbtn {
    position: fixed;
    width: 3%;
    height: 8%;
    background: rgb(255, 255, 255, 0.2);
    bottom: 40px;
    right: 50px;
    text-decoration: none;
    text-align: center;
    line-height: 80px;
    color: rgb(255, 255, 255, 0.5);
    font-size: 3vw;
}

.parUzn {
    background: rgb(0, 0, 0, 0.8);
    display: block;
    color: white;
    padding: 10%;
    width: auto;
    min-width: 300px;
}

.parUznH {
    text-align: center;
    text-transform: uppercase;
}

.parUznP {
    text-align: left;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
    text-transform: uppercase;
}

.backPic {
    background-repeat: no-repeat;
    opacity: 0.2;
    position: absolute;
    margin-left: 40%;
    padding: 7%;
    width: 50%;
}

.container {
    font-size: 18px;
}

.navRekviziti {
    font-size: 16px;
}

.rekvizitiH {
    margin-left: 93px;
    text-transform: uppercase;
    font-size: 18px;
}

.darbalaiksH {
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
}

.sekojietMums {
    margin-left: 90px;
    text-transform: uppercase;
    font-size: 18px;
}

.darbaLaiks1 {
    word-spacing: 30px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks2 {
    word-spacing: 44px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks3 {
    word-spacing: 34px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks4 {
    word-spacing: 17px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks5 {
    word-spacing: 26px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks6 {
    word-spacing: 95px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}

.darbaLaiks7 {
    word-spacing: 95px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    line-height: 0.7;
}


/* hederis */

.navBar{
    background:rgb(0,0,0,0.5);
  
}

header{
    position: relative;
    max-width: 1200px;
    box-sizing: border-box;
    border-radius: 4px;
    font-weight: bold;
    

}

.logo{
    height:60px;
    font-size:36px;
    color:white;
    line-height: 60px;
    padding: 0 20px;
    background:rgb(0, 0, 0, 0.2);
    text-align:center;
    box-sizing: border-box;
    float: left;
    font-weight: bold;
    opacity: 0.5;
    
}

.menu-toggle{
    opacity: 0;
    color:white;
    margin-top: -10%;
   
}

.atdalitsLaukums2 {
    width: auto;
    padding: 40px;
}


nav{
    float: left;

   


}
.clearfix{
    clear:both;
}

nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    

}
nav ul li:hover:not(.active){
    background-color: rgb(0,0,0,0.8);
}

nav ul li{
    list-style:none;
    padding: 2%;
    text-transform: uppercase;
    font-weight: bold;
 
}

nav ul li a{
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    text-decoration:none; 
}

li a:hover:not(.active) {
    background-color: rgb(255,255,255,0.1);
    
  }

  li a {
    display: block;
    color: white;
    text-align: center;
    font-size: 20px;
    padding: 30px 35px;
    text-decoration: none;
    background:rgb(0,0,0,0.1);
    font-family: sans-serif;
    
    
  }

nav ul li a.active,
nav ul li a.hover{
    background: rgb(0, 0, 0, 0.2);
    transition:0.5s;
    color:white;
}


@media(max-width: 1200px){
    header{
        margin:20px;
    }
}

@media(max-width: 768px){
    .menu-toggle{
        display: block;
        width: 55px;
        height:40px;
        background: black;
        cursor: pointer;
        text-align:center;
        font-size: 35px;
        opacity: 1;
        margin-top: 0;
        
        
        
    }

    nav{
        display: none;
    }
    nav.active{
        display:block;
        width:50%;
        float:left;
        
    }

    nav.active ul{
        display: block;
        
    }
}


.drop-content {
    display: none;
    position: absolute;
    background-color: rgb(0, 0, 0, 1);
    min-width: 50px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.drop-content a {
    color: white;
    text-decoration: none;
    display: block;
    text-align: left;
}

.drop:hover .drop-content {
    display: block;
    
}


