/* MENU */
/* 
1. BASICS
2. COMMON ELEMENTS
3. HEADER
4. HOMEPAGE
5. FOOTER
6. PRODUCTS PAGE
7. OUR STORY PAGE
8. MEDIA QUERIES 
*/


/* ------ BASICS ------- */

body {
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #000E20;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

a {
	text-decoration: none;
}

ul {
	list-style-type: none;
}

img { 
	border: none;
}

/* ------- COMMON ELEMENTS ------- */

.logo {
    width: 8em;
    transition: all 0.3s ease-in-out; 
}

.logo:hover {
    cursor: pointer;
	transform: scale(1.03);
}

.bigtitle {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 34px;
}

.smalltitle {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.bodytext {
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
    font-size: 22px; 
    font-weight: bold;
}


/* ------ HEADER -------- */

#header-con {
	top: 5px;
	position: sticky;
	z-index: 10;
    background-color: #000E20;
    border-radius: 70px;
    margin-left: 16px;
    margin-right: 16px;
}

#header-logo a img {
    display: flex;
    margin: 5px;
}

#main-nav ul li a {
    font-size: 24px;
    margin-left: 30px;
}

#burger-menu {
    display: flex;
    padding: 10px;
    max-height: 70px;
    justify-content: flex-end;
}

#burger-menu:hover {
    cursor: pointer;
}

#mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000e20f1;
    z-index: 101;
}

#mobile-nav.display {
    display: block;
}

#mobile-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#mobile-nav ul li a {
    display: flex;
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 40px;
    margin-top: 10%;
}

#mobile-nav ul li a:hover {
    color:#fff;
    text-shadow: 1px 1px 3px #D7FF8B;
}

#x-button {
    position: absolute;
    font-size: 40px;
    color: #000E20;
    background-color: #fff;
    border-radius: 50%;
    top: 0;
    right: 0;
    padding: 10px 17px 10px 17px;
    margin: 15px;
}

#x-button:hover {
    background-color: #75FAA3;
    cursor: pointer;
}

.full-nav {
    display: none;
}

/* --------- HOME PAGE ----------- */

/* HERO */

#hero {
    padding: 0;
}

#hero-image {
    line-height: 0;
}

#hero-title {
    text-align: center;
    margin-top: 15px;
}

#hero h3 {
    margin-top: 15px;
    text-shadow: 2px 2px 3px #D7FF8B;
}

#hero h4 {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-top: 20px;
}

/* FLAVOURS CAROUSEL */
#carousel-con {
    background: linear-gradient(#1B5330, #000E20);
}

.carousel {
    position: relative;
}

.carousel h2 {
    text-align: center;
    margin: 20px;
    color: #D7FF8B;
    text-shadow: 2px 2px 3px #fff;
}

.flavour-title {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.slide {
    text-align: center;
}

.prev, .next {
    position: absolute;
    font-size: 30px;
    color: #000E20;
    background-color: #fff;
    border-radius: 50%;
    padding: 5px 15px 5px 15px;
    cursor: pointer;
    z-index: 2;
    margin: 30px;
    top: 40%;
}

.prev {
    justify-self: left;
}

.next {
    justify-self: right;
}

/* SUGAR */

#sugar-con {
    height: 663px;
    background-image: url(../images/zerosugar-hm-bg-mob.jpg);
    background-position: center;
    background-repeat: no-repeat;
}

#sugar h3 {
    text-align: center;
    margin-top: 40px;
    padding: 0px 40px 0px 40px;
    text-shadow: 3px 3px 4px #ff8afb;
}

#sugar h4 {
    text-align: center;
    margin-top: 110px;
    text-shadow: 2px 2px 3px #000;
    padding: 50px;
    line-height: 24px;
}

/* NOSTALGIA */

#nostalgia-con {
    height: 812px;
    background-image: url(../images/nostalgia-hm-bg-mob.gif);
    background-position: center;
    background-repeat: no-repeat;
}

#nostalgia h3 {
    padding: 180px 25px 0px 25px;
    color:#9D3EFF;
    text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
    text-align: center;
}

#nostalgia h4 {
    text-align: left;
    padding: 50px;
    line-height: 40px;
    color:#282956;
}

/* CONTACT */

#contact-con {
    height: 842px;
    background-image: url(../images/contact-hm-bg-mob.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

#contact {
    text-align: center;
}

#contact h2 {
    padding-top: 40px;
    padding-bottom: 40px;
    color: #fff;
    text-shadow: 0 0 5px #000, 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
}

#contact-form {
    display: inline-block;
}

#mainform div {
    display: flex;
}

