@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100vh;
    width: 100%;
    margin: 0;
    background-color: black;
}

header {
    color: white;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo{
    font-size: 1.5rem;
    display: flex;
    height:95px;
    align-items: center;
    color:white;
    justify-content: center;
    font-weight: 600;
}
.logo a{
    text-decoration: none;
    color:white;
}

.menu-items{
    height: 120px;
    display: flex;
    flex-direction: column;
}

.menu-list{
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-block;
}
.menu-list ul{
    list-style-type: none;
    display: flex;
    justify-content:end;
    gap:20%;
    margin-left:-5%;
}
.menu-list ul li a{
    text-decoration: none;
    color:white;
    padding-bottom:4px ;
    border-bottom: 3px solid transparent;
}

.menu-list ul li a:hover{
    color:orange;
    border-bottom: 3px solid white;
    transition: .3s ease-in-out;
}


svg{
    padding-top: 5px;
}

.icon-list a {
    display: flex;          /* Allows us to control the icon size */
    width: 35px;            /* Set your desired size here */
    height: 35px;

}

.icon-list a svg {
    width: 100%;            /* Forces SVG to fill the 24px anchor */
    height: 100%;
    fill: white;            /* Makes the icon white */
    transition: 0.3s;
}

.icon-list a svg:hover {
    opacity:.5;           /* Matches your hover color */
}

.icon-list ul{
    list-style-type: none;
    display: flex;
    gap: 15%;            
    justify-content: end;
    margin-top: 0px;
    
}


/* side bar*/

/* side bar logo*/
.sidebar-logo{
    margin-top: -10px;
}

.sidebar-logo h2{
    font-size: 20px;
    font-weight: 400;
}
.hamburger-icon{     /* opens the sidebar*/
    display: none;
}

/* side bar list*/
.side-bar{
    background-color: white;
    color:black;
    width:80%;
    position: fixed;
    top:0;
    right:0;
    bottom: 0;
    display: none;
    z-index: 999;
    height: 100vh;
    align-items: center;
    flex-direction: column;
    box-shadow: -3px 0 10px black;
    
}

.side-bar ul{
    list-style-type: none;
    padding-top: 35px;
}
.side-bar a{
    text-decoration: none;
    color:black;
    font-size: 30px;
    font-weight: 400;
    transition: .4s ease-in-out;
}
.side-bar li{
    text-align: center;
    padding: 15px 0;
}
.side-bar a:hover{
    color:orange;
    transition: .4s ease-in-out;
}
.sidebar-logo{
    display: inline-block;
}

/* side bar icons*/

.sidebar-icons1 svg{
    fill:black;
    height: 60px;
}
.sidebar-icons1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px
}
.sidebar-icons2 svg{
    fill:black;
    height: 60px;
}
.sidebar-icons2{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px
}

.side-bar svg:hover{
    opacity:.7;
    transition: .3s ease-in-out;
    fill:orange;
}

/*sidebar hover elements*/
/* Only targets links with the class 'text-link' */
.text-link {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 30px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: orange;
    transition: width 0.4s ease-in-out;
}

.text-link:hover::after {
    width: 100%;
}

.X-icon svg{           /* closes the side bar*/
    height: 40px;
    position: fixed;
    top: 25px;
    left: 18%;
    background-color: black;
    fill:white;
    padding: 5px 10px;
}
.X-icon svg:hover{
    opacity: .4;
}

@media (max-width:990px){
    .hamburger-icon{     /* opens the sidebar*/
        display: flex;
        position: fixed;
        top:20px;
        height: 40px;
        top: 25px;
        left: 18%;
        fill:white;
        padding: 5px 10px;
    }
    .menu-list{
        display: none;
    }
    .hideonmobile{
        display: none;
    }
    .logo{
        font-size: 22px;
        position: fixed;
        top:2%;
        left:45%;   
    }

}
@media (max-width:600px){
       .hamburger-icon{     /* opens the sidebar*/
        display: flex;
        position: fixed;
        top:20px;
        height: 40px;
        top: 25px;
        left: 18%;
        fill:white;
        padding: 5px 10px;
    } 
    .logo a{
        font-size: 15px;
        position: fixed;
        top:4%;
        left:35%;   
    }

}


/* Animation for the Header on load */
@keyframes zoomOutEffect {
    0% {
        transform: scale(1.1); /* Starts 10% larger */
        opacity: 0;            /* Fades in */
    }
    100% {
        transform: scale(1);   /* Shrinks to original size */
        opacity: 1;            /* Becomes fully visible */
    }
}

header {
    /* ... keep your existing properties ... */
    
    /* Apply the animation */
    animation: zoomOutEffect 1.2s ease-out forwards;
    
    /* Ensure the background transition is smooth if needed */
    transition: background-color 0.5s ease;
}
