/*------MAIN------*/
*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Raleway', sans-serif;
	text-decoration: none;
	list-style: none;
	scroll-behavior: smooth;
}

:root{
	--text-color: #302e29;
	--main-color: #ff9100;
	--second-color: #858585;
	--bg-color: #fffbf6;
	--big-font: 4.5rem;
	--h2-font: 2.6rem;
	--p-font: 1.1rem;
}

body{
  background:#fdf5ec;
  height: 100vh;
}

/*------HEADER------*/
header{
    width:100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    background: #34495e;
}

#chk1{
    display: none;   
}

i{
    color: #fff;
    cursor: pointer;
}

header .search-box{
    flex: 1;
    position: relative;
}

.search-box input{
    width:100%;
    height: 40px;
    border: none;
    outline: none;
    background:#f2f2f2;
    border-radius: 30px;
    color:#000;
    font-size: 16px;
    padding-left: 5px;
    padding-right: 40px;
    text-align: center;   
}
 
.search-box button{
    cursor: pointer;
    width:40px;
    height: 40px;
    border-radius: 30px;
    border:none;
    position: absolute;
    top:0;
    right: 0;
    transform: scale(0.9);
    background: rgb(25, 26, 25);
    color: #fff;
}

header ul {
    flex:2;
    display: flex;
    justify-content: space-evenly;
}

header ul li{
    list-style: none;
}

header ul li a{
    text-decoration: none;
    color:#fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
}

header ul li a:hover{
    color: #5276a5;
}

header .menu{
    font-size: 2.5em;
    display: none;
}

@media(max-width:1000px){
    .search-box button{
        position: absolute;
    }

    header ul{
        position: fixed;
        top:100px;
        right: -100%;
        background: rgba(0,0,0,0.5);
        height: calc(100vh - 100px);
        width:50%;
        flex-direction: column;
        align-items: center;
        transition: right 0.5s linear;
    }
     
    header .menu{
        display: block;
        width:100px;
        text-align: center;
    }

    #chk1:checked ~ ul{
        right: 0;   
    }
}

.logo {
    padding-top: 0.5rem;
}


/*------FOOTER------*/
.footer {
  padding: auto;
  background: #34495e;
  color: #000;
}

.footer .social {
  text-align: center;
  padding-bottom: 20px;
  color: #4b4c4d;
}

.footer .social a {
  font-size: 27px;
  color: #e7e0e0;
  padding-top: 1rem;
  width: 20px;
  height: 20px;
  line-height: 38px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 8px;
  opacity: 0.90;
}

.footer .social a:hover {
  opacity: 0.9;
}

.footer ul {
  margin-top: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer ul a {
  color: #e7e0e0;
  text-decoration: none;
  opacity: 0.8;
}

.footer ul li {
  display: inline-block;
  padding: 0 10px;
}

.footer ul a:hover {
  opacity: 1;
}

.last {
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
  color: #e7e0e0;
}

/*------LOGIN------*/
.login1{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	font-family: 'Jost', sans-serif;
  background: url(images/bg2.jfif);
  background-size: cover;
  background-repeat: no-repeat;
}
.main{
	width: 350px;
	height: 500px;
	overflow: hidden;
  background: transparent;
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
}
#chk{
	display: none;
}
.signup, .sign{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 20px;
	border: none;
	outline: none;
	border-radius: 5px;
  color: #000;
}
button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: #573b8a;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
button:hover{
	background: #6d44b8;
}
.login{
	height: 460px;
	background: #eee;
	border-radius: 60% / 10%;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}
.login label{
	color: #573b8a;
	transform: scale(.6);
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}
#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.6);
}

/*------REGISTRATION------*/

