/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Caesar+Dressing&display=swap');

/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@view-transition {navigation:auto;}

*{
    margin: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:slate-gray;
}

.logo{
    font-size: 1.5em;
    font-weight: bold;
    color: #ffba49;
    font-family: "Caesar Dressing", system-ui;
}

/* HOME navigation bar section */
.navbar{
    background-color:  slategray;
    padding: 15px 20px;
    color: white;
    position: fixed;
    width: 100%;
}
.nav-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}
.nav-linker{
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-linker li a{
    text-decoration: none;
    color: whitesmoke;
    font-weight: bold;
}
.nav-linker li a:hover{
    -webkit-text-fill-color: #ffba49;
    text-decoration:underline;
    cursor: pointer;
}
.nav-linker li a.active_page{
    color: #ffba49;
    
}
.bar{
    color: #ffba49;
}

main{
    min-height: calc(100vh - 80px - 40px);
    padding: 60px;
}
main section{
    padding: 30px 0px;
    text-align: center;
}

/* HOME top section */
.photo-gallery img{
    width: 220px;
    height: 220px;
    margin: 10px;
    object-fit: cover;
}
.circle{
    border-radius: 50%;
    border: 2px solid #213945; 
}
.circle:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px 6px rgba(203, 216, 11, 0.6);
}

/* HOME page configuration - main section */
.about{
    background-color: aquamarine;
} 
.recipe{
    background-color: bisque;
}
.GOG-content{
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}
.love{
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}
.recipe{
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}
.s2{
    color:#ffba49;
}
.s1{
    color:white;
}
.highlight{
    background-color: #213945;
    border-radius: 20px;
}
.home-award{    
    width: 270px;
    border-radius: 60%;
}

footer{
    background-color: slategrey;
    height: 15px 20px;
    text-align: center;    
    font-weight: lighter;
}
/*RSMC Recipe page*/
/* recipe page */
.recipe_area{
    padding-left: 90px;
}
.recipe_table{
    text-align: justify;
}
h4{
    border-radius: 60%;
    width: 200px;
    height: 20px;
    background-color: darkorange;
    text-justify:auto;
    margin-top: 10px;
}

.banner{
    width:fit-content;
    height: 100px;
    border-radius: 10px;
}
.inner_recipe_box{
    display: flex;
    justify-content: center;
    gap: 20px;    
}
.footnote{
    justify-content: center;
    font-size: x-small;
    color:#213945;
}
.note{
    justify-content: center;
    left: 10%;
    font-size:small;
    color:#213945;
}
#print_button{
    padding: 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: .5s;
    position: fixed;
    top: 210px;
    right: 310px;
}
#print_button:hover{
    background-color: #ffba49;
}

.bi-printer-fill{
    font-size: 30px;
    color: #213945;
} 

/* Q and A html page configuration */
table{
    margin-top: 5px;
    width: 825px;
    border-collapse: collapse;
}
.mid-table{
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
    padding: 10px;
}
.t12{
    width: 10px;
    background-color: rgb(194, 192, 192);
}
td{
    border: 1px;
    padding: 2px 16px;
    text-align: left;
    border-style: solid;
}
  
.middle-box {
display: flex;
justify-content: center;
gap: 20px;
padding: 40px;
flex-wrap: wrap;
}

.middle-box-photo {
position: relative;
width: 300px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
background-color: white;
font-family: 'Segoe UI', sans-serif;
}

.txt-top {
position: absolute;
top: 12px;
left: 50%;
transform: translateX(-50%);
background-color: #213945;
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
z-index: 2;
}
.txt-bottom {
position:absolute;
bottom: 12px;
background-color: #213945;
color: white;
padding: 5px 12px;
font-size: 0.8rem;
font-weight:normal;
z-index: 2;
}
  
  .recipe-img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /*SHARE A RECIPE*/
  .rectangle{
    width: 300px;
    height: 500px;
    border-radius: 30px;
  }

  /*SUBMIT a RECIPE*/
.caesar-dressing-regular{
font-family: "Caesar Dressing", system-ui;
font-weight: 400;
font-style: normal;
font-size: 110px;
}

form{
width:fit-content;
padding: 10px;
border: solid;
display:inline-flex;
margin: auto auto;
}

fieldset{
    border-radius: 10px;
    border-color: #213945;
    width: auto;    
    padding:6px;
}

textarea{
    width: 400px;
    field-sizing: content;
    resize: vertical;
}
.recipe-form{
    text-align: left;
    max-width: flex;
    margin: 0 auto;
    background-color: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
fieldset{
    border: 2px solid #ffba49;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    margin: 0 10px;
}
#info-name{
    text-align: left;
}
#e-m{
    text-align: center;
}
#p-info{
    text-align: right;
}

legend{
    font-size: 1.4em;
    font-weight: bold;
    color: #2c786c;
    padding: 0 10px;
}
.form-group{
    margin-bottom: 20px;    
}
#recipe-name, #full-name, #user-email{
    width:400px;
}

#ingredients{
    height: 335px;
}
#method{
    height: 550px;
}
#equipment{
    height: 150px;
}
label{
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
select{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}
#submit_button{
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: larger;
    letter-spacing: .5em;
    border-radius: 30px;
    color: #213945;
    font-weight: bold;
    background-color: coral;
}
#submit_button:hover{
    color: #ffba49;
    background-color: #213945;
}
  