* {
        padding: 0;
        margin: 0;      
}

html {
        scroll-behavior: smooth;

}

body {
        font-family:'the light font', sans-serif;
        background: url('Photos/Bakery-Background.jpg');
        background-size: cover;
        background-attachment: fixed;    
        background-position: center;
        color: #fcd059;     
        background-color: #202a45be;
        font-size: 1em;
        overflow:hidden;
}

 /* ---------------------------------- Navigation Bar ----------------------------- */
.navbar {
        width: 11.5em;
        height: 12em;
        
        background-color: #202a45b9;
        border-right: solid 4px #fcd059;
        position: fixed;
        top: 0;
        left: -15em;
        display: flex;
        flex-direction: column;
      
        border-radius: 0 20% 60% 0%;
        transition: left 0.5s cubic-bezier(1,1,1,1);
        padding-bottom: 13em;
        z-index: 1000;
}

.logo-container {
        display: flex;
        justify-content: center;
        margin-top: 3.5em;
        margin-bottom: 1em;
        z-index: 1;
} 

#Logo-img {
        border-radius:50% ;
        height: 10.8em;
        border: solid 3px white;
        
}
  
.nav-list {
        display: flex;
        flex-direction: column;
        padding: 5px; 
        position: relative;
         top: -2em;          
}

.nav-item {
        list-style: none;     
        text-align: left;
        margin-top: 2em;
        
}
  
.nav-link {
       text-decoration: none;
       color: rgb(255, 255, 255);
       letter-spacing: 5px;
       text-transform: uppercase;
       font-size: 1.1em;
       font-weight: 300;
       position: relative;      
}
   
.nav-link::before,
.nav-link::after {
   
        content: "";
        width: 100%;
        height: 2px;
        position: absolute;
        background-color: #fcd059;
        left: 0;
        transform: scaleX(0);
        transition: transform 0.25s;
        margin: -5px 0px;
}
   
.nav-link::after {
   
        bottom: 0;
        transform-origin: right;
}
   
.nav-link::before {
   
        top: 0;
        transform-origin: left;
}
   
.nav-link:hover::before,
.nav-link:hover::after {
   
        transform: scaleX(1); 
}
   
/* ------------------------------------- Hamburger Menu ----------------------------- */
        
.hamburger-menu {
        width: 24px;
        height: 24px; 
        
        position: fixed;
        top: 0;
        left: 0;
        margin: 4px 5px;
        cursor: pointer ; 
        
        /*3 Line formation to Hamburger style*/
        display: flex;
        flex-direction: column;
        justify-content: space-around; 

        border-radius: 50%;
        padding: 0.5em 0;
}
      
.line {
        width: 100%;
        height: 2px; 
        border-radius: 10px;
        background-color: white;
        transition: all 0.6s;
}        
   
.change .line-1 {
        transform: rotateZ(-405deg) translate(-5px, 5px);
}

.change .line-2 {
        opacity: 0;
}

.change .line-3 {
        transform: rotateZ(405deg) translate(-6px, -6px);
} 
   
.change {
        left: 0;
}

main {
        height: 100vh;
        display: grid;
}

 /* ------------------------------------ Bakery Section ------------------------------ */
.bakery-section {
         display: flex;
         flex-direction: column;
         margin: auto;
         text-align: center;
        
         top: -2em;

         height: 100%;
         width: 100%;
         overflow:scroll;
         overflow-x: hidden;
         -ms-overflow-style: none;  /* Internet Explorer 10+ */
         scrollbar-width: none;  /* Firefox */
}

.bakery-section::-webkit-scrollbar {
        display: none;
}

 /* ------------------------------------ HEADINGS ------------------------------ */
.main-heading {
         font-size: 1.1em;  
         height: 2.7em;
         width: 100%;
         display: flex;
         justify-content: center;
         align-items: center;
         margin: auto;
         margin-top: em;
         color: #fcd059;
      
         border-top: solid 1px #fcd059;
         border-bottom: solid 1px #fcd059;    

         background-color: #202a45da;
}

h1 {
        font-size: 0.9em;
}