/*------ABOUT US------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.aboutus{
  background: #fdf5ec;
	justify-content: center;
  align-items: center;
  background: url(images/bg2.jfif);
  background-repeat: no-repeat;
  background-size: cover;
}
.about-sec{
	display: flex; 
	padding: 3rem 0;
	width: 50%;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 305px;
  border-radius: 20px;
	justify-content: center;
  background: transparent;
}
.about-img{
	width:300px;
	height: auto;
	margin: 0 3rem;
}
.about-img img{
	height: 100%;
	width: 100%;
}
.about-intro{
	color: #fff;
	width: 400px;
	height: 250px;
	border-left: 3px solid #00b894;
	padding-left: 2rem;
	margin: 0 3rem;
}

.about-intro h3{
  color:#00b894;
}

.about-intro p{
	margin-top: 1.5rem;
	font-size: 14px;
	opacity: .9;
  text-align: justify;
}
@media only screen and (max-width: 900px) {
	.about-sec{
		flex-direction: column;
		align-items: center;
	}
}

/*------CONTACT US------*/
.contact{
  background: url(images/bg2.jfif);
  background-repeat: no-repeat;
  background-size: cover;
}

.wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 40px;
  margin-bottom: 40px;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 550px;
  background:#6f7072;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wrapper .title h1{
  color: #c5ecfd;
  text-align: center;
  margin-bottom: 25px;
}

.contact-form{
  display: flex;
}

.input-fields{
  display: flex;
  flex-direction: column;
  margin-right: 4%;
}

.input-fields,
.msg{
  width: 48%;
}

.input-fields .input,
.msg textarea{
  margin: 10px 0;
  background: transparent;
  border: 0px;
  border-bottom: 2px solid #c5ecfd;
  padding: 10px;
  color: #f0f5f7;
  width: 100%;
}

.msg textarea{
  height: 212px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #1c1e1f;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #c5ecfd;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #c5ecfd;
}

.btn {
    background: #39b7dd;
    text-align: center;
    padding: 15px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}

@media screen and (max-width: 600px){
  .contact-form{
    flex-direction: column;
  }
  .msg textarea{
    height: 80px;
  }
  .input-fields,
  .msg{
    width: 100%;
  }
}
 