/* FORM ELEMENTS */

.form-style {
	font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #282956;
	border: none;
	margin-top: 13px;
	padding: 16px;
}

.form-style input:focus, textarea:focus, #news-email:focus, #name:focus, #email:focus, #subject:focus {
	outline: 2px solid #282956;
}

#name, #email, #subject {
	width: 294px;
    height: 37px;
    align-self: stretch;
    border-radius: 10px;
    background-color: #ffffff97;
}

textarea {
    width: 294px;
    height: 174px;
    resize: none;
    border-radius: 10px;
    background-color: #ffffff97;
  }

#form-button {
    background-color: #282956;
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
	font-size: 22px;
	display: flex;
	color: #fff;
	width: 132px;
	height: 61px;
	border: none;
	margin-top: 15px;
	margin-bottom: 25px;
    float: right;
    border-radius: 70px;
    transition: all 0.3s ease;
}

#form-button:hover {
	background-color: #75FAA3;
    color: #000E20;
    cursor: pointer;
}

/* SOCIALS */

#socials h3 {
    text-align: center;
    color: #ffffff;
    padding-top: 50px;
}

#icons {
    display: flex;
    justify-content: center;
    align-items: center;
}
  
#icons > div {
    margin: 10px;
    text-align: center;
}

#icons img {
    padding-top: 20px;
    padding-bottom: 10px;
	transition: all 0.3s ease-in-out; 
}

#icons img:hover { 
	transform: scale(1.05);
}

#icons a h4 {
    color: #fff;
}

#top-button-div {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.top-button {
    width: 30px;
    transition: all 0.3s ease-in-out; 
}

.top-button:hover {
    transform: scale(1.05);
}

/* -------- FOOTER -------- */

#footer-con {
    background-color: #000E20;
}

#footer-newsletter {
    display: none;
}

#signup {
    background-color: #D7FF8B;
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-size: 22px;
    display: flex;
    color: #000E20;
    width: 132px;
    height: 50px;
    border: none;
    margin-top: 15px;
    margin-bottom: 25px;
    float: right;
    border-radius: 70px;
    transition: all 0.3s ease;
}

#signup:hover {
    background-color: #E7FFBA;
    cursor: pointer;
}

#news-email {
    width: 420px;
    height: 50px;
    align-self: stretch;
    border-radius: 10px;
    background-color: #fff;
}

#footer-logo {
    align-self: center;
    justify-self: center;
}

#footer-logo a img {
    margin-top: 20px;
}

#footer-nav {
    margin-top: 30px;
    text-align: center;
}

.nav li {
    font-size: 12px;
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    display: inline;
}

nav li a {
    color: #8D9EB4;
    padding: 5px;
    transition: all 0.3s ease-in-out;
}

.nav a:hover { 
	color:#ffffff;
    text-shadow: 1px 1px 3px #D7FF8B;
}

#footer p {
    font-size: 10px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #8D9EB4;
}


/* --------- PRODUCTS PAGE ------------ */

/* FLAVOURS */

#all-flavours {
    text-align: center;
    margin-top: 20px;
}
  
#all-flavours h2 {
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px #D7FF8B;
}

#all-flavours p {
    margin: 20px;
}

.flavours-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flavour {
    margin-top: 10px;
    margin-bottom: 10px;
}

#description {
    line-height: 30px;
    margin: 20px;
    margin-top: 40px;
}

/* CLASSIFIED */
#classified {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

#fact-planet {
    max-width: 4em;
    margin: 15px;
}

#classified-text {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
}

/* SHOP IMAGE  */
#shop-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../images/online-shop-products-bg-mob.jpg);
    height: 324px;
    background-repeat: no-repeat;
    background-position: center;
}

#shop-image p {
    margin: 10px;
}

/* RETAILERS */

#retailers h2 {
    text-align: center;
    margin-top: 40px;
    text-shadow: 1px 1px 3px #D7FF8B;
}

#retailers p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.store-logo {
    margin-top: 20px;
    max-width: 358px;
}

#retailer-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* --------- OUR STORY PAGE --------- */
#story-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#story-text h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 3px #D7FF8B;
}

#story-text p {
    margin-bottom: 15px;
    padding: 0px 30px 30px 30px;
    line-height: 30px;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video {
    margin-bottom: 40px;
}

.video h3, #ads h2 {
    color: #E7FFBA;
    text-align: center;
    margin-bottom: 15px;
}

iframe {
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
  }

