/*for submit-a-recipe */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}

body {
    font-family: "Times New Roman", Georgia, Serif;
    text-align: center;
    background-color: #f3f8e2;
}

header {
    width: 100%;
    height: 125px;
    background-color: hsl(0, 0%, 95%);
    position: fixed;
    top: 0;
}

main {
    width: 1000px;
    margin: 130px auto 20px auto;
    background-color: hsl(0, 50%, 99%);
    /*for testing only*/
    z-index: -2;
    position: center;

}

h1 {
    font-family: "Times New Roman", Georgia, Serif;
    text-align: center;
    color: #efa105;
    letter-spacing: 8px;
}



h5 {
    color: #171717;
    font-size: 40px;
    font-family: dancing Script;
    letter-spacing: 3px;
    text-align: center;
}


h6 {
    color: #c3783fd8;
    font-size: 20px;
    font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
}

.container3 {
    background-color: #fff;
    border-radius: 10px;
    max-width: 1000px;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.container3.login_form {
    width: 90%;
    margin: 16px auto;
}

div.input_group label sup {
    color: red;
}

.login_form legend {
    color: #c3783fd8;
    display: block;
    font-size: 18px;
    font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
}

.login_form_lable {
    color: black;
    display: block;
}

.login_form_ fieldset {
    border-color: #f30794;
    border-radius: 15px;
}

.input_group {
    padding: 10px 10px;
}

.input_group input {
    width: 90%;
    padding: 10px;
    font-size: 15px;
    border-radius: 5px;
    background-color: transparent;
    color: black;
    border: 1px solid black;
}


.input_group textarea {
    width: 90%;
    padding: 10px;
    font-size: 15px;
    border-radius: 5px;
    background-color: transparent;
    color: black;
    border: 1px solid black;
}

/*for submit-a-recipe end */



footer {
    background-color: hsl(0, 0%, 95%);
    color: #fff;
    padding: 25px 0;
    text-align: center;
    font-size: 15px;
}

footer a {
    color: #505050;
    text-decoration: none;
    margin: 0 10px;


}

.copyright {
    font-size: 14px;
}





nav {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0px 5px 0px #dedede;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #aaa;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 10px;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all .5s;
}

nav ul li a:hover {
    color: #555;
}


/* stroke */
nav.stroke ul li a,
nav.fill ul li a {
    position: relative;
}

nav.stroke ul li a:after,
nav.fill ul li a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: #fffefe;
    height: 1px;
}

nav.stroke ul li a:hover:after {
    width: 100%;
}

nav.fill ul li a {
    transition: all 2s;
}

nav.fill ul li a:after {
    text-align: left;
    content: '.';
    margin: 0;
    opacity: 0;
}

nav.fill ul li a:hover {
    color: #fff;
    z-index: 1;
}

nav.fill ul li a:hover:after {
    z-index: -10;
    animation: fill 1s forwards;
    -webkit-animation: fill 1s forwards;
    -moz-animation: fill 1s forwards;
    opacity: 1;
}

/* Circle */
nav.circle ul li a {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

nav.circle ul li a:after {
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '.';
    color: transparent;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background: transparent;
}

nav.circle ul li a:hover:after {
    animation: -circle 1.5s ease-in forwards;
}

/* SHIFT */
nav.shift ul li a {
    position: relative;
    z-index: 1;
}

nav.shift ul li a:hover {
    color: #131312;
}

nav.shift ul li a:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    content: '.';
    color: transparent;
    background: #c7c7c6;
    visibility: none;
    opacity: 0;
    z-index: -1;
}

nav.shift ul li a:hover:after {
    opacity: 1;
    visibility: visible;
    height: 100%;
}