@import url('https://fonts.googleapis.com/css?family=Cabin|Herr+Von+Muellerhoff|Kaushan+Script|Source+Sans+Pro:400,900&display=swap');
/*Global styles*/
*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-font: 'Kaushan Script', sans-serif;
    --secondary-font: 'Herr Von Muellerhoff', cursive;
    --body-font: 'Cabin', sans-serif;
    --main-font-color-dark: #7c2ca8;
    --secondary-font-color: #f6d3ff;
    --body-font-color: #515151;
    --nav-color: #7c2ca8;
    color-scheme: light;
}

html{
    font-family: var(--body-font);
    font-size: 10px;
    color: var(--body-font-color);
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    overflow-x: hidden
}

body{
    overflow-x: hidden;
}

section{
    padding: 3.9rem 0;
}

img{
    width: 100%;
    max-width: 100%;
}

a{
    text-decoration: none;
}

a:visited{
    color: var(--secondary-font-color);
}

p{
    color: rgb(255, 255, 255);
    font-size: 2.2rem;
    letter-spacing: .1rem;
    text-underline-offset: 8px;
    text-shadow: 0px 0px 18px #000, 0px 0px 5px #000, 0px 0px 10px #000, 0px 0px 15px #000   ;
}  

.container{
    width: 100%;
    max-width: 122.5rem;
    margin: 0 auto;
    padding: 0 2.4rem;
}


.preloader{
    background: #7c2ca8;
    background-size: 8%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
}

.preloader img{
    margin-top: -130px;
    scale: 15%;
    animation: spin infinite;
    animation-duration: 6s;
}

/*header*/
header{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.body-link{
    color: var(--secondary-font-color);
    font-size: 2rem;
    margin-right: -2px;
    transition: color .5s;
}

.body-link:hover{
    color: #fbff00;
}

.error-text{
    height: 80vh;
    justify-content:top;
}

.error-text h5{
    font-family: var(--main-font);
    color: #fff;
    font-size: 8rem;
    font-weight: 100;
    text-shadow: 0px 0px 20px #000 , 0px 0px 10px #000;
    letter-spacing: 3px;
    margin-right: 1px;
}
.nav{
    height: 9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
}

.menu-toggle{
    color: #fff;
    font-size: 2.2rem;
    position: absolute;
    scale: 55%;
    /* transform: translateY(-50%) ; */
    right: -2.5rem;
    cursor: pointer;
    z-index: 1500;
    animation: shake 1s ease infinite;
}

.fa-times{
    display: none;
}

.nav-list{
    list-style: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 80vh;
    background-color: var(--nav-color);
    filter: drop-shadow(0px 0px 6px rgb(0, 0, 0));
    filter: opacity (85%);
    padding: 4.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 1250;
    transform: translateX(-100%);
    transition: transform .5s;
}

.nav::before{
    /* content: '';  darkens body with menu, but body links don't work*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.8);
    z-index: 1000;
    opacity: 0;
    transform: scale (0);
    transition: opacity .5s;
}

.open .fa-times{
    display: block;
}

.open .fa-bars{
    display: none;
}

.open .nav-list{
    transform: translateX(0) ;
}

.open .nav::before{
    opacity: 1;
    transform: scale(1);
}

.nav-item{
    border-bottom: 5px  solid   rgba(255,255,255, .3);
}

.nav-link{
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 1.6px;
    margin-right: -2px;
    transition: color .5s;
}

.nav-link:hover{
    color: #fbff00;
}

/* .nav-link:visited{
    color: #ffffff;
} */

/* Scrollbar style */
::-webkit-scrollbar {
    height: 25px;
  }
  
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #ffffff; 
    border-radius: 20px;
  }

  /* ::-webkit-scrollbar-track-piece {
    background: #ffffff; 
    border-radius: 20px;
  } */
   
  ::-webkit-scrollbar-thumb {
    background: #7c2ca8; 
    border-radius: 20px;
  }

  ::-moz-scrollbar-thumb {
    background: #7c2ca8; 
    border-radius: 20px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #bd73e5; 
  }


/*Hero*/
.hero{
    width: 100%;
    height: 100vh;
    background: url("images/SFD-bg1.jpg") center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
}



.logo{
    padding-top: 10px;
	border-width: 0;
	background-size: cover;
    position: fixed;
    top: -80px;
    width: 400px;
    height: 20%;
    transition: 0.8s;
    scale: 75%
}

.logo img {
    margin-top: 8rem;
    /* animation: scale .5s forwards; */
    animation-delay: 0s;
}

.star-dance img{
    animation: shake 1s ease infinite;
}

.sub-headline{
    font-size: 5rem;
    font-family: var(--secondary-font);
    color: var(--secondary-font-color);
    text-shadow: 0px 0px 20px #000 , 0px 0px 10px #000;
    font-weight: 100;
    line-height: .4;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeUp .5s forwards;
    animation-delay: .5s;
}

.first-letter{
    text-transform: uppercase;
    font-size: 7rem;
}

.headline{
    color: #fff;
    font-size: 4.6rem;
    font-family: var(--main-font);
    /* text-transform: uppercase; */
    text-shadow: 0px 0px 20px #000 , 0px 0px 10px #000;
    font-weight: 900;
    letter-spacing: .1rem;
    margin-right: -.5rem;
    opacity: 0;
    animation: scale .2s forwards;
}

.headline-logo{
    color: #fff;
    font-size: 4.2rem;
    font-family: var(--main-font);
    scale: 60%;
    opacity: 0;
    animation: scale .5s forwards;
}

.separator{
    display: flex;
    align-items: center;
    justify-content: center;
}

.line{
    width: 100%;
    max-width: 8.4rem;
    height: .25rem;
    background-color: #fff;
    position: relative;
    opacity: 0;
    animation: grow 2s forwards;
    animation-delay: .9s;
}

.line-right::before,
.line-left::before{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: .6rem solid transparent;
    opacity: 0;
    animation: grow .5s forwards;
    animation-delay: 1.2s;
}

.line-right::before{
    border-right-color: #fff;
    right: 0;
}

.line-left::before{
    border-left-color: #fff;
    left: 0;
}

.starshake{
    animation: shake 2s ease infinite;
}

.single-animation{
    opacity: 0;
    animation: fadeDown .5s forwards;
    animation-delay: .5s;
}

.hometext-animation{
    opacity: 0;
    animation: fadeUp .5s forwards;
    animation-delay: 1s;
}

.headline-description h5{
    font-family: var(--main-font);
    color: #fff;
    font-size: 4rem;
    font-weight: 100;
    text-shadow: 0px 0px 20px #000 , 0px 0px 10px #000;
    margin-bottom: 1.2rem;
    margin-top: 12rem;
    letter-spacing: 3px;
    margin-right: 1px;
}

.btn{
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: -2px;
}

.cta-btn{
    font-size: 2rem;
    background-color: var(--main-font-color-dark);
    padding: .9rem 1.8rem;
    color: #fff;
    border-radius: 9rem;
    transition: background-color .5s;
}

.cta-btn:hover,
.cta-btn:focus{
    color: var(--main-font-color-dark);
    background-color: var(--secondary-font-color);
}

.global-headline{
    text-align: center;
    margin-top: 3.9rem;
}

.discover-our-story .global-headline{
    margin-top: 6.9rem;
}

.headline-dark{
    color: var(--main-font-color-dark);
    letter-spacing: .7rem;
    margin-right: -.7rem;
}

.global-headline .sub-headline{
    letter-spacing: -1px;
    line-height: .42;
}

.useage{
    color: rgb(255, 251, 0);
    font-size: 1.9rem;
    text-shadow: 0px 0px 18px #000, 0px 0px 15px #000, 0px 0px 12px #000, 0px 0px 22px #000   ;
}

.body-btn{
    font-size: 1.5rem;
    color: var(--secondary-font-color);
    position: relative;
    transition: color .5s;
}

.body-btn::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-font-color);
}

