*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body p{
    font-family: monospace;
    line-height: 25px;
}

.navbar{
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
    position: sticky;
    top: 0;
}

.navbar::before{
    content: "";
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    height: 100%;
    width: 100%;
    z-index: -1;
}
.navbar ul{
    display: flex;
    list-style: none;
}

.navbar ul li{
    font-size: 1.1rem;
}

.navbar ul li a{
    padding: 5px 20px;
    text-decoration: none;
    color: white;
}

.navbar ul li a:hover{
    border-bottom: 2px solid purple;
}

/* Home Section */
#home{
    display: flex;
    flex-direction: column;
    height: 650px;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    color: white;
}

#home span{
    color: purple;
}

#home button{
   padding: 20px 30px;
   margin-top: 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    color: black;
}

#home button:hover{
    background-color: purple;
    cursor: pointer;
    color: white;
}

#home::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url(./img/bg3.jpg) no-repeat center;
    height: 700px;
    width: 100%;
    z-index: -1;
    opacity: .8;
}

.heading{
    color: white;
    font-size: 3rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    transform: scale(1,1.3);
}

/* portfolio section */
#portfolio{
    display: flex;
    flex-direction: column;
    background-color: #000000dc;
}

#portfolio h1{
    margin: 60px;
}

.gallery{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.gallery img{
    width: 360px;
    height: 400px;
    padding: 10px;
    margin: 10px;
}

.gallery img:hover{
    background-color: #fff;
    cursor: pointer;
}


/* Education section */
#education{
    display: flex;
    flex-direction: column;
    background-color: #000000dc;
}

#education h1{
    margin: 60px;
}

.columns{
    display: grid;
    grid-template-columns: auto auto;
    padding-left: 50px;
}

.box{
    height: 200px;
    width: 500px;
    background-color: black;
    border-radius: 20px;
    margin:10px;
    padding: 20px;
    margin-bottom: 50px;
}

.box h2{
    color: purple;
    font-size: 2rem;
    margin-bottom: 40px;
}

.box p{
    color: white;
    font-size: 1.5rem;
    font-family: monospace;
}

/* About Me  Section*/
#about{
    display: flex;
    flex-direction: column;
    height: 600px;
}

#about h1{
    color: black;
    margin: 5px;
    margin-top: 50px;
}

.about{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.about img{
    /* width: 500px; */
    height: 400px;
    padding: 0px 30px;
}

.name{
    padding: 10px;
}

.name h2{
    font-size: 2rem;
}

.name p{
    font-size: 1.2rem;
    width: 600px;
    padding-top: 20px;
    text-align: justify;
}

/* Contact Section */

#contact{
    display: flex;
    flex-direction: column;
    background-color: #000000dc;
}

#contact h1{
    margin: 50px;
}

.form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input{
    padding: 15px 20px;
    margin: 15px;
    width: 40%;
    border: none;
    outline: none;
    border-radius: 25px;
}

#message{
    margin: 15px;
    padding: 10px;
    border-radius: 20px;
}

#submit{
    padding: 15px 20px;
    margin: 30px;
    width: 15%;
    border-radius: 20px;
    background-color: #000000dc;
    color: white;
    border: none;
    outline: none;
}

#submit:hover{
    background-color: purple;
    color: white;
    cursor: pointer;
}

#socials{
    color: white;
    height: 80px;
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#socials h1{
    padding-left: 100px;
}

#socials i{
    font-size: 30px;
    padding: 10px;
    color: white;
}

#socials i:hover{
    color: purple;
}

.social_links{
    padding-right: 50px;
}

.footer_line{
    height: 2px;
    width: 50%;
    background: white;
}