@charset "utf-8";
/* latin */
@font-face {
  font-family: 'Work Sans';
  src: url(https://www.reallysugarfree.com/fonts/QGY_z_wNahGAdqQ43RhVcIgYT2Xz5u32KxfXBi8Jpg.woff2) format('woff2');
}
html {
    --yellow: #edae17;
    --white: #fff;
    --grey: #373736;
	--midgrey: #bfbfbf;
	--lightgrey: #f5f5f5;
	--black: #000;
	--red: #dc143c;
	/* --pink: #eb6170; */
    --pink: #e1887c;
	--blue: #1d3773;
	--darkblue: #0E1320;
	--cream: #f5ecd9;
    --green: #30d5a5;
}
.hero{
	background-image: url(https://www.reallysugarfree.com/images/really-sugar-free-recipes-1000.webp);
	background-color: var(--yellow);
	background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
	padding:20px;
}
.hero > h1, .hero > h2{
	color: var(--white);
}
.hero > h2{
	font-weight: 700;
}
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100vw;
    display: flex;
    align-items: center;
    background-color: var(--white);
    z-index: 1;
    margin: 0 auto;
	border-bottom: 3px solid var(--pink);
}
header > a{
    font-weight: 600;
    color: var(--grey);
	line-height:0;
}
.favorites-link{
	display:none;
}
.search-link{
    display:none;
}

.top-logo {
	margin-left:10px
}
.social-share {
    text-decoration: none
}
body, html {
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.5;
    color: var(--grey);
}
body {
    background: var(--white);
    margin: 0;
    color: var(--grey);
    font-family: 'Work Sans', sans-serif;
    text-align: center;
    list-style-type: none;
}
img {
    margin: auto;
	filter:saturate(1.4);
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    padding: 0;
    margin: 0
}
h1 {
    font-size: 38px;
}
.results-heading{
	font-size: 30px;
    margin-top: 87px;
}
#title-home {
    font-size: 60px;
    font-weight: 400;
}
h2 {
    font-size: 1rem;
    font-weight: 400
}
h4, h5 {
    margin-top: 20px;
    font-size: 1.5rem
}
input, textarea {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--grey);
    padding: 10px;
    border-radius: 5px;
    margin: 2% auto;
    width: 80%;
    max-width: 400px;
    border: 2px;
    border-style: solid;
    border-color: var(--yellow);
}
a {
    text-decoration: none;
}
h3, p {
    margin: 0 auto;
    max-width: 680px;
    font-weight: 400
}
p a {
    text-decoration: underline
}
button, .button{
	display: block;
    background: var(--yellow);
    padding: 5px 20px;
    color: var(--white);
    border-radius: 20px;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    border: none;
    margin: auto;
	cursor: pointer;
}
#save-recipe-button{
	height: 34px;
	cursor: pointer;
}
#save-recipe{
	margin: 0 auto 10px auto;
}
.sidebarMenu {
    background-color: var(--white);
    height: auto;
    position: fixed;
    top: 73px;
    left: 0;
    width: 100vw;
    transform: translateX(100vw);
    transition: transform 250ms ease-in-out;
}
.sidebarMenuInner {
    margin: 0;
    padding: 0;
    line-height: initial;
}
.sidebarMenuInner li {
	display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--pink);
}
.sidebarMenuInner li a {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
	font-weight:bold;
    color: var(--black);
    cursor: pointer;
    text-decoration: none;
}
input[type=checkbox]:checked ~ .sidebarMenu {
    transform: translateX(0)
}
input[type=checkbox] {
    transition: all .3s;
    box-sizing: border-box;
    display: none
}
.sidebarIconToggle {
    transition: all .3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    top: 22px;
    right: 25px;
    height: 22px;
    width: 22px
}
.spinner {
    transition: all .3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--blue);
}
.horizontal {
    transition: all .3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px
}
.diagonal.part-1 {
    position: relative;
    transition: all .3s;
    box-sizing: border-box;
    float: left
}
.diagonal.part-2 {
    transition: all .3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all .3s;
    box-sizing: border-box;
    opacity: 0
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all .3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all .3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px
}

