*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    width: 100vw;
    background-color: aliceblue;
    background-image: url(./Images/background-image-about.png);
    background-size: cover;
    background-repeat: no-repeat;

}
header{
    width:100%;
    height: 100px;
    position:fixed;
    top:0;
    left:0;
    z-index: 999;
    display: flex;
    justify-content:space-around;
    align-items: center;
    padding: 20px;
    /* margin: 20px; */
    height: 100px;
    background-color: black;
    box-shadow: 0px 1px 1px white;
        background-image: url(/Images/home-bg-1.jpg);
    background-size: cover;
}
.logo-name{
    /* display: inline; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo-name img{
    height: 80px;
    width: 80px;
}
.logo-name h3 span{
    color: rgb(173, 0, 0);
    font-size: 1.5em;

}
.logo-name h3{
    color: white;
}
.menus{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
nav ul{
    display: flex;
    justify-content: space-between;
    /* row-gap: 20px; */
    column-gap: 30px;
}
nav ul li{
    list-style: none;
}
nav ul li a{
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.5s linear;
    font-size: 1.2em;
    color: rgb(255, 255, 255);

}
nav ul li a{
    position: relative;
    text-decoration: none;
    font-size: 1.2em;
    color: rgb(255, 255, 255);
}
nav ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: rgb(36, 223, 230);
    transition: 0.5s linear;
}
nav ul li a:hover::after{
    width: 100%;
}
.btns{
    margin-right: -30px;
    
}
.btns button{
    position: relative;
    padding: 8px 20px;
    background-color: transparent;
    border-radius: 10px;
    font-size:1em;
    font-weight: 600;
    border: 2px solid rgb(36, 223, 230);
    margin-left: 20px;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    color: white;
}
.btns button::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgb(36, 223, 230);
    transition: 0.5s ease;
    z-index: -1;
}
.btns button:hover::before{
    width: 100%;
}
.btns button:hover{
    color: white;
}
.about{
    /* position: relative; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 600px;
    margin-top: 10em;


}
.about-details{
    width: 45%;
    border: 2px solid black;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    opacity: 1;
    /* margin-top: -3em; */
    color: aliceblue;
    font-size: 16px;
    position: relative;
    top: -8em;
}
.about-details span{
    font-size: 1.5em;
    font-weight: 600;
    color: rgb(0, 255, 255);
      font-size: 1.6em;
    font-weight: 600;
    background: linear-gradient(90deg, #00f7ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 10px;
}
.about-details p{
    line-height: 1.5em;
    text-align: justify;
    text-indent: 10px;
}
.education{
    color: rgb(0, 0, 0);
    height: 200px;
    width: 500px;
    background-color: aliceblue;
    border-radius: 10px;
    position: relative;
    top: -10em;
    left: 32%;
}
.education h2{
    font-size:2em;
    padding:1em;
}
.education p{
    padding: 2px 2em;
}
.toggle_btn{
    display: none;
    cursor: pointer;
}

.toggle_btn i{
    color: white;
    font-size: 28px;
}
/* Dropdown menu */
.dropdown{
    display: none;
    position: absolute;
    top: 80px;
    right: 0px;
    width: 250px;
    height: 0;
    background-color: rgba(0, 255, 255, 0.138);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border-radius: 10px;
    transition: height 0.3s ease;
    z-index: 1000;
}
.dropdown.open{
    height: 250px;
}
.dropdown li{
    list-style: none;
    padding: 15px;
    text-align: center;
}
.dropdown li a{
    text-decoration: none;
    color: rgb(0, 221, 255);
    font-size: 18px;
    display: block;
}
.dropdown li a:hover{
    color: rgb(255, 255, 255);
}

@media (max-width: 450px){
    header{
        justify-content: space-between;
        padding: 10px;
    }

    .logo-name img{
        width: 70px;
        height: 70px;
    }
    .logo-name h3{
        font-size: 1em;
    }
    .menus{
        display: none;
    }
    .btns button{
        display: none;
    }
    .toggle_btn{
        display: block;
    }
    .dropdown{
        display: block;
    }
    .about-details{
        width: 95%;
        position: relative;
        top: 1em;
    }
    .about-details span{
        padding: 5px 10px;
    }
   .education
   {
    width: 95%;
    height: auto;
    position: static;
    bottom: 0px;
    margin: 20px auto;
    padding-bottom: 15px;
    left: -0.1em;
    }
    .education h2
    {
    font-size: 1.5em;
    text-align: center;
    padding: 15px;
    }
    .education p{
        font-size:1em;
        text-align: center;
    }

}