/*------LANDINGPAGE------*/
.home{
	height: 100vh;
	width: 100%;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.home-img img{
	width: 100%;
	height: auto;
}
.home-text h1{
	font-size: var(--big-font);
	line-height: 1.2;
	margin-bottom: 1rem;
}
.home-text p{
	font-size: var(--p-font);
	font-weight: 500;
	color: var(--second-color);
	line-height: 32px;
	margin-bottom: 2rem;
}
.btn{
	display: inline-block;
	padding: 14px 26px;
	background: var(--main-color);
	color: var(--bg-color);
	font-size: 15px;
	font-weight: 600;
	border-radius: 5rem;
	transition: all .35s ease;
}
.btn:hover{
	letter-spacing: 1px;
}

/*------HOMEPAGE------*/
/* .menu-content{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, auto));
	gap: 2rem;
	align-items: center;
	margin-top: 4rem;
  margin: 1rem;
	cursor: pointer;
  padding-left: 2rem;
  padding-right: 2rem;
}
.row img{
	width: 400px;
	height: 260px;
	border-radius: 10px;
}
.row{
	transition: all .40s ease;
}
.menu{
	padding-top: 30px;
}

.main-text h1 {
    text-align: center;
    font-size: 50px;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}

.main-text p {
    text-align: center;
    padding-top: 1rem;
    font-style: italic;
    font-size: 18px;
    
}
.menu-text{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
}
.menu-left h4{
	font-size: 23px;
}

.row p{
	color: var(--second-color);
	font-size: 15px;
	line-height: 30px;
	margin-bottom: 15px;
}

.row:hover{
	transform: scale(1.02);
}
 */

  /*------HOMEPAGE------*/
  .about{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 2rem;
}
.about-imgs img{
	/* padding-top: 5px; */
  padding-left: 5rem;
	height: auto;
	width: 100%;
}
 .about-text h2 {
	font-size: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 1rem;
	margin-bottom: 1rem;
	line-height: 1.3;
} 
.about-text p{
	/* font-size: var(--p-font); */
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	color: var(--second-color);
	font-weight: 500;
	line-height: 32px;
	
}

/*------STAR------*/
.star {
    font-size:200%;
    color: var(--main-color);
}

/*------INGREDIENTS------*/
.page2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-weight: 400;
   line-height: 1.75;
   color: var(--textColor);
   background:#fdf5ec;
   }
 
 .recipe-hero {
   display: grid;
   gap: 3rem;
 }
 
 .recipe-hero-img {
   width: 70%;
   height: auto;
   margin-top: 5px;
   margin-left: 30px;
 }
 
 .recipe-info h2 {
    color:#222020;
   font-size: 30px;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   padding-top: 2rem;
 }

 .recipe-info p {
  margin-right: 2rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
 }
 
 .recipe-info  {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-size: 16px;
   text-align: justify;
    color: #252121;
 }
 
 .recipe-icons {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   margin: 2rem 0;
   text-align: center;
 }
 
 .recipe-icons i {
   font-size: 1.5rem;
    color:#4169E1;
 }
 
 .recipe-icons h5,
 .recipe-icons p {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
   margin-bottom: 0;
   font-size: 0.85em;

 }
 
 .recipe-tags {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   font-size: 0.9em;
   font-weight: 600;
    color: #222020;
 }
 
 .recipe-tags a {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
   background: var(--primary-500);
   border-radius: var(--borderRadius);
   padding: 0.05rem 0.5rem;
   margin: 0 0.25rem;
   text-transform: capitalize;
   text-decoration: none;
   color:#4169E1;
   font-weight: bolder;
 }
 
 @media screen and (min-width: 992px) {
   .recipe-hero {
     grid-template-columns: 4fr 5fr;
     align-items: center;
   }
 }
 
 /*COLUMN INGREDIENTS*/
 .column1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   background-color:#EDEADE;
   /* color: #000; */
   float: left;
   width: 50%;
   padding: 20px;
   background: transparent;
 }
 
 .row1:after {
   content: "";
   display: table;
   clear: both;
 }
 
 .column1 h2{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
     /* color:#252121; */
 }
 
 .column1 h4{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-weight: bolder;
     font-size: 20px;
 }
 
 .column1 {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 16px;
 }
 
 @media screen and (max-width: 600px) {
   .column1 {
     width: 100%;
   }
 }
 
 .fl h5 {
     margin-left: 195px;
     font-size: 14px;
     font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
 }
 
 .fl2 h5 {
     margin-left: 195px;
     font-size: 14px;
     font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
 }
 
 .fl,.fl2 h2{
     margin-left: 100px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }
 
 .divider {
     border: 3px solid #4169E1;
 }


 /***************************ADD RECIPE******************************/
 .add-btn{
    padding: 14px 26px;
    margin-bottom: 15px;
    float:right;
    background: var(--main-color);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 600;
    border-radius: 5rem;
    transition: all .35s ease;
  }
  
.add-btn:hover{
	letter-spacing: 1px;
}

/*********************************ADD RECIPE FORM*****************************/
 form {
  width: 100%;
}

input, textarea {
  border: 1px solid #9f782d;
  border-radius: 20px;
  min-height: 40px;
  font-family: "Oswald";
  font-size: 15px;
  padding: 10px 10px;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

textarea {
  min-height: 120px;
}

.recipe-manage {
  max-width: 500px;
  margin: 0 auto;
}

.ta-center {
  text-align: center;
  margin-top: 20px;
}

.btnadd{
  width: 25%;
	padding: 14px 14px;
	background: var(--main-color);
	color: var(--bg-color);
	font-size: 15px;
	font-weight: 600;
	border-radius: 5rem;
	transition: all .35s ease;
}
.btnadd:hover{
	letter-spacing: 1px;
}