@font-face{
    font-family: 'readex';
    src: url('readex.ttf') format('truetype');
}
body{
    font: readex;
    font: #3d3d3d;
    font-size: 20px;
}
.color1{
    color: #D62027;
}
.navbar-light {
    background-color: #D62027 !important;
    border: none !important;
    border-width:0!important;
    transition: 0.7s !important;
}
.bcolor1{
    background-color: #D62027;
}
ul{
    padding-right: 40px;
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
}
li a{
    color: #fff;
    font-size: 25px;
    margin: 15px;
    text-decoration: none;
    align-self: center;
}
li a:hover{
    top: 0;
    text-decoration: none;
}
.home{
    width: 100%;
    background-color: #cccccc;
    background-repeat: no-repeat;
    background-size:cover;
}
.homecover{
    height: 600px;
    overflow: hidden;
}
.baker{
    margin:0 auto;
    margin-top: -200px;
}

.recipes{
    padding: 0px;
    cursor: pointer;
}
.recipes-img-co{
    width: 435px;
    height: 300px;
    overflow: hidden;
    
}
.recipes-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #fff;
    transition: 0.5s;

}
.recipes-img:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1); 
  }
  .txttitle{
    position: absolute;
    text-align: center;
    margin-top: -50px;
    margin-left: 40px;
    padding-top: 120px;
  }
  .txttitle > h1{
    color: #fff;
    font-size: 60px;
    text-align: center;
  }
  .anser,.servies2,.servies{
    background-color: #fff; 
    padding: 0px;
    margin: 15px;
    box-shadow: 0.01em 0.01em 1em rgba(0,0,0,0.2);
    text-align: center;
    transition: 0.5s;
}
.servies{
    width: 280px;
    height: 480px;
    overflow: hidden;
}
.servies2{
    margin: 30px;
    color: #D62027;
}

.products:hover,.servies:hover{
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1);
}

.serviesimg{
    width: 300px;
    height: 250px;
    object-fit: cover;
}
.serviesico2,.serviesico{
    margin-top: -80px;
    background-color: #fff;
    box-shadow: 0.01em 0.01em 1em rgba(0,0,0,0.2);
    width: 100px;
    border-radius: 100px;
}
.serviesico2{
    background-color: #D62027;
    width: 70px;
}
.activites{
    background-image: url("../img/cover2.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    padding: 30px;
}
.tips{
    margin: 5px;
    width: 300px;
    height: 300px;
    overflow: hidden;
}
.tipsinfo{
    position: absolute;
    color: #fff;
    margin-top: -100px;
    text-align: center;
}

button,footer{
    background-color: #0c54ac;
    color: #fff;
    padding: 10px;
}
.recipes-co{
    display: none;
}

.popup-container{

    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.692);
    display: flex;
    align-items: center;
    display: none;
}
.popup{
    margin: auto;
    margin-top: 15%;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    text-align: center;
    background-color: #fff;
    padding: 0px;
}
.popup > h1 {
    background-color: #D62027;
    padding: 10px;
}
.popup > p {
    padding: 25px;
}
.close{
    position: absolute;
    color: #fff;
    margin: 5px;
}
.logo{
    display:none ;
}
/*----------------------page craft--------------------------------*/
.txttitle2{
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-top: -100px;
}
.recipes-img-co2{
    width: 235px;
    height: 250px;
    overflow: hidden;
    
}
.products{
    box-shadow: 0.01em 0.01em 1em rgba(0,0,0,0.2);
    margin: 30px;
    transition: 0.5s;
}

.productsimg{
    width: 100%;
}
.product-title {
    color: #D62027;
}
.red-box{
    width: 100%;
    background-color: #D62027;
    padding: 2px 8px;
    color: #fff;
    cursor: pointer;
}
.anser{
    width: 100%;
    margin: 0px;
    padding: 10px;
    text-align: right;
    display:none ;
}
.itext{
    width:80%;
    height: 50px;
    background: rgba(255, 255, 255, 0);
    border: none;
    border: 2px  solid #404040;
    margin-bottom: 10px;
    font-size: 20;
}
::placeholder {
    text-align:right ;
}
button{
    width: 150px;
    border: none;
    border-radius: 10px;
}
button:hover{
    background-color: #D62027;
}
/*----------------------page craft--------------------------------*/
@media screen and (min-width: 300px) and (max-width: 600px) {
    .servies{
        margin: auto;
        margin-top: 15px;
    }
    .popup{
        margin-top: 160px;
        width: 75%;
    }
    .popup > h1 {
        font-size: 20px;
        padding: 0px;
    }
    .popup > p {
        font-size: 18px;
        padding: 0px;
    }
    .homecover{
        height: 480px;
    }
    .logo{
        display:block ;
    }
    .logo2{
        display:none ;
    }
}