@import url('http://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spartan', sans-serif;
}
h1 {
    font-size: 50px;
    line-height: 64px;
    color:#222;
}
h2 {
    font-size: 36px;
    line-height: 54px;
    color:#222;
}
h4 {
    font-size: 20px;
    color:#222;
}
h6 {
    font-weight: 700;
    color:#222;
}
p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}
.section-p1 {
    padding: 60px 80px;
}
.section-m1 {
    margin: 40px 0;
}
button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s ease;
}
body {
    width: 100%;
}

/*header start*/

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background-color: #e3e6f3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}
#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}
#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}
#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
}
#navbar li a:hover,
#navbar li a.active{
    color: #c323b3;
}
#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background-color: #c323b3;
    position: absolute;
    bottom: -4px;
    left: 20px;
}
#mobile {
    display: none;
    align-items: center;
}
#close {
    display: none;
}

/*home page*/

#police {
    background-image: url('slike/naslovna.png');
    background-repeat: no-repeat;
    background-position: top 25% right 25%;
    background-color: #fff;
    height: 95vh;
    width: 100%;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}
#police h1 {
    font-size: 150px;
}
#police p {
    font-size: 30px;
    padding: 40px 30px 0 15px;
    
}
#police button {
    background-color: #c323b3;
    border: 2px solid #c4c4c4;
    border-radius: 25px;
    padding: 14px 80px 14px 80px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    width: 30%;
}
#police button a {
    text-decoration: none;
    color: #fff;
    text-align: center;
}
#product1 {
    text-align: center;
}
#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}
#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 2px solid #e9d8e7;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.03);
    margin: 15px 0;
    transition: 0.2 ease;
    position: relative;
}
#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}
#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}
#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
}
#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}
#product1 .pro .des h5 {
    padding: 7px 0;
    color: #1a1a1a;
    font-size: 14px;
}
#product1 .pro .des i {
    font-size: 12px;
    color: rgb(243, 181, 25);
}
#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 600;
    color: #088178;
}
#product1 .pro .cart i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #d8ead8;
    font-weight: 600;
    color: #088178;
    border: 1px solid #d8ead8;
    position: absolute;
    bottom: 20px;
    right: 10px;
}
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("slike/banner.jpg");
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
}
#banner h4 {
    color: #fcfcfc;
    font-size: 16px;
}
#banner h2 {
    color: #fcfcfc;
    font-size: 30px;
    padding: 10px 0;
}
#banner h2 span {
    color: #ef3636;
}
#banner button a {
    text-decoration: none;
    color: #222;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}
footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}
footer a {
    font-size: 13px;
    text-decoration: none;
    color: #465b52;
    margin-bottom: 10px;
}

footer .follow {
    width: 100%;
    text-align: center; 
    margin: 60px 0;
}
footer .follow i {
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s ease;
}

footer .follow i:hover,
footer a:hover {
    color: #c323b3;
}
footer .copyright {
    width: 100%;
    text-align: center;
}

/*shop page*/

#page-header{
    background-image:url("slike/banner.jpg");
    width:100%;
    height:40vh;
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    justify-content:center;
    text-align:center;
    flex-direction: column;
    padding: 14px;
}
#page-header h2,
#page-header p {
    color: #fff;
}
#pagination{
    text-align:center;
}
#pagination a{
    text-decoration:none;
    background-color: #c7c7c7a0;
    border-radius: 10px;
    padding:15px 20px;
    color: #606063;
    font-weight: 600;
}
#pagination a i {
    font-size: 16px;
    font-weight: 600;
}

/*single product*/
#prodetails {
    display: flex;
    margin-top: 20px;
}
#prodetails .single-pro-image{
    width:40%;
    margin-right:50px;
}
#prodetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}
#prodetails .single-pro-details h4 {
    padding:30px 0 20px 0;
}
#prodetails .single-pro-details h2 {
    font-size: 26px;
}
#prodetails .single-pro-details input {
    width: 50px;
    height:47px;
    padding-left:10px;
    font-size:16px;
    margin-right:10px;
}
#prodetails .single-pro-details button {
    background:#088178;
    border-radius: 10px;
    color:#fff;
}
#prodetails .single-pro-details input:focus {
    outline: none;
}
#prodetails .single-pro-details span {
    line-height: 25px;
}

/*about page*/

#about-head {
    display: flex;
    align-items: center;
}
#about-head div {
    line-height: 35px;
}
#ad {
    text-align: center;
}
#ad h1 {
    font-size: 30px;
}
#ad .video {
    width: 70%;
    height: 100%;
    margin: 30px auto 0 auto;
}
#ad .video video {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/*contact page*/

#form-details {
    display: flex;
    justify-content: space-between;
    margin: 70px 40px;
    padding: 80px;
    border: 1px solid #e1e1e1;
}
#form-details form {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#form-details form span {
    font-size: 12px;
}
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}
#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 20px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}
#form-details form button {
    background-color: #c323b3;
    color: #fff;
}