.logo-wrapper {
    padding: 5vw;
    margin-left: 18vw
}
.really-sugar-free-logo {
    width: 90%
}
.rounded-box-social-share {
    display: flex;
    align-items: center;
    border-radius: 25px;
    width: 90%;
    margin: auto;
    padding: 5px
}
.social-share {
    height: 30px;
    margin: 0 auto;
    padding: 5px
}
.social-icon {
    height: 30px;
    width: 30px
}
.grey-text {
    color: var(--grey);
}
.paragraph-wrapper {
    font-family: 'Work Sans', sans-serif;
    padding: 10px;
    text-align: left;
    max-width: 900px
}
.paragraph-wrapper-home {
    text-align: left;
    padding: 0;
    margin: 0 auto
}
.home-page-recipes {
    margin-bottom: 28px;
	background-color: var(--pink);

}
.home-page-recipes a{
	display:block;
}
.home-page-recipes p{
	font-size: 20px;
	color: var(--white);
	padding: 10px 5px 17px 5px;
}
.read-more {
    background-color: var(--lightgrey);
    color: var(--grey);
    width: 100px;
    border-radius: 5px;
    margin: 10px auto;
    padding: 3px;
    font-style: italic;
    font-size: .9rem
}
a .read-more {
    text-decoration: none
}
section{
	padding-top: 100px;
}
aside {
    margin: 40px auto;
    max-width: 700px;
}
aside > .paragraph-wrapper{
	font-size:20px;
	background-color:var(--pink);
	color: var(--white);
	padding: 20px;
	text-align:justify;
}
aside > h2{
	font-size:30px;
}
.aside-box{
	font-size:20px;
	background-color: var(--pink);
	color: var(--white);
	padding: 20px;
	text-align:left;
}
.recipe-links {
    display: flex;
    flex-direction: column;
}
.recipe-link {
    display: flex;
    flex-direction: column;
	background-color: var(--pink);
	margin-bottom:20px;
}
.recipe-link img{
	width:100%;
}
.category-header{
    background-color: var(--pink);
    color: var(--white);
    font-size: 20px;
	font-weight: 700;
	padding:10px 10px 15px 10px;;
}
.flex-container {
    font-family: "Work Sans", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%
}
.row {
    display: flex;
    flex-direction: row;
    width: 100%
}
.newsletter-cta {
    background-color: var(--lightgrey);
    font-size: 1.5rem;
    padding: 10px;
    color: var(--grey);
    font-weight: 700;
    margin: 30px auto;
	max-width: 680px;
}
.subscribe {
    background-color: var(--yellow);
    color: var(--white);
    width: 80%;
    margin: 10px auto 20px auto;
}
.whisk-and-bowl-icon {
    margin: 20px auto;
}
footer {
    display: flex;
    flex-direction: column;
    padding-bottom: 100px
}
.footer-social-share {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: var(--lightgrey);
}
.footer-logo {
    width: 50%;
    margin: 40px auto;
    max-width: 500px
}
.cookie-form {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--grey);
    color: var(--white);
    opacity: .8;
    width: 100vw;

}
.cookie-link {
    color: var(--white);
    font-weight: 700;
}
.footer-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 40px;
    background-color: var(--pink);
}
.footer-list a{
	font-size: 20px;
	color:var(--white);
}
#title-strapline {
    margin-bottom: 20px
}
.menu-structure {
    text-align: left;
    margin: 10px
}
.menu-structure a {
    color: var(--grey);
}
.jump-recipe {
    background: var(--yellow);
    padding: 5px;
    color: var(--white);
}
#recipe-title {
    font-size: 38px;
	padding: 0 20px;
}
.recipe-img {
    width: 100%;
    height: auto;
    margin: auto;
}
.recipe-img-category {
    width: 100%;
    height: auto;
    margin: auto;
	aspect-ratio: 3 / 2;
    object-fit: cover;
}
.brighter {
    filter: brightness(120%)
}
.affiliate {
    font-style: italic;
    font-size: .8rem;
}
.recipe-category {
    margin: 10px auto;
}
.servings-timing-info {
    display: flex;
    align-items: center;
	flex-direction: column;
    margin-top: 10px;
}
.servings-timing-info a {
	margin-bottom: 10px;
}
.recipe-info-box {
    background: var(--lightgrey);
    padding: 10px;
    margin: 10px;
}
.servings-timing-wrapper {
    margin: 0 auto;
}
.star-rating {
    color: var(--yellow);
}
.ratings {
    text-align: center;
}
.method {
    text-align: left;
    margin: 10px;
    padding: 10px;
    background: var(--lightgrey);
}
.method-title {
    font-size: 2rem
}
.ingredients-header {
    margin: 1vw auto
}
.method-header {
    margin: 1vw auto
}
.ingredients-list {
    font-family: 'Work Sans', sans-serif;
    list-style-type: none;
    padding: 0
}
.method-list {
    font-family: 'Work Sans', sans-serif;
    list-style-type: none;
    padding: 0
}
.ingredients-list li, .method-list li {
    padding: 5px
}
.keyword {
    background-color: var(--yellow);
    padding: 2px;
    border-radius: 6px;
	margin: 0 1px;
}
.message {
    font-size: 2rem
}
.captcha-wrapper {
    margin: 20px auto;
    text-align: center
}
.g-recaptcha {
    display: inline-block
}
#not-bot {
    display: none
}
.comment-rating-form {
    display: flex;
    flex-direction: column;
    margin: auto
}
.input-star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 2rem;
    justify-content: center
}
.stars {
    margin: 0 auto
}
input.star {
    display: none
}
label.star {
    float: right;
    padding: 10px;
    color: var(--lightgrey);
    margin: 0;
}
input.star:checked ~ label.star:before {
    content: '★';
    color: var(--yellow);
}
input.star-5:checked ~ label.star:before {
    color: var(--yellow);
}
input.star-1:checked ~ label.star:before {
    color: var(--yellow);
}
label.star:before {
    content: '★'
}
.comments-title {
    font-family: "Work Sans", sans-serif;
    text-align: left;
    margin: 1vw 10vw
}
.comment-date {
    font-family: "Work Sans", sans-serif
}
.comment-box {
    text-align: left;
    padding: 5px;
    border-style: solid;
    border-width: thin;
    width: 80vw;
    max-width: 400px;
    margin: 0 auto
}
.comment-name {
    font-family: "Work Sans", sans-serif
}
.comment-form {
    display: flex;
    align-items: center;
    width: 90vw;
    margin: 0 auto
}
.add-comment {
    font-family: "Work Sans", sans-serif;
    color: var(--white);
    background-color: var(--blue);
    border: 0;
    margin: 10px auto;
    padding: 10px
}
.submit-rating {
    font-family: "Work Sans", sans-serif;
    color: var(--white);
    background-color: var(--yellow);
    border: 0;
    border-radius: 5px;
    margin: 2vw auto
}
.rating-form {
    display: flex;
    flex-direction: row-reverse;
    justify-items: center
}
.saved-recipe-message {
    font-size: 26px;
    margin: 0 auto;
    padding: 20px;
}
.saved-recipes {
    display: flex;
    flex-direction: column;
    font-family: "Work Sans", sans-serif;
    margin: 20px auto
}
.saved-recipe-image {
    border-radius: 10px;
    width: 250px;
    margin: 10px auto
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
a.affiliate-link {
    text-decoration: underline
}
.affiliate-message{
	font-size:20px;
	padding:20px;
}
.blog-header {
    font-family: "Work Sans", sans-serif
}
.show-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    margin-top: 28px;
    max-width: 1000px;
}
.newsletter-opt-in {
    display: flex;
    align-items: center;
    justify-content: center;
	margin: 10px auto;
}
.join-mailing-list {
    width: 30px
}
input.join-mailing-list {
    height: 22px;
    display: block;
    margin: 0
}
.captcha-wrapper {
    margin: 20px auto;
    text-align: center
}
.g-recaptcha {
    display: inline-block
}
.signupsuccess {
    font-size: 3rem
}
.signuperror {
    font-size: 2rem;
    color: var(--red);
}
.join-title {
    margin-top: 30px
}
.copy-web a {
    text-decoration: none
}
.results{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: fit-content;
    margin: 0 auto;
}
.results > div{
	max-width: 150px;
}
.results img{
	object-fit: cover;
}
.fav-button{
	display:block;
	position:fixed;
	right: 5px;
	bottom: 182px;
}
.nutrition-info{
	max-width: 300px !important;
}

