@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
--pink-skura: rgb(242, 184, 224);
--pink-sakura-dark: rgb(242, 154, 154);
}
body{
font-weight: 300;
font-size: 1.05rem;
line-height: 1.6;
font-family: 'Poppins', sans-serif;
}
::selection {
background: rgb(133, 215, 209);
color: #fff;
}
.btn{
font-family: inherit;
cursor: pointer;
outline: 0;
font-size: 1.05rem;
}
.text{
opacity: 0.8;
}
.title{
font-family: jua;
font-size: 2.5rem;
margin-bottom: 1rem;
}
.subtitle{
font-family: inherit;
cursor: pointer;
outline: 0;
font-size: 2rem;
}
.ssubtitle{
font-family: jua;
font-size: 1.5rem;
margin-bottom: 1rem;
}
.container{
min-height: 100vh;
}
.cat-wrapper{
max-width: 1300px;
margin: 0 auto;
padding: 2rem;
background: rgb(255, 226, 247);
text-align: center;
z-index: 1;
}
.cat-search{
margin: 2rem 0;
}
.cat-search cite{
font-size: 1rem;
}
.cat-search-box{
margin: 1.2rem 0;
display: flex;
align-items: stretch;
}
.search-control,
.search-btn{
width:100%;
}
.search-control{
padding: 0 1rem;
font-size: 1.1rem;
font-family: inherit;
outline: 0;
border: 1px solid var(--pink-skura);
color: var(--pink-skura);
border-top-left-radius: 2rem;
border-bottom-left-radius: 2rem;
}
.search-control::placeholder{
color: var(--pink-skura)
}
.search-btn{
width: 55px;
height: 55px;
font-size: 1.8rem;
background: var(--pink-skura);
color: #fff;
border: none;
border-top-right-radius: 2rem;
border-bottom-right-radius: 2rem;
transition: all 0.4s linear;
-webkit-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
-ms-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
}
.top-search{
margin: 2rem 0;
}
.top-search cite{
font-size: 1rem;
}
.top-search-box{
margin: 0;
display: flex;
align-items: stretch;
}
.top-search-control,
.top-search-btn{
width:100%;
}
.top-search-control{
padding: 0 1rem;
font-size: 1rem;
font-family: inherit;
outline: 0;
border: 1px solid var(--pink-skura);
color: var(--pink-skura);
border-top-left-radius: 1rem;
border-bottom-left-radius: 1rem;
}
.top-search-control::placeholder{
color: var(--pink-skura)
}
.top-search-btn{
width: 55px;
height: 20px;
font-size: 1.5rem;
background: var(--pink-skura);
color: #fff;
border: none;
border-top-right-radius: 1rem;
border-bottom-right-radius: 1rem;
transition: all 0.4s linear;
}
.top-search-btn:hover{
color: rgb(133, 215, 209)
}
.search-btn:hover{
background: var(--pink-sakura-dark);
}
.cat-result{
margin-top: 4rem;
}
.cat{
margin: 2.4rem 0;
}
.cat-item{
border-radius: 1rem;
-webkit-border-radius: 1rem;
-moz-border-radius: 1rem;
-ms-border-radius: 1rem;
-o-border-radius: 1rem;
overflow: hidden;
box-shadow: 0 4px 20px -10px rgba(0,0,0,0.79);
margin: 2rem 0;
}
.cat-img img{
width: 100%;
display: block;
}
.cat-img img:hover{
position: auto;
width: 100%;
transform:scale(1.2);
transition: transform.3s;
}
.cat-name{
padding: 1.5rem 0.5rem;
}
.cat-name h3{
font-family: jua;
font-size: 1.4rem;
}
.catrecipe-btn{
text-decoration: none;
color: #fff;
background: var(--pink-skura);
font-weight: 500;
font-size: 1.1rem;
padding: 0.75rem 0;
display: block;
width: 175px;
margin: 1rem auto;
border-radius: 2rem;
-webkit-border-radius: 2rem;
-moz-border-radius: 2rem;
-ms-border-radius: 2rem;
-o-border-radius: 2rem;
transition: all 0.4s linear;
-webkit-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
-ms-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
}
.catrecipe-btn:hover{
background: var(--pink-sakura-dark);
}
.cat-details{
opacity: 95%;
position: fixed;
top: 50%;
right: 50%;
left:50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
color: #fff;
background: var(--pink-skura);
border-radius: 1rem;
-webkit-border-radius: 1rem;
-moz-border-radius: 1rem;
-ms-border-radius: 1rem;
-o-border-radius: 1rem;
width: 90%;
height: 50%;
overflow-y: scroll;
display: none;
padding: 2rem 0;
}
.cat-details::-webkit-scrollbar{
width: 10px;
}
.cat-details::-webkit-scrollbar-thumb{
background: #f0f0f0;
border-radius: 2rem;
-webkit-border-radius: 2rem;
-moz-border-radius: 2rem;
-ms-border-radius: 2rem;
-o-border-radius: 2rem;
}
.showRecipe{
display: block;
}
.cat-details-content{
margin: 2rem;
}
.cat-details-content p:not(.cat-category){
padding: 1rem 0;
}
.recipe-close-btn{
position: absolute;
right: 2rem;
top: 2rem;
font-size: 1.8rem;
background: #fff;
border: none;
width: 35px;
height: 35px;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.9;
}
.recipe-title{
letter-spacing: 1px;
padding-bottom: 1rem;
}
.recipe-category{
background: #fff;
font-weight: 600;
color: var(--pink-skura);
display: inline-block;
padding: 0.2rem 0.5rem;
border-radius: 0.3rem;
-webkit-border-radius: 0.3rem;
-moz-border-radius: 0.3rem;
-ms-border-radius: 0.3rem;
-o-border-radius: 0.3rem;
}
.cat-category{
background: #fff;
font-weight: 600;
color: var(--pink-skura);
display: inline-block;
padding: 0.2rem 0.5rem;
border-radius: 0.3rem;
-webkit-border-radius: 0.3rem;
-moz-border-radius: 0.3rem;
-ms-border-radius: 0.3rem;
-o-border-radius: 0.3rem;
}
.recipe-instruct{
padding: 1rem 0;
}
.recipe-cat-img img{
width: 100px;
height: 100px;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
margin: 0 auto;
display: block;
}
.recipe-link{
margin: 1.4rem 0;
}
.recipe-link a{
color: #fff;
font-size: 1.2rem;
font-weight: 700;
transition: all 0.4s linear;
-webkit-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
-ms-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
}
.recipe-link a:hover{
opacity: 0.8;
}
@media screen and (min-width: 600px){
.cat-search-box{
width: 540px;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (min-width: 768px){
#cat{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
}
.cat-item{
margin: 0;
}
.cat-details{
width: 700px;
}
}
@media screen and (min-width: 992px){
#cat{
grid-template-columns: repeat(3, 1fr);
}
}
.bottom-container{
min-height: 10px;
}
.bottom-tab{
max-width: 1300px;
margin: 0 auto;
padding: 2rem;
background: rgb(255, 226, 247);
text-align: center;
}
.bot-navi{
position: fixeds;
top: 0px;
display: flex;
justify-content: space-evenly;
list-style-type:none;
margin: 0;
padding: 0;
background-color: var(--pink-skura);
}
.bot-navi li a{
font-family: jua;
text-decoration: none;
color: #000;
font-weight: bold;
display: block;
text-align: center;
padding: 0;
}
li a:hover{
background-color:var(--pink-sakura-dark);
color: white;
}
.bot-navi li a{
transition: all 0.5s;
}
.top-container{
margin-left: 15px;
z-index: 2;
min-height: 0;
}
.top-tab{
max-width: 1300px;
margin: 0 auto;
padding: 0;
background: rgb(255, 226, 247);
text-align: center;
}
.top-navi{
position: fixed;
top: 0px;
width: width/2;
display: flex;
list-style-type:none;
background-color: var(--pink-skura);
border-radius: 15px;
z-index: 2;
}
.top-navi li a{
font-family: jua;
text-decoration: none;
color: #000;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
padding: 5px;
}
li a:hover{
background-color:var(--pink-sakura-dark);
color: white;
}
.top-navi li a{
transition: all 0.5s;
}
.left-container{
position: absolute;
top: 0px;
left: 0px;
z-index: -1;
}
.left-container:hover{
background-color: var(--pink-sakura-dark);
}
.clock{
min-width: 302px;
background-color: var(--pink-skura);
font-weight: 900;
font-size: 50px;
position: absolute;
top: 0px;
left: 0px;
align-items: center;
justify-content: center;
text-align: center;
}
.clock-Line{
min-width: 302px;
position: absolute;
top:38px;
left: 0px;
align-items: center;
justify-content: center;
text-align: center;
}
.weather{
background-color: var(--pink-skura);
min-width: 302px;
position: absolute;
top:90px;
left:0px;
}
#wrtImg{
position: absolute;
top:360px;
left:0px;
}
.backgound-music{
position: absolute;
top:360px;
left:0px;
filter: sepia(30%) saturate(0%) grayscale(1) contrast(80%) invert(100%);
}
.music{
background-color: violet;
position: absolute;
top:600px;
left:0px;
}