/*cart page*/

#cart {
    overflow-x: auto;
}
#cart table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}
#cart table img {
    width: 70px;
}
#cart table td:nth-child(1) {
    width: 100px;
    text-align: center;
}
#cart table td:nth-child(2) {
    width: 150px;
    text-align: center;
}
#cart table td:nth-child(3) {
    width: 250px;
    text-align: center;
}
#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6) {
    width: 150px;
    text-align: center;
}
#cart table td:nth-child(5) input {
    width: 70px;
    padding: 10px 5px 10px 15px;
}
#cart table thead {
    border: 1px solid #e2e9e1;
    border-left: none;
    border-right: none;
}
#cart table thead td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 0;
}
#cart table tbody tr td {
    padding-top: 15px;
}
#cart table tbody td {
    font-size: 13px;
}
#cart-add {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#coupon {
    width: 50%;
    margin-bottom: 30px;
}
#coupon h3,
#subtotal h3 {
    padding-bottom: 15px;
}
#coupon input {
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
}
#coupon button,
#subtotal button {
    background-color: #c323b3;
    color: #fff;
    border-radius: 10px;
    padding: 12px 20px;
}
#subtotal {
    width: 50%;
    margin-bottom: 30px;
    border: 1px solid #e2e9e1;
    padding: 30px;
}
#subtotal table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}
#subtotal table td {
    width: 50%;
    border: 1px solid #e2e9e1;
    padding: 10px;
    font-size: 13px;
}


/*start media query*/

@media (max-width: 799px) {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #e3e6f3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, .1);
        padding: 80px 0px 0px 10px;
        margin-bottom: 25px;
        transition: 0.3s ease;
    }
    #navbar li {
        padding: 0px 20px;
        margin-bottom: 20px;
    }
    #navbar.active {
        right: 0px;
    }
    #mobile {
        display: flex;
        align-items: center;
    }
    #mobile i {
        color: #1a1a1a;
        font-size: 20px;
        padding-left: 20px;
    }
    #close {
        display: initial;
        text-decoration: none;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 30px;
    }
    #lg {
        display: none;
    }
    .section-p1{
        padding: 30px 70px;
    }
    #police {
        background-image: url('slike/naslovna2.png');
        height: 40vh;  
    }
    #police h1 {
        font-size: 60px;
    }
    #police p {
        font-size: 25px;
        padding: 0px 30px 0 0px;
    }
    #police button {
        padding: 14px 14px 10px 10px;
    }
    #page-header {
        height: 30vh;
    }
    #product1 .pro-container {
        justify-content: center;
    }
    #product1 .pro {
        margin: 15px;
    }
    #banner {
        height: 20vh;
    }

    /*single product*/

    #prodetails .single-pro-details {
        width: 50%;
        padding-top: 0px;
    }

    /*about page*/

    #about-header {
        height: 25vh;
    }
    #about-head p {
        font-size: 20px;
        line-height: 40px;
    }
    #ad h1 {
        font-size: 27px;
    }
    #ad .video {
        width: 90%;
    }
    
}

@media (max-width: 477px) {
    #header {
        padding: 10px 30px; 
    }
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 25px;
    }
    .section-p1 {
        padding: 20px 30px;
    }
    #police {
        background-image: url('slike/naslovna3.png');
        background-position: top 25% right 10%;
        padding: 0 20px;
        height: 35vh;
    }
    #police h1 {
        font-size: 35px;
    }
    #police p {
        font-size: 13px;
        padding: 0;
        margin: 0 0 10px 0;
    }
    #police button {
        font-size: 10px;
    }
    #product1 .pro {
        width: 100%;
    }
    #banner {
        height: 40vh;
    }
    footer h4 {
        padding-top: 20px;
    }

    /*shop page*/

    #page-header {
        height: 25vh;
    }

    /*sinle product*/

    #prodetails {
        display: flex;
        flex-direction: column;
    }
    #prodetails .single-pro-image {
        width: 100%;
        margin-right: 0px;
    }
    #prodetails .single-pro-details {
        width: 100%;
        padding: 20px;
    }

    /*about page*/

    #ad h1 {
        font-size: 19px;
    }
    #ad .video {
        width: 100%;
    }
    #about-head p{
        font-size: 16px;
        line-height: 30px;
    }

    /*contact page*/

    #form-details {
        margin: 50px 20px;
        padding: 30px 10px;
        flex-wrap: wrap;
    }
    #form-details form {
        width: 100%;
        margin-bottom: 30px;
    }
    #form-details form h2 {
        font-size: 20px;
    }

    /*cart page*/

    #cart-add {
        display: flex;
        flex-direction: column;
    }
    #coupon {
        width: 100%;
    }
    #subtotal {
        width: 100%;
        padding: 20px;
    }
}