/*results page styles*/
.recipes-wrapper{
	display: flex;
    flex-direction: column;
}
.recipes{
	display: flex;
    flex-direction: column;
}
.about{
	padding: 0 10px 10px 10px;
}
.about img{
	width:100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}
.about a {
	display: block;
	background-color:var(--white);
	font-size:20px;
	font-weight:700;
	color:var(--yellow);
}
.terms{
	margin-top: 70px;
}
.calculator{
	display: flex;
    flex-direction: column;
}
.calculator #submit, .converter #submit{
	border: none;
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    background-color: var(--pink);
	cursor: pointer;
}
.nutrition-label-wrapper{
	max-width: 300px;
    margin: 20px auto;
	text-align: left;
	border: 1px solid var(--grey);
    padding: 10px;
}
.nutrition-label-wrapper .nutrition-facts{
	font-size: 30px;
    font-weight: bold;
}
.nutrition-label-wrapper .servings{
	border-bottom: 4px solid var(--midgrey);
	padding-bottom: 5px;
}
.nutrition-label-wrapper .grey-line{
	border-top: 4px solid var(--midgrey);
	padding-top:5px;
}
.nutrition-label-wrapper .right{
	text-align: right;
}
.nutrition-label-wrapper .centre{
	text-align: center;
}
.nutrition-label-wrapper .indent{
	padding-left:10px;
}
.nutrition-label-wrapper .middle{
	vertical-align: middle;
}

