/* index.html css styling */

/*Ramen Icon in the middle of the landing page*/
#ramen {
	padding-top: 20vh;
	width: 195px;
	height: 194px;
}

#flavorProf {
	color: #eee;
	font-size: 2rem;
	margin-bottom: 5px;
	padding-left: 2vw;
	padding-right: 2vw;
	text-shadow: 3px 2px 2px #bb1212;
}

#description {
	margin-top: 10px;
	padding-bottom: 30px;
	padding-left: 5vw;
	padding-right: 5vw;
}

/*removes underline of buttons*/
.chat-box a {
	text-decoration: none;
}

/*button to navigate to the questionaire page*/
@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 #bb1212;
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}


main{
	padding: 0;
}
#frontpage-container{
	display: grid;
	grid-template-columns: 0.74fr 1fr;
	width:100%;
}

/* chat-box section */
#chat-box-content-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

	height: 100%;
    max-height: 270px;
	margin-top: 30px;
}
#user-input-button{
	border: 2.5px #DA0B0B solid;
	background-color: #bb121254;
	backdrop-filter: blur(2px);
	border-radius: 25px 25px 0px 25px;
	text-shadow: rgb(0, 0, 0) 1px 1px 1px;

	/* transition: 0.3s ease; */
}
#user-input-button:hover{
	background-color: #bb1212ab;
}

.noodles-container{
	cursor: grab;
	transition: transform 0.5s ease; 
}

.noodles-container.bouncing{
	animation: bounce 1.2s forwards;
}

@keyframes bounce {
	0%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	20% {
		transform: translateY(20px);
	}

	40% {
		transform: translateY(-65px);
	}
	60% {
		transform: translateY(-35px);
	}
}

/* Intro section */
.intro{
	display: flex;
	justify-content: center;
	align-items: center;

	text-align: left;
	background-color: #00000040;
	backdrop-filter: blur(8px);
	padding: 40px;
}
#intro-content-container{
	max-width: 600px;
	min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

	margin-top: 30px;
}
#noodleBoxImg{
	display: none;
}
.intro h1{	
	color: #eee;
	font-size: 60px;
	text-shadow: 3px 2px 2px #000;
	line-height: 50px;

}
.intro p{
	color: #eee;
	text-shadow: 3px 2px 2px #000;
	line-height: 25px;
	margin: 20px 0;

	font-size: 1.5rem;
}
#generate-recipe{
	padding-left: 40px;
	padding-right: 40px;
	animation: 3.2s ease 0s infinite normal none running pulse;
}


/* Responsive Design for small screens */
@media only screen and (max-width: 767px), 
screen and (max-height: 480px){
	@media (orientation: portrait) {
		main{
			margin-top: 69px;
		}
	}
	main{
		background-attachment: fixed;
	}
	#frontpage-container{
		display: flex;
		flex-direction: column-reverse;
	}
	.intro{
		min-height: calc(100vh - 69px);
		min-height: calc(100svh - 69px);

		align-items: flex-end;
		max-width: 100vw;
		overflow: hidden;
		padding: 20px;
	}
	.intro h1{
		font-size: 45px;
        line-height: 40px;
		/* margin-bottom: 10px; */
	}
	.intro p{
		font-size: 1.3rem;
	}

	#intro-content-container{
		/* justify-content: flex-end; */
		/* gap: 20px; */
		height: 100%;
		position:relative;
	}

	#intro-content-container div{
		margin-top: 36vh;
		margin-top: 36svh;
		z-index: 1;
	}

	#intro-content-container a{
		margin-bottom: 20px;
		z-index: 1;
	}

	#noodleBoxImg{
		display: block;
		width: 400px;
		top: 0;
		right: 0px;
		position: absolute;
		transform: translate(80px, 10px);		
		clip-path: inset(0 0 0 0);
	}


	/* Button size */
	#intro-content-container a{
		width: 100%;
	}
	#generate-recipe{
		width: 100%;
	}
	#user-input-button {
		font-size: 18px;
	}
}