.body-btn:hover,
.body-btn-focus{
    color: var(--main-font-color-dark);
}

.body-btn:hover::before,
.body-btn:focus::before{
    background-color: var(--main-font-color-dark);
}

.section-layout{
    width: 100%;
    background: url("images/SFD-bg2.jpg");
    background-size: 100%;
}

.between{
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.image-group{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    filter: drop-shadow(0px 0px 8px rgb(0, 0, 0));
}

.image-group img:hover{
    filter: drop-shadow(0px 0px 20px #fff);
}

div.scroll-container {
    overflow: auto;
    white-space: nowrap;
    padding: 30px;
  }
  
div.scroll-container img {
    padding: 17px;
    filter: drop-shadow(0px 0px 8px rgb(0, 0, 0));
    width: 375px;
    -webkit-transition: all .2s ease-in-out;
}

div.scroll-container img:hover{
    filter: drop-shadow(0px 0px 20px #7c2ca8);
    -webkit-transform: scale(1.2);
}

.discover-our-menu .restaurant-description{
    padding-top: 3rem;
    margin-bottom: 0;
}

.section-back-to-top{
    font-size: 2rem;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    width: 7rem;
    height: 7rem;
    border-radius:20px;
    text-align: center;
    background: #7c2ca8;
    transform: translateX(-50%);
}

.section-back-to-top i{
    animation: up 2s infinite;
}

.section-back-to-top i:hover,
.section-back-to-top i:hover{    
    color: rgb(200, 255, 0);
}

/*Footer*/
footer{
    padding: 7.9rem 0;
    background-color: #7c2ca8;
    color: #fff;
    text-align: center;
    position: relative;
}

.back-to-top{
    width: 7rem;
    height: 7rem;
    background-color: #7c2ca8;
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.back-to-top i{
    display: block;
    color: #fff;
    font-size: 2rem;
    padding: 2rem;
    animation: up 2s infinite;
}

.footer-content{
    overflow: hidden;
}

.footer-content img{
    width: 90px;
}

.footer-content h4{
    font-size: 1.9rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 3px;
    margin-bottom: 3rem;
}

.footer-content .asterisk{
    margin: 2.4rem 0;
}

.footer-content-about{
    margin-bottom: 5.4rem;
}

.footer-content-about p{
    line-height: 2;
}

.social-icons{
    list-style: none;
    margin-bottom: 5.4rem;
    display: flex;
    justify-content: center;
}

.social-icons i{
    font-size: 8rem;
    color: #fff;
    padding: .8rem 2rem;
    opacity: 1;
    transition: color .5s;
}

.social-icons i:hover,
.social-icons i:focus{
    color: #fbff00;
}

.newsletter-form{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    vertical-align: top;
}

.newsletter-input{
    width: 100%;
    max-width: 25rem;
    padding: 1rem;
    border-radius: .4rem ;
}

.newsletter-table{
    font-size: 2rem;
    border-color:inherit;
    text-align:left;
    vertical-align:top;
    padding: 10px;
}

.newsletter-textbox{
    height:40px;
    font-size:14pt;
}

input[type="text"]{
    font-size:16px;
    padding: 10px 5px;
    background-color: #f9bbff;
}

input[type="email"]{
    font-size:16px;
    padding: 10px 5px;
    background-color: #f9bbff;
}

textarea {
    font-size:16px;
    padding: 5px 5px;
    resize: none;
    background-color: #f9bbff;
}

.newsletter-btn{
    background-color: transparent;
    border: none;
    color: var(--main-font-color-dark);
    cursor: pointer;
    font-size: 1.6rem;
    padding: 1px .5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) ;
    margin-left: 10.5rem;
}

.footerfade{
    width: 100%;
    background: url("images/SFD-bg2.jpg") center;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
}


/*Media Queries*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

   }

/* Desktop */
@media screen and (min-width: 900px){
    section{
        padding: 7.9rem;
    }

    .menu-toggle{
        display: none;
    }

    .logo{
        top: -30px;
        width: 490px;
    }

    .nav{
        justify-content: center;
    }

    .nav-list{
        position: initial;
        width: initial;
        height: initial;
        background-color: transparent;
        padding: 0;
        justify-content: initial;
        flex-direction: row;
        transform: initial;
        transition: initial;
    }

    .nav-item{
        margin: 0 2.4rem;
        border: none;
    }

    .nav img{
        justify-content: left;
    }

    .nav-link{
        font-size: 1.6rem;
        text-shadow: 1px 1px 4px #000000;
    }

    .active{
        position: relative;
    }

    ::-webkit-scrollbar {
        width: 10px;
      }

    div.scroll-container {
        max-height: 500px;
    }

    div.scroll-container img {
         max-height: 500px;
         max-width: 500px;
    }

    .active::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: rgb(255, 198, 247);
        left: 0;
        bottom: -5px;
    }

    .sub-headline{
        font-size: 10rem;

    }
    .first-letter{
        font-size: 12.2rem;
    }

    .headline{
        font-size: 4.7rem;
        letter-spacing: .8rem;
    }

    .line{
        max-width: 11.4rem;
    }

    .restaurant-info{
        display: flex;
        align-items: center;
    }

    .restaurant-info > div{
        flex: 1;
    }

    .padding-right{
        padding-right: 7rem;
    }

    .footer-content{
        max-width: 77.5rem;
        margin: auto;
    }

    .footer-content-about{
        max-width: 51.3rem;
        margin: 0 auto 5.4rem;
    }

    .footer-content-divider{
        display: flex;
        justify-content: space-between;
    }

    .social-media,
    .newsletter-form{
        width: 100%;
        max-width: 27.3rem;
        margin: 0 1rem;
    }

    .social-icons i{
        opacity: 1;
    }

    .newsletter-btn{
    margin-left: 7.5rem;
    }
    
    .preloader img{
        margin-top: -420px;
        scale: 10%;
        animation: spin infinite;
        animation-duration: 6s;
    }
}

/* Small phone screens - iPhone 7 and older */
@media screen and (max-height: 750px) {

    .hero{
        height: 130vh;
    }

    .logo{
        width: 300px;
        top: -55px;
    }
} 


@supports (transform: translateY(-50%)) {
    .foo {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
}


/*Animations*/
@keyframes fadeUp {
    0%{
        transform: translateY(4rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale {
    0%{
        opacity: 0;
        transform: scale(2);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes grow {
    0%{
        width: 0;
    }
    100%{
        opacity: 1;
        width: 100%;
    }
}

@keyframes fadeDown {
    0%{
        transform: translateY(-1rem);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0%{
        transform: rotate(0);
    }
    100%{
        opacity: 1;
        transform: rotate(-360deg);
    }
}

@keyframes up {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: translateY(-1rem);
    }
}

@keyframes shake {
    0%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(15deg);
    }
    50%{
        transform: rotate(0deg);
    }
    75%{
        transform: rotate(-15deg);
    }
    100%{
        transform: rotate(0deg);
    }
}

@keyframes  scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-150px * 5));
	}
}