.nutrition-label-wrapper em{
	font-size: 14px;
    line-height: 1;
}
.nutrition-label .credit{
	font-size: 14px;
	display: block;
    margin-bottom: 10px;
}
.embed-img{
	max-width: 300px;
	margin: 0 auto;
}
.error{
	color: var(--red);
	font-style: italic;
}
.bold{
	font-weight: bold;
}

.converter{
    background-color: var(--cream);
    margin: 25px auto 0 auto;
    padding: 20px;
	border-radius: 25px 25px 0 0;
	max-width:500px;
}
.converter #submit{
	background-color: var(--pink);
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}
.converter #swap{
	color: var(--blue);
	background-color: var(--cream);
	padding: 10px;
	border: 1px solid var(--blue);
    border-radius: 5px;
	font-weight: bold;
}
.converter #swap:hover{
	color: var(--white);
	background-color: var(--blue);
}
.converter ul{
	display: block;
    list-style: none;
    padding: 0;
    text-align: left;
}
.converter li{
    width: 60%;
    margin: 0 auto;
    padding: 5px 10px;
    background-color: var(--white);
}
.converter li:hover{
	background-color: var(--midgrey);
    color: var(--white);
}
#converter-link{
	font-weight: bold;
    display: inline-block;
    color: var(--white);
    background-color: var(--pink);
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}
#pro-generator-link{
	font-weight: bold;
    display: inline-block;
    color: var(--white);
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: var(--green);
}
#result-wrapper{
    background-color: var(--cream);
    margin: 0 auto 25px auto;
    padding: 20px;
	border-radius: 0 0 25px 25px;
	max-width:500px;
}
#result{
	background-color: var(--white);
    color: var(--darkblue);
	font-size: 24px;
	font-weight:bold;
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto;
}
#result span{
	font-size: 30px;
}
.converter #reset{
	width: 60px;
    color: var(--white);
    background-color: var(--yellow);
    margin-left: 0;
}
.filter{
	margin: 28px auto 0 auto;
    padding: 0 20px;
	text-align: left;
}
.filter a{
    background-color: #edae17;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
	line-height: 2;
}
.underline{
    text-decoration: underline;
}
@media screen and (min-width:320px){
	.search-link{
		display:block;
		height: 70px;
		position: fixed;
		right: 70px;
	}
}
@media screen and (min-width:390px){
	.favorites-link{
		display:block;
		height: 70px;
		position: fixed;
		right: 140px;
	}
}
@media screen and (min-width:430px){
	.servings-timing-info {
		align-items: center;
		flex-direction: row;
	}
}
@media screen and (min-width:568px) {
	.hero{
		padding: 50px 20px 70px 20px;
	}
    .sidebarMenuInner {
        align-items: center
    }
    .recipe-links {
		display:grid;
		grid-auto-columns: auto;
        justify-content: center;
		max-width: 350px;
    	margin: 0 auto;
    }
	section {
	}
    .social-share {
        height: 40px
    }
    .social-icon {
        height: 40px;
        width: 40px
    }
    #title-home {
    
    }
    .paragraph-wrapper {
        padding: 20px 20px;
        max-width: 680px;
        margin: auto
    }
    .show-all {
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        align-items: flex-start
    }
    .other-recipes-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 650px;
        margin: 0 auto
    }
    .video-wrapper-wrapper {
        width: 80%;
        margin: 0 auto;
        max-width: 800px
    }
    .signup-wrapper-footer {
        width: 50vw;
        border-radius: 20px
    }
    .saved-recipe-image {
        width: 300px
    }
    .logo-footer {
        max-width: 400px
    }
    .copy {
        margin-bottom: 40px
    }
	.show-all{
		display: grid;
    	grid-template-columns: auto auto;
    	grid-template-rows: auto auto;
    	grid-gap: 10px;
	}
	.home-page-recipes{
		justify-self: stretch;
    	align-self: stretch;
		min-width: 270px;
	}
}
@media screen and (min-width:1000px) {
	.results-heading {
		margin-top: 127px;
	}
	.terms{
		margin-top: 140px;
	}
	.home-page-recipes{
		min-width: 319px;
	}
	.search-link{
		right: 10px;
	}
	.favorites-link{
		right: 80px;
	}
    .top-logo {
        display: none;
    }
	.hide, .hide > *{
		display:none;
	}
    .header-wrapper {
        width: 100vw;
        background-color: var(--white);

    }
    .sidebarIconToggle {
        display: none;
    }
    .sidebarMenu {
        max-width: 100vw;
        transform: none;
		margin: 0 auto;
    }
    .sidebarMenuInner {
        display: flex;
        font-family: "Work Sans", sans-serif;
        border-top: 0;
        justify-content: center;
    }
    .sidebarMenuInner li {
        padding: 10px;
        border-bottom: 0;
    }
	.sidebarMenuInner:first-child img{
		margin-left:10px;
	}
    .hide-text {
        display: none
    }
	#logo-text{
		margin-left: 10px;
		font-size: 22;
		font-weight: 600;
		color: black;
	}
    .paragraph-wrapper {
        margin: 0 auto
    }
    section {
        display: flex;
		padding-top: 133px;
    }
    main {
        width: 66%;
    }
    aside {
		max-width: 350px;
        margin: 0 10px;
    }
	aside > .show-all{
		grid-template-columns: auto;
	}
    .footer-list {
        flex-direction: row;
        justify-content: space-evenly;
        padding: 40px;
    }
    .ingredients-method-wrapper {
        margin: 0 20vw
    }
    .ingredients {
        margin: 2vw 2vw
    }
    .method {
        margin: 2vw 2vw
    }
    .comment-box {
        width: 60vw
    }
}

/*svg styles*/
.icon{
	fill: var(--yellow);
}
.icon-white{
	fill: var(--white);
}
      .icon-2 {
        fill: #f6cf82;
      }
      .icon-3 {
        fill: #373736;
      }
      .icon-4 {
        fill: #f1be52;
      }
.fav-circle{
	fill:#ffffff40;
}
.fav-circle:hover{
	fill:#f5ce83a8;
}
@media print {
	body {
		visibility: hidden;
	}
	header, footer, p, h1, h2, h3, aside, .calculator, button, .header-wrapper, strong, .recipe-info-box{
		display: none;
	}
	#capture {
		visibility: visible;
		position: absolute;
		left: 0;
		top: 0;
	}
}