*{
    margin: 0;
    padding: 0;
    font-family: 'M PLUS 2', sans-serif;
}
/* lielaka dala logo */
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(http://localhost/img/Carpentry_Gift_Guide.0.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}
/* navigacijas izvelnes sakuma css */
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 250px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 23px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: darkorange;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover:after{
    width: 100%;
}
/* navigacijas izvelnes css beigas */
/* pirmais textbox */
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}
/* poga "spiediet šeit lai uzzinātu vairāk" */
.btn-more{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
/* kas notiek kad uzspiez uz pogas */
.btn-more:hover{
    border: 1px solid red;
    background: red;
    transition: 1s;
}
.btn-submit{
    display: inline-block;
    text-decoration: none;
    color: grey;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
/* kas notiek kad uzspiez uz pogas */
.btn-submit:hover{
    border: 1px solid darkred;
    background: darkred;
    transition: 1s;
}

nav .fa{
    display: none;
}
/*-- telefona css ---*/
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: slategrey;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .row{
        flex-direction: column;
    }
}

/* ko mes piedavajam 3 kastites */
.offer{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 46px;
    font-weight: 600;
}
p{
    color: black;
    font-size: 17px;
    font-weight: 400;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.offer-col{
    flex-basis: 31%;
    background: lightpink;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
/* kad uzvelk ar peli uz 3 kastitem */
.offer-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.7);
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

/*--- top 3 preces --*/
.preces{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.preces-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.preces-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(0,0,0,0.2);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/* ko mes sakam par uznemumu */
.teiciens{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.teiciens-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: lightcyan;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.teiciens-col img{
    height: 100px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.teiciens-col p{
    padding: 0;
}
.teiciens-col h3{
    margin-top: 15px;
    text-align: left;
}
.teiciens-col h4{
    font-size: 12px;
    color: slategrey;
}
@media (max-width: 700px) {
    .teiciens-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}
.footer{
    font-size: 30px;
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    font-size: 30px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
/* ikonas */
.icons fa{
    font-size: 20px;
    color: black;
    margin-bottom: 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: darkviolet;
}
.maza-kaste{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.col-1{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transfrom 0.5s;
}
.col-1 img{
    width: 100%;
}
.col-1:hover{
    transform: translateY(-5px);
}
/*--- slidershowa css ---*/
body{
    margin: 0;
    padding: 0;
    background: bisque;
}
.slidershow{
    width: 800px;
    height: 500px;
    overflow: hidden;
}
.middle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.navigation{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}
.bar{
    width: 50px;
    height: 10px;
    border: 2px solid #fff;
    margin: 6px;
    cursor: pointer;
    transition: 0.4s;
}
.bar:hover{
    background: #fff;
}

input[name="r"]{
    position: absolute;
    visibility: hidden;
}

.slides{
    width: 500%;
    height: 100%;
    display: flex;
}

.slide{
    width: 20%;
    transition: 0.6s;
}
.slide img{
    width: 100%;
    height: 100%;
}

#r1:checked ~ .s1{
    margin-left: 0;
}
#r2:checked ~ .s1{
    margin-left: -20%;
}
#r3:checked ~ .s1{
    margin-left: -40%;
}
#r4:checked ~ .s1{
    margin-left: -60%;
}
#r5:checked ~ .s1{
    margin-left: -80%;
}
.icons h6{
    font-size: 12px;
}
.title1{
    text-align: center;
    margin: 0 auto 0px;
    position: relative;
    line-height: 60px;
    color: black;
}
.title1::after{
    content: '';
    background: orange;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* maza sarkana bultina */
.bulta img{
    position: absolute;
    left: 150px;
    margin-top: 180px;
}
/* google maps */
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}

/* sazinies ar mums css */
.contact-us{
    width: 90%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p {
    padding: 0;
    color: white;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}