*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* sliding-effects starts */
.overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top, 
        rgba(51, 51, 51, 0.9),  /* Dark near the bottom */
        rgba(51, 51, 51, 0.6),  /* Semi-transparent middle */
        rgba(51, 51, 51, 0.3)   /* Light/transparent at the top */
    );
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 10;
    transition: transform 1s ease; /* For smooth sliding */
    transform: translateY(0); /* Start in view */
}


.overlay img {
    width: 200px;
    height: auto;
}
 
.main-content{
    display: none;
    background-color: #fff7d6;

}

/* sliding-effects ends */

/* --header starts-- */

header{
    width: 100%;
    height: 200px;
    position: relative;
    background-color: #fff7d6;
    border-bottom: 3px solid #ffd814;
}

/* ---logo---- */
.logo1{
    width: 70px;
    /* height: 100px; */
    margin-left: 10px;
    position: absolute;
    top: 5px;
    left: 2px;
    z-index: 120;
    position: fixed;
}
.logo1 img{
    width: 100%;
    height: auto;
}
/* side bar begins */

.sidebtn {
    color: black;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all 0.5s;
    z-index: 1; /* Make sure it's above the sidebar */
}

/* Sidebar Hidden Off-Screen Initially */
.sidebar {
    width: 300px;
    height: 100vh;
    background-color: rgb(34, 29, 1);
    position: fixed;
    top: 0;
    left: -300px; /* Off-screen by default */
    transition: all 0.5s;
    z-index: 99; /* Below the button */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Sidebar Slides In When .sidetoggle is Applied */
.sidetoggle {
    left: 0; /* Slides the sidebar into view */
}
/* Ensure smooth transition for the icon */
.btnicon {
    font-size: 30px;
    transition: transform 0.9s ease; /* Smooth rotation transition */
}

/* When sidebar is toggled (open), rotate the icon */
.open .btnicon {
    transform: rotate(90deg); /* Rotates the bars icon to look like an X */
}

.sidebar img:first-child {
    display: block;
    width: 40%;
    height: auto;
}

.sidebar a {
    display: block;
    padding: 2px 0 0 10px;
    width: 80%;
    height: 50px;
    text-decoration: none;
    color: white;
    margin: 10px 0 5px 10px;
    transition: all 0.5s;
}
.btni2{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: orangered;
}

.sidebar a:hover {
    box-shadow: 2px 2px 2px 2px rgb(130, 130, 162);
    border-color: white;
}

.sidebar hr {
    width: 80%;
    margin-left: 20px;
    height: 2px;
    border-radius: 20px;
    background-color: rgb(5, 0, 0);
    content: 'hello';
    border-color: black;
}

.sidetoggle {
    transform: translateX(0);
}

.btnicon {
    font-size: 30px;
}

.side-socials {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.icon {
    display: inline-block;
    margin: 10px 10px 0 20px;
    font-size: 20px;
    transition: all 0.5s;
}

.icon:nth-child(1):hover {
    color: blue;
}

.icon:nth-child(2):hover {
    color: rgb(79, 7, 83);
}

.icon:nth-child(3):hover {
    color: rgb(7, 84, 41);
}
/* side bar ends*/

/* nav bar bergins  */
nav{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 100;
    position: fixed;
    background-color: rgb(68, 66, 66);
}

nav .navlink{
    margin-left: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
nav .navlink a{
    display: inline-block;
    margin-top:20px;
    margin-right: 5px;   
    margin-left: 15px;
    padding: 5px 10px;
    text-decoration: none;
    color:black;
    font-weight: 600;
    font-size: 16px;
    transition: all .3s;
    
}

nav .navlink a:last-child{
    margin-top:10px;
    margin-right: 80px;
    margin-left: 100px;
    padding: 15px 15px;
    color: rgb(13, 1, 1);
    background-color: orangered;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 2px 2px 2px rgba(0,0,0,.5);
}
nav .navlink a:first-child:hover,
nav .navlink a:nth-child(2):hover,
nav .navlink a:nth-child(3):hover,
nav .navlink a:nth-child(4):hover,
nav .navlink a:nth-child(5):hover,
nav .navlink a:nth-child(6):hover{
color: brown;
font-size: 17px;
border-bottom: 5px solid black;
border-bottom-width: 5px;
}
header .order{
    width: 200px;
    padding: 20px 40px;
    background-color: #ffd814;
    position: absolute;
    top: 150px;
    right: 200px;
    color: aliceblue;
}
header .order a{
    text-decoration: none;
}
/* nav bar ends */


/* --header ends-- */



/* ---body starts-- */
.hd{
    background: #ffd814;
    padding: 25px;
    height: 100px;
}
.hd h1{
    text-align: center;
    /* margin-top: 100px; */
}
.container{
    background-color: #fff7d6;

}
.accordion{
    background-color: #fff7d6;

}
/* body ends */

/* footer starts */