.ads-con {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.ad {
    margin: 5px 
}

/* -------- MEDIA QUERIES ----------- */

@media screen and (min-width: 429px) {
    #sugar-con {
        height: 570px;
        background-image: url(../images/zerosugar-hm-bg-tablet.jpg);
        background-position: left;
        background-repeat: no-repeat;
    }

    #sugar h4 {
        margin-top: 60px;
        line-height: 30px;
    }

    #nostalgia-con {
        height: 475px;
        background-image: url(../images/nostalgia-hm-bg-tablet.gif);
        background-position: center;
        background-repeat: no-repeat;
    }

    #nostalgia h3 {
        font-size: 24px;
        padding: 120px 100px 0px 100px;
        color:#9D3EFF;
        text-align: center;
    }
    
    #nostalgia h4 {
        font-size: 18px;
        padding: 20px 80px 0px 80px;
        line-height: 30px;
    }

    #contact-con {
        height: 760px;
        background-image: url(../images/contact-hm-bg-tablet.jpg);
    }

    #contact h2 {
        padding-bottom: 20px;
    }

    #socials h3 {
        padding-top: 20px;
    }

    #icons > div {
        margin-bottom: 0px;
    }

    #top-button-div {
        padding-top: 15px;
    }

   /* --- PRODUCTS ELEMENTS --- */
    #shop-image {
        background-image: url(../images/online-shop-products-bg-tablet.jpg);
        height: 395px;
    }
}

@media screen and (min-width: 701px) {

    #hero-image {
        display: none;
    }

    #hero {
        background-image: url(../images/hero-hm-bg-tablet.jpg);
        height: 621px;
        background-repeat: no-repeat;
        background-position: center;
    }

    
    .prev, .next {
        margin: 60px;
    }
    
    #nostalgia h4 {
        padding-left: 200px;
        padding-right: 200px;
    }
        
    }
/* -------- TABLET SIZE --------- */
@media screen and (min-width: 1024px) {
    #hero {
        background-image: url(../images/hero-hm-bg-desk.jpg);
        width: 100%;
        height: 696px;
        background-repeat: no-repeat;
        background-position: center;
    }

    #hero-title {
        margin-top: 60px;
    }

    #hero-title h3 {
        font-size: 56px;
    }

    .prev, .next {
        margin: 10px;
    }

    .flavour-title {
        margin-bottom: 30px;
    }

    #sugar-con {
        background-image: url(../images/zerosugar-hm-bg-desk.jpg);
    }

    #sugar h4 {
        text-align: left;
        margin-top: 10px;
        line-height: 40px;
    }
    
    #nostalgia-con {
        height: 678px;
        background-image: url(../images/nostalgia-hm-bg-desk.gif);
        background-position: center;
        background-repeat: no-repeat;
    }
    
    #nostalgia h3 {
        padding: 180px 25px 0px 25px;
        color:#9D3EFF;
        text-align: center;
        font-size: 30px;
    }
    
    #nostalgia h4 {
        font-size: 22px;
        line-height: 40px;
        padding: 50px;
    }

    #contact-con {
        background-image: url(../images/contact-hm-bg-desk.jpg);
    }

    #footer-nav ul li a {
        font-size: 16px;
        padding: 12px;
    }

    /* --- PRODUCTS ELEMENTS --- */
    #all-flavours p {
        font-size: 20px;
    }
    
    #description {
        font-size: 20px;
    }
    
    /* CLASSIFIED */
    #classified {
        font-size: 22px;
    }

    #shop-image {
        background-image: url(../images/online-shop-products-bg-desk.jpg);
        height: 463px;
    }

    #shop-image h2 {
        font-size: 32px;
    }

    #shop-image p {
        font-size: 24px;
    }

    #retailers p {
        font-size: 20px;;
    }

    /* --- OUR STORY ELEMENTS --- */

    #story-text p {
        font-size: 20px;
    }

    .video h3, #ads h2 {
        font-size: 24px;
    }

}

/* -------- DESKTOP SIZE --------- */
@media screen and (min-width: 1200px) {

    .full-nav {
        display: block;
    }

    #burger-menu {
        display: none;
    }

    #main-nav {
        display: flex;
        justify-content: left;
        align-items: center;
    }

    #header-logo a img {
        padding: 10px;
    }

    #hero {
        background-image: url(../images/hero-hm-bg-xl.jpg);
        width: 100%;
        height: 920px;
        background-repeat: no-repeat;
        background-position: center;
    }

    #socials h3 {
        font-size: 30px;
        padding-top: 10px;
    }

    #footer-newsletter {
        display: block;
        grid-row: 1/1;
        margin-top: 30px;
    }

    #footer-newsletter h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    #footer-logo {
        order: -1;
    }
    
}