@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Instrument+Serif:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playwrite+BE+VLG:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');


:root{
    --primary-color: #fdc921;
    --secondary-color: #fdd85d;
    --background-color: #F8F7FF;
    --primary1-color: #99d6ea;
    --secondary1-color: #8b4085;
}

*{
    font-family: "Fredoka", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0px;
  padding: 0px;
}


body{
    background-color:   var(--background-color) ;
    color: var(--secondary-color);
    /* overflow: hidden; */
}

nav{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
}
nav a{
    border: 1px solid var(--secondary-color);
    padding: 5px 7px;
    border-radius: 0.5rem;
}
nav a:hover{
    background-color: var(--primary-color);
    color: var(--background-color);
}

h1{
    color: var(--primary-color);
    font-weight: 800;
    font-size: 11rem;
}
p{
    color: var(--primary-color);
}
section{
    /* max-height: 100vh; */
    max-width: 100vw !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.container p{
    
    display: flex;
    justify-content: center;
    align-items: center;

}

footer{
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 1px;
    right: 49%;
}
footer span{
    color: #000;
    font-size: 12px;


}


.circle{
    width: 400px;
    height: 400px;
    background-color: var(--secondary1-color);
    border-radius: 50% ;

}

.circle img{
    height: inherit;
    rotate: 10deg;
    /* animation: rotating 6s linear infinite; */
}

@keyframes rotating{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.cookie-home{
    background-image: url(./public/image/cookiecrumbles.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.cookie-background{
    height: 150vh;
    background-image: url(./public/image/cookebackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}










/* media below 768px */

@media (max-width : 768px){
    body{
        overflow-x: hidden;
    }
    h1{
        font-size: 2rem;
    }
    footer{
        right: 47%;
    }
    .circle{
        height: 200px;
        width: 200px;
        padding: 10px;
        position: inherit;
    }
    .circle img{
        animation: rotating 6s linear infinite;
    }
    .cookie-home{
        height: 95vh;
    }
  
    
}