*{
    margin: 0;
    padding: 0;
    font-family: Arial,  sans-serif;
}

body{
    background-image: url(images/bg-portfolio.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.total-container{
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid gray;
    border-radius: 7px;
    padding:50px;
   
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
}

#cover-img{
    width: 180px;
    border: 1px solid gray;
    height: auto;
    border-radius: 50%;
   
}

#intro{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:40px;
}
@media(max-width:460px) {
    #intro{
        flex-direction: column;
    }

}
.intro-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    max-width: 500px;
    gap:15px;
}

.projects{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(4, 177, 246);
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    margin:10px;
     transition: transform 0.3s ease, color 0.3s ease;
     padding-right:  20px;
     padding-left: 20px;


}
.projects:hover{
    transform: scale(1.1);
    cursor: pointer;
}
.project-btn{
    font-size: 20px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: rgb(10, 241, 10);
}
.project-btn:hover{
    cursor: pointer;
   color: white;
}
#contact-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap:10px;
    margin-bottom: 10px;
}

.contact-logo{
    width:50px;
    cursor: pointer;
     transition: transform 0.3s ease, color 0.3s ease;
}
.contact-logo:hover{
    transform: scale(1.2);
}
#heading{
    text-align: center;
    margin-bottom: 10px;
    text-decoration: underline;
}
#contact-para{
    max-width: 600px;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#project-description{
    max-width: 600px;
}
hr{
     border: none;
  height: 2px;
  background-color: #ccc; 
  margin: 2rem auto;
  width: 90%; 

}
#about-info{
    max-width: 700px;
    line-height: 25px;
    max-height: 600px;
    overflow: auto;
    scrollbar-width: none; 
}
#contact-info-container{
    display: flex;
    flex-direction: row;
}
#dark-mode-btn{
    cursor: pointer;
    border: none;
    border-radius: 10px;
}


#dark-mode-img{
    width:40px;
}
#nav-bar{
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    gap: 350px;
    margin-bottom: 50px;
    
}
@media(max-width:600px){
    #nav-bar{
        gap:20px
    }
}


