*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #080808;
    color: #fff;
}
#header{
    width: 100%;
    height: 100vh;
    background-image:url(images/background.jpg);
    background-size:cover;
    background-position:right;
} 
.container{
    padding-left: 20px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    height: 150px;
    width: 150px;
    border-radius: 50%;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    font-weight: bolder;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: red;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header_text{
    margin-top: 10%;
    font-size: 30px;
    margin-left: 50px;
}
.header_text h1{
    font-size: 60px;
    margin-top: 10px;
}
.header_text h1 span{
    color: red;
}


/* ---------Recipe List--------- */

#portfolio{
    padding: 20px 10%;
}
.sub-title{
    font-size: 50px;
    font-weight:600;
    color: white;
    text-align: center;
    margin-top: 50px;
}
.recipe-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.recipe{
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.recipe img{
    width: 100%;
    border-radius: 15px;
    display: block;
}
.image-resize {
    height: 170px;
}
h2{
    text-align: center;
    color: red;
    font-weight: bolder;
    font-size: 30px;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 2px solid;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: 0.4s;
    background-color: black;
    font-size: 14px;
    font-weight: bolder;
}
.btn:hover{
    background:red
}

/* ----------Contact Us------------ */

Body > table{
    width: 80%;
}
table{
    border-collapse: collapse;
}
table.list{
    width: 100%;
}
td,th{
    border: 2px solid #dddd;
    text-align: left;
    padding: 8px;
}
tr:nth-child(even),table.list thead>tr{
    background-color: #dddd;
}
input[type=text], input[type=number]{
    width: 50%;
    padding: 12px 20px;
    margin: 8px 0;
    border:  2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

a{
    
    cursor:default;
    text-decoration:underline;
    color: white;
    text-align: center;
    text-align:center;
    text-decoration: none;

}
label.validation-error{
    color: red;
    margin-left: 5px;
}
.hide{
    display: none;
}
.button{
    display: block;
    margin: 50px 50px;
    border: 2px solid;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: 0.4s;
    background-color: black;
    font-size: 14px;
    font-weight: bolder;
}


-----------------------

.contact-down p{
    margin-top: 20px;
}
.contact-down p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
    text-align: center;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}


/* -------------css for responsive----------- */

nav .fas{
    display: none;
}

@media only screen and (max-width:600px){

    .header_text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header_text h1{
        font-size: 30px;
    }
    nav .fas{
        display: block;
        font-size: 20px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.1s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        right: 35px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    
}