.sub-heading {
        justify-content: center;
        padding: 5px;
        margin: auto;
        color: #fcd059;
        text-align: center;
        font-size: 0.6em;
        border-top: solid 1px #fcd059;
        border-bottom: solid 1px #fcd059;    
        background-color: #202a45da;
        display: flex;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
}

.containers {
         width: 90%;
         display: flex;
         flex-direction: column;
         justify-content: center;  
         margin: auto;
         margin-top: 1em;
         margin-bottom: 1em ;
         flex-direction: column;
        
         border-top: solid 2.5px #fcd059;
         border-bottom: solid 2.5px #fcd059;    
         border-bottom-left-radius: 10px;
         border-bottom-right-radius: 10px;
         border-radius: 50px;

         background-color: #202a4560;
}
 /*------------------------------------ IMAGE BOX -----------------------------------*/
.image-box {     
         width: 100%;  
         height: 92%;
         display: flex;
         flex-direction: column;
         justify-content: space-between;
}

.bakery-section img {
         margin: auto;
         width: 195px;
         height: 195px;
         border-radius: 50%;    
         box-shadow: 0px 0px 10px 1px rgb(255, 255, 255);
      
}

.heading-container {
         display: flex;
         height: 3em;
         width: 12em;
        top: 0.7em;
        position: relative;
       
         margin: auto;
         border-radius: 10px;
         color: #fcd059;
         border-top: solid 2px #fcd059;
         border-bottom: solid 2px #fcd059;    
         border-bottom-left-radius: 10px;
         border-bottom-right-radius: 10px;
         border-radius: 50px;
         background-color: #202a45e3;            
}

.headings {
         font-size: 1em;
         display: flex;
         margin: 35px 0px;
         margin: auto;
         width: 90%;
         height: 3em;
         justify-content: center;
         display: flex;
         align-items: center;
}

p {
         font-size: 1em;
         margin: auto;
         text-align: center;
         padding: 1.5em;
}

 /*------------------------------------ Mobile Platform -----------------------------------*/
         /* 400px */
 @media all and (min-width : 28.1em) {

.containers {
         width: 20em;
}

.image-box {     
         width: 100%;     
}

h1 {
         font-size: 1.2em;
}

p {
         font-size: 1.1em;
         width: 80%;
}}

         /* 768px */
 @media all and (min-width : 48em) {

/*------------------------------------ Navigation Bar -----------------------------------------*/

.bakery-section {
        width: 100vw;
        flex-direction: row;
        flex-wrap: wrap;
}

.logo-container {
        display: flex;
        justify-content: center;
        margin-top: 4em;
        margin-bottom: 1em;
}

 #Logo-img {   
         height: 15.5em;
         border-radius: 100%;   
         z-index: 1;  
}
         
.navbar {
         width: 16.3em;
         height: 10em;  
         padding-bottom: 25em;
         left: -18em;
}

.change {
         left: 0;
}

.nav-link {
     font-size: 1.4em; 
     letter-spacing: 10px;
}

.nav-item {
         margin-top: 3em;
         display: flex;
         width: fit-content;
}

 body {
         margin-top: 1;

} 

 #bakery-section {
         display: flex;
         flex-direction: row;
         flex-wrap: wrap;
         overflow: evisible;
         width: 100%;
         min-height: 50vh;
         border: none;
         overflow: scroll;
         overflow-x: hidden;
}

.containers {
         width: 21em; 
         height: 23em;
         margin-top: 2em;
         margin-bottom: 2em;
} 

h1{
        font-size: 1.3em;
}

h3 {
        width: 100%;
}

.sub-heading {
        height: fit-content;
        font-size: 0.7em;
}}

 /*------------------------------------- Desktop Platform ------------------------------------*/
         /* 1000px */
 @media all and (min-width : 62.5em) {

.containers {
         width: 19.35em;       
}

.sub-heading {
        height: fit-content;
        font-size: 0.9em;
}}

         /* 1215px */
 @media all and (min-width : 75.9em) {

.bakery-section {
         width: 77em;
}}


