*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    /*font-family: 'Poppins', sans-serif;*/
    font-family: 'Aref Ruqaa Ink', serif;
}

.navbar
{
    display: flex;
    align-items: center;
    padding: 20px;
}
nav
{
    flex: 1;
    text-align: right;
}
nav ul
{
    display: inline;
    /* keine punkte neben die list items*/
    list-style-type: none;
}
nav ul li
{
    display: inline-block;
    margin-right: 20px;
}
a{
    /* will remove the underline from the a tag!!*/
    text-decoration: none;
    color: #555;
}

p{
    color: #555;
}

.container{
    max-width: 1300px;
    /* margin auto positioniert es in center!!*/
    margin: auto;
    /* padding left and right: macht den abstand für logo und die navbar 
    von rechts und links gleich!!*/
    padding-left: 25px;
    padding-right: 25px;

}

.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col-2{
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn{
    display: inline-block;
    background: #ff523b;
    color: white;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    /* transitaion die Zeit in der die Eigenchaft allmäglich sich ändert.
    in diesem fall ist es die background=> hintergrundscolor!*/
    transition: background 0.5s;
}

.btn:hover{
    background: #563434;
}

.header{
    background: radial-gradient(#fff,#ffd6d6);
    /* fount families können auch von google fonts benutzt werden und 
    dafür kann man in google über google fonts suchen und die fonts aussuchen!*/
    
}

.header .row{
    margin-top: 70px;
}

.categories{
    margin: 70px 0;
}
.col-3{
    /* flex basis definiert wie viel kann der element vom ganzen seiten 
    breite nehmen z.B 30% 3 elemente passen!!
    25% 4 elemente passen!*/
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}

.col-4 img{
    width: 100%;

}

.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

/* mach eine linie nach der title!*/ 
.title::after{
    content: "";
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    /* positioniere ihn unter den Title!*/
    bottom: 0;
    /* bring ihn zur mitte*/
    left: 50%;
    /* mach ihn auf zentrum von X achse!*/
    transform: translateX(-50%);
}

h4{
    color: #555;
    font-weight: normal;
}

.col-4 p{
    font-size: 13px;

}

.rating .fa{
    color: #ff523b;
}

.col-4:hover{
    transform: translateY(-5px);
}

.menu-icon{
    width: 28px;
    margin-left:  20px;
    /* wird nicht angezeigt!!*/
    display: none;
}




/* ***************** */
/* all products page */
/* ***************** */
/* zeile für dropdown und die All products titel*/
.rowSelection{
    /* macht einen platz zwischen die elemente!!*/
    justify-content: space-between;
    margin: 100px auto 50px;
}
/* dropdown liste*/
select{
    border: 1px solid #ff523b;
    padding: 5px;
}
/* focus heißt wenn der element angeklickt wird!*/
select:focus{
    /*outline none bedeutet dass der farbe nicht geeändert wird 
    beim ancklicken!*/
    outline: none;
}

.pageBtn{
    margin: 0 auto 80px;
}

.pageBtn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.pageBtn span:hover{
    background:#ff523b ;
    color: white;
}



/* ******************** */
/* Product Details Page */
/* ******************** */

.singleProduct{
    /* platz von oben*/
    margin-top: 80px;

}
.singleProduct .col-2 img{
    padding: 0;
}

.singleProduct .col-2{
    padding: 20px;
}

.singleProduct .col-2 h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}

.singleProduct select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}

.singleProduct input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}

.singleProduct input:focus{
    outline: none;
}

/* media query for menu
    dieser code wird für geräte verwendet die weniger als 800px bildschirm
    bereite haben!! oder auch wenn die website im Browser im PC kleiner gemacht wird!!
*/
@media only screen and (max-width: 800px)
{
    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        /* ul wird unsichtbar wenn wir drauf clicken!*/
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a{
        color: #fff;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
    
}


/* media query für weniger als 600px bildschirm bereite!
   
*/

@media only screen and (max-width: 600px)
{
    .row
    {
        text-align: center;
    }
    .col-2, .col-3, .col-4{
        flex-basis: 100%;
    }
